This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: /etc/screenrc issue on cygwin64
- From: Andrew Schulman <schulman dot andrew at epa dot gov>
- To: cygwin at cygwin dot com
- Date: Tue, 08 Oct 2013 11:24:22 -0400
- Subject: Re: /etc/screenrc issue on cygwin64
- Authentication-results: sourceware.org; auth=none
- References: <1380893962 dot 37275 dot YahooMailNeo at web140105 dot mail dot bf1 dot 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.
James, thanks for the report. I haven't had any time lately to focus on
Cygwin, and my one 64-bit Windows machine is about to go in for repairs,
but I will look at this soon. 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