tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* changing the tty name?
@ 2001-08-16 18:38 Robert Prizzi
  0 siblings, 0 replies; only message in thread
From: Robert Prizzi @ 2001-08-16 18:38 UTC (permalink / raw)
  To: tru64-unix-managers

To All,
Is there a way to change the tty name that is shown when you perform a ps 
-ef command.  The output currently looks:

amelia   26623  17948	0.0   10:42:26	ttyp3	0:00:0.8 -tcsh (tcsh)

I would like to change the ttyp3 to a user defined variable asked when the 
user logs into the system (see below).

amelia   26623  17948	0.0   10:42:26	bobp	0:00:0.8 -tcsh (tcsh)

The reason is that it is a development machine with only two actual 
usernames, but there may be many people accessing the system with that same 
username.  This would help facilitate which user is running which program. 
Is this possible on V5.1 or any other version.  If the user opens another 
window, the system would just append a number after the variable.  This is 
something that was possible in VMS.  The variable in VMS that was changed 
was the 'process name' and could be set for each instance the person would 
telnet in for.  Just wondering.
Thanks,
Bob Prizzi
NASA Glenn Research Center

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-08-16 18:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-16 18:38 changing the tty name? Robert Prizzi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox