home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / sun / admin / 5726 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1000 b   |  26 lines

  1. Newsgroups: comp.sys.sun.admin
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!malgudi.oar.net!chemabs!lwv26
  3. From: lwv26@cas.org (Larry W. Virden)
  4. Subject: Re: auto set display variable on X terms
  5. Message-ID: <1992Aug21.111350.1062@cas.org>
  6. Followup-To: comp.sys.sun.admin
  7. Sender: usenet@cas.org
  8. Reply-To: lvirden@cas.org (Larry W. Virden)
  9. Organization: Nedriv Software and Shoe Shiners, Uninc.
  10. References: <1992Aug20.144001.1759@trantor.harris-atd.com> <JDELL.92Aug20164831@nefertiti.mit.edu>
  11. Date: Fri, 21 Aug 1992 11:12:38 GMT
  12. Lines: 12
  13.  
  14.  
  15. Anyone know if there is some problem with using this?
  16.  
  17. DISPLAY=`who am i | awk ' NF == 6 { print $6 ; next } { print ":0.0" } '`
  18.  
  19. if you are using sh or ksh look alikes anyways?  I don`t know csh to
  20. know who to do something similar.
  21. -- 
  22. Larry W. Virden                 UUCP: osu-cis!chemabs!lvirden
  23. Same Mbox: BITNET: lvirden@cas  INET: lvirden@cas.org
  24. Personal: 674 Falls Place,   Reynoldsburg, OH 43068-1614
  25. America Online: lvirden@aol.com
  26.