Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!ccicpg!cci632!sjfc!kes3200 From: kes3200@sjfc.UUCP (Ken Staggers) Newsgroups: comp.unix.questions Subject: Reading the original /dev from an rlogin Keywords: /dev rlogin Message-ID: <1013@sjfc.UUCP> Date: 2 May 90 20:52:26 GMT Distribution: usa Organization: St. John Fisher College, Rochester, NY Lines: 14 Hi- We have an assistants account where the assistants can rlogin to it. Sometimes there are 2-5 assistants rlogined to the account at one tine and since the assistants account /dev will be p0, p1, p2, .... its difficult to tell which assistant is on which pseudo term. I am writing an accounting program for the account, and I need to know how to determine this. Are there C (or csh) functions that I can use to determine which assistant is on which pseudo term? --Ken Staggers Chief Unix Lab Assistant St John Fisher College (...!rutgers!rochester!cci632!sjfc!kes3200)