delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/09/19:42:45

X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Ansi escape sequences showing in Man pages
Date: Thu, 10 Aug 2006 09:12:21 +0930
Message-ID: <CDD2448EDE5CAE4499CA5828A4CAF788B9CE08@pine.ap.sola.com>
From: <jbonnett AT sola DOT com DOT au>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k79NgZSG023913

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:pechtcha AT cs DOT nyu DOT edu] 
Sent: Wednesday, 9 August 2006 9:45 AM
To: cygwin AT cygwin DOT 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/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu |
igor AT watson DOT ibm DOT com
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/


- Raw text -


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