Unable to change the font in bold to yellow font in Less
Problem: to change the bolding which affects the word "expression" to the color yellow in Less: alt text http://files.getdropbox.com/u/175564/man-bolding-highlight.png
My commands which affects Less
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;31m' # begin bold
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[01;44;33m' # begin standout-mode
export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[01;32m' # begin underline
How can you change the bolding to yellow?
My manpage on debian/lenny has a different content, but I think you are searching for LESS_TERMCAP_us. give this a try:
export LESS_TERMCAP_us=$'\E[01;33m' # begin underline is now yellow
The result after ThornstenS' answer
alt text http://files.getdropbox.com/u/175564/man-link.png
My code for Less
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # bold in blue
export LESS_TERMCAP_me=$'\E[0m' # end mode
export LESS_TERMCAP_se=$'\E[0m' # end standout-mode
export LESS_TERMCAP_so=$'\E[38;5;246m' # begin standout-mode - info box
export LESS_TERMCAP_ue=$'\E[0m' # end underline
export LESS_TERMCAP_us=$'\E[04;33;146m' # begin underline is now yellow
# | | |
# | |----------------- yellow
# |-------------------- underline
It is now much easier to read docs :)
Thank you ThorntenS!