I'm likely over complicating this, but how do you enable color in man pages? I've tried exporting the below values in .bashrc and also setting my pager to most - neither seems to work.
.bashrc contains
Less Colors for Man Pages
export LESS_TERMCAP_mb=$'\E[01;31m' # begin blinking
export LESS_TERMCAP_md=$'\E[01;38;5;74m' # begin bold
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;38;5;146m' # begin underline
I also tried adding the following form
colored manpages - nion's blog
alias man="TERMINFO=~/.terminfo/ LESS=C TERM=mostlike PAGER=less man"
(Compiled mostlike and used the above)
I also compiled most and exported PAGER=most
Nothing really seems to work.
Am I missing something obvious here?
Cheers,
Pete