lkml.org 
[lkml]   [2005]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Script to help users to report a BUG
On 6/23/05, randy_dunlap <rdunlap@xenotime.net> wrote:
> On Thu, 23 Jun 2005 20:24:15 +0200 Jesper Juhl wrote:
>
> | On 6/23/05, randy_dunlap <rdunlap@xenotime.net> 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.
>

A similar thing could be done for sending the email;

Look for known email clients - like mutt, pine, elm, check they exist
and are executable, then check if sendmail is available. Present the
user with a list of the email clients found (and sendmail, if found
and local MTA process is running) and then ask them to pick their
prefered email client/sending method from the list.

--
Jesper Juhl <jesper.juhl@gmail.com>
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-23 21:34    [W:0.096 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site