+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]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 (new-style) screen editor, such as vi(1). Hence if
| VISUAL is set, it overrides EDITOR.
|
| I don't have VISUAL set and EDITOR was used for line editor.Maybe this?
| Screen editor set in variable for line editor? - don't know how it's set
| internal.I don't quite understand what you're asking. Do you want command
history in your ksh ? If you do, you don't have to change anything
(HISTSIZE should be 500 by default). If you don't, export HISTSIZE=1.
If you want persistent history over different login sessions, export
HISTFILE=~/.ksh-history.I understood your question to mean that you want history and you want
to use the arrow keys to navigate through your history. If you export
EDITOR=vi, you must set -o emacs for this to work. Alternatively, you
can export EDITOR=emacs or learn to use vi-style commandline editing.Again, please read the manual page for the different environment
variables. Also read the sections on 'Emacs editing mode' and 'Vi
editing mode'. They explain this in quite a bit of detail.Personally, I've been using vi-style commandline editing for many,
many moons now and I like it very much. Since you export EDITOR=vi
(indicating that you know vi and want to use it), you may want to give
this a try to see if you like it too.Cheers,
Paul 'WEiRD' de Weerd
--
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Nick Piggin | [patch] my mmu notifier sample driver |
| Sean | Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching |
| Arjan van de Ven | [Patch v2] Make PCI extended config space (MMCONFIG) a driver opt-in |
git: | |
| Antonio Almeida | HTB accuracy for high speed |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
