LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-20-2003, 05:24 AM   #1
lugoteehalt
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>
fred@localhost$

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, 08:55 PM   #2
clacour
Member
 
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,

CHL
 
Old 10-22-2003, 04:51 AM   #3
lugoteehalt
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.
 
  


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 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 01:10 AM
FreeBSD Backspace and Delete keys joel112 *BSD 1 06-19-2005 06:28 AM
using backspace or delete in vi Mugatu Slackware 13 10-21-2004 12:01 AM
Backspace Not Working In Command Line sanjith11 Programming 1 04-22-2004 07:42 AM
vi won't backspace or delete in terminal JamesM Linux - Software 1 08-18-2003 09:06 AM


All times are GMT -5. The time now is 02:53 PM.

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