[geeks] Thoughts on bash for root

Will Mc Donald wmcdonald at ntlworld.com
Sun Apr 21 13:41:46 CDT 2002


From: "Joshua D Boyd" <jdboyd at cs.millersville.edu>

> ksh doesn't meet the arrow test.  Meaning if a shell doesn't let me use the
> arrow keys to flip through previous commands, then it is inadequate.

I'm fairly certain this can be done if you use "set -o emacs" rather than "set
-o vi". The you need to bind something like __A, __B in .profile.

Google for more info. Here we go...

http://www.ifw-dresden.de/~ulrike/FAQ/#a3

Or alternatively...

http://www.research.att.com/~dgk/ksh/fun/vi_keybind

Though I use bash too.

Will.



More information about the geeks mailing list