commit 363e4ce24b5017eb060d6a54bebbf92608ba3873 Author: Ulrich Spörlein Date: Sun Jul 31 14:13:51 2011 +0200 Unbreak catman(1) by removing calls to col(1). col(1) was mangling the SGR escapes and is not strictly required. Tab "compression" is now done by passing -h to nroff directly. See r222650 and r222653 for more details. Reviewed by: ? Approved by: ? MFC after: 3 weeks diff --git a/usr.bin/catman/catman.c b/usr.bin/catman/catman.c index c17a091..886563b 100644 --- a/usr.bin/catman/catman.c +++ b/usr.bin/catman/catman.c @@ -432,7 +432,7 @@ process_page(char *mandir, char *src, char *cat, enum Ziptype zipped) } 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 -h -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",