/etc/screenrc issue on cygwin64

James R. Phillips james_r_phillips@yahoo.com
Fri Oct 4 13:39:00 GMT 2013



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



More information about the Cygwin mailing list