command history in ksh missed when I set $EDITOR

2008-06-11 Thread Tomas Bodzar
Hi all, When I set this in my .profile # Editor EDITOR=/usr/bin/vi export EDITOR then I don't have command history,I can't use arrow keys for going to previous command, CTRL+R is not running too. What's wrong with this setting?I'm using ksh Thx

Re: command history in ksh missed when I set $EDITOR

2008-06-11 Thread Paul de Weerd
On Wed, Jun 11, 2008 at 08:57:22AM +0100, Tomas Bodzar wrote: | Hi all, | | When I set this in my .profile | | # Editor | EDITOR=/usr/bin/vi | export EDITOR | | then I don't have command history,I can't use arrow keys for going to previous | command, | CTRL+R is not running too. | | What's

Re: command history in ksh missed when I set $EDITOR

2008-06-11 Thread Tomas Bodzar
this default behavior (running command history after install)? -Original Message- From: Paul de Weerd [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 10:23 AM To: Tomas Bodzar Cc: misc@openbsd.org Subject: Re: command history in ksh missed when I set $EDITOR On Wed, Jun 11, 2008 at 08

Re: command history in ksh missed when I set $EDITOR

2008-06-11 Thread Paul de Weerd
Hi Tomas, On Wed, Jun 11, 2008 at 09:39:09AM +0100, Tomas Bodzar wrote: | As I read deeper now I found this : | | Note: traditionally, EDITOR was used to specify the name of an | (old-style) line editor, such as ed(1), and VISUAL was used | to | specify a

Re: command history in ksh missed when I set $EDITOR

2008-06-11 Thread Tomas Bodzar
Cc: misc@openbsd.org Subject: Re: command history in ksh missed when I set $EDITOR On Wed, Jun 11, 2008 at 08:57:22AM +0100, Tomas Bodzar wrote: | Hi all, | | When I set this in my .profile | | # Editor | EDITOR=/usr/bin/vi | export EDITOR | | then I don't have command history,I can't use arrow

Re: command history in ksh missed when I set $EDITOR

2008-06-11 Thread Tomas Bodzar
Hi Max, My english is sometimes not so clear :-) Ofcourse command history is running by default.Everything was Ok. Then I read some FAQ and man and some programs need $EDITOR set. So I use vi for it,which is my preferred editor.Then I lost functions for command history.I was looking what can be