On Tuesday 15 July 2003 1:17 pm, expatriate wrote:
Sorry for this newbie question. I know I could eventually dig this up but why not (ab)use the list? Coming from a Solaris background, I'm quite used to opening terminals, launching jobs in the background and opening other terminals etc etc and then killing windows at will as the desktops get cluttered. However, in Linux, if I launch some applications in the background and then kill their terminal window, the applications terminate as well. Is this Linux's way to avoid zombies or is there some other way to launch an app and completely sever its ties to the window process that launched it? TIA & cheers
Have a look at screen. At a terminal, type 'screen' and press return after the copyright and pizza notice. Start your lengthy processes as normal. Ctrl-A-D detaches the screen, or you can just close the terminal. Open up another xterm and type "screen -r", and it attaches itself to the terminal. I use it for monitoring KDE CVS compiles from work. Start the compile script from within screen in Konsole at home, and use Putty to ssh into my box and use 'screen -r' to see if the compile is continuing OK. HTH, Jason