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.
pgp4a4c5Tbig9.pgp
Description: PGP signature