delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/16/07:38:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <49BDED4E.80609@veritech.com>
References: <49BDED4E DOT 80609 AT veritech DOT com>
Date: Mon, 16 Mar 2009 12:38:07 +0000
Message-ID: <416096c60903160538p227f22ffm5560a8f2878b5ce2@mail.gmail.com>
Subject: Re: mintty & less
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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/

- Raw text -


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