Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-22-2005, 08:26 AM   #1
Registered: Jun 2005
Distribution: Centos
Posts: 215

Rep: Reputation: 30
Backspace & delete key issues

I vaguely remember from solaris that in order to get backspace and del keys working properly via a remote terminal I had to put in some stty command.

I can't remember though.

Anyway, I have the issue here also when I do an ftp from the console to another box, when I use either backspace or delete keys I get giberish like ^H^[[3~^H

How can I fix this?

Old 07-28-2005, 02:58 PM   #2
Registered: May 2004
Location: Montreal,QC,Canada
Distribution: Fedora Core 7
Posts: 210

Rep: Reputation: 30
While I find the answer, you can still use control-backspace...

Hope fully more to come

BTW if you find it yourself, please post your result ;-)

Stefan (alias LuggerHouse)
Old 07-28-2005, 03:09 PM   #3
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
# Stuff to do only if shell is interactive:
if ($?USER && $?prompt) then
# If your backspace key doesn't work, change '^?' to '^H' on next line:
tty -s && stty eof '^d' erase '^?' kill '^x' intr '^c'
I am not sure if this will help.
Old 07-29-2005, 02:10 AM   #4
Registered: Jun 2005
Distribution: Centos
Posts: 215

Original Poster
Rep: Reputation: 30
Yep, this seems to work for me, thanks!

tty -s && stty eof '^d' erase '^H' kill '^x' intr '^c'


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
using backspace or delete in vi Mugatu Slackware 25 06-03-2018 04:19 AM
FreeBSD Backspace and Delete keys joel112 *BSD 1 06-19-2005 07:28 AM
Getting a ^H on backspace key mlawler Linux - Software 1 04-28-2004 06:56 PM
backspace changes line, doesn't delete lugoteehalt Linux - General 2 10-22-2003 05:51 AM
vi won't backspace or delete in terminal JamesM Linux - Software 1 08-18-2003 10:06 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:59 PM.

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
Open Source Consulting | Domain Registration