Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Oct 2016 16:06:28 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r307920 - projects/doctools/usr.bin/man
Message-ID:  <201610251606.u9PG6SPq048538@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610251606.u9PG6SPq048538>