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

Re: Coming to closure on ae...



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.

Attachment: pgpuzWYP3yEh0.pgp
Description: PGP signature


Reply to: