Solved

XTERM HELL

Posted on 2002-07-08
4
242 Views
Last Modified: 2010-04-20
I have RH 7.3 installed on my server with X
I use XManager on my PC to allow me to connect to my RH box.

My question is how can I modify terminfo or termcap to allow the backspace key to work "properly" in xterm ?

Thanks

Phil
0
Comment
Question by:phil2_curtis
4 Comments
 
LVL 4

Accepted Solution

by:
MFCRich earned 50 total points
Comment Utility
Do not make the change to terminfo/termcap. Put lines like the following in your .Xdefaults file:


xterm*vt100.translations: #override <Key>Delete: string(0x7f)
xterm*vt100.translations: #override <Key>BackSpace: string(0x08)

0
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 50 total points
Comment Utility
stty erase '^H'

Keep in mind that you're struggling with sevaral dragons:
  1. stty
  2. termcap/terminfo
  3. shell (according to 2.)
  4. X-window (like xterm, dtterm, kterm, etc.)
  5. X-Server (like MIT's X, XFree86, etc.)
  6. class resourcefile /according 4. and 5.)
  7. private .Xdefaults (according 4. and 5. and 6.)
  8. method how resource files are activated (for example with: xrdb -merge ...)

oops, that are not dragons, but features ;-)
0
 

Expert Comment

by:CleanupPing
Comment Utility
phil2_curtis:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 2

Expert Comment

by:TheWeakestLink
Comment Utility
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
Split points between MFCRich and ahoffman
Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheWeakestLink
EE Cleanup Volunteer
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now