On Sat, Jun 09, 2001 at 11:03:14AM -0700, Rob Hudson wrote:
>
>Here's something I've always been curious about. I think of it b/c
>I'm burning a CD as I write this, and if X goes down I will most
>likely end up making a coaster b/c X will bring down my Eterm, which
>will bring down my cdrecord command that's open in it.
>
>Is there a way to have commands you type in an Eterm under X to stay
>active even if X goes down? Can you attach the process to the current
>tty instead of the X session? Am I thinking of this the right way?
>
You could try nohup to detach the process from the parent. As far as
"current tty", i would think the "current tty" is a pty, and when X goes
away the pty goes away. You might also use virtual consoles to run the
process outside of X.
--
if(rp->p_flag&SSWAP) {
rp->p_flag =& ~SSWAP;
aretu(u.u_ssav);
}