delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/18/08:25:44

X-Recipient: archive-cygwin AT delorie DOT 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 AT tishler DOT net>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin 1.7 GNU screen freezing when disconnected
Message-id: <20091218132310.GB1424@tishler.net>
Mail-followup-to: cygwin AT cygwin DOT com
References: <f18b7baa0912161805p4cd2ff8cte99b19a95e204440 AT mail DOT gmail DOT com>
MIME-version: 1.0
In-reply-to: <f18b7baa0912161805p4cd2ff8cte99b19a95e204440@mail.gmail.com>
User-Agent: Mutt/1.4.2.1i
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

- Raw text -


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