?
Solved

XTERM HELL

Posted on 2002-07-08
4
Medium Priority
?
261 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 200 total points
ID: 7137660
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 200 total points
ID: 7140057
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
ID: 9088964
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
ID: 9484997
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month13 days, 19 hours left to enroll

809 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