X-Recipient: archive-cygwin@delorie.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@veritech.com>
Reply-To: Cygwin Tech List <cygwin@cygwin.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Cygwin Tech List <cygwin@cygwin.com>
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>
In-Reply-To: <416096c60903242347v30a617deu2d55d5b2837b73d1@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


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

