On Fri, Dec 05, 2008 at 04:24:39PM +0100, G??bri M??t?? wrote: | > If you prefer vi and want to use it for most everything, simply export | > VISUAL=vi. This has the same effect as set -o vi on your command line | > editor. | | What does it do if i set this variable?
According to the ksh manpage, this sets command-line editing mode for interactive shells and overrides the EDITOR variable (the last part means that anything that uses an editor (eg. crontab -e) will (or, should) start ${VISUAL}. Cheers, Paul 'WEiRD' de Weerd -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/