This is the mail archive of the
cygwin
mailing list for the Cygwin project.
/etc/screenrc issue on cygwin64
- From: "James R. Phillips" <james_r_phillips at yahoo dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Fri, 4 Oct 2013 06:39:22 -0700 (PDT)
- Subject: /etc/screenrc issue on cygwin64
- Authentication-results: sourceware.org; auth=none
- Reply-to: "James R. Phillips" <james_r_phillips at yahoo dot com>
Hi cygwin,
I have found that two lines in /etc/screenrc cause the nano editor to get one line off in its text buffer display when running gnu screen in a mintty
terminal on cygwin64. The two lines are as follows (the ones beginning with "termcap" and "terminfo"):
># Do not use xterms alternate window buffer.
># This one would not add lines to the scrollback buffer.
># THESE CAUSE PROBLEMS WITH 64-BIT CYGWIN AND NANO EDITOR IN MINTTY
>
>termcap xterm|xterms|xs ti=\E7\E[?47l
>terminfo xterm|xterms|xs ti=\E7\E[?47l
Commenting them out (putting hash characters before "termcap" and "terminfo"
solved the problem for me. I have never seen this issue on cygwin32.
To reproduce: on cygwin64, start a mintty terminal, start gnu screen, then edit a file in nano. Soon you will see the text buffer display become garbled. Comment out the two lines identified above in /etc/screenrc and notice that the problem does not occur.
Regards
James R. Phillips
--
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