svn commit: r306887 - projects/doctools/usr.bin/man

Baptiste Daroussin bapt at FreeBSD.org
Sat Oct 8 23:30:25 UTC 2016


Author: bapt
Date: Sat Oct  8 23:30:24 2016
New Revision: 306887
URL: https://svnweb.freebsd.org/changeset/base/306887

Log:
  Fix man -t with heirloom doctools

Modified:
  projects/doctools/usr.bin/man/man.sh

Modified: projects/doctools/usr.bin/man/man.sh
==============================================================================
--- projects/doctools/usr.bin/man/man.sh	Sat Oct  8 23:29:59 2016	(r306886)
+++ projects/doctools/usr.bin/man/man.sh	Sat Oct  8 23:30:24 2016	(r306887)
@@ -323,9 +323,10 @@ man_display_page() {
 
 	if ! eval "$cattool $manpage | $testline" ;then
 		if which -s picpack; then
-			pipeline="soelim | tbl | eqn | nroff -u1 -Tlocale -man - | col -x"
 			if [ -z "$tflags" ]; then
-				pipeline="${pipeline} | $MANPAGER"
+				pipeline="soelim | tbl | eqn | troff -u1 -Tps -man - | dpost"
+			else
+				pipeline="soelim | tbl | eqn | nroff -u1 -Tlocale -man - | col -x | $MANPAGER"
 			fi
 		elif which -s groff; then
 			man_display_page_groff


More information about the svn-src-projects mailing list