[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Options X Display, Editor (was: reordered Options)

From: Klaus Weide
Subject: lynx-dev Options X Display, Editor (was: reordered Options)
Date: Wed, 5 Apr 2000 10:43:35 -0500 (CDT)

On Wed, 5 Apr 2000, Leonid Pauzner wrote:

> 3-Apr-2000 16:18 Klaus Weide wrote:
> > "X Display" is important only to a very small number of users; of
> > those who use X at all, there's only a few (maybe approaching 0) who
> > would have a need to change the DISPLAY while Lynx is running (as
> > opposed to: before startup).  Those users would have some more-
> > involved-than-usual X/networking setup, I think they can be expected
> > to look around a bit and find the Option in its less-than-ideal
> > place.
> One step in the other direction:
> could we detect that we are running under X
> and made this field hidden for other cases
> (non-UNIX platforms, running under console or some terminal)?
> That would make more sence.

The option can be used in three ways:
 1. change DISPLAY from <nothing> to "something",
 2. change DISPLAY from "something" to <nothing>,
 3. change DISPLAY from "something" to "something".
I don't know that (1.) is any less (or more) useful than the others, so
it doesn't seem to make much sense to get rid of the option just in that

I don't *know* of any situation where (lynx runs and) setting DISPLAY can
never be useful.  Under Windows or even under DOS one might invoke some
external application that makes use of it.

> Another item: in FreeBSD, the environment variable $EDITOR usually set.
> Could we pick it if there is no editor specified in lynx
> (lynx.cfg nor .lynxrc) explicitely?

Let's leave that to local installers, or packagers.  For example, Debian
GNU/Linux has a distribution-wide policy that applications use a wrapper
script called "sensible-editor" by default (which in turn may check
"$EDITOR" or "$VISUAL").


reply via email to

[Prev in Thread] Current Thread [Next in Thread]