From owner-cvs-all Wed Oct 16 2:49:25 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0797E37B407; Wed, 16 Oct 2002 02:49:20 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F62243EAF; Wed, 16 Oct 2002 02:48:24 -0700 (PDT) (envelope-from ru@whale.sunbay.crimea.ua) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g9G9jsJ42824; Wed, 16 Oct 2002 12:45:54 +0300 (EEST) (envelope-from ru) Date: Wed, 16 Oct 2002 12:45:54 +0300 From: Ruslan Ermilov To: "Greg 'groggy' Lehey" Cc: Giorgos Keramidas , Tony Finch , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: Coloured manpages (was: Re: cvs commit: src/gnu/usr.bin/man Makefile.inc src/share/mk bsd.man.mk src/usr.bin/catman catman.c) Message-ID: <20021016094554.GA37150@sunbay.com> References: <200210110916.g9B9GP8f064951@freefall.freebsd.org> <20021012040759.A23338@chiark.greenend.org.uk> <20021012155812.GA36832@sunbay.com> <20021013003257.GA64063@wantadilla.lemis.com> <20021013081038.GA14919@sunbay.com> <20021015094930.GB2083@hades.hell.gr> <20021015143304.GB12329@sunbay.com> <20021016013843.GP12010@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="mYCpIKhGyMATD0i+" Content-Disposition: inline In-Reply-To: <20021016013843.GP12010@wantadilla.lemis.com> User-Agent: Mutt/1.3.99i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 16, 2002 at 11:08:44AM +0930, Greg 'groggy' Lehey wrote: > On Tuesday, 15 October 2002 at 17:33:04 +0300, Ruslan Ermilov wrote: > > The are three options here: > > > > 1. Keep the color support turned off for catpages and man(1). > > 2. Fix the syscons(4) to render underlined attribute in some way > > distinguishable from "bold". > > 3. Turn the color support back on but pass the -r option to > > grotty(1) which tells it to use the "reverse video" attribute > > to render italic fonts. This keeps the "cons25" output the > > old way, but worsens the "xterm" output, which will now render > > the underlined text as "reverse". >=20 > I'm not overly concerned about how nroff renders, but I'd like to see > colour support enabled for troff. Or is that already the case? I > can't see any conflict for troff. >=20 Yes, it is. Neither troff(1) nor nroff(1) are directly affected. This is only the matter of how we call [gn]roff(1) when formatting manpages for the TTY (-Tascii, -Tlatin1, and -Tkoi8-r) output. I was not precise in my commitlog wording. I.e., when formatting manpages (either from man(1), catman(1), or during the buildworld if MANBUILDCAT is set), we now pass the -c option to grotty(1). After a bit more thinking, testing, and reading messages in this thread, I have decided to leave it that way. Not all terminals support ANSI SGR escapes, and having the catpages not readable on these in unacceptable. On the other hand, filters like ul(1) and less(1) honour the terminal type and emit the right sequences to emulate bold and italic fonts. Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9rTVSUkv4P6juNwoRAqV1AJ97D0Yh7OH7kGSZExT6ZulK72JeCwCfemeH Yk2m4aPeynwBx62gTefI03M= =LVLM -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message