X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_63 X-Spam-Check-By: sourceware.org From: Andrew Schulman To: cygwin AT cygwin DOT com Subject: Re: GNU screen hangs Date: Wed, 02 Sep 2009 16:14:11 -0400 Message-ID: References: <20090831222750 DOT GC14033 AT ednor DOT casa DOT cgf DOT cx> <4A9CF7A1 DOT 8060704 AT googlemail DOT com> <20090901141602 DOT GD16845 AT ednor DOT casa DOT cgf DOT cx> <4A9D556C DOT 8070808 AT gmail DOT com> <5a05e0e60909020719i46ab067y6a78dc5e4b6da366 AT mail DOT gmail DOT com> In-Reply-To: <5a05e0e60909020719i46ab067y6a78dc5e4b6da366@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archive: encrypt 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 > I occasionally have trouble with screen as well, and as far as I can > tell, it always happens when trying to create a new screen. =A0(To be > clear, when I start screen the first time or when I press: ctrl-a c) > So, it may be that screen itself is not the problem in my case. > Because this occurs only rarely, I have no idea how to duplicate it, > and I think disabling any programs that /might/ be interfering would > be inconclusive at best. =A0If it happens again, is there anything I can > do that would lead to a proper diagnosis? I don't know. Maybe someone else here does. screen is difficult to debug, because it uses two communicating processes, one in the foreground to talk to your terminal, and one in the background to talk to the processes in each window. screen in Cygwin has had trouble in the past reattaching to detached sessions. It would seem that communication between the two processes breaks down in some way at detachment or reattachment, but I don't know how to debug that, especially when the problem is intermittent and fairly rare. For whatever reasons, such reports are less common in the last few years, but there have been a few. > I should probably also point out that when I work with cygwin, I work > almost exclusively with text-based programs. So, I rarely have a need > for X, and I use a command prompt window. =A0Is there a better terminal > for those circumstances? First, as /usr/share/doc/screen/README.Cygwin explains, if you're using a DOS terminal, you need to set CYGWIN=3Dtty in the environment before you start your terminal, or you're likely to have problems reattaching to detached screen sessions. Personally, I much prefer PuTTYcyg. rxvt and MinTTY are also popular, but they both require X. You might also like Poderosa (http://en.poderosa.org/). Good luck, 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