delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/07/23:15:13

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=AWL,BAYES_50,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Date: Sun, 7 Jun 2009 23:14:54 -0400
From: David Arnstein <arnstein AT panix DOT com>
To: cygwin AT cygwin DOT com
Subject: mousewheel in xterm, vim (was: mintty-0.4.0-1)
Message-ID: <20090608031454.GA2069@panix.com>
Reply-To: arnstein AT pobox DOT com
References: <announce DOT 416096c60906070929w70ed34feh68f0c4b956cb6f6e AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <announce.416096c60906070929w70ed34feh68f0c4b956cb6f6e@mail.gmail.com>
User-Agent: Mutt/1.5.18 (2008-05-17)
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

On Sun, Jun 07, 2009 at 05:29:21PM +0100, Andy Koppe wrote:
> - The control sequences sent by the mousewheel outside application
> mouse mode have changed. The previous scheme that tied the encoding to
> the "modifier for scrolling with cursor keys" was a bad idea, because
> it meant that the configuration of any program using it had to change
> depending on that setting. The following lines in ~/.lesskey are now
> needed for mousewheel support in less. (Remember to run the lesskey
> command after editing .lesskey)
> 
> \eOa back-line
> \eOb forw-line
> \e[1;2a back-screen
> \e[1;2b forw-screen

This works well and I am pleased to have this feature. This might be
off-topic, but can anyone suggest how to get mousewheel working with
1. X11 xterm windows, while at shell prompt.
2. X11 xterm windows, while in vim.

Thanks for any suggestions.

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