pdksh cli as vi

Jochen Keil jochen.keil at gmail.com
Fri Jun 17 08:01:53 GMT 2005


User Bodza wrote:

 > the same effect. after loggin in it's not working but if
 > i give the set -o vi from the shell it's ok.

You have to put
 > set -o vi
into your ~/.kshrc.

To make sure kshrc makes use of it you also have to put
 > ENV=~/.kshrc"
 > export ENV"
into your ~/.profile.

Most shells will use emacs mode as default. In my opinion you'll have to 
change the source code to get a different default setting for pdksh.

Regards,
Jochen


More information about the freebsd-questions mailing list