system:console:256colors
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
system:console:256colors [2015/07/04 02:11] – external edit 127.0.0.1 | system:console:256colors [2023/03/21 16:56] (current) – phil | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== 256 Colors ====== | ====== 256 Colors ====== | ||
- | Once upon a time, having a coloured | + | Once upon a time, having a colored |
- | colours | + | colors |
- | this is nothing special anymore. | + | this is nothing special anymore. Consequently, |
colours! | colours! | ||
- | |||
- | This is how we go. | ||
===== rxvt-unicode ===== | ===== rxvt-unicode ===== | ||
Line 42: | Line 40: | ||
This depends on the value of '' | This depends on the value of '' | ||
- | '' | + | '' |
+ | |||
+ | <file txt .screenrc> | ||
+ | term xterm-256color | ||
+ | </ | ||
===== Mutt ===== | ===== Mutt ===== | ||
Line 77: | Line 79: | ||
exit 0 | exit 0 | ||
+ | </ | ||
+ | |||
+ | This one is also nice, found on | ||
+ | [[https:// | ||
+ | customized to get default parameter from tput output: | ||
+ | |||
+ | <file bash show-ansi-colors.sh> | ||
+ | #!/bin/bash | ||
+ | |||
+ | ncolors=${1: | ||
+ | |||
+ | echo " | ||
+ | for ((n = 0; n < $ncolors; n++)); do | ||
+ | printf " [$n] $(tput setaf $n)" | ||
+ | printf " | ||
+ | printf " | ||
+ | done | ||
</ | </ | ||
system/console/256colors.txt · Last modified: 2023/03/21 16:56 by phil