delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/16/10:06:36

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49BE6AF2.2020900@veritech.com>
Date: Mon, 16 Mar 2009 11:06:26 -0400
From: "Lee D. Rothstein" <l1ee057 AT veritech DOT com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Cygwin Tech List <cygwin AT cygwin DOT com>
Subject: Re: mintty & less
References: <49BDED4E DOT 80609 AT veritech DOT com> <416096c60903160538p227f22ffm5560a8f2878b5ce2 AT mail DOT gmail DOT com>
In-Reply-To: <416096c60903160538p227f22ffm5560a8f2878b5ce2@mail.gmail.com>
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.0.1
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

Andy Koppe wrote:
> Lee D. Rothstein:
>   
>> I'm having some problems with 'less' in a 'mintty' window that are not
>> consistent. Specifically while paging through stdin (to 'less'), in
>> 'less', the first time I try to use <HOME> or <END> to go respectively
>> to the beginning or end of the stdin stream, the 'less' navigation
>> hangs until I hit <CTRL>-c. Then they each work.
>>     
>
> Hmm, less could be getting confused by the VT220-style Home/End
> keycodes that mintty sent so far. 0.3.7 sends "PC-style" keycodes that
> are compatible with the xterm terminfo entry.
>
> To get them working in less, add these two lines to ~/.lesskey (and
> run lesskey to translate it into the binary ~/.less):
>
>   \eOH goto-line
>   \eOF goto-end
>
> Andy
>
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
>
>
>   
Thanks, Andy, this worked. Now, I'll go install 0.3.7, and see what 
happens. ;-)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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