This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 'less': <HOME><END> not working with 'mintty' > v0.3.6
- From: "Lee D. Rothstein" <l1ee057 at veritech dot com>
- To: Cygwin Tech List <cygwin at cygwin dot com>
- Date: Wed, 25 Mar 2009 13:43:37 -0400
- Subject: Re: 'less': <HOME><END> not working with 'mintty' > v0.3.6
- References: <49C9560F.6060504@veritech.com> <416096c60903241526i421e191fw2b57a722ae75d547@mail.gmail.com> <49C9C007.7000609@veritech.com> <416096c60903242347v30a617deu2d55d5b2837b73d1@mail.gmail.com>
- Reply-to: Cygwin Tech List <cygwin at cygwin dot com>
>> \e[1;2A back-line # <UP-ARROW>
>> \e[1;2B forw-line # <DOWN-ARROW>
>> \e[5;2~ back-screen # <Shift>/<Ctrl>+<M_Wheel_Back>--Scroll page bck
>> \e[6;2~ forw-screen # <Shift>/<Ctrl>+<M_Wheel_Forw>--Scroll page frw
>> \eOH goto-line # <HOME> -- Beginning of input
>> \eOF goto-end # <END> -- End of input
>> --
>> And, yes, I remembered to compile with 'lesskey'.
>>
>> NONE of the above work.
>>
>> Am I missing some other magic beans?
> - Is the TERM variable set to something other than xterm?
Yes, on Cygwin 1.7, I've since fixed that.
Now, mouse wheel stuff works fine. Thanks.
However, while <HOME> works, <END> generates:
ESCOF
on the bottom command line and doesn't change the rest of the
screen. If I then type <Ctrl>-C (required to allow keyboard input
to be accepted, at all, at this point), and then, <END>, and
<HOME> both work.
So, we're not out of the woulds [sic] yet. ;-)
> - Is the 'Modifier key for scrolling' on the 'Keys' page of the
> options set to something other than 'Shift'? If so the number 2 in
> the keycodes needs to be replaced with 3 for Alt or 5 for Ctrl.
No. AOK.
> - Do you invoke less with any additional options that might influence
> this, e.g. through an alias or the LESS variable?
$LESS is null; no aliases.
Thanks, again, so far. ;-)
Lee
--
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/