home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.open-look
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!decwrl!sdd.hp.com!spool.mu.edu!wupost!uwm.edu!zaphod.mps.ohio-state.edu!uunet.ca!wildcan!sq!lee
- From: lee@sq.sq.com (Liam R. E. Quin)
- Subject: Re: 2 qns: Will CM run under X on 386 olwm from Sun? auto set DISPLAY?
- Message-ID: <1992Nov6.035745.23040@sq.sq.com>
- Keywords: cm olwm X11R3 SVR4.0.3 DISPLAY
- Organization: SoftQuad Inc., Toronto, Canada
- X-Feet: bare
- References: <ellis.721003322@nova>
- Date: Fri, 6 Nov 92 03:57:45 GMT
- Lines: 35
-
- ellis@nova.gmi.edu (Stew Ellis) writes:
- >I am running into trouble trying to run cm [...] with an oldish version of
- >X11R3 and olwm. Is it theoretically possible? (does it require NeWs?)
-
- Yes, it's possible.
-
- >The error I get is unable to access font -b&h-lucida-sans(etc.)
-
- There are notes on this specific question in Volume 8 or the O'Reilly
- X Window System books, `X Window System Administrator's Guide'.
- See pp.123-126.
-
- The short answer is that you can add aliases for those fonts and things
- will work. An alternative methid would be to use getbdf to take the
- fonts from the Sun, or ftp the fonts from export.lcs.mit.edu, or to take
- them from the OpenWindows distribtion in $OPENWINHOME/share/src/fonts.
-
- >I would also like to know if there is any way without user intervention to
- >tell which host someone is logging in from to set the DISPLAY environment
- >variable. I have hit on the idea of parsing the output of the 'who am i'
- >command with sed. Any easier or better ideas?
-
- Some people have rlogin/rsh scripts that set $TERM to contain the display name,
- and set it back in .profile or .cshrc or whatever.
-
- I have .xinitrc create a file in my NFS-mounted login directory that sets
- DISPLAY, OPENWINHOME and LD_LIBRARY_PATH, and have my .profile source it
- (. .windowfile) if it exists. Then .xinitrc removes the file when X dies.
-
- Lee
- --
- lee@sq.com (Liam Quin) the barefoot programmer; SoftQuad Inc +1 416 239 4801
- OPEN LOOK UI FAQ; Metafont list; HexSweeper NeWS game; lq-text text retrieval
- ``They thought him, and they justly thought him, one [lq-text-request@sq.com
- Sent to do more than he appeared to have done.'' Wm. Cowper, Conversation
-