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 To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 or to go respectively > to the beginning or end of the stdin stream, the 'less' navigation > hangs until I hit -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/