Thanks Matt, ttymouse was unset in screen, I set it to xterm2 and now things 
are much better.

In xterm, things were:

  mouse=a
  ttymouse=xterm2
  term=xterm

same xterm after ssh'ing to a remote host where screen lives within screen

  mouse=a                                                                       
  ttymouse=                                                                     
  term=screen


Added this to my vimrc and now I'm good to go, thanks again!


" this seemed to fix scrolling with macbook and scroll wheel 
" inside of screen.
if &term == "screen"
  set ttymouse=xterm2
endif



On Wed, Jul 15, 2009 at 09:01:00PM -0400, Matt Wozniski wrote:
> 
> On Wed, Jul 15, 2009 at 1:58 PM, Keith Kaple wrote:
> >
> > I've gotten my scrollwheel to work in terminal mode with
> >
> > set mouse=a
> >
> > I feel like the handcuffs are off :-)
> >
> > But running within screen, it doesn't work properly. ??Anyone had to 
> > overcome this?
> 
> First things first, check that all the relevant options have the same
> values inside and outside of screen.  In vim in both, what does
> 
>     :set mouse? ttymouse? term?
> 
> print out?
> 
> ~Matt
> 
> > 

-- 
    |       |
. | | | . | | | .
    '       ' 
    C I S C O
    GGSG VoIP   

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to