Fixing delete should mean backspace in iTerm

Posted Feb 20, 2008 // 1 comments
Frank:

How frustrating is it when you are in vi and hit the backspace key and all it does is insert ????^? into your text file? I have run into this problem during my conversion from XP to OS X. I do a vast majority of my work on remote Linux machines – thus am a slave to SSH. I begrudgingly admit that I love VI….except for problems like this.

A few Google searches turned up the solution. End your delete/backspace woes by adding a keyboard mapping. Go to iTerm preferences -> Profiles -> Keyboard. Choose your preference (Global, xterm, etc.) and add this mapping:

Key: delete
Action: send hex code
Hex code: 0×08

Make sure your bookmark session is using the right keyboard and you should be good to go.

Enjoy!

About Frank

Frank Febbraro is the CTO at Phase2. He is primarily interested in software, technology and integrating new techniques and practices with proven methods and approaches. A combination of inherent understanding and real world experience enables ...

more >

Read Frank's Blog

Comments

by Heather Gray (not verified) on Thu, 03/19/2009 - 05:13

Great!

Thanks a lot! That had been annoying me for ages and your fix has made my life a lot more pleasant :)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • Allowed HTML tags: <a> <strong> <code> <p> <img> <ul> <ol> <li> <h2> <h3> <h4> <b> <u> <i>
  • You may insert videos with [video:URL]

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.