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 |
Importance: | normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1106 |
Date: | Sat, 13 Dec 2003 11:58:27 -0500 |
To: | "Cygwin Users List" <cygwin AT cygwin DOT com> |
Subject: | Re: man produces ESC |
References: | <20031213162939 DOT 1BEC67DAFB AT server2 DOT messagingengine DOT com> |
From: | "Alejandro Lopez-Valencia" <dradul AT etb DOT net DOT co> |
Organization: | House of Cuckoo |
MIME-Version: | 1.0 |
Message-ID: | <oprz4pfpbs3hew51@smtp.etb.net.co> |
In-Reply-To: | <20031213162939.1BEC67DAFB@server2.messagingengine.com> |
User-Agent: | Opera7.23/Win32 M2 build 3227 |
X-OriginalArrivalTime: | 13 Dec 2003 16:58:36.0440 (UTC) FILETIME=[59556980:01C3C19A] |
El Sat, 13 Dec 2003 10:29:39 -0600, B. K. Oxley (binkley) <binkley AT alumni DOT rice DOT edu> escribió: > On Mon, 24 Nov 2003 15:09:39 -0800 Steve Kelem <s_kelem AT pacbell DOT net> > wrote in <3FC28FB3 DOT 6060702 AT pacbell DOT net>: >> Problem 1: >> When I run "man man", all the escape sequences show up in less (version >> 381): >> ESC[1mNAMEESC[0m >> man - format and display the on=line manual pages > > I too have this problem as of Ded 13. Is there some fix I can apply? > This problem makes man almost useless. I pipe through col to help, but > it only does so much. Strange, that has been fixed for a looong time now... Anyway, short answer: $ cat > /etc/profile.d/less.sh LESS=isrR export LESS ^D fixes the problem; close your shell and start a new one. Have you modified /etc/man.config in any way? Groff 1.18 grotty driver changed its behavior to output SGR codes instead of the old printer control codes that were incidentally understood by VT-100 and related terminals; the evident gain is that you can output color codes understood in a terminal emulator. The less pager can understand such codes if invoked with the flags shown above; lowly more, btw, does it OOTB. These same flags are used by man in Cygwin, because they are included in /etc/man.config: "PAGER=less -isrR" unless you are using a very old man (more than a year old at the least) or you have broken it yourself :-) -- The limits of my language are the limits of my world. Ludwig Wittgenstein -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |