On 6/23/05, randy_dunlap <[email protected]> wrote:
>
> 6. Use $EDITOR instead of vim if it is defined (set).
>
Wouldn't the very best be to try and find the editor to use in the
following order? :
A) the value of $EDITOR (if set)
B) the value of $VISUAL (if set)
C) the first editor in a hardcoded list that exists and is executable
(a list could contain for example; vim, vi, elvis, joe, jove, nano,
pico, mcedit, emacs )...
--
Jesper Juhl <[email protected]>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]