home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.aix:11625 comp.unix.admin:6214
- Newsgroups: comp.unix.aix,comp.unix.admin
- Path: sparky!uunet!scifi!watson!mjp
- From: mjp@austin.ibm.com (Michael Phelps)
- Subject: Re: determining if you are in an x-windows session
- Originator: mjp@bwa.kgn.ibm.com
- Sender: @watson.ibm.com
- Message-ID: <1992Nov16.195412.5849@watson.ibm.com>
- Date: Mon, 16 Nov 92 19:54:12 GMT
- Distribution: usa
- Reply-To: mjp@vnet.ibm.com (Michael J. Phelps)
- References: <1992Nov16.132809.10942@wap.oau.org>
- Organization: IBM Kingston NY
- Lines: 16
-
-
- In article <1992Nov16.132809.10942@wap.oau.org>, bdixon@wap.oau.org (Bill Dixon) writes:
- |> Very simply: is there any way to tell whether you are executing a program
- |> from within an x-windows session, as opposed to an ascii terminal? The
- |> TERM environment variable may or may not be set to aixterm.
- |> --
- |> Bill Dixon
- |> bdixon@wap.oau.org
-
- Most programs seem to assume that if the DISPLAY environment variable is set,
- then X is active.
-
- --
- Michael Phelps, (external) mjp@vnet.ibm.com ..
- (internal) mjp@bwa.kgn.ibm.com .. mjp at kgnvmy
- (and last but not least a disclaimer) These opinions are mine..
-