mousewheel in xterm, vim (was: mintty-0.4.0-1)

2009-06-07 Thread David Arnstein
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/



Re: mousewheel in xterm, vim (was: mintty-0.4.0-1)

2009-06-07 Thread Andy Koppe
2009/6/8 David Arnstein:
 can anyone suggest how to get mousewheel working with
 1. X11 xterm windows, while at shell prompt.

Not sure that's possible/practical. What would you expect it to do?

 2. X11 xterm windows, while in vim.

Put this line in ~/.vimrc:
:set mouse=a

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/