Some X resources for the wheelmnouse.
I put them in the file /etc/dt/config/C/sys.resources (copy it from /usr/dt/config/C/sys.resources if it doesn t exist)
but it can probably go in another home-based file (like .Xdefaults ) or app-based (like Opus.ad )
The latter might be the only possiblity for those of you who use cadence with kde or gnome. I am always lost when I need to give Xresources under gnome.

I just gathered some google results, but I don t know how to improve this fursther. If you know how to extend this, please send the info to the NGs (including comp.cad.cadence).



!! __________________________________________________ ___________________________________
!! scrollmouse
!! __________________________________________________ ___________________________________
!## Athena text widgets
*Paned.Text.translations: #override\n\
Shift,: scroll-one-line-down()\n\
Shift,: scroll-one-line-up()\n\
Ctrl,: previous-page()\n\
Ctrl,: next-page()\n\
None,:scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()scroll-one-line-down()\n\
None,:scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()scroll-one-line-up()\n\

!## MOTIF based
*XmScrollBar.Translations: #override\n\
None:PageUpOrLeft(Up)\n\
None:PageDownOrRight(Down)\n\

*XmText.Translations: #override\n\
None:scroll-one-line-down()\n\
None:scroll-one-line-up()\n\

*XmList.Translations: #override\n\
None:ListPrevItem()\n\
None:ListNextItem()\n\

*XmComboBox.Translations: #override\n\
None:CBListAction(Down)\n\
None:CBListAction(Up)\n\

*XmList.baseTranslations: #augment : ListNextPage()\n\
: ListPrevPage()\n
*XmScrollBar.baseTranslations: #augment : IncrementUpOrLeft(0) IncrementUpOrLeft(1)\n\
: IncrementDownOrRight(0) IncrementDownOrRight(1)\n
*XmText.baseTranslations: #augment Shift: page-left()\n\
Shift: page-right()\n\
: scroll-one-line-up()\n\
: scroll-one-line-down()\n

*XmSpinBox.accelerators: #override : SpinBPrior()\n:
SpinBDisarm()\n: SpinBNext()\n: SpinBDisarm()\nosfUp:
SpinBNext()\nosfDown: SpinBPrior()\nosfUp:
SpinBDisarm()\nosfDown: SpinBDisarm()\nosfLeft:
SpinBLeft()\nosfRight: SpinBRight()\nosfLeft:
SpinBDisarm()\nosfRight: SpinBDisarm()\nosfBeginLine:
SpinBFirst()\nosfEndLine: SpinBLast()

!## xterm
XTerm.vt100.translations: #override\n\
Shift,:scroll-back(1,line)\n\
Shift,:scroll-forw(1,line)\n\
Ctrl,:scroll-back(1,page)\n\
Ctrl,:scroll-forw(1,page)\n\
,:scroll-back(1,halfpage)\n\
,: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\
: StartScroll(Forward)\n\
: StartScroll(Backward)\n
!! __________________________________________________ ___________________________________