--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: xrdb Translations #override does not override
- From: Laurent Martelli <martelli@iie.cnam.fr>
- Date: Sun, 17 Jan 1999 14:33:38 +0100
- Message-id: <199901171333.OAA23466@lolo.graal.org>
I have the following /etc/X11/Xresources :
! /etc/X11/Xresources
!
! global Xresources file -- used by both xdm and xinit (startx)
! Fix Motif client handling of backspace/delete; this is not supposed to be
! necessary anymore so it is commented out.
! *XmText.translations: #override\n\
! <Key>osfDelete: delete-previous-character()
! *XmTextField.translations: #override\n\
! <Key>osfDelete: delete-previous-character()
! Fix Xaw (Athena widget set) programs to understand the delete key
*Text.translations: #override ~Shift ~Meta <Key>Delete: delete-next-character()
! Uncomment the following lines to make xterm appear much like a virtual
! console, so that ANSI colors will make more sense.
! XTerm*background: black
! XTerm*foreground: gray90
! Make XTerm use Debian's customized terminfo entry.
XTerm*termName: xterm-debian
! Make the backspace key generate ^? instead of ^H, per Debian keyboard policy.
*VT100*backarrowKey: false
*VT100.scrollBar: true
*VT100*scrollLines: 10000
! Make the delete key generate ^[[3~ instead of ^?, per Debian keyboard policy.
! Make the home and end keys appear to always be in keypad-application mode.
*VT100.Translations: #override <Key>Delete: string("\033[3~")\n\
<Key>Home: string("\033OH")\n\
<Key>End: string("\033OF")
And the following ~/.Xresources
! Make the delete key generate ^[[3~ instead of ^?, per Debian keyboard policy.
! Make the home and end keys appear to always be in keypad-application mode.
*VT100.Translations: #override\
Shift Ctrl <KeyPress> Up:scroll-back(1,page)\n\
Shift Ctrl <KeyPress> Down:scroll-forw(1,page)\n\
Ctrl <KeyPress> Up:scroll-back(2,line)\n\
Ctrl <KeyPress> Down:scroll-forw(2,line)
The Translations in my ~/.Xresources are the only one taken into accoount.
xrdb -merge a_resource_file replace the current translation instead of
merging it.
I am using Debian 2.0 (with a few packages from slink and potato),
kernel 2.2.0-pre7-ac4, and libc6 2.0.7v-1.
Laurent
--- End Message ---