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