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)
This commit is contained in:
parent
f58d163a2c
commit
72baa018d0
@ -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 | %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",
|
||||
|
Loading…
Reference in New Issue
Block a user