UPDATE:Problem in 5.0A, with "who -M" command.

From: Jim Fitzmaurice <jpfitz_at_fnal.gov>
Date: Tue, 01 Aug 2000 14:45:37 -0500

This update is due to a response from William H. Magill He noted a
difference between xterm sessions and terminal sessions.

I use ssh to log into my systems and so do many of my users. When I manually
set my DISPLAY and open an xterm the who -M command in 5.0A works as it did
in 4.0X. But in an ssh terminal session, 5.0A does not perform as it did the
in previous 4.0X versions. In other words I get no (<host_address>) in a
terminal session. I suspect the people sending responses saying they see no
difference are using xterm intefaces, not teminal based interfaces, like
ssh.

-----Original Message-----
From: tru64-unix-managers-owner_at_ornl.gov
[mailto:tru64-unix-managers-owner_at_ornl.gov] On Behalf Of Jim Fitzmaurice
Sent: Tuesday, August 01, 2000 1:32 PM
To: Tru64 -unix -managers
Subject: Problem in 5.0A, with "who -M" command.


Hi,
        I have a question about 5.0A, which I just installed on my DEC3000 Mod400
machine. I use the "who -M" command, in my default profiles and login
scripts to set the DISPLAY variable:

REMOTEHOST=`who -Mm|awk '{print $6}'|sed 's/(//'|sed 's/)//'`
DISPLAY="${REMOTEHOST}:0"

This had worked on 4.0B, 4.0D, and 4.0F, but now it seems to be a problem on
5.0A. In the 4.0X versions it always returned:

<login_name> <tty> <login_time> (<host_address>)

But in 5.0A I simply get:

<login_name> <tty>

The man page on 5.0A still indicates that the -M option still displays the
host, but in reality I'm not seeing this.

Is this a bug, and is there a patch for it?

Jim Fitzmaurice
jpfitz_at_fnal.gov

UNIX is very user friendly, It's just very particular about who it makes
friends with.
Received on Tue Aug 01 2000 - 19:38:11 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT