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

Re: Need help with German keyboard

Brian Mays <brian@debian.org> wrote:

> Can anyone help me diagnose this problem?  Is it a real problem, or
> is something configured wrong on this guy's system?

IMHO the latter.
I just created a new user (with only the files from /etc/skel copied
into his home, where the files in /etc/skel weren't changed by me),
started X and opened a xterm and a rxvt with bash.

In both terminal emulators Del, Home and End worked as expected.

> XTerm.termName: xterm-debian
> *VT100.Translations: #override ~Meta <Key>BackSpace: string("\177")\n\
>                                <Key>Delete: string("\033[3~")\n\
> !                               <Key>Home: string("\033OH")\n\
> !                               <Key>End: string("\033OF")

Why are the last two lines commented out here?  The 3rd last line is a
continued line (ends with a backslash), so this won't work correct.

> xterm*VT100.Translations: #override <Key>BackSpace: string(0x7F)\n\
>         <Key>Delete:        string(0x1b) string("[3~")\n\
>         <Key>Home:          string(0x1b) string("[1~")\n\
>         <Key>End:           string(0x1b) string("[4~")\n\
>         Ctrl<Key>Prior:     string(0x1b) string("[40~")\n\       
>         Ctrl<Key>Next:      string(0x1b) string("[41~")

Where does this come from?  My /etc/X11/Xresources/xterm (from xterm
3.3.6-3) only has the first block in it:

*VT100.Translations: #override ~Meta <Key>BackSpace: string("\177")\n\
                               <Key>Delete: string("\033[3~")\n\
                               <Key>Home: string("\033OH")\n\
                               <Key>End: string("\033OF")

Please note, that the above xterm*VT100.Translations has different
settings for Home and End in it, so I doesn't wonder, that these keys
don't work correct for the user.  Anyway, the Delete key should work
correct on his system, unless he has some changes in his inputrc or in
the terminfo settings.



 * roland@spinnaker.de * http://www.spinnaker.de/ *

Reply to: