Your can get the tty from the Unix "ps -ef | fgrep <pid>"
-------------------------------------------------------------------------
Cheryl Kendricks
Internet:cherylk@prod1.jcdc.doleta.gov OR cherylk@gwysmtp.jcdc.doleta.gov
DTSI, Inc. Voice: 1-800-598-5008 Fax: 512-393-7296
Database Administrator - DOL Job Corps San Marcos, Texas
------------------------------------------------------------------------
On Fri, 31 May 1996, Scott Rubin wrote:
> At 10:20 AM 5/30/96 -0400, you wrote:
> >Does anyone know of a way to detect idle time (the keyboard has been used)
> in a 4ge program?
> >
> >
> Once you know the tty, who -u will tell you.
>
> Scott
>
>