> It doesn't know what "VISUAL" is. This is not in my environment, and does
> not appear to have been set in the script. Although I am relatively new
> at Unix (only 15 of the 20 years it's been around) and I'm learning new
> things you are "supposed" to do practically every day, what is the
> "VISUAL" environment to which your script refers?
>
>
> # If they don't have a preferred editor set, then use
> if [ -z "$VISUAL" ]; then
> if [ -z "$EDITOR" ]; then
> EDIT=vi
> else
> EDIT="$EDITOR"
> fi
> else
> EDIT="$VISUAL"
> fi
In the old days, EDITOR and VISUAL were set to
EDITUR=/bin/ed
and
VISUAL=/usr/bin/vi
(or whatever path).
-- Uli
---------------. drepper@cygnus.com ,-. Rubensstrasse 5
Ulrich Drepper \ ,-------------------' \ 76149 Karlsruhe/Germany
Cygnus Solutions `--' drepper@gnu.ai.mit.edu `------------------------