delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/25/13:27:49

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_CG,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4E2DA77B.2030909@gmail.com>
Date: Mon, 25 Jul 2011 19:27:23 +0200
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: SIGHUP on pty closure
References: <4E289D7B DOT 4050103 AT gmail DOT com> <4E2D474A DOT 4000509 AT gmail DOT com> <20110725151140 DOT GA27310 AT ednor DOT casa DOT cgf DOT cx> <4E2D9FEA DOT 1020900 AT gmail DOT com> <20110725170554 DOT GB32493 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20110725170554.GB32493@ednor.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 25/07/2011 19.05, Christopher Faylor wrote:

>
> "sleeping and waiting for signal" would mean that "bash is not waiting
> for input".  If bash isn't waiting for input that would explain the
> problem.  However, I would expect that bash, in this scenario, to be
> waiting for input.  I was hoping you'd provide insight into whether that
> was the case or not.
>
> cgf

Sorry, I will try to be more clear, for what I understood of mc.

With CTRL-O the foreground is switched between mc and bash
(or viceversa) , so when mc is on foreground bash is not
waiting for input, but for a signal to wake up again.

Mc exits following F10 key press and bash should follow
when it receives SIGHUP.

Marco

--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019