Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2005 10:24:11 +0200
From:      bdz <bdz@mailshack.com>
To:        freebsd-questions@freebsd.org
Subject:   pdksh cli as vi
Message-ID:  <20050616082411.GA33668@bdz.myip.hu>

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

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.

you guys know something about it? i have not found
anything in google.

thx
bdz



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