Gautam Iyer a écrit :
> On Tue, Apr 15, 2008 at 06:50:47PM +0200, giggz wrote:
> 
>> I'm using urxvt for several months and it works great! but I have a
>> problem with the scrolling : Under programs like most (a "less
>> program") which is running under urxvt I can't scroll with the wheel
>> of my mouse. I can scroll with pageup/pagedown or with ^P / ^N. When I
>> scroll with the wheel of my mouse it scrolls under the "history" of my
>> urxvt even a program (as most) is opened...Is there a way to scroll
>> into a "console program" in a urxvt or in mrxvt (I get the problem in
>> xterm too...) ?
> 
> Possibly: On mouse wheel events one could check if the secondary buffer
> is active or not. If yes, send Up / Down key strokes instead of
> scrolling.
> 

yes, I thought that : but how to check if the secondary buffer is active
or not ?
THe code to use up/down key is the following I think :

xterm*translations:             #override\
      Mod4     <Btn4Down>,<Btn4Up>: string(0x10)\n\
      Mod4     <Btn5Down>,<Btn5Up>: string(0xe)

Urxvt*translations:             #override\
      Mod4     <Btn4Down>,<Btn4Up>: string(0x10)\n\
      Mod4     <Btn5Down>,<Btn5Up>: string(0xe)

but it doesn' work...snif :'(

> This should be relatively easy to patch into your favourite terminal
> emulator. (Patches to mrxvt are welcomed).
> 

Ok
Bye

> GI
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Materm-usage mailing list
Materm-usage@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/materm-usage
Mrxvt home page: http://materm.sourceforge.net

Reply via email to