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",
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to