X-Recipient: archive-cygwin@delorie.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@panix.com>
To: cygwin@cygwin.com
Subject: mousewheel in xterm, vim (was: mintty-0.4.0-1)
Message-ID: <20090608031454.GA2069@panix.com>
Reply-To: arnstein@pobox.com
References: <announce.416096c60906070929w70ed34feh68f0c4b956cb6f6e@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <announce.416096c60906070929w70ed34feh68f0c4b956cb6f6e@mail.gmail.com>
User-Agent: Mutt/1.5.18 (2008-05-17)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@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

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/

