From mboxrd@z Thu Jan 1 00:00:00 1970 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes Resent-Date: Sat, 30 Jan 1999 13:28:11 -0500 (EST) Date: Sat, 30 Jan 1999 19:27:46 +0100 From: Drazen Kacar To: Bart Schaefer Cc: Drazen Kacar , zsh-workers@math.gatech.edu Subject: Re: PATCH: (more) Re: PATCH: 3.1.5* & 3.0.5: Re: strange xterm & zsh behaviour Message-ID: <19990130192746.A20234@jagor.srce.hr> References: <9901301251.AA43826@ibmth.df.unipi.it> <990130100451.ZM12586@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95i In-Reply-To: <990130100451.ZM12586@candle.brasslantern.com>; from Bart Schaefer on Sat, Jan 30, 1999 at 10:04:51AM -0800 X-Face: 'UIE}WabGB0+U>p-#(hp<_+AD2{H],=qR*jHfm$/e]l0(kU3oOYc5lqG6gg>[\h^IOc{'siD6#!T&loIShgmYHz3#+*D38:|`~\BE,(W~Ol9BDfDwk'lKJ;Z{sY8E9(ME.E]'wvNO`$n#,;9Z`tOFcW/nHZq!BOSrM>V?C<5DTw=<${c{M2V+|)0jSUl&!+8%8nIBF(u:E>SZWM^e X-Attribution: Dave X-Windows: It could be worse, but it'll take time. Resent-Message-ID: <"cS-x_3.0.t21.wyqis"@math> Resent-From: zsh-workers@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Resent-Sender: zsh-workers-request@math.gatech.edu X-Mailing-List: 5125 Bart Schaefer wrote: > (For Drazen) Is it desirable to ALWAYS do this? For a backgrounded shell, > calling ioctl() on a tty device will usually result in a SIGTTOU stopping > the process. Just for the first interactive shell on the terminal. Background shell doesn't fall in that category. But why should a background shell attempt to initialize the terminal? It seems to me that background shell shouldn't call that function. On a related matter, does subshell initialize terminal? > (For PWS et al.) Even if it should always be done, I think it'd be a good > idea to move this code down the point where an attempt to open /dev/tty > might be made anyway, so that it needn't be opened and closed more than > once. I thought it was at that point, but diff didn't provide enough context and I'm without sources. -- .-. .-. Life is a sexually transmitted disease. (_ \ / _) | dave@srce.hr | dave@fly.cc.fer.hr