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 wi
On Thu, Jun 16, 2005 at 03:45:03PM +0200, Jochen Keil wrote:
> Hi.
>
> >if i switch to command mode strange things happen. like
> >i press 'h' to go to the left and it just adds 'h's to
> >the command line. but if i give it a export VISUAL=vi
> >from the command line everything is ok.
>
> Did you
Hi.
if i switch to command mode strange things happen. like
i press 'h' to go to the left and it just adds 'h's to
the command line. but if i give it a export VISUAL=vi
from the command line everything is ok.
Did you try using "set -o vi"?
Regards,
Jochen
_
i use ksh everywhere and the comman line is set to behave
like vi so i can search/edit commands pretty fast.
on my freebsd5.4 i have installed pdksh-5.2.14p2 from
packages. in the .profile EDITOR and VISUAL both
exported as vi and after login i can see that:
freebsd54$ set|grep vi
EDITOR=vi
VISU