# mutt, python and vim
BACKGROUND=DARK
export BACKGROUND
+ . "$HOME"/lib/config/less/dark_bg
;;
*rxvt*|screen*|*term*|vt100)
BACKGROUND=LIGHT
export BACKGROUND
+ . "$HOME"/lib/config/less/light_bg
;;
esac
# mutt, python and vim
BACKGROUND=LIGHT
export BACKGROUND
+ . "$HOME"/lib/config/less/light_bg
# BROWSERs
BROWSER="firefox:seamonkey:chromium:google-chrome:opera:xlinks2:$BROWSER"
--- /dev/null
+# See https://unix.stackexchange.com/q/108699 and man terminfo
+export LESS_TERMCAP_ZN="`tput ssubm`" # Enter subscript mode
+export LESS_TERMCAP_ZO="`tput ssupm`" # Enter superscript mode
+export LESS_TERMCAP_ZV="`tput rsubm`" # End subscript mode
+export LESS_TERMCAP_ZW="`tput rsupm`" # End superscript mode
+export LESS_TERMCAP_mb="`tput bold; tput setaf 2`" # begin blinking - bold green
+export LESS_TERMCAP_md="`tput bold; tput setaf 6`" # begin bold - cyan
+export LESS_TERMCAP_me="`tput sgr0`" # end mode
+export LESS_TERMCAP_mh="`tput dim`" # half-bright mode
+export LESS_TERMCAP_mr="`tput rev`" # reverse video mode
+export LESS_TERMCAP_se="`tput rmso; tput sgr0`" # end standout-mode
+export LESS_TERMCAP_so="`tput bold; tput setaf 7; tput setab 4`" # begin standout-mode (info box) - white on blue
+export LESS_TERMCAP_ue="`tput rmul; tput sgr0`" # end underline
+export LESS_TERMCAP_us="`tput smul; tput bold; tput setaf 7`" # # begin underline - white
--- /dev/null
+# See https://unix.stackexchange.com/q/108699 and man terminfo
+export LESS_TERMCAP_ZN="`tput ssubm`" # Enter subscript mode
+export LESS_TERMCAP_ZO="`tput ssupm`" # Enter superscript mode
+export LESS_TERMCAP_ZV="`tput rsubm`" # End subscript mode
+export LESS_TERMCAP_ZW="`tput rsupm`" # End superscript mode
+export LESS_TERMCAP_mb="`tput bold; tput setaf 5`" # begin blinking - bold magenta
+export LESS_TERMCAP_md="`tput bold; tput setaf 4`" # begin bold - blue
+export LESS_TERMCAP_me="`tput sgr0`" # end mode
+export LESS_TERMCAP_mh="`tput dim`" # half-bright mode
+export LESS_TERMCAP_mr="`tput rev`" # reverse video mode
+export LESS_TERMCAP_se="`tput rmso; tput sgr0`" # end standout-mode
+export LESS_TERMCAP_so="`tput bold; tput setaf 7; tput setab 4`" # begin standout-mode (info box) - white on blue
+export LESS_TERMCAP_ue="`tput rmul; tput sgr0`" # end underline
+export LESS_TERMCAP_us="`tput smul; tput bold; tput setaf 0`" # # begin underline - white