delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/17/17:40:55

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:from:to:cc:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; q=dns; s=default; b=kUpMVi+PlkgFhH9vJ59FqQzfAjH4t
pDQJB5gvpMBLAOOaI/x1SufuTmKq4Y0vFk9J+EQvU3n7ZJz4zYO752vCveqdNZwZ
FMGs2C7HQeYfWjEu/ds9KPFVG0oK7k5saEz7l6L0xLA16P8daWnTdt2xEWZlTTL2
zra4yc8azi0+BA=
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:from:to:cc:subject:date:message-id:references
:in-reply-to:content-type:content-transfer-encoding
:mime-version; s=default; bh=miYMwaHfbvdH5i6eyljvDqKO6xw=; b=P6H
wz+iCsQxesipp53ZcglBzKLfCZStbJO1WLHlsEzKWhFAKEALo3aPr1PAhzZrA5pK
+ymfLcDgKtILaPwvYy/KQd9Ignyrdndr0aNu/jy35dObfBAjFjiGrZzHhgkziLt4
h9af4WBlV2VUfhstli9JI8bUAtT361B6qo9w6Wz4=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.6 required=5.0 tests=AWL,BAYES_50,MIME_BASE64_BLANKS,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: nihxway6out.hub.nih.gov
X-IronPortListener: Outbound_SMTP
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A2G1BAAWfTFV/4hHKJxdhD+DEsIoiEECHIFpAQEBAQEBBHqEIQEBBBIREUUQAgEIGgIGIAICAh0TFRACBA4NGogJqHqKLJUtAQEBAQEBAQECAQEBAQEBAQEBGYEhigiESzEHgmgvgRYFkSIEihqBHYM6kDMig3OCM4EAAQEB
X-IPAS-Result: A2G1BAAWfTFV/4hHKJxdhD+DEsIoiEECHIFpAQEBAQEBBHqEIQEBBBIREUUQAgEIGgIGIAICAh0TFRACBA4NGogJqHqKLJUtAQEBAQEBAQECAQEBAQEBAQEBGYEhigiESzEHgmgvgRYFkSIEihqBHYM6kDMig3OCM4EAAQEB
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: "'Steven Penny'" <svnpenn AT gmail DOT com>
Subject: RE: less color option
Date: Fri, 17 Apr 2015 21:40:35 +0000
Message-ID: <6CF2FC1279D0844C9357664DC5A08BA20FB6EA16@msgb09.nih.gov>
References: <CAAXzdLWrfZfRv8WB-tWcM+HEF928JFy-ei_G9YncYcNMb7fHrg AT mail DOT gmail DOT com>
In-Reply-To: <CAAXzdLWrfZfRv8WB-tWcM+HEF928JFy-ei_G9YncYcNMb7fHrg@mail.gmail.com>
MIME-Version: 1.0
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id t3HLeqr9023556

Steven Penny sent the following at Friday, April 17, 2015 5:08 PM
>    man less
>
>Reveals this
>    -Dxcolor or --color=xcolor
>           [MS-DOS only] Sets the color of the text displayed.  x is a sin?
>           gle character which selects the type  of  text  whose  color  is
>           being  set: n=normal, s=standout, d=bold, u=underlined, k=blink.
>           color is a pair of numbers separated by  a  period.   The  first
>           number  selects  the foreground color and the second selects the
>           background color of the text.  A single number N is the same  as
>           N.M, where M is the normal background color.
>
>So I tried it and get this result
>    $ less --color
>    There is no color option ("less --help" for help)
>
>I just want a way to change the colors on man pages. If this is not the
>right way please advise.

Just a guess:

The man page says "[MS-DOS only]".  Cygwin is not MS-DOS so I wouldn't
expect this to work with less compiled for cygwin.

If you were using the MS-DOS version, you would still need to specify
xcolor.

Hope that helps,

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019