Re: Coming to closure on ae...
On Sat, 2 May 1998, Rev. Joseph Carter wrote:
> On Sat, May 02, 1998 at 11:42:39PM +0200, Oliver Elphick wrote:
> > >There doesn't seem to be a "reliable" method for determining whether or
> > >not you are in an xterm. Any method so far suggested has "natural"
> > >configuration situations that break the method.
> >
> > When you start an xterm, TERM is set to xterm; why not test for that?
>
> Test $DISPLAY, it's the Right Way to test for X.
I see: in a console the environmental variable DISPLAY is not defined, but
it will be in any X window.
Sounds like it should work for ae's needs...
Thanks,
Dwarf
--
_-_-_-_-_- Author of "The Debian Linux User's Guide" _-_-_-_-_-_-
aka Dale Scheetz Phone: 1 (850) 656-9769
Flexible Software 11000 McCrackin Road
e-mail: dwarf@polaris.net Tallahassee, FL 32308
_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: