This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: less color option
- 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>
- Date: Fri, 17 Apr 2015 21:40:35 +0000
- Subject: RE: less color option
- Authentication-results: sourceware.org; auth=none
- References: <CAAXzdLWrfZfRv8WB-tWcM+HEF928JFy-ei_G9YncYcNMb7fHrg at mail dot gmail dot com>
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.