Thanks for your reply.

Unset PAGER did not fix things, but after reading some man pages on the
Internet, I discovered a way to make things work for me.

PAGER="less -r"
Export PAGER

After that I get readable highlighted man pages.

Thanks for giving me the clue where to look.

John B.

-----Original Message-----
From: Igor Peshansky [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, 9 August 2006 9:45 AM
To: cygwin@cygwin.com
Cc: John Bonnett, PR&D, Lonsdale
Subject: Re: Ansi escape sequences showing in Man pages

On Tue, 8 Aug 2006, Igor Peshansky wrote:

> On Wed, 9 Aug 2006, jbonnett wrote:
>
> > I am having a problem where escape sequences, rather than colour
> > highlighting, appear when I display man pages.
> >
> > I am running CygWin under Windows XP SP2. My prompt (the default)
> > contains escape sequences and the prompt appears correctly in
colour. If
> > I enter
> > ls --color
> > then I see nicely coloured names but in man I see escape sequences.
> >
> > I have searched the archives and, although there are lots of
mentions of
> > escape sequences, nothing seems to match this problem.
> >
> > I run CygWin at home under Win2K and I have a colleague at the next
desk
> > that is running CygWin under XP SP2. The man pages are fine in both
> > these two cases.
> >
> > Any clues about what to check to fix this on my work machine?
>
> Unset PAGER.
>
> If that is not your problem, please read and follow the Cygwin problem
> reporting guidelines at <http://cygwin.com/problem.html>, particularly
the
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Apologies.  Make that <http://cygwin.com/problems.html>.

> part about attaching (as an uncompressed text *attachment*) the output
of
> "cygcheck -svr" on your machine.
> HTH,
>       Igor

-- 
                                http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_            [EMAIL PROTECTED] |
[EMAIL PROTECTED]
ZZZzz /,`.-'`'    -.  ;-;;,_            Igor Peshansky, Ph.D. (name
changed!)
     |,4-  ) )-,_. ,\ (  `'-'           old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL     a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends
compte."
"But no -- you are no fool; you call yourself a fool, there's proof
enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

Reply via email to