* ?who -m -M behaving different
@ 1995-03-16 9:24 Rupert Thurner
0 siblings, 0 replies; only message in thread
From: Rupert Thurner @ 1995-03-16 9:24 UTC (permalink / 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-03-16 9:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-03-16 9:24 ?who -m -M behaving different Rupert Thurner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox