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