terminal question

Bob Stockler bob at trebor.iglou.com
Wed Jul 7 10:17:40 PDT 2004


On Wed, Jul 07, 2004 at 12:45:00PM -0400, Jay R. Ashworth wrote:
| On Wed, Jul 07, 2004 at 12:15:35PM -0400, Courtney wrote:
| > I need to have a way to capture the terminal a user is on-from that I can
| > determine where to print report(s) etc...problem is that they use the same
| > login so I cannot use @id...
| > 
| > We are on SCO Unix...
| 
| You can USER /bin/tty to get the tty name, but if they're on via the
| network, that won't tell you enough.  Alas, finding out enough can be
| difficult.

When /bin/tty is executed by the USER command it is
_not_ connected to a terminal (and tells you so).

Bob

-- 
Bob Stockler - bob at trebor.iglou.com
Author: MENU EDIT II - The BEST Creator/Editor/Manager for filePro User Menus.
Fully functional (time-limited) demos available by email request (specify OS).


More information about the Filepro-list mailing list