svn commit: r227900 - stable/8/usr.bin/catman
Ulrich Spoerlein
uqs at FreeBSD.org
Wed Nov 23 18:15:50 UTC 2011
Author: uqs
Date: Wed Nov 23 18:15:49 2011
New Revision: 227900
URL: http://svn.freebsd.org/changeset/base/227900
Log:
MFH r224639, r224657: Disable generation of SGR sequences.
This is a no-op when using base groff, as it hasn't been changed in stable.
This helps when using the ports groff, though.
Modified:
stable/8/usr.bin/catman/catman.c
Directory Properties:
stable/8/usr.bin/catman/ (props changed)
Modified: stable/8/usr.bin/catman/catman.c
==============================================================================
--- stable/8/usr.bin/catman/catman.c Wed Nov 23 18:11:10 2011 (r227899)
+++ stable/8/usr.bin/catman/catman.c Wed Nov 23 18:15:49 2011 (r227900)
@@ -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 | col | %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-stable-8
mailing list