Getting rid of controlling terminal

Peter C. Bahrs pcb at gator.cacs.usl.edu
Sat Feb 17 11:09:26 AEST 1990


I hope this is the correct newsgroup, so many unix., but...
I want to run a job in the background and have it disconnect from
the associating terminal without hardcoding it.
i.e. when I do a ps -guax on Berkeley I want to see a ? in the tty column.

So  program args >& file </dev/null  does not seem to work?
Any suggestions?  The problem is, on a SUN network anyway, if I use
the tty, then others cannot rlogin in to this machine (I rlogin'ed to invoke
the command).


/*------------Thanks in advance...---------------------------------------+
| Peter C. Bahrs                                                         |
| The USL-NASA Project                                                   |
| Center For Advanced Computer Studies   INET  pcb at gator.cacs.sl.edu     |
| University of Southwestern Louisiana   ...!uunet!dalsqnt!gator!pcb     |
| Lafayette, LA 70504                                                    |
+-----------------------------------------------------------------------*/



More information about the Comp.unix.questions mailing list