Gentoo Archives: gentoo-user

From: "John J. Foster" <Gentoo-User@××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Test for X from cli
Date: Tue, 01 Aug 2006 23:17:29
Message-Id: 20060801231304.GA6187@garbanzo
In Reply to: Re: [gentoo-user] Test for X from cli by dg
1 On Tue, Aug 01, 2006 at 11:37:17PM +0400, dg wrote:
2 > On Tuesday 01 August 2006 23:20, John J. Foster wrote:
3 >
4 > One possible solution would be to check the value of $TERM variable... If it
5 > is 'xterm' then you're probably in the X terminal emulator.
6
7 "probably" is not good ;-)
8 --
9 Ambition is a poor excuse for not having enough sense to be lazy.