Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I'm migrating to a shiny new laptop (yay) unfortunately I've manually set up my iTerm to match the old machine, but something is not right (not yay).

I'm experiencing

  • using xterm-256color doesn't give the full colour set for say, vim.
  • applications like vim dont clear out of the scrollback when exited.
  • my ↖ home and ↘ end keys are completely broken and I can't seem to Google a solution
  • my ⌫ backspace key doesn't delete backwards, it adds a 'space' and prevents further input until ^C.

Here is my .zshrc and my .profile. I dont have an .inputrc.

Here are my keyboard settings for iTerm2:

screenshot20110315at801.png

screenshot20110315at801.png

I'm fairly sure i've broken something between $TERM, iTerm2's keyboard settings and my .zshrc, but I'm simply not competent enough to debug it. As far as I can tell, my settings are identical to my old laptop, which works.

share|improve this question

1 Answer 1

up vote 1 down vote accepted

It turns out that xterm-256color does not work correctly unless you have xcode installed.

share|improve this answer
    
Apparently, the terminfo files for xterm-256color and several others are in the Xcode installer instead of the system installer for 10.6. You should find that in Mac OS X Lion 10.7 these files are installed with the system. –  Chris Page Aug 10 '11 at 1:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.