X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 25 Jul 2011 13:14:45 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: SIGHUP on pty closure Message-ID: <20110725111445.GB11462@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4E289D7B DOT 4050103 AT gmail DOT com> <4E2D474A DOT 4000509 AT gmail DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4E2D474A.4000509@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jul 25 12:36, Marco atzeri wrote: > It seems that mc is correct in the expectation. > > http://pubs.opengroup.org/onlinepubs/9699919799/functions/close.html > > "If fildes refers to the master side of a pseudo-terminal, and this > is the last close, a SIGHUP signal shall be sent to the controlling > process, if any, for which the slave side of the pseudo-terminal is > the controlling terminal. It is unspecified whether closing the > master side of the pseudo-terminal flushes all queued input and > output." > > > I don't find such implementation on cygwin > > fhandler_pty_master::close () > > Am I looking in the wrong place ? No, I don't think so. I'm not fluent with mc. How can I reproduce the issue? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple