svn commit: r224657 - head/usr.bin/catman
Ulrich Spoerlein
uqs at FreeBSD.org
Fri Aug 5 15:07:28 UTC 2011
Author: uqs
Date: Fri Aug 5 15:07:28 2011
New Revision: 224657
URL: http://svn.freebsd.org/changeset/base/224657
Log:
For POLA reasons, disable SGR sequences in catpages.
See r222647 for a similar change to bsd.doc.mk after SGR was generally
turned on in groff.
Suggested by: ru
Approved by: re (kib)
Modified:
head/usr.bin/catman/catman.c
Modified: head/usr.bin/catman/catman.c
==============================================================================
--- head/usr.bin/catman/catman.c Fri Aug 5 15:02:17 2011 (r224656)
+++ head/usr.bin/catman/catman.c Fri Aug 5 15:07:28 2011 (r224657)
@@ -432,7 +432,7 @@ process_page(char *mandir, char *src, ch
}
snprintf(tmp_file, sizeof tmp_file, "%s.tmp", cat);
snprintf(cmd, sizeof cmd,
- "%scat %s | tbl | nroff -T%s -man | %s > %s.tmp",
+ "%scat %s | tbl | nroff -c -T%s -man | %s > %s.tmp",
zipped == BZIP ? BZ2CAT_CMD : zipped == GZIP ? GZCAT_CMD : "",
src, nroff_device,
zipped == BZIP ? BZ2_CMD : zipped == GZIP ? GZ_CMD : "cat",
More information about the svn-src-all
mailing list