From owner-freebsd-arch Fri Oct 18 13:19:26 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6EE637B401; Fri, 18 Oct 2002 13:19:25 -0700 (PDT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id EB47543EB2; Fri, 18 Oct 2002 13:19:24 -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 g9IKJKnP015214; Sat, 19 Oct 2002 00:19:20 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.6/8.12.6/Submit) id g9IKJJ0e015213; Sat, 19 Oct 2002 00:19:19 +0400 (MSD) (envelope-from ache) Date: Sat, 19 Oct 2002 00:19:19 +0400 From: "Andrey A. Chernov" To: Terry Lambert Cc: "M. Warner Losh" , ru@FreeBSD.ORG, arch@FreeBSD.ORG Subject: Re: color, again, in grotty Message-ID: <20021018201919.GA15100@nagual.pp.ru> References: <20021017.101833.110719994.imp@bsdimp.com> <20021018095026.GA3386@sunbay.com> <20021018.094801.123456703.imp@bsdimp.com> <3DB06A8B.E40B3004@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3DB06A8B.E40B3004@mindspring.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Oct 18, 2002 at 13:09:47 -0700, Terry Lambert wrote: > > > : So we must either fix syscons(4) or to somehow tell grotty(1) to > > : emit old sequences to print bold and italic characters. > > Fixing Grotty to use the termcap ("TermCap" -- Terminal Capabilities) > database is the correct approach, in almost all cases. I agree. Grotty should get termcap color capabilities using TERM env. variable, if output isatty(). That is termcap purpose. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message