delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/14/07:58:13

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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=KN
dXJYYL1QidhyX47Av3fm8xW08BQMPSC4HadZWp62U/xsqMySgDsoYPWXUmNwlB5v
R5tzL0xJ37TCrjGmOYsR/iDtmTgWyqhiX3E5VpmHWyh8VuT80zD55V2RqfcCF5GG
JjKjBEnowfEV7QQNEtGvinn/3Sj1yIr77soUZ4jt4=
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:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=7yi/Ik+h
Pz6Uu5Acim4kkvCZ084=; b=WZfZczZ+kFBYDAKlhLCDEUbqjr8cr2cWWEXvdZuU
n3p4eg9ajOns12EkU/cttovkAh1xMGmoCdUdvWs7dgC8gge1oX7JiSx93M0gWA4+
2LzrbxRwjU40QCuYz6P/c0BSbCgAGRd5pJrvLeCSAQkaMHoRAVZzJZiosV1O6a4J
ZYE=
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=-2.4 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_RX autolearn=ham version=3.3.1
MIME-Version: 1.0
X-Received: by 10.194.120.134 with SMTP id lc6mr1232042wjb.55.1371211074376; Fri, 14 Jun 2013 04:57:54 -0700 (PDT)
In-Reply-To: <phscr81sr0kr02qenquh1s0na4n062u3so@4ax.com>
References: <51B63D88 DOT 6000508 AT codespunk DOT com> <phscr81sr0kr02qenquh1s0na4n062u3so AT 4ax DOT com>
Date: Fri, 14 Jun 2013 12:57:54 +0100
Message-ID: <CAHWeT-Y0DE4sANnm9yFDooFOmD8VHqLk4jMDe2SOFkBFo5wGog@mail.gmail.com>
Subject: Re: pty issue causes 'screen' to hang when run from mintty as detached
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com

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?

Andy

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