Re: Backspace in xterm (again)
I had the same problem, I found a solution, it may not be the best
solution but it works for me.
I used xmodmap to make the backspace key work in the way you want.
check your keymap table for X (xmodmap -pke). If BackSpace is not in it
then add it using the command (xmodmap -e "keycode 22 = BackSapce"). At
least for my system that is what BackSpace is. Then dump the keymap table
again to make sure it took (xmodmap -pke). That should make it work for
the current session. To make the change permanent take the output from
xmodmap -pke and dump it to the /etc/X11/Xmodmap file. This is used by
both xdm and xinit (according to my documentation). This will make the
change permanent globally. To make the change on a per-user basis put a
.xmodmap file in the users directory.
Read the man on xmodmap for more stuff. I hope this helps.
-jeremy
------
Jeremy Hinegardner jeremy@meru.cecs.missouri.edu
Research Assistant http://meru.cecs.missouri.edu
University of Missouri - Columbia
Multimedia Communications and Visualization Laboratory
------
On Sun, 6 Sep 1998, Joost Witteveen wrote:
> > > Does anybody know what I should do to get my beloved backspace back again
> > > (yes, I want backspace to delete the char left to the curser, as it does
> > > in the VC's).
> >
> > Make sure the following is present in your /etc/X11/Xresources:
>
> Thanks. But unfortunately, it _is_ already present!
>
> > *Text.translations: #override ~Shift ~Meta <Key>Delete: delete-next-character()
> > XTerm*termName: xterm-debian
> > *VT100*backarrowKey: false
> > *VT100.Translations: #override <Key>BackSpace: string("\177")\n\
> > <Key>Delete: string("\033[3~")\n\
> > <Key>Home: string("\033OH")\n\
> > <Key>End: string("\033OF")
> >
> > I don't like introducing xterm-debian terminfo entry myself and just renamed
> > it to xterm.
>
> And my $TERM variable already is set to xterm-debian.
>
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
>
Reply to: