LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-16-2004, 08:27 AM   #1
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Rep: Reputation: 30
backspace key in xterm via ssh


Hi,

Believe me, I already searched for this...can't find an answer that works...

When I ssh into my Fedora Core 1 box from work, and bring up an xterm, the backspace key does nothing. Well, it makes a system beep in the computer here <edit>sorry, the beep comes out of the regular speaker, not the system speaker<edit>, but produces no character in the xterm. I can use the arrow keys to back up, and then use the delete key, but this is terribly annoying.

How can I remap this via ssh? The key works fine when I'm sitting at the computer at home. Well, now that I think of it, I don't know if I've ever used an xterm at home, I usually use gnome-terminal, but that's just oo slow via X11 forwarding....

Oh, and xev shows the backspace key working, calls it backspace and shows it as keycode 16

What to do?

Last edited by jeffreybluml; 12-17-2004 at 06:14 AM.
 
Old 12-17-2004, 06:15 AM   #2
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
^bump

Anybody? I'll take any ideas you have. Even if they don't work, gives me something to try and hopefully I'll stumble across the solution.

Thanks,
 
Old 04-05-2005, 06:48 AM   #3
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
^^bump...

Been awhile, but still having this problem. It's really starting to get on my nerves.

Anybody have suggestions, or know where I can look for info? Everything I find on the net about using setting tty properly isn't helping...

Please?!?!?!?
 
Old 08-20-2006, 06:07 AM   #4
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
Probably the same problem here mate. I run Slackware Current. I currently can't use the End key in terminals including the cli except xterm. I can't even use Backspace in a text editor cause it opens menus instead. Asked about this in more places. Still looking for a solve.
Do you still have this problem?
 
Old 08-20-2006, 12:10 PM   #5
jeffreybluml
Member
 
Registered: Mar 2004
Location: Minnesota
Distribution: Fedora Core 1, Mandrake 10
Posts: 405

Original Poster
Rep: Reputation: 30
Yeah, only they changed something on the system I log in from, and now it's even more annoying.

I can now use the backspace when typing AN ORIGINAL LINE at the terminal, but if I use the up arrow to go through my command history, my keys all behave as though I am in Vim. I have to hit "i" to get into "insert" mode, then I can backspace through the command.

I"ve pretty much given up looking for an answer, since it seems so system dependant. I just decided to live with it for now..

But by all means, let me know if you find anything...

Thanks,

Jeff
 
Old 08-20-2006, 12:23 PM   #6
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
use xmodmap to check your key mappings. I believe backspace should be set to 0xff08. if it is not then try this
Code:
xmodmap -e "keycode 22 = 0xff08"
xmodmap -e "keycode 107 = 0xffff"
It will move your keymappings for delete and backspace and they should function normally. I had to use this fix for when using my Eterm.
 
Old 08-20-2006, 03:55 PM   #7
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
Quote:
Originally Posted by jeffreybluml
Yeah, only they changed something on the system I log in from, and now it's even more annoying.

I can now use the backspace when typing AN ORIGINAL LINE at the terminal, but if I use the up arrow to go through my command history, my keys all behave as though I am in Vim. I have to hit "i" to get into "insert" mode, then I can backspace through the command.

I"ve pretty much given up looking for an answer, since it seems so system dependant. I just decided to live with it for now..

But by all means, let me know if you find anything...

Thanks,

Jeff
Yeah sure, I'm still working on it. But it's so annoying! I can't use vi at all!
And I just got back to Slackware believing it's the best distro ever and now look at this :-/
I will certainly not move to another distro but I'll shout at Pat as loud as I can!
 
Old 08-20-2006, 04:01 PM   #8
Worksman
Member
 
Registered: Sep 2004
Location: Romania
Distribution: Ubuntu, Debian, Arch Linux, Gentoo, Slackware
Posts: 171
Blog Entries: 1

Rep: Reputation: 31
I've also opened this thread http://www.linuxquestions.org/questi...d.php?t=475613
Please post anything you find out there or here.
It looks like I'll have to get more into depth with terminals and find out how they work in order to fix this problem.
Someone suggested changing my console font as this will change keymappings also.
He suggested using "setconsolefont" to change the font to something in my locale but I don't use any other locale but the en_US even if I live in Romania (Europe).
I'm going to try it now.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Backspace key in console frankie_DJ Solaris / OpenSolaris 3 08-06-2005 06:04 PM
fix backspace key? Jim Blackwood Linux - Laptop and Netbook 1 02-26-2005 08:29 PM
Backspace key mapping in vi arobic Linux - General 2 06-30-2004 01:30 PM
Getting a ^H on backspace key mlawler Linux - Software 1 04-28-2004 05:56 PM
Backspace key problem fr0zen Linux - General 0 12-23-2003 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration