home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / windows / openloo / 4381 < prev    next >
Encoding:
Text File  |  1992-11-07  |  2.1 KB  |  48 lines

  1. Newsgroups: comp.windows.open-look
  2. 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
  3. From: lee@sq.sq.com (Liam R. E. Quin)
  4. Subject: Re: 2 qns: Will CM run under X on 386 olwm from Sun?  auto set DISPLAY?
  5. Message-ID: <1992Nov6.035745.23040@sq.sq.com>
  6. Keywords: cm olwm X11R3 SVR4.0.3 DISPLAY
  7. Organization: SoftQuad Inc., Toronto, Canada
  8. X-Feet: bare
  9. References: <ellis.721003322@nova>
  10. Date: Fri, 6 Nov 92 03:57:45 GMT
  11. Lines: 35
  12.  
  13. ellis@nova.gmi.edu (Stew Ellis) writes:
  14. >I am running into trouble trying to run cm [...] with an oldish version of
  15. >X11R3 and olwm.  Is it theoretically possible?  (does it require NeWs?)
  16.  
  17. Yes, it's possible.
  18.  
  19. >The error I get is unable to access font -b&h-lucida-sans(etc.)
  20.  
  21. There are notes on this specific question in Volume 8 or the O'Reilly
  22. X Window System books, `X Window System Administrator's Guide'.
  23. See pp.123-126.
  24.  
  25. The short answer is that you can add aliases for those fonts and things
  26. will work.  An alternative methid would be to use getbdf to take the
  27. fonts from the Sun, or ftp the fonts from export.lcs.mit.edu, or to take
  28. them from the OpenWindows distribtion in $OPENWINHOME/share/src/fonts.
  29.  
  30. >I would also like to know if there is any way without user intervention to
  31. >tell which host someone is logging in from to set the DISPLAY environment
  32. >variable.  I have hit on the idea of parsing the output of the 'who am i'
  33. >command with sed.  Any easier or better ideas?
  34.  
  35. Some people have rlogin/rsh scripts that set $TERM to contain the display name,
  36. and set it back in .profile or .cshrc or whatever.
  37.  
  38. I have .xinitrc create a file in my NFS-mounted login directory that sets
  39. DISPLAY, OPENWINHOME and LD_LIBRARY_PATH, and have my .profile source it
  40. (. .windowfile) if it exists.  Then .xinitrc removes the file when X dies.
  41.  
  42. Lee
  43. -- 
  44. lee@sq.com (Liam Quin) the barefoot programmer; SoftQuad Inc +1 416 239 4801
  45.  OPEN LOOK UI FAQ; Metafont list; HexSweeper NeWS game; lq-text text retrieval
  46. ``They thought him, and they justly thought him, one   [lq-text-request@sq.com
  47.   Sent to do more than he appeared to have done.''   Wm. Cowper, Conversation
  48.