Re: Netscape and MS Intellimouse
> Netscape used to have support for the Intellimouse in my Debian 2.1 box.
> Now I have a fresh Potato install (new hard drive), only a few days old,
> and the old ¨tricks¨ don´t work anymore. So far I have the line
>
> ZAxisMapping 4 5
>
the whole section:
Section "Pointer"
Protocol "IMPS/2"
Device "/dev/psaux"
# Device "/dev/gpmdata"
Buttons 5
ZAxisMapping 4 5
EndSection
> in my /etc/X11/XF86Config file. I also have some blurb in
> /etc/X11/Xresources/netscape that starts like this
>
i attached my xdefaults. concentrate on the btn4down and btn5down.
of course, it should be possible to move these to the global
netscape Xresource.
--
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
If Windows is the answer, I want the problems back!
!# Scrolling on wheel mouse: half a page normally, line per line with shift
XTerm.vt100.translations: #override\n\
Shift<Btn4Down>,<Btn4Up>:scroll-back(1,line)\n\
Shift<Btn5Down>,<Btn5Up>:scroll-forw(1,line)\n\
Ctrl<Btn4Down>,<Btn4Up>:scroll-back(1,page)\n\
Ctrl<Btn5Down>,<Btn5Up>:scroll-forw(1,page)\n\
<Btn4Down>,<Btn4Up>:scroll-back(1,halfpage)\n\
<Btn5Down>,<Btn5Up>:scroll-forw(1,halfpage)\n\
!# In the scrollbar we map buttons 5 & 4 to 1 and 2 otherwise, core dump
!# This will move proportionnaly to cursor position but we dont know how to
!# program the same exact behavior as in the text widget.
XTerm.vt100.Scrollbar.translations: #override\n\
<Btn5Down>: StartScroll(Forward)\n\
<Btn4Down>: StartScroll(Backward)\n\
!## Athena text widgets
*Paned.Text.translations: #override\n\
Shift<Btn4Down>,<Btn4Up>: scroll-one-line-down()\n\
Shift<Btn5Down>,<Btn5Up>: scroll-one-line-up()\n\
Ctrl<Btn4Down>,<Btn4Up>: previous-page()\n\
Ctrl<Btn5Down>,<Btn5Up>: next-page()\n\
None<Btn4Down>,<Btn4Up>:scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()\n\
None<Btn5Down>,<Btn5Up>:scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()\n\
!## Athena table of contents, for toc widgets of xrn & xmh
*toc.Translations: #override\n\
Shift<Btn4Down>,<Btn4Up>: scroll-one-line-down()\n\
Shift<Btn5Down>,<Btn5Up>: scroll-one-line-up()\n\
Ctrl<Btn4Down>,<Btn4Up>: previous-page()\n\
Ctrl<Btn5Down>,<Btn5Up>: next-page()\n\
None<Btn4Down>,<Btn4Up>:scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()\n\
None<Btn5Down>,<Btn5Up>:scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()\n\
!## NETSCAPE
Netscape*drawingArea.translations: #replace \
<Btn1Down>: ArmLink() \n\
<Btn2Down>: ArmLink() \n\
~Shift<Btn1Up>: ActivateLink() \n\
~Shift<Btn2Up>: ActivateLink(new-window) \
DisarmLink() \n\
Shift<Btn1Up>: ActivateLink(save-only) \
DisarmLink() \n\
Shift<Btn2Up>: ActivateLink(save-only) \
DisarmLink() \n\
<Btn1Motion>: DisarmLinkIfMoved() \n\
<Btn2Motion>: DisarmLinkIfMoved() \n\
<Btn3Motion>: DisarmLinkIfMoved() \n\
<Motion>: DescribeLink() \n\
<Btn3Down>: xfeDoPopup() \n\
<Btn3Up>: ActivatePopup() \n\
Ctrl<Btn4Down>: PageUp()\n\
Ctrl<Btn5Down>: PageDown()\n\
Shift<Btn4Down>: LineUp()\n\
Shift<Btn5Down>: LineDown()\n\
None<Btn4Down>: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
None<Btn5Down>:
LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
Alt<Btn4Down>: xfeDoCommand(forward)\n\
Alt<Btn5Down>: xfeDoCommand(back)\n
Netscape*globalNonTextTranslations: #override\n\
Shift<Btn4Down>: LineUp()\n\
Shift<Btn5Down>: LineDown()\n\
None<Btn4Down>:LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
None<Btn5Down>:LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
Alt<Btn4Down>: xfeDoCommand(forward)\n\
Alt<Btn5Down>: xfeDoCommand(back)\n
! Restrict the range of size increments allowed by <font size=n>
! directives to
! the range 80% - 120% rather than 50% - 210%. Default increment is 20.
! KMSelf Wed Dec 29 15:47:57 PST 1999
Netscape*documentFonts.sizeIncrement: 05
! Clean up the fscking toolbar
Netscape*toolBar.search.isEnabled: false
Netscape*toolBar.destinations.isEnabled: false
Netscape*toolBar.myshopping.isEnabled: false
Netscape*toolBar.viewSecurity.isEnabled: false
Netscape*toolBar.print.isEnabled: true
Netscape*toolBar.home.isEnabled: true
! And some other brain damage
Netscape*useStdoutDialog: false
Netscape*useStderrDialog: false
Netscape*noAboutSplash: true
! Document fonts -- scaling doesn't appear to take effect w/ TTF fonts
!Netscape*documentFonts.defaultFont*iso-8859-1.prop: -ttf-garamond-120-noscale
!Netscape*documentFonts.defaultFont*iso-8859-1.fixed: -ttf-couriernew-90-noscale
Reply to: