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

Re: pc keyboard oddity in xterm



Adrian Bridgett wrote:
> 
> On Wed, Sep 09, 1998 at 06:23:54AM -0400, Branden Robinson wrote:
> >
> > You don't happen to be using xbase 3.3.2.2-1 somehow, do you?  That version
> > did exactly what you describe.  However, it has since been fixed (in
> > 3.3.2.2-2, released on 15 July).
> >
> > It's also possible you used xbase 3.3.2.2-1 at some point, modified
> > /etc/X11/Xresources, and then said no to letting dpkg replace that file in
> > later upgrades.
> >
> > You should have the following in your /etc/X11/Xresources file:
> > *VT100.Translations: #override <Key>BackSpace: string("\177")\n\
> >                                <Key>Delete: string("\033[3~")\n\
> >                                <Key>Home: string("\033OH")\n\
> >                                <Key>End: string("\033OF")
> 
> I've got 3.3.2.2-4 and this in /etc/Xresources (no Xresources.dpkg* files
> there BTW):
> 
> *VT100.Translations: #override <Key>Delete: string("\033[3~")\n\
>                                <Key>Home: string("\033OH")\n\
>                                <Key>End: string("\033OF")
> 
> Adrian
> 


	FWIW, I'm using 3.3.2.3a-1, here is my Xresources.dpkg-dist:

===================================
! /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

! 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.
! Include override for BackSpace because older xterms do not understand
the
! backarrowKey resource.
*VT100.Translations: #override <Key>BackSpace: string("\177")\n\
                               <Key>Delete: string("\033[3~")\n\
                               <Key>Home: string("\033OH")\n\
                               <Key>End: string("\033OF")
===================================


-- 
Ed C.


Reply to: