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

Baptiste Daroussin bapt at FreeBSD.org
Tue Oct 25 16:06:29 UTC 2016


Author: bapt
Date: Tue Oct 25 16:06:28 2016
New Revision: 307920
URL: https://svnweb.freebsd.org/changeset/base/307920

Log:
  Use mdoc(7) macros as well ad man(7) when viewing a manpage 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	Tue Oct 25 15:21:20 2016	(r307919)
+++ projects/doctools/usr.bin/man/man.sh	Tue Oct 25 16:06:28 2016	(r307920)
@@ -324,9 +324,9 @@ man_display_page() {
 	if ! eval "$cattool $manpage | $testline" ;then
 		if which -s picpack; then
 			if [ -z "$tflags" ]; then
-				pipeline="soelim | tbl | eqn | troff -u1 -Tps -man - | dpost"
+				pipeline="soelim | tbl | eqn | troff -u1 -Tps -mdoc -man - | dpost"
 			else
-				pipeline="soelim | tbl | eqn | nroff -u1 -Tlocale -man - | col -x | $MANPAGER"
+				pipeline="soelim | tbl | eqn | nroff -u1 -Tlocale -mdoc -man - | col -x | $MANPAGER"
 			fi
 		elif which -s groff; then
 			man_display_page_groff


More information about the svn-src-projects mailing list