Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 10-20-2003, 06:24 AM   #1
Senior Member
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Rep: Reputation: 49
backspace changes line, doesn't delete

Backspace has started moving to the next line:

fred@localhost$ somethy<backspace>

but does nothing - not like return.

Just fairly radically altered runlevel 4, changing /etc/rc4.d ?? by removing things like ppp alsa cron.

Backspace works correctly in default run level 2.

Thanks any help.
Old 10-21-2003, 09:55 PM   #2
Registered: Sep 2003
Location: Dallas, Tx, USA
Distribution: Red Hat, Gentoo, Libranet
Posts: 98

Rep: Reputation: 16
Can't offer much help on what's causing it (although you might check the LANG variable in each runlevel), but I can tell you how to fix it:

Enter "stty erase <hit backspace key>"

and then hit enter.

It's been a long time since I've seen a Linux box that had that issue. Bash's built-in input editor (readline) should have no trouble at all understanding a backspace. (If you're in X, it's a different set of rules, and X may be doing something funky before bash ever sees it.)

Hope this helps,

Old 10-22-2003, 05:51 AM   #3
Senior Member
Registered: Sep 2003
Location: UK
Distribution: Debian
Posts: 1,215
Blog Entries: 2

Original Poster
Rep: Reputation: 49
Great thanks. Probably taken me months to find that out.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Backspace & delete key issues stefaandk Linux - Newbie 3 07-29-2005 02:10 AM
FreeBSD Backspace and Delete keys joel112 *BSD 1 06-19-2005 07:28 AM
using backspace or delete in vi Mugatu Slackware 13 10-21-2004 01:01 AM
Backspace Not Working In Command Line sanjith11 Programming 1 04-22-2004 08:42 AM
vi won't backspace or delete in terminal JamesM Linux - Software 1 08-18-2003 10:06 AM

All times are GMT -5. The time now is 10:49 AM.

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