delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/04/09:39:40

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:subject:to
:mime-version:content-type; q=dns; s=default; b=r6crqYSRLGdArLFT
jRhHrjCA6zpB9JB8s9q/FJe7b+MUiBH/rfcKLX1Wbak+DpnpbOKPbtV/zQ1XGkFq
qlQs3wQtvFy8L4W/QdWmKpgW5+EtHJuIAvauEc6jpGXTBDTA4cJtIc6WIKt4JAGC
yD/PoLSWzsXSuadoaZUV2It1lck=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:reply-to:subject:to
:mime-version:content-type; s=default; bh=GH6MJc4en9Nisk+PjmRhkh
JrLy8=; b=u/uAv+5jfJ4l87EyYj56p0tjfbrUCHwQ1YmK9xye1Q7Gaer00uxV2a
MkbNEFIbsk3Xgubl/v1q6uxMVZCj3L3czCV+NLq6YbTfdLexqN3KqYC57ff204Vd
mUSLNtiGAD+cHm9hhBRSHHb+UQxbvkAHcJNuJqOUTnqneSFDvjUpg=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RDNS_NONE,REPTO_QUOTE_YAHOO autolearn=no version=3.3.2
X-HELO: nm18-vm0.bullet.mail.bf1.yahoo.com
Message-ID: <1380893962.37275.YahooMailNeo@web140105.mail.bf1.yahoo.com>
Date: Fri, 4 Oct 2013 06:39:22 -0700 (PDT)
From: "James R. Phillips" <james_r_phillips AT yahoo DOT com>
Reply-To: "James R. Phillips" <james_r_phillips AT yahoo DOT com>
Subject: /etc/screenrc issue on cygwin64
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
MIME-Version: 1.0


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019