Date: Wed, 23 Nov 2011 18:15:49 +0000 (UTC) From: Ulrich Spoerlein <uqs@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r227900 - stable/8/usr.bin/catman Message-ID: <201111231815.pANIFnAn057267@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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",
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111231815.pANIFnAn057267>