Alexander Farber wrote:
Hello,
Hi there.
I'm trying to switch to ksh as my login shell.
Now that should not be that hard, should it? :)
However I just can't find (yes, I've read "man ksh")
a way for searching for a partially typed command.
So what do you do in ksh, when you start to
type a command and then realize, that it must
be somewhere there in the history already?
I press ^C ^R '^' and write the same string again, i.e.
^C -> abort
^R -> search-history
^ -> search from beginning of previous commands
... and start typing the command from the beginning again...
Put another way - I missed the functionality you describe for some time,
too, until I got used to it not being there. It was not a long time
either, AFAICR.
It annoys me, however, that I cannot search for a substring starting
with "^". Anyone please correct me if I'm wrong.
Anyway, if you're interested, please test the diffs supplied by
(through) Otto and maybe we'll see some ksh improvments!
/Alexander