delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/25/12:43:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <49CA6D49.4080703@veritech.com>
Date: Wed, 25 Mar 2009 13:43:37 -0400
From: "Lee D. Rothstein" <l1ee057 AT veritech DOT com>
Reply-To: Cygwin Tech List <cygwin AT cygwin DOT com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Cygwin Tech List <cygwin AT cygwin DOT com>
Subject: Re: 'less': <HOME><END> not working with 'mintty' > v0.3.6
References: <49C9560F DOT 6060504 AT veritech DOT com> <416096c60903241526i421e191fw2b57a722ae75d547 AT mail DOT gmail DOT com> <49C9C007 DOT 7000609 AT veritech DOT com> <416096c60903242347v30a617deu2d55d5b2837b73d1 AT mail DOT gmail DOT com>
In-Reply-To: <416096c60903242347v30a617deu2d55d5b2837b73d1@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

 >> \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/

- Raw text -


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