This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GNU screen hangs

> 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. ?(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. ?If 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. ?Is 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=tty 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

Good luck,

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]