home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime.austin.ibm.com!mikefail
- From: mikefail@fail.austin.ibm.com (Michael E. Fail)
- Newsgroups: comp.unix.aix
- Subject: Re: determining if you are in an x-windows session
- Keywords: WINDOWID TERM env window
- Message-ID: <1992Nov18.192855.11025@awdprime.austin.ibm.com>
- Date: 18 Nov 92 19:28:55 GMT
- References: <1992Nov16.132809.10942@wap.oau.org>
- Sender: news@awdprime.austin.ibm.com (USENET News)
- Reply-To: mikefail@austin.ibm.com
- Distribution: usa
- Organization: IBM Graphics Systems Development
- Lines: 21
- Originator: @fail.austin.ibm.com
-
-
- 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
-
- Bill,
-
- I use the "WINDOWID" environment variable to distinguish between an
- aixterm or an hft/tty (it is not set in the hft/tty).
-
- Good Luck,
- Mike
- --
- ==============================================================================
- This is my personal opinion -- it does not reflect the opinion of my employer.
- ------------------------------------------------------------------------------
- Michael E. Fail | email: mikefail@austin.ibm.com (VNET: AUSTIN(MIKEFAIL))
-