LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 04-28-2004, 06:29 PM   #1
mlawler
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
I am getting a ^H when the backspace key is pressed. The only time that it happens is


I am getting a ^H when the backspace key is pressed. The only time that it happens is on the initial login of a telnet session. Everything is good at the console and my serial Getty's. Any suggestions would be greatly apperciated.

. The only time that it happens is on the initial login of a telnet session. Everything is good at the console and my serial Getty's. Any suggestions would be greatly apperciated.
 
Old 04-29-2004, 02:13 AM   #2
KWTm
Member
 
Registered: Jan 2004
Distribution: Kubuntu 10.04 (Dell Linux-preinstalled laptop + a desktop); Maemo 5 (N900 phone computer)
Posts: 116

Rep: Reputation: 21
There are two ways to delete, "Backspace" and "Delete". Unfortunately, there is really no agreement on which is the "real" delete, and so some programs are set up so that "backspace" erases a character and moves the cursor left, while the other just spits out "^H"; but then other programs have it the other way around. Some programs try to help by automatically swapping the two, but it only confuses the issue. :P If you think this is dumb, you're not alone.

Anyway, there are other ways to get the backspace that you want. Try Shift-Bksp, or Ctrl-Bksp, or using the Delete key or whatever else might be available.

As for how to set it so that all programs are consistent --well, good luck.
 
Old 04-29-2004, 03:37 AM   #3
Nexgen
LQ Newbie
 
Registered: Apr 2004
Posts: 8

Rep: Reputation: 0
This is a carry-over from Unix, so it might not work..... but you can try:

stty erase ^H

You generate the ^H by hitting your backspace key. If it works you can put it in your .profile or the initialisation file for whatever your default shell is, and not have to worry about it again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[NLD] kernel: atkbd.c: Unknown key pressed sjacobs Suse/Novell 0 06-24-2005 04:14 AM
RHEL 3 - Keyboard send several chars when key pressed once lmx Red Hat 1 01-30-2005 12:46 AM
Connect Gtk's key event with button pressed? Chowroc Programming 6 12-20-2004 02:52 PM
is certain key pressed at the moment ?? freeborn Programming 4 11-03-2004 04:13 AM
Unknown key pressed Khang Linux - Newbie 3 10-27-2004 05:12 PM


All times are GMT -5. The time now is 01:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration