[gambit-list] terminal behaviour in Gambit

Adrien Piérard pierarda at iro.umontreal.ca
Sun Nov 7 21:23:25 EST 2010


2010/11/7 Michele Zaffalon <michele.zaffalon at gmail.com>:
> Hi all,

Hi Michele

> I am using Gambit from the terminal: is it it possible to change the
> terminal behaviour so that if you type a partial word and hit up
> arrow, the terminal tries to complete it with a command from the past
> command history that matches the partial word, not just with the last
> command?

This behaviour is, as far as I know, not very common.
Most pervasive completion systems are based on the readline library,
which Gambit reimplemented if I remember correctly.
So, <up> will always give you the previous command in history (though
some of us believe that the previous S-exp would be better).
In your case, what you want is to use <tab>, form completion. And this
works well.
I do not know however if this can be restrained to symbols that are in
the history, or if the suggestion order may consider history first.

Cheers,

P!

--
Mail resent to the list, for I initially sent it with a wrong account…



More information about the Gambit-list mailing list