Skip to content

Instantly share code, notes, and snippets.

@qva5on3
Last active July 8, 2019 10:43
Show Gist options
  • Save qva5on3/5227878 to your computer and use it in GitHub Desktop.
Save qva5on3/5227878 to your computer and use it in GitHub Desktop.
Enables GNU Screen for Solarized colors.
# terminfo and termcap for nice 256 color terminal
# allow bold colors - necessary for some reason
attrcolor b ".I"
# tell screen how to set colors. AB = background, AF=foreground
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
# erase background with current bg color
defbce "on"
@qva5on3
Copy link
Author

qva5on3 commented Mar 23, 2013

Adding those lines to .screenrc configuration file, enabled me to use right colors on solarized gnome terminal (https://github.com/sigurdga/gnome-terminal-colors-solarized).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment