Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Rupert Thurner <rupert@ifi.uni-klu.ac.at>
Subject: ?who -m -M behaving different
Date: 16 Mar 1995 09:24:17 GMT	[thread overview]
Message-ID: <3k9041$2rv@osiris.wu-wien.ac.at> (raw)

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.



                 reply	other threads:[~1995-03-16  9:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox