Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2007 09:39:03 -0700
From:      Bill Campbell <freebsd@celestial.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Anyone use KSH?
Message-ID:  <20070312163903.GB13871@ayn.mi.celestial.com>
In-Reply-To: <b35fa3120703120855m174d61cbk607e66f86237a71f@mail.gmail.com>
References:  <b35fa3120703120855m174d61cbk607e66f86237a71f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Bill
--
INTERNET:   bill@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070312163903.GB13871>