From owner-cvs-all Tue Oct 15 9: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 0865237B401; Tue, 15 Oct 2002 09:49:24 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A27943EB1; Tue, 15 Oct 2002 09:49:22 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA28593; Wed, 16 Oct 2002 02:46:03 +1000 Date: Wed, 16 Oct 2002 02:56:37 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Giorgos Keramidas Cc: Ruslan Ermilov , "Greg 'groggy' Lehey" , Tony Finch , , Subject: Re: cvs commit: src/gnu/usr.bin/man Makefile.inc src/share/mk bsd.man.mk src/usr.bin/catman catman.c In-Reply-To: <20021015094930.GB2083@hades.hell.gr> Message-ID: <20021016024550.H1243-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Tue, 15 Oct 2002, Giorgos Keramidas wrote: > On 2002-10-13 11:10, Ruslan Ermilov wrote: > > On Sun, Oct 13, 2002 at 10:02:57AM +0930, Greg 'groggy' Lehey wrote: > > > > > > I've been waiting for groff 1.18 exactly because of the colour > > > support. I can understand that it's a nuisance under the > > > circumstances you describe, but I would be disappointed to see it > > > turned off altogether. There must be some way to just not make it the > > > default. Or is that what you're doing? > > > > Yes. I've sent the patch for grotty(1) that allows it to use the > > "reverse video" attribute to render the italic font in the nroff > > mode. After this is accepted (and I'm sure it will be), I plan > > to import the patch and turn the color support back on. > > I mostly use cons25 terminals to fire up screen(1) and this is a local > change that I keep around in my .screenrc files: > > termcap cons* us=\E[36m:ue=\E[m > > The added termcap capabilities make underlined text come up as cyan, > which makes manpages a lot more readable than reverse video (I've > tried using us=\E[7m for a while, but the results weren't very > pleasing to the eye). If it's not a rather hard thing to support, I'd > really vote for keeping the colour support enabled, instead of using > reverse video for underlined/italic text in nroff. I use the following to map reverse video to a color for cons25 (white on blue actually -- it's still sort of reverse video, but has better colors than inverting the foreground and background would normally give). This also gives a cyan foreground. %%% case $TERM in cons25) printf '\033[0x\033[2;6x\033[6;7x\033[5;4x' ;; pcvt*) printf '\033[0;4;37;44m\033d\033[0;7;37;44m\033d\033[0;36;40m\033d' ;; esac %%% The pcvt version may have rotted. IIRC, this works better in pcvt because the escape sequences give a harder setting (one not affected by '\033C'). Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message