LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   backspace changes line, doesn't delete (https://www.linuxquestions.org/questions/linux-general-1/backspace-changes-line-doesnt-delete-106217/)

lugoteehalt 10-20-2003 05:24 AM

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.

clacour 10-21-2003 08:55 PM

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

lugoteehalt 10-22-2003 04:51 AM

Great thanks. Probably taken me months to find that out.


All times are GMT -5. The time now is 02:12 AM.