[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Lynx, X, and wheel mouse

From: Webmaster Jim
Subject: lynx-dev Lynx, X, and wheel mouse
Date: Wed, 19 Jul 2000 13:17:51 -0400

I noticed on the X mouse wheel scroll page
( how to
have xterm scroll, as well as pine. So I adapted the pine instructions
for Lynx. Perhaps this should go into the WWW X Mouse Wheel Board...

My mouse is a Logitech M-C48. I changed XFree86 (I'm on NetBSD-i386) to
use this pointer device:

Section "Pointer"
    Protocol    "intellimouse"
    ZAxisMapping 4 5
    Device      "/dev/tty00"

I then added this to my .Xdefaults (control characters need to be
embedded corectly with ^V):

! Lynx wheel mouse
lynx*vt100.translations: #override\n\
Shift<Btn4Down>,<Btn4Up>: string("(")\n\
Shift<Btn5Down>,<Btn5Up>: string(")")\n\
Ctrl<Btn4Down>,<Btn5Up>: string("^B")\n\
Ctrl<Btn5Down>,<Btn4Up>: string("^F")\n\
<Btn4Down>,<Btn4Up>: string("^P")\n\
<Btn5Down>,<Btn5Up>: string("^N")\n\

Then, start Lynx in its' own window with:
xterm -geometry 100x40 -name lynx -title Lynx -e lynx http://jim.spath.c0m/ &

The shift and ctrl combos don't work as expected, but the simple wheel
motions translate to DOWN_TWO and UP_TWO properly.

Marvin the Paranoid Android says:
I ache therefore I am.  Or in my case, I am therefore I ache.

; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]