gnu/82353: SGR disabled in share/tmac/troffrc -- deprecated?

Jeremy Chadwick freebsd at jdc.parodius.com
Fri Jun 17 08:50:07 GMT 2005


>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 at 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:


More information about the freebsd-bugs mailing list