From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103734,674f735b36ac5ffe,start X-Google-Attributes: gid103734,public X-Google-Thread: fee84,674f735b36ac5ffe,start X-Google-Attributes: gidfee84,public X-Google-Thread: 1070f0,674f735b36ac5ffe,start X-Google-Attributes: gid1070f0,public X-Google-ArrivalTime: 1994-10-03 09:10:37 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!darwin.sura.net!bigdog.fred.net!bigdog.fred.net!not-for-mail From: news@bigdog.fred.net Newsgroups: comp.windows.x,comp.sys.sun.admin,comp.unix.osf.osf1 Subject: Any script for setting the DISPLAY variable? Date: 22 Sep 1994 10:13:58 -0400 Organization: EVB Software Engineering, Inc. Distribution: usa Message-ID: <35s3f6$4es@bigdog.fred.net> Reply-To: mahesh@evb.com NNTP-Posting-Host: bigdog.fred.net Xref: bga.com comp.windows.x:12156 comp.sys.sun.admin:16745 comp.unix.osf.osf1:3827 I rlogin to HP, DEC Alpha OSF1, Sun systems. I have had some script in .login which would set the DISPLAY variable. But it uses the 'whoami' command to find out from which system I have logged in. Unfortunately the output of whomai is not the same on all these systems. Was wondering if you folks have some script which would set the DISPLAY environment variable correctly on ALL systems. thanks -- B.G. Mahesh | Email: mahesh@evb.com