command line history in Maxima 5.9.0]



Jaime E. Villate ?????:

> On Wed, Dec 03, 2003 at 08:05:15PM +0300, Vadim V. Zhytnikov wrote:
> 
>>(2) readline support is built-in but not activated.  There is simple
>>way to check it. Try the following command at Maxima prompt
>>  :lisp (si::init-readline)
> 
> 
> Hi Vadim,
> thank you very much for that trick which I didn't know. Now I have
> some questions for you or others in this list:
> 
> 1- how can I activate readline automatically without having to type
>    that command at the start of every session? 

Put it in your Maxima initialization file maxima-init.lisp
(must be somewhere in /usr/share/maxima ...)

> 2- I used to exit Maxima (5.9.0, GCL-2-6.0999999999999996) with C-d,
>    but after activating readline that does not work anymore and I have
>    to use "quit()". Is there another way to quit?
> 3- in xmaxima, the up arrow moves the cursor on the screen instead of
>    accessing the readline history; is there some way to use readline
>    in xmaxima?
> 
> Regards,
> Jaime
> 

Probably the answer for 2 and 3 is No.  But I'm not 100% sure.
I recall some thread about GCL, readline and ^D issue a while
ago (probably in GCL's list not in Maxima's one) but I don't
remember the net result.



-- 
      Vadim V. Zhytnikov

       <vvzhy@mail.ru>
      <vvzhy@netorn.ru>