Date: Thu, 8 Jul 2004 11:16:35 -0700 From: Chris Sechiatano <chris@chris-s.com> To: Tero Koskinen <tero.koskinen@iki.fi> Cc: freebsd-questions@freebsd.org Subject: Re: ksh Message-ID: <20040708181635.GA98759@chris-s.com> In-Reply-To: <20040708205359.725747b3.tero.koskinen@iki.fi> References: <20040708164411.GA98262@chris-s.com> <20040708205359.725747b3.tero.koskinen@iki.fi>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Thanks that did it. It seems weird that ksh would use .shrc as its startup file, especially when it says bourne shell startup file inside of it. On Thu, Jul 08, 2004 at 08:53:59PM +0300, Tero Koskinen <tero.koskinen@iki.fi> wrote: > On Thu, 8 Jul 2004 09:44:11 -0700 > Chris Sechiatano <chris@chris-s.com> wrote: > > > Hi, > > > > I installed ksh on my 5.2.1 system. In my .profile I have: > > > > set -o vi > > set -o vi-tabcomplete > > > > However, the 'set -o vi' doesn't seem to work. When I log in, ksh is still > > in emacs mode. > > > > Anybody know how to make it work? > > Check your "$HOME/.shrc". By default there is line 'set -o emacs' and ksh > executes that file after $HOME/.profile. > > I was bitten by the same problem and it took me a week to figure out what > was going on, especially since on OpenBSD/NetBSD similar $HOME/.profile > worked perfectly (I had no $HOME/.shrc there). > > -- > Tero Koskinen - http://iki.fi/tero.koskinen/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Chris Sechiatano chris@chris-s.com www.chris-s.com PGP Key 0x0021EFA0 [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA7Y+DJVmKFwAh76ARAklXAKCJbHC/LjjGxKago9vR/wm9lQbneQCgj8+N iDko/qrk73Zj3sfQy6EDLdA= =pybx -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040708181635.GA98759>
