Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2005 10:01:50 +0200
From:      Jochen Keil <jochen.keil@gmail.com>
To:        User Bodza <bodza@bdz.myip.hu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: pdksh cli as vi
Message-ID:  <42B2836E.6050402@gmail.com>
In-Reply-To: <20050616145012.GA44519@bdz.myip.hu>
References:  <20050616082411.GA33668@bdz.myip.hu> <42B1825F.6070901@gmail.com> <20050616145012.GA44519@bdz.myip.hu>

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



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