[comp.unix.questions] Tranfering nohup processes between ttys

aj3u@ra.cs.Virginia.EDU (Asim Jalis) (06/04/90)

Is there an easy way to transfer nohup process which has been spawned
by a parent no longer alive, between ttys?  I am not sure how clearly,
I have expressed myself.  Let me try again.  Suppose I leave an emacs
process running, and exit.  If I login as a new tty, is there a way to
get back into my emacs process?

Please send e-mail.

Thanks!

Asim Jalis.

tr@samadams.princeton.edu (Tom Reingold) (06/06/90)

In article <1990Jun3.191948.13333@murdoch.acc.Virginia.EDU>
aj3u@ra.cs.Virginia.EDU (Asim Jalis) writes:

$ Is there an easy way to transfer nohup process which has been spawned
$ by a parent no longer alive, between ttys?  I am not sure how clearly,
$ I have expressed myself.  Let me try again.  Suppose I leave an emacs
$ process running, and exit.  If I login as a new tty, is there a way to
$ get back into my emacs process?

I know of only one way to do this, and it's not any goodd for many
situations.  There is a program caled "screen" which is freeware and
runs only ony BSD flavors of Unix.  If you hangup during a screen
session, logging back in allows you to reattach to the screen's child
processes.

This is an added feature of "screen"; it's not its main purpose.  Its
main purpose is to have virtual screens on a simple tty.
--
Tom Reingold
tr@samadams.princeton.edu
rutgers!princeton!samadams!tr
201-560-6082

jgreco@archimedes.math.uwm.edu (Joe Greco) (06/16/90)

In comp.unix.wizards article <191@rossignol.Princeton.EDU>, tr@samadams.princeton.edu (Tom Reingold) wrote:
:In article <1990Jun3.191948.13333@murdoch.acc.Virginia.EDU>
:aj3u@ra.cs.Virginia.EDU (Asim Jalis) writes:
:
:$ Is there an easy way to transfer nohup process which has been spawned
:$ by a parent no longer alive, between ttys?  I am not sure how clearly,
:$ [...deleted...]
:
:I know of only one way to do this, and it's not any goodd for many
:situations.  There is a program caled "screen" which is freeware and
:runs only ony BSD flavors of Unix.  If you hangup during a screen
:session, logging back in allows you to reattach to the screen's child
:processes.

This "feature" is no longer available in newer releases of "screen" -
however I can't say that I really miss it.  Most interactive things can be
saved and restored later, and processes that I want to nohup and let run, I
usually mail the output to myself.  As a further note, I believe "screen"
also caused the child to block on output if the parent had disconnected.
This was not optimal in my opinion and was one reason I considered it to be
a less-than-valuable function.

... Joe

-------------------------------------------------------------------------------
Joe Greco - University of Wisconsin, Milwaukee - Department of Mathematics
jgreco@archimedes.math.uwm.edu		USnail: Joe Greco
Voice: 414/321-6184				9905 W. Montana Ave.
Data:  414/321-9287 (Happy Hacker's BBS) 	West Allis, WI  53227-3329
#include <witty_and_humorous_saying.h>
Disclaimer: I don't speak for the Math Department, the University, or myself.