ksh

Chris Sechiatano chris at chris-s.com
Thu Jul 8 11:16:16 PDT 2004


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 at iki.fi> wrote:
> On Thu, 8 Jul 2004 09:44:11 -0700
> Chris Sechiatano <chris at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
Chris Sechiatano
chris at chris-s.com
www.chris-s.com

PGP Key 0x0021EFA0

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040708/c1672ef6/attachment.bin


More information about the freebsd-questions mailing list