X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=mdlD0teVwvBN0QrJ64dVKoR/YeQbt M1y2/OQZXOZcWryNK48lVeicxXeDOmIiLyUx+FGYKUMTbrQBSNh0X3tw0OoXlfpS yj03dS21pFb45u1Zx5ktkdFpkKvPJcXXUt6ynmNaDrhm1+SlNkNJ+Ev5YzQBTUPu WNd16Z5BDkJfjA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:to:from:subject:date:message-id:mime-version :content-type; s=default; bh=iL2TgUxH4QfDl02XPhHoIyI0vYM=; b=RIB HpZZjLm5ZtFyQkfd4/tWyDnRq5KsNrgADoCpitv66VvoGNwrKBoAi84wpHC+966k xt62pUSeWH7dRuWCn4HI+QEeqzIzFh+X3GtCT3P6tB5T8DCE/GO1C7R6kpfqR7oV BkoZkywMJ6Kug8AAFpiPoIkVDtlo07E/TuA/g4jU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_40,LIKELY_SPAM_FROM,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-HELO: plane.gmane.org To: cygwin AT cygwin DOT com From: Sebastien Vauban Subject: Customize `less' colors to look like `most' Date: Tue, 05 May 2015 16:47:21 +0200 Lines: 49 Message-ID: <86mw1j6pza.fsf@example.com> Mime-Version: 1.0 Content-Type: text/plain X-Url: Under construction... X-Archive: encrypt User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (windows-nt) X-IsSubscribed: yes Hello, I've tried to copy all sort of color schemes to try and get colors in the man pages -- for example, like what `most' does by default. I've never been successful to get something like http://stackoverflow.com/questions/10535432/tmux-man-page-search-highlighting to highlight man pages, even with the given LESS_TERMCAP_* given in example. What am I missing? Here is the relevant part of my .zshrc: --8<---------------cut here---------------start------------->8--- PAGER="less" # Colored man pages: # http://linuxtidbits.wordpress.com/2009/03/23/less-colors-for-man-pages/ export LESS_TERMCAP_mb=$'\E[01;31m' # enter_blink_mode export LESS_TERMCAP_md=$'\E[01;38;5;74m' # enter_bold_mode export LESS_TERMCAP_so=$'\E[38;5;016m\E[48;5;220m' # enter_standout_mode export LESS_TERMCAP_us=$'\E[04;38;5;146m' # enter_underline_mode export LESS_TERMCAP_me=$'\E[0m' # exit_attribute_mode export LESS_TERMCAP_se=$'\E[0m' # exit_standout_mode export LESS_TERMCAP_ue=$'\E[0m' # exit_underline_mode # tailoring `less' LESS="--quit-at-eof --ignore-case --long-prompt --raw-control-chars" --8<---------------cut here---------------end--------------->8--- And here is my .minttyrc: --8<---------------cut here---------------start------------->8--- BoldAsColour=yes BoldAsFont=no Font=Consolas FontHeight=10 RightClickAction=paste Rows=43 ScrollbackLines=100000 Term=xterm-256color --8<---------------cut here---------------end--------------->8--- Best regards, Seb -- Sebastien Vauban -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple