From owner-freebsd-bugs@FreeBSD.ORG Fri Jun 17 08:50:06 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E078D16A41C for ; Fri, 17 Jun 2005 08:50:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1E0A43D49 for ; Fri, 17 Jun 2005 08:50:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j5H8o6Zo058244 for ; Fri, 17 Jun 2005 08:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j5H8o6Td058243; Fri, 17 Jun 2005 08:50:06 GMT (envelope-from gnats) Resent-Date: Fri, 17 Jun 2005 08:50:06 GMT Resent-Message-Id: <200506170850.j5H8o6Td058243@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0831E16A41C for ; Fri, 17 Jun 2005 08:40:26 +0000 (GMT) (envelope-from jdc@pentarou.parodius.com) Received: from mx1.parodius.com (mx1.parodius.com [64.62.145.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id E50C243D1D for ; Fri, 17 Jun 2005 08:40:25 +0000 (GMT) (envelope-from jdc@pentarou.parodius.com) Received: from pentarou.parodius.com (mx1.parodius.com [64.62.145.229]) by mx1.parodius.com (8.13.3/8.13.3) with ESMTP id j5H8ePr0054739 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 17 Jun 2005 01:40:25 -0700 (PDT) (envelope-from jdc@pentarou.parodius.com) Received: (from jdc@localhost) by pentarou.parodius.com (8.13.3/8.13.3/Submit) id j5H8ePkm054738; Fri, 17 Jun 2005 01:40:25 -0700 (PDT) (envelope-from jdc) Message-Id: <200506170840.j5H8ePkm054738@pentarou.parodius.com> Date: Fri, 17 Jun 2005 01:40:25 -0700 (PDT) From: Jeremy Chadwick To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: gnu/82353: SGR disabled in share/tmac/troffrc -- deprecated? X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jeremy Chadwick List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jun 2005 08:50:07 -0000 >Number: 82353 >Category: gnu >Synopsis: SGR disabled in share/tmac/troffrc -- deprecated? >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jun 17 08:50:06 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 4.11-STABLE i386 >Organization: Parodius Networking >Environment: System: FreeBSD pentarou.parodius.com 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu May 12 04:37:52 PDT 2005 root@pentarou.parodius.com:/usr/obj/usr/src/sys/PENTAROU i386 >Description: SGR is disabled in share/tmac/troffrc. This stems from a change applied nearly 3 years ago by ru@: http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/groff/tmac/troffrc.diff?r1=1.13&r2=1.14&f=h I realise some terminals don't support the new method of SGR (using literal ANSI characters for b/it/un instead of the hackish method that involves backspace), but since Groff 1.19 was imported, grotty(1) has the GROFF_NO_SGR environment variable which can toggle that. I feel a better solution would be to remove the SGR disable in troffrc and instead set GROFF_NO_SGR=TRUE in /etc/login.conf ? Then those of us who want SGR can unset GROFF_NO_SGR in our dotfiles... The main reason I'm requesting this is because it's blocking our ability to render manpages which use colour (as well as set up our own custom termcap which maps b/it/un to different colours for non-coloured manpages). >How-To-Repeat: n/a >Fix: n/a >Release-Note: >Audit-Trail: >Unformatted: