From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,4f264f061260e527 X-Google-Attributes: gidfee84,public From: Joerg Bruehe Subject: Re: Keeping processes after xterm is closed Date: 2000/04/13 Message-ID: <38F57BB1.1E72B116@sql.de>#1/1 X-Deja-AN: 610609936 Content-Transfer-Encoding: 7bit References: <38F4E521.ADF15DE7@umit.maine.edu> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: news@news.sql.de X-Trace: news.sql.de 955612081 7926 194.64.230.128 (13 Apr 2000 07:48:01 GMT) Organization: SQL Datenbanksysteme GmbH Mime-Version: 1.0 NNTP-Posting-Date: 13 Apr 2000 07:48:01 GMT Newsgroups: comp.unix.osf.osf1 Hi Steve ! Steve Cousins wrote: > > Currently if I start a process in the background from a terminal window, > if I close that terminal window the process also dies. This is normal - when you close a window (years ago: when you switch off a terminal), the "hangup" signal is sent to all processes controlled from that window/terminal. > This doesn't happen with other versions of UNIX that I have used ... Are you sure ? IMHO, that is _really_standard_ unless you change the signal handling settings. > ... and I was wondering if there was a way to turn this "feature" off. Yes, explicitly ignore the SIGHUP: Either code that into your program, or use the "nohup" command. RTFM about the stdout/stderr redirection that implies. > > I am using OSF/1 4.0b. Beware of Y2K - officially, you need to upgrade to 4.0D (or higher). HTH, Joerg Bruehe -- Joerg Bruehe, SQL Datenbanksysteme GmbH, Berlin, Germany (speaking only for himself) mailto: joerg@sql.de