* John W. Eaton <[EMAIL PROTECTED]> [2005-01-18 22:20]:

> OK, I just checked the bashbug script (which I used as the starting
> point for octave-bug way back when) and it now uses
> 
>   if [ -z "$DEFEDITOR" ] && [ -z "$EDITOR" ]; then
>         if [ -x /usr/bin/editor ]; then
>                 DEFEDITOR=editor
>         elif [ -x /usr/local/bin/ce ]; then
>                 DEFEDITOR=ce
>         elif [ -x /usr/local/bin/emacs ]; then
>                 DEFEDITOR=emacs
>         elif [ -x /usr/contrib/bin/emacs ]; then
>                 DEFEDITOR=emacs
>         elif [ -x /usr/bin/emacs ]; then
>                 DEFEDITOR=emacs
>         elif [ -x /usr/bin/xemacs ]; then
>                 DEFEDITOR=xemacs
>         elif [ -x /usr/contrib/bin/jove ]; then
>                 DEFEDITOR=jove
>         elif [ -x /usr/local/bin/jove ]; then
>                 DEFEDITOR=jove
>         elif [ -x /usr/bin/vi ]; then
>                 DEFEDITOR=vi
>         else
>                 echo "$0: No default editor found: attempting to use vi" >&2
>                 DEFEDITOR=vi
>         fi
>   fi
> 
>   : ${EDITOR=$DEFEDITOR}
> 
> so I'll copy this method.

This fixes appears already in 2.1.66, which is now in unstable.  I will soon
close this bug report, unless the submitter objects.
 
-- 
Rafael


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to