Is there anyway to debug the .Xdefauts file?  I have a syntax error
in mine, and i can't seem to find the line that's causing it.

Is there a way to get a line number?

This is the error:
Warning: translation table syntax error: Modifier or '<' expected
Warning: ... found while parsing '!# or'
Warning: String to TranslationTable conversion encountered errors



!# From: http://www-sop.inria.fr/koala/colas/mouse-wheel-scroll/
!# 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\

!## 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\
!# or
!#<Btn3Down>: \n\
!#<Btn3Down>,<Btn3Up>: xfeDoCommand(back)\n\
!#<Btn3Down>,<Btn3Motion>: xfeDoPopup()\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
!# Numeric keypad
<Key>KP_9: PageUp()\n\
<Key>KP_3: PageDown()\n\
<Key>KP_8: LineUp()\n\
<Key>KP_2: LineDown()\n\
<Key>KP_4: ColumnLeft()\n\
<Key>KP_6: ColumnRight()\n\

_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to