Date: Fri, 17 Jun 2005 01:40:25 -0700 (PDT) From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: gnu/82353: SGR disabled in share/tmac/troffrc -- deprecated? Message-ID: <200506170840.j5H8ePkm054738@pentarou.parodius.com> Resent-Message-ID: <200506170850.j5H8o6Td058243@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506170840.j5H8ePkm054738>