| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| Message-ID: | <20021220201124.11833.qmail@the-means.net> |
| From: | dmeans AT the-means DOT net |
| Subject: | Re: Problem with less's output of man pages after update (ESC ...) |
| To: | cygwin AT cygwin DOT com |
| Date: | Fri, 20 Dec 2002 15:11:24 -0500 (EST) |
| Reply-To: | dmeans AT the-means DOT net |
| In-Reply-To: | <Pine.LNX.4.44.0212200425420.11752-100000@larch.cs.iastate.edu> from "Gary T. Leavens" at Dec 20, 2002 05:33:46 AM |
| MIME-Version: | 1.0 |
I had the same problem. I fixed it by setting the env var 'PAGER'
as follows:
export PAGER='/usr/bin/less -r'
which, according to the man page, doesn't make a lot of since. But, since
I was seeing by default what I believed to be associated with the '-r'
switch, I figured I could toggle it off by providing the -r switch.
Seems to have worked.
David
>
> Hi,
>
> When I updated cygwin yesterday, everything works except for the formatting of
> manual pages. When I do
>
> $ man man
>
> I get output that looks like (starting with the third line):
>
> ESC[1mNAMEESC[0m
> ...
> ESC[1mSYNOPSISESC[0m
>
> and in general has lots of these ESC codes.
> haven't edited /etc/man.conf. I don't have MANPAGER defined in the
> environment, and I get the same output with
{ snip }
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |