🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Warren Burstein Thu, 21 Nov 1985 03:58
"who am i" from a ptty
#5
Author: Warren Burstein
Date: Thu, 21 Nov 1985 03:58
6 lines
858 bytes
I just discovered that "who am i" prints nothing if stdin is a ptty.
It gets the name from ttyname, then searches /etc/utmp for a line
matching the ptty.  Since no one is logged in on a ptty it fails.

This was observed under Pyramid OS-X which pretends to be both BSD and
SysV.
Re: "who am i" from a ptty
#7
Author: Dave Bloom
Date: Mon, 25 Nov 1985 14:30
20 lines
1520 bytes
In article <191@pluto.UUCP>, warren@pluto.UUCP (Warren Burstein) writes:
> I just discovered that "who am i" prints nothing if stdin is a ptty.
> It gets the name from ttyname, then searches /etc/utmp for a line
> matching the ptty.  Since no one is logged in on a ptty it fails.
> 
> This was observed under Pyramid OS-X which pretends to be both BSD and
> SysV.

This is a problem with OSx 2.3.... Pyramid maintained such a separation
between 4.2 and SysV that the SysV end knows nothing about people logged in
under Ethernet, a problem since corrected under OSx 2.5.
-- 

-------------------------------------------------------------------------------
      allegra\					       Dave Bloom
      harvard \ pyramid\
       seismo  \  pyrnj >!andromeda!dave         HOME: (201) 868-1764
     ut-sally   >!topaz/			 WORK: (201) 648-5083
       sri-iu  /
ihnp4!packard /		           "You're never alone with a schizophrenic...."
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads