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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: References: <51B63D88 DOT 6000508 AT codespunk DOT com> Date: Fri, 14 Jun 2013 12:57:54 +0100 Message-ID: Subject: Re: pty issue causes 'screen' to hang when run from mintty as detached From: Andy Koppe To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 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