X-Recipient: archive-cygwin@delorie.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@veritech.com>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Cygwin Tech List <cygwin@cygwin.com>
Subject: Re: mintty & less
References: <49BDED4E.80609@veritech.com> <416096c60903160538p227f22ffm5560a8f2878b5ce2@mail.gmail.com>
In-Reply-To: <416096c60903160538p227f22ffm5560a8f2878b5ce2@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.0.1
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

