From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,3e5aa22e2b4c5aed,start X-Google-Attributes: gid1020c6,public X-Google-Thread: 10b612,3e5aa22e2b4c5aed,start X-Google-Attributes: gid10b612,public X-Google-Thread: fee84,3e5aa22e2b4c5aed,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1995-03-16 01:29:17 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!newsfeed.ACO.net!osiris.wu-wien.ac.at!usenet From: Rupert Thurner Newsgroups: comp.unix.admin,comp.unix.osf.osf1,comp.unix.ultrix Subject: ?who -m -M behaving different Date: 16 Mar 1995 09:24:17 GMT Organization: Vienna University of Economics and Business Administration Message-ID: <3k9041$2rv@osiris.wu-wien.ac.at> NNTP-Posting-Host: x11srv.edvz.uni-klu.ac.at Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-URL: news:comp.unix.admin#Pine.SOL.3.91.950314221039.27509A-100000@student.canberra.edu.au Xref: bga.com comp.unix.admin:13981 comp.unix.osf.osf1:6451 comp.unix.ultrix:4878 we are setting the display automatically in .login with if ( $?DISPLAY == 0 ) then setenv DISPLAY `who -m -M | cut -f2 -d\( | cut -f1 -d\)`:0.0 endif usually it works great, but: who -m -M behaves different in different terminal-windows: 1. what i normally expect, and as it works normally: [3][2]rthurner> who -m -M rthurner ttyp6 Mar 14 18:51 (lifi02.ifi.uni-klu.ac.at) 2. the case which i dont know where it comes from ... [2]rupert:~> who -m -M lifi02.ifi.uni-klu.ac.at! ttyp1 Mar 14 10:46 3. the intermediate case ... which makes me even more confused rupert:~> who -m -M lifi02.ifi.uni-klu.ac.at!rupert ttyp2 Mar 16 10:09 (:0.0) we are using a dec-ultrix, a dec-osf1 v3.0 machine and tcsh; case 1: - on every machine, after rlogin, etc. case 2: - on osf console (but only on this specific machine) - on the ultrix, at the xterms which are started from an dxterm, which is launched automatically on login case 3: - on a dxterm, launched from a case 2 xterm; i dont know, if this is due to shell settings, terminal settings or dependent of using a remote machine (as the different behaviour is only on the local machine) can anyone give me a hint where this different behaviour comes from (please reply also by mail) tx, rupert.