Who command

From: Chad Price <cprice_at_molbio.unmc.edu>
Date: Wed, 12 Jan 2000 16:00:14 -0600

If I recall, under 4.0B, 'who -M' returned only the line containing the
current logged in terminal with the machine name associated with it.

I'm now running 4.0F. 'who -M' now seems to return info on all users
currently logged in.... The manual page reads otherwise.

Is this a change to match some requirements document somewhere or is it an
error?

(The real problem - I've been using a script to set the DISPLAY variable
for my X users, and it no longer works.... )

The script (under csh/tcsh) is:
        setenv DISPLAY `who -M |grep $USER |awk '{print $6}'|tr -d '[()]'`:0.0

Chad


Chad Price
Systems Manager, Genetic Sequence Analysis Facility
University of Nebraska Medical Center
986495 Nebraska Medical Center
Omaha, NE 68506-6495
cprice_at_molbio.unmc.edu
(402) 559-9527
(402) 559-4077 (FAX)
Received on Wed Jan 12 2000 - 22:57:43 NZDT

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