The solution was to go to the Terminal menu, select Window Settings, and then click on Emulation from the pop-up menu. Check the "Delete key sends backspace" option, and all is good to go.
|
|
|
I was using the Terminal to ssh into a linux server. The backspace key worked fine inside the shell, but when I entered vim to edit text files, the backspace key started behaving like a delete key -- it was deleting the character under the cursor instead of the one to the left.
The solution was to go to the Terminal menu, select Window Settings, and then click on Emulation from the pop-up menu. Check the "Delete key sends backspace" option, and all is good to go.
•
[10,705 views]
Hint Options
Fix the backspace key when using vim via ssh
I have found that if I set my TERM to "linux" while SSHed into a Linux system, all the keys work correctly. IE: Home, End, PGUP, PGDown, Delete, Backspace, ....
Fix the backspace key when using vim via ssh
End your delete-should-backspace woes when using Vim remotely with iTerm by adding one simple keyboard mapping. Go to iTerm preferences, Profiles, Keyboard, choose Profile=Global, add this mapping...
irb
On a related note, if anyone knows how to get the backspace key to work in irb (interactive Ruby), I'll be eternally grateful. I can edit normally in tcsh and bash, but start an irb session and I just get ^H instead. It does the same in Terminal.app, iTerm and xterm. That rather detracts from the usefulness of an interactive program.
irb
Did you ever try issuing the following command in the terminal session you are having problems:
irb
Have you tired typing the following command (literally)?
irb
Yeah - that works! Thanks. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.15 seconds |
|