Solved

XTERM HELL

Posted on 2002-07-08
4
248 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 4

Accepted Solution

by:
MFCRich earned 50 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 50 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

Independent Software Vendors: 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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

726 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