delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/09/12/11:56:20

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:message-id:from:to:subject:references
:in-reply-to:content-type; q=dns; s=default; b=DzTJ3NEuo56cpRzKK
kc8+nyThfU91/PnKZ5LksRnB2qvH/08SK+qlPJFSiZPhIvJmm4gGD+yy5voH9Emq
4i/DVrulwALU75sSk3qYJKG6mCDk8RqH0yjiekKvZIj2N7646Y320I+Yi9zd3j6J
XwOK3pdMfHYD4DoZujq3MZbt+g=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:message-id:from:to:subject:references
:in-reply-to:content-type; s=default; bh=RKDQr6mlMj6LqOLws0+9pQi
GowA=; b=kLPzVh91nvZA3/GSCpw8w0R6rc7tfYNDSOwfHnW4S5OYE/cXo1+b+GG
xuBKRJ1p6teEuQzBpvLMDxOkFgynBPXN4rKkXRaKaPV8njd98cBpuYKAo8aQqreq
9Wxp7igPjeyc1LcQxhP4OKRgkPYfKydVDF8JXunQgrpNO0n3/pX0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-7.0 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=tada, God, god, H*F:D*nl
X-HELO: lb1-smtp-cloud8.xs4all.net
Date: Tue, 12 Sep 2017 17:56:04 +0200
Message-ID: <2642aaf3c77276a3eb2c9fef82d128bc@smtp-cloud8.xs4all.net>
From: Houder <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com
Subject: Re: The bash console exits in 2.9.0
References: <001a01d32a29$0985dd70$1c919850$@np.oss.com> <87tw0aivxb DOT fsf AT Rainer DOT invalid>
In-Reply-to: <87tw0aivxb.fsf@Rainer.invalid>
User-Agent: mua.awk 0.99
X-CMAE-Envelope: MS4wfL/xrwAiyxZWTjoVHpPnzxmaHysb1AYF8K7sJhen/W/7mEfFdy5pQ2Cv7oc5/5pO3kC5sD7UKitJJxeUYCYiKBk6i4XRcbgxgclYbxoNTs7v73RF1eFb tewEMzoJnlR5rTsYDlshiU5MTXQt/F5bHlJbrePMVdvU3OAOjZR/OWJnbB5Lz/gC7IaszQgcMV1Vag==

On Sun, 10 Sep 2017 14:24:00, Achim Gratz wrote:
> Nick Popoff writes:
> > Maybe, you are already aware of this problem introduced in 2.9.0.  When I
> > say, for example:
> >
> > man ls
> >
> > The bash console just exits and 'less' stays running in memory until I kill
> > it.  This behavior completely disrupted everything I was doing.  The scripts
> > are with the same behavior seemingly when '&' is used to put the command in
> > background.  Thanks God, I had backups and restored 2.8.2.
> 
> More specifically, this happens for programs started from a console
> window (cmd), but not when the same commands are run in mintty (the
> shell itself doesn't seem to have anything to do with it).

Perhaps this script will help in finding the bug ...

 - 2.9.0: "console is lost"
 - 2.8.2: ... works

Regards,
Henri

(P.S. modifying /usr/bin/nroff accordingly will not make 'man ls' operate as
 desired)

-----
#! /bin/sh

# invoke like this: cat strange.sh | ./strange.sh

#case "`exec 2>/dev/null ; locale charmap`" in # as used in /usr/bin/nroff
case "`locale charmap`" in # ... works
UTF-8)  echo utf-8 ;;
*)      echo none ;;
esac

echo Tada
-----

#=====


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