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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=nzpLNTg+/3lIucs2ECjtzCrsZar4XiuQ1YnDQd5zgC/Q1j8DGtVYD HYIucC2Srb/sfHW6VKssdMaGGQv1OH+sCeveogqx4+pB4elxuWvazYLKRKqsVktL MScGzxuhEjIF6vC2Rcn+V8OEhyAZluEWdugrR14iiikRt2E/wmfVSM= 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:to:from:subject:date:message-id:references :mime-version:content-type:content-transfer-encoding; s=default; bh=W/Vuj+2zzVKAL19ZBAfIR8tLzb8=; b=nV8cWSIGSuBQCpy57BWc9BiKaQ1N ZO+0f5gKfTE2lJNjDouEk2EhA96ViodEXchFdtS3kcHKJ+zMHwY9FzHDL1bqfJ/S lHZovqWAgOSdx7S1Z3wpx78dghIqiZbk/b1dRy7X8qNNDQcDxwjiCgHE7J2IiJHW 20Fx5ANDvDSTAfw= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Andrew Schulman Subject: Re: /etc/screenrc issue on cygwin64 Date: Tue, 08 Oct 2013 11:24:22 -0400 Lines: 24 Message-ID: References: <1380893962 DOT 37275 DOT YahooMailNeo AT web140105 DOT mail DOT bf1 DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive: encrypt X-IsSubscribed: yes > > > 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