On Sunday 20 February 2005 10:56, [EMAIL PROTECTED] wrote:
> 050220 Qiangning Hong wrote:
> > I have started a long-time emerging in an xterm.
> > i want to restart X, but I don't want to intercept the emerging
> > process. Is it possible that I suspend it
> > and restart X and resume it in another xterm?
>
> how about 'control-z' to suspend it, then 'bg' to restart it in
> background ? i don't know if subsequently killing the Bash process
> will kill the job too.
"bg", "fg", "wait", and so on work only in the bash session the pertain 
to.

In linux, processes usually can't wade across whole system... You have 
to instruct them in advance.

To kill father process (xterm) without loosing forked ones they (sons) 
should have started with nohup.

Another option to take in consideration is screen, again you have to 
start it at first, and then start longer processes inside it.

> there's also the possibility of going to another raw console
> with 'control-alt-F2' & doing what you want outside X there,
> then returning with 'control-alt-F7'.
Not without leaving X running...

Ciao
 Francesco
-- 
Linux Version 2.6.11-rc4, Compiled #1 Mon Feb 14 08:01:28 CET 2005
One 1.53GHz AMD Athlon XP Processor, 1.5GB RAM, 3022.84 Bogomips Total
macula

--
[email protected] mailing list

Reply via email to