New answers tagged colors
There is some information on 256-color support in the tmux FAQ. Detecting the number of colors that the terminal supports is unfortunately not straightforward, for historical reasons. See Checking how many colors my terminal emulator supports for an explanation. This means that tmux cannot reliably determine whether the terminal supports more than 8 ...
I put a tmux configuration file, may be you can get your answer: It's compatiable with vim users: # Setting the prefix from C-b to C-a # START:prefix set -g prefix C-a # END:prefix # Free the original Ctrl-b prefix keybinding # START:unbind unbind C-b # END:unbind #setting the delay between prefix and command # START:delay set -s escape-time 1 # ...
Found in man man there is environment variable MAN_KEEP_FORMATTING that need to be non empty, but it's not on that server.
Alternatively, you can use names rgb000 to rgb555, and gray0 to gray23. See the sand256.ini skin definition file for details. Also the 256colors2.pl script from xterm's source might come handy.
This sed command did it for me: sed -r "s/\\^\\[(\\[[^@-~]+[@-~]|[0-9@-_]|%@)//g" Example: $ command-that-produces-colored-output | sed -r "s/\\^\\[(\\[[^@-~]+[@-~]|[0-9@-_]|%@)//g" > outfile
Try changing you TERM type in you .bashrc file like this: export TERM=xterm-256color Then turn on UTF-8 coding system everywhere, like so: (prefer-coding-system 'utf-8) (set-language-environment 'utf-8) (set-default-coding-systems 'utf-8) (set-terminal-coding-system 'utf-8) (set-keyboard-coding-system 'utf-8) (setq locale-coding-system 'utf-8) (if ...
It works when I put export TERM="xterm" before dircolors.
You probably have a $LS_COLORS environment variable defined somewhere in your ~/.bashrc/~/.zshrc... (probably via a call of eval "$(dircolors)"). The php that you run on the command-line will inherit your shell's environment, including that $LS_COLORS variable. While the one started by apache2 will inherit apache2's environment which is unlikely to have ...
Do C-b, :show which will show you all your current settings. /green, nnn will find you which properties have been set to green, the default. Do C-b, :set window-status-bg cyan and the bottom bar should change colour. You can tell more easily by the titles and the colours as they're actually set in your live session :show, than by searching through the man ...
Top 50 recent answers are included