public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* screen on 64-bit mangles mintty/buffer
@ 2014-05-12 15:57 Shaddy Baddah
  2014-05-12 16:38 ` Corinna Vinschen
  2014-05-12 16:51 ` Andrew Schulman
  0 siblings, 2 replies; 12+ messages in thread
From: Shaddy Baddah @ 2014-05-12 15:57 UTC (permalink / raw)
  To: cygwin

Hi,

This is a problem that I noticed some time last year, so I apologise for
sitting on it for so long. I actually started drafting a number of
emails to report but never committed.

The problem only occurs with screen on 64-bit Cygwin. The 32-bit appears
to work correctly. The problem is that when screen is run in mintty, it
seems to exclude the bottom line, reducing the actual size of the
buffer. Further, something goes awry at the top. So that if you run
emacs -nw or less from within, scrolling via the keys acts very
strangely.

If you detach or simply exit the screen session, the problem carries on
on the mintty you are left with.

You can resolve this by resizing the window (and back). Everything then
returns to normal.

It is interesting to me that the problem also occurs if I ssh into the
64-bit Cygwin install via Putty. However, the problem only occurs from
within the screen session. When you detach or exit, the original Putty
session/buffer is uncorrupted.

My foolishness in not reporting this as soon as I detected it is that
my attempts to bisect/rollback to a period where my recollection
suggests the problem did not exist, have not succeeded. In other words,
my tests indicate this has been around since screen was built and
released for 64-bit Cygwin.

I was hoping to understand the terminal handling and suggest a fix, but
it is a little bit beyond my capability at the moment. Any help would
be appreciated (I usually quarantine one mintty which I use for managing
a handful of screen sessions to work around the problem).

-- 
Regards,
Shaddy

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-05-15 16:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-12 15:57 screen on 64-bit mangles mintty/buffer Shaddy Baddah
2014-05-12 16:38 ` Corinna Vinschen
2014-05-12 16:51 ` Andrew Schulman
2014-05-14 18:16   ` Shaddy Baddah
2014-05-14 21:15     ` Andrew Schulman
2014-05-14 23:22       ` Christopher Faylor
2014-05-15  2:18         ` Andrew Schulman
2014-05-15 12:54       ` Shaddy Baddah
2014-05-15 17:44         ` Andrew Schulman
2014-05-15  7:32     ` Corinna Vinschen
2014-05-15 13:11       ` Shaddy Baddah
2014-05-15 14:10         ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).