terminal question

Bob Stockler bob at trebor.iglou.com
Wed Jul 7 09:44:41 PDT 2004


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...

In /etc/profile:

  TTY=`/bin/tty` ; export TTY

In filePro:

  tt = getenv["TTY"]

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