Solved

XTERM HELL

Posted on 2002-07-08
4
243 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Remove a very long string from all files in Linux 6 84
i can not do linux commands in cygwin windows 10 6 59
cannot connect to openvpn server 9 58
AD LDAP LDS 3 47
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

930 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

11 Experts available now in Live!

Get 1:1 Help Now