Re: EDITOR vs. VISUAL
Steve Greenland writes:
> Unix(tm) programs that need to launch editor often check for
> two environment variables: VISUAL and EDITOR. The algorithm is
> typically
>
> if (VISUAL is set)
> use $VISUAL
> else if (EDITOR is set)
> use $EDITOR
> else
> assume something or bail
>
> The current Debian policy requires that such programs check EDITOR,
> and if EDITOR is not defined, then use /usr/bin/editor.
>
> Is a program that first checks VISUAL in violation of Policy? If
> so, I think we need to fix the policy.
Hm, does anyone knows what is VISUAL exactly intendend for ? I'm
thinking of some setting like `EDITOR=ed' and `VISUAL=vi'. If it's
really what was meant for a use of VISUAL, I'd say it's not needed any
more ...
--
Yann Dirson <ydirson@mygale.org> | Stop making M$-Bill richer & richer,
isp-email: <ydirson@a2points.com> | support Debian GNU/Linux:
debian-email: <dirson@debian.org> | more powerful, more stable !
http://www.mygale.org/~ydirson/ | Check <http://www.debian.org/>
--
To UNSUBSCRIBE, email to debian-policy-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: