home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sun / apps / 1825 < prev    next >
Encoding:
Internet Message Format  |  1992-09-03  |  1.1 KB

  1. Path: sparky!uunet!wupost!usc!news!lsi!mhost!up41!aspin
  2. From: aspin@lsil.com (David Aspinwall 7842)
  3. Newsgroups: comp.sys.sun.apps
  4. Subject: Re: openwin and DISPLAY
  5. Message-ID: <1992Sep3.181602.20133@lsil.com>
  6. Date: 3 Sep 92 18:16:02 GMT
  7. References: <1992Sep3.121811.22606@cbnewsh.cb.att.com>
  8. Sender: news@lsil.com (news caster)
  9. Reply-To: aspin@lsil.com
  10. Organization: LSI Logic Corporation
  11. Lines: 15
  12. Nntp-Posting-Host: up41
  13. X-Newsreader: Tin 1.1 PL5
  14.  
  15. Thomas Wolf (wolf@mt.att.com) wrote:
  16. : This is probably a FAQ: Why does the openwin script overwrite the DISPLAY
  17. : variable with its own ":0"?  An application I'm running under OW3.0 needs
  18. : to have at least "unix" or a hostname in that variable.  What's the simplest
  19. : solution to retaining the variable?
  20.  
  21. X uses the DISPLAY variable to indicate the host running the X server,
  22. and the screen number (do a "man X" for details).
  23. To redefine DISPLAY for this application, try running the program via env:
  24.     env DISPLAY=whatever your_application and its arguments
  25. You might also try to convice whoever wrote the application to use
  26. something other than "DISPLAY".
  27.  
  28. --
  29.         -- David Aspinwall    aspin@lsil.com    408-433-7842
  30.