Re: Script to help users to report a BUG

From: randy_dunlap
Date: Thu Jun 23 2005 - 14:23:28 EST


On Thu, 23 Jun 2005 20:24:15 +0200 Jesper Juhl wrote:

| On 6/23/05, randy_dunlap <rdunlap@xxxxxxxxxxxx> 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 )...

Yes, that sounds better to me.

---
~Randy
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/