以下命令让我在寻呼机中最多/最少
man -k background
Run Code Online (Sandbox Code Playgroud)
替代文字 http://files.getdropbox.com/u/175564/apropos-colors.png
图片中的所有内容都是绿色的,甚至是描述。我想将它们设置为黄色。
您如何通过 Less_termcap 将 Less/Most 中的描述设置为黄色?
我的影响较少的变量
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
# to have the indication of cursor's location and line numbers
export LESS="-mN"
Run Code Online (Sandbox Code Playgroud)