Red Hat X - RedHat 9 xterm backspace

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat X > January 2004 > RedHat 9 xterm backspace





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RedHat 9 xterm backspace
Jeff Domogala

2004-01-23, 7:49 pm

I am running RedHat 8.0 & 9 with Reflection X 10.0 on a PC for remote
X window access. no matter what settings I change in Reflection or
linux, I cannot get backspace to default to erase, it always deletes.
CTRL-H is the only key that will erase. In other windows (xemacs,
konsole, etc...) backspace behaves normally. Any suggestions? By the
way, I have several RedHat 7.2 boxes that don't exhibit this problem.

Please post a response to this list.... the e-mail addy I included is
bogus.

Thanks,

Jeff Domogala
Jeff Domogala

2004-01-23, 7:49 pm

I found the solution to the xterm backspace delete/erase dilemna. To
summarize the problem, in RedHat 8.0 and 9, the backspace key always
translates into delete instead of erase. After wading through tons of
internet sources, the solution is simple.

In ~/.Xdefaults add or check that you have:

*VT100.translations: #override \
<Key>BackSpace: string(0x7F)\n\
<Key>Delete: string("\033[3~")\n\
<Key>Home: string("\033[1~")\n\
<Key>End: string("\033[4~")

**NOTE** the lowercase 't' in *VT100.'t'ranslations.
A lot of web sources have this as *VT100.'T'ranslations.
It does make a difference, at least for RedHat 8.0/9.
If you migrated from an earlier version of Linux, your ~/.Xdefaults
may have the capital 'T' Translations version by default. Just change
the case to translations and you're all set.

Jeff Domogala
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com