Re: pdksh cli as vi

2005-06-17 Thread Jochen Keil

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pdksh cli as vi

2005-06-16 Thread Jochen Keil

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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: pdksh cli as vi

2005-06-16 Thread User Bodza
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 try using set -o vi?
 
 Regards,
 Jochen

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

bdz
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]