X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.7 required=5.0 	tests=AWL,BAYES_00,BOTNET,SPF_SOFTFAIL
X-Spam-Check-By: sourceware.org
Date: Fri, 18 Dec 2009 08:23:10 -0500
From: Jason Tishler <jason@tishler.net>
To: cygwin@cygwin.com
Subject: Re: Cygwin 1.7 GNU screen freezing when disconnected
Message-id: <20091218132310.GB1424@tishler.net>
Mail-followup-to: cygwin@cygwin.com
References: <f18b7baa0912161805p4cd2ff8cte99b19a95e204440@mail.gmail.com>
MIME-version: 1.0
Content-type: text/plain; charset=us-ascii
Content-disposition: inline
In-reply-to: <f18b7baa0912161805p4cd2ff8cte99b19a95e204440@mail.gmail.com>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

Karim,

On Wed, Dec 16, 2009 at 07:05:49PM -0700, Karim Ali wrote:
> Sometimes, I get disconnected from my host computer. When this
> happens, I cannot reattach to the screen session when I can reconnect
> via ssh, and my screen session on the host computer is completely
> locked up. ctrl-q, ctrl-a K, doesn't do anything and I have to kill
> screen and the program I was running in it.

If you only need the reattach feature of screen, then I recommend trying
dtach:

    http://dtach.sourceforge.net/

dtach builds OOTB and installs easily (it's just one file).  I've been
using it daily under Cygwin 1.5 for about 6 months without any problems.
I tested it under Cygwin 1.7 and it seems to work well there too.

I know the above doesn't help solve the screen reattach problem, but it
does offer a very viable workaround.  Hopefully, you and/or others will
find dtach as useful as I have.

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

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

