X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Subject: RE: Ansi escape sequences showing in Man pages Date: Thu, 10 Aug 2006 09:12:21 +0930 Message-ID: From: To: Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit 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 , particularly the ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Apologies. Make that . > 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/