home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / aix / 11620 < prev    next >
Encoding:
Internet Message Format  |  1992-11-16  |  643 b 

  1. Xref: sparky comp.unix.aix:11620 comp.unix.admin:6208
  2. Newsgroups: comp.unix.aix,comp.unix.admin
  3. Path: sparky!uunet!peora!tarpit!tous!wap!bdixon
  4. From: bdixon@wap.oau.org (Bill Dixon)
  5. Subject: determining if you are in an x-windows session
  6. Message-ID: <1992Nov16.132809.10942@wap.oau.org>
  7. Date: Mon, 16 Nov 1992 13:28:09 GMT
  8. Distribution: usa
  9. Organization: White Aluminum Products, Leesburg, FL
  10. Lines: 6
  11.  
  12. Very simply: is there any way to tell whether you are executing a program
  13. from within an x-windows session, as opposed to an ascii terminal?  The
  14. TERM environment variable may or may not be set to aixterm.
  15. -- 
  16. Bill Dixon
  17. bdixon@wap.oau.org
  18.