delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/14/08:25:09

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:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=p1CuCCW9DTZMWkIQe2qRsNNeGBUiWs7nOXbGjj9I57r4G39DmdgfG
2Lpy1A6qEGxFghmkIvU8XSkPT/1dOA9qDeYB5+bO24lPTEIy4OMAfTtBKLhKrFJi
F2irHyOQ1ggAAYnfKTfBAcT1+ZMii9kbEG29pgTqttKX5S+rWP+TP8=
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:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=q5fdVqN7QI7FjeLZuP+1EDjRgzo=; b=mPXwwAtI8UUuHzHMbhmsiaN+4oE+
SfTdgQ9yr94h5cDG9HprmqiXyFCqm8bv3PLFWIbedP+3uXE96aVCkuiOTpAahUTm
TbJufHuQbntmau4Pp7knv0Cyr3vWJkOgNDMu3qhlgiQdRQdpJCz1tExIytSGGBsE
867kKAn1lZRkuTc=
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
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,TW_RX autolearn=ham version=3.3.1
Date: Fri, 14 Jun 2013 14:24:39 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: pty issue causes 'screen' to hang when run from mintty as detached
Message-ID: <20130614122439.GA20444@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <51B63D88 DOT 6000508 AT codespunk DOT com> <phscr81sr0kr02qenquh1s0na4n062u3so AT 4ax DOT com> <CAHWeT-Y0DE4sANnm9yFDooFOmD8VHqLk4jMDe2SOFkBFo5wGog AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAHWeT-Y0DE4sANnm9yFDooFOmD8VHqLk4jMDe2SOFkBFo5wGog@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

On Jun 14 12:57, Andy Koppe wrote:
> On 11 June 2013 01:51, Andrew Schulman wrote:
> >> See here for additional information and reproducible steps in the mintty
> >> support ticket:
> >> https://code.google.com/p/mintty/issues/detail?id=390
> >>
> >> I can reproduce this using cygwin 1.7.20, 1.7.19, 1.7.18, 1.7.15, and 1.7.7.
> >>
> >> Screen does NOT hang when is is created by calling the first command
> >> through cygwin started by cygwin.bat (commands typed through Windows
> >> terminal 'cmd.exe' instead of mintty) and then attempting to attach
> >> through mintty with the second command.
> >>
> >> Workaround is to use:
> >>
> >> 'cygstart --hide screen -S name -d -m'
> >
> > I get a little different result:
> >
> > $ screen -S scrn -d -m
> > $ screen -S name -x
> > Remove dead screens with 'screen -wipe'.
> > $
> >
> > and then I have to run 'reset' to get input echoing back.
> >
> > I've never observed this behavior before, because I always start screen as
> > 'screen -AURD', which works fine.
> >
> > Do we have any idea whether the problem is with mintty or with screen?
> 
> I observed the same behaviour as the OP, but also reproduced it in
> rxvt and xterm, so not a mintty issue. Since it works in a console,
> the Cygwin pty layer has to be the main suspect, unless screen has
> specfic code for Cygwin consoles or ptys?

If this can really be reproduced back to Cygwin 1.7.7, it's a rather
long-standing problem.  Did anybody try to track this down at one point?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 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

- Raw text -


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