LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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

Original Poster
Blog Entries: 2

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


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
using backspace or delete in vi Mugatu Slackware 25 06-03-2018 03:19 AM
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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:59 AM.

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