From owner-cvs-all Wed Oct 16 2:54: 0 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 D138637B431 for ; Wed, 16 Oct 2002 02:53:57 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id B307F43E97 for ; Wed, 16 Oct 2002 02:53:56 -0700 (PDT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.6/8.12.6) with ESMTP id g9G9rp39008346; Wed, 16 Oct 2002 13:53:51 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.6/8.12.6/Submit) id g9G9rpuE008345; Wed, 16 Oct 2002 13:53:51 +0400 (MSD) (envelope-from ache) Date: Wed, 16 Oct 2002 13:53:51 +0400 From: "Andrey A. Chernov" To: Alexey Dokuchaev Cc: Ruslan Ermilov , Giorgos Keramidas , "Greg 'groggy' Lehey" , 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: <20021016095351.GB8009@nagual.pp.ru> 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> <20021016023059.GD72251@regency.nsu.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021016023059.GD72251@regency.nsu.ru> User-Agent: Mutt/1.5.1i 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 Wed, Oct 16, 2002 at 09:30:59 +0700, Alexey Dokuchaev wrote: > > Could we patch /usr/share/misc/termcap maybe (cons25w entry)? This will > leave xterm along (since it does play nicely already) and console output > will get prettier. Any syscons or cons25 entry patch in this way will break color support, occuping some valid colors to emulate missing underline. Occuping some valid attribute (like now) is lesser evil for color-enabled application. Better way is to NOT emulate it in any way. Termcap database is for describing existen capabilities, not for emulating non-existen in destructive way. Application must do emulation by itself. I.e. underline should be written to the file as ^H_ (in device-independent form) and browser (less) should emulate missing underline using some existent attribute or color. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message