X-Recipient: archive-cygwin@delorie.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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; q=dns; s=
	default; b=PVHII/zq/TLUAO0Ojm2B+hUM+iH6PdSfitFdb6GZCbryHHf+/X6zx
	3TNNPgUPpHY7aCp0wzOSlXXiA5Fe68b2BmT0Dq24vmR4TYdRzp2f3sJEklrcF9oe
	FtPMpyCmg0lBCKOUh4SEUnIS37gdvBYWMwrJYzF2uxOlGjZOMToXzQ=
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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding; s=default;
	 bh=zBWOGpLidIxkyYOeA8km/dMByW0=; b=dLqCLAxZI8yU+49q12aVprukWlXX
	qKvA6pwkBayNYe/WTUHoRoZK0YQxzhN3sGx8zh/7NBrBJKUiLlKxya8TaaHY7Nfq
	8F7C4t1yzMYdLbNmANuZvUu59eFjHuJ7eC8woxZuh5mLkaWd6VmeHapoxoPDdRYh
	uPbER7yhHGzuWgI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_50,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.1
To: cygwin@cygwin.com
From: Andrew Schulman <schulman.andrew@epamail.epa.gov>
Subject: Re: pty issue causes 'screen' to hang when run from mintty as detached
Date: Mon, 10 Jun 2013 20:51:12 -0400
Lines: 35
Message-ID: <phscr81sr0kr02qenquh1s0na4n062u3so@4ax.com>
References: <51B63D88.6000508@codespunk.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Archive: encrypt

> 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?  Either
way, I'm afraid I'm not likely to be much help, except that an update of screen
might fix the problem.  The version of screen in Cygwin (4.0.3) hasn't been
updated in several years, because there's a big Cygwin-specific patch that will
have to be either merged into recent screen code, or be determined to be no
longer needed.

Andrew


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

