shellvimamazon-ec2256color

256 Colors in Amazon AMI SSH Session


I have a few ec2 instances of the Amazon linux ami (amzn-ami-pv-2013.09.2.x86_64-ebs) which I ssh into for python development in vim. I'd like to begin using some of the 256 color themes like blackboard or codeschool, but am having trouble getting a 256 color terminal. I'm ssh'ing in from Mac OSX.

A few notes:

I've tried the suggestions found pages like this one (and many others): http://vim.wikia.com/wiki/256_colors_in_vim

But haven't gotten the terminal itself to correctly display 256 colors. I'd like to use screen with 256 colors too, but need to get the terminal working correctly first.

Is anyone else running into this with the Amazon AMIs?

Thanks a bunch!

UPDATE: I can see 256 colors when ssh'ing via putty from my Windows box. This might be a function of the Mac OSX shell.


Solution

  • How about using iTerm2?

    http://www.iterm2.com/#/section/home

    It supports 256 colors:

    http://www.iterm2.com/#/section/features/256_colors