home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.apps
- Path: sparky!uunet!sun-barr!ames!pacbell.com!att-out!cbnewsj!cbnewsi!adh
- From: adh@cbnewsi.cb.att.com (andrew.d.hay)
- Subject: Re: openwin and DISPLAY
- Organization: AT&T
- Distribution: na
- Date: Fri, 4 Sep 1992 11:32:58 GMT
- Message-ID: <1992Sep4.113258.1884@cbnewsi.cb.att.com>
- References: <1992Sep3.121811.22606@cbnewsh.cb.att.com> <1992Sep3.181602.20133@lsil.com>
- Lines: 23
-
- In article <1992Sep3.181602.20133@lsil.com> aspin@lsil.com writes:
- "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".
-
- but openwin is damaged -- it won't [easily] run anywhere but the
- console. i tried setting DISPLAY to the machine:0 form, and ow just
- barked and died (a clean death -- i don't think it suffered much).
-
- --
- +--------------------------------------------------------------+
- Andrew Hay "Do not fraternize with that creature, I am trying to train him"
- a_d_hay@att.com "But that's a parrot!" "I was TALKING to the parrot..."
- +--------------------------------------------------------------+
-