delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/25/17:54:57

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
Date: Wed, 26 Nov 2003 00:09:31 +0100
From: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Reply-To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <991021977.20031126000931@familiehaase.de>
To: "Bob Cunningham" <bcunningham AT sandel DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Fresh cygwin install shows escape sequences (pager problems with man & less)
In-Reply-To: <48C5A901DEC33F47B258BA123E11356D09FB6C@socrates.sandel.local>
References: <48C5A901DEC33F47B258BA123E11356D09FB6C AT socrates DOT sandel DOT local>
MIME-Version: 1.0

Guten Tag Bob Cunningham,

am Montag, 24. November 2003 um 22:29 schrieben Sie:

BC> On the fresh cygwin install, even before installing ~/.bashrc,
BC> when I did "man bash" all the ANSI escape sequences were visible.
BC> If I specify "MANPAGER=more", the sequences are interpreted as  
BC> expected.

BC> The problem seems to be with 'less'.  It appears less needs to be
BC> aliased to 'less -r' for this behavior to go away.  Things are OK
BC> with man if I set "MANPAGER='less -r'.  

Or this:
export LESS=R

BC> Anyone got a spare clue?  Any idea why the default installation of
BC> 'man' and 'less' are behaving this way after a Monday install,
BC> when all was fine last Friday?  

This problem exists with 'standard' perldoc output a little longer
now, about a year or two.  Using less -r or export LESS=R does the
trick.  It was already discussed here and elsewhere.  I used to patch
the perl sources to use text mode for the perldoc output as it is done
on Windows too, but I don't include the patch anymore.  Maybe an
update of less and the underlying tools would help here more than to
fix the symptoms?


-- 
Mit freundlichen Grüssen
Gerrit P. Haase
mailto:gp AT familiehaase DOT de


--
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