Skip to content
This repository was archived by the owner on Jan 14, 2022. It is now read-only.

Troubleshooting Lack of Color in Vi

jackpal edited this page Feb 19, 2013 · 4 revisions

Problem

Can't see colors when using a program like vi that is supposed to support colored output.

Possible Solutions

  • Perhaps your version of vi doesn't support colors.

  • Perhaps you don't have the $TERM environment variable set correctly. Do

    $ echo $TERM

and see what it's set to. Try using the "Menu : Preferences : Terminal Type to cycle through the different choices.

You can verify that colors are working in Android Terminal Emulator by copying this file to your device and catting it:

https://raw.github.com/jackpal/Android-Terminal-Emulator/master/tests/controlSequences/256color.txt

Clone this wiki locally