Anyone use KSH?
freebsd at celestial.com
Mon Mar 12 16:38:09 UTC 2007
On Tue, Mar 13, 2007, Sunnz wrote:
>Just installed Release 6.2 on my workstation, and the first thing I
>did was installing (pd)ksh since I have been using it before...
>I found that a few things doesn't work, tab-completion, up/down arrow
>keys, ctrl-A ctrl-E to go to the beginning/end of a line.
My guess is that you're in vi mode by default (set -o vi), and would prefer
it to be in emacs mode. Try ``set -o emacs'' to see if it does what you
want. Personally I much prefer the vi mode as I've never been able to get
my fingers to learn emacs.
After using ksh for almost twenty years, I finally switched to bash from
ksh several months ago when I found that tab completion works in vi mode on
bash, and a simple alias "r='fc -s'" allows me to use the ksh style ``r''
commands to repeat previous commands.
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
Make no laws whatever concerning speech and, speech will be free; so soon as
you make a declaration on paper that speech shall be free, you will have a
hundred lawyers proving that ``freedom does not mean abuse, nor liberty
license;'' and they will define and define freedom out of existence.
- Voltarine de Cleyre (1866-1912)
More information about the freebsd-questions