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
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
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
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
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
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
6 matches
Mail list logo