Created
December 13, 2013 21:07
-
-
Save sdawson/7951336 to your computer and use it in GitHub Desktop.
Getting 256 colour to work on screen when starting up
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With a version of screen that's been compiled to work with 256 colours: | |
1. Add the following into .screenrc | |
defbce on | |
attrcolor b ".I" | |
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' | |
term screen-256color-bce | |
2. Then start a screen session by typing: | |
TERM=xterm-256color screen | |
can use 256color2.pl script to check for 256 colour output. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment