From owner-svn-src-projects@freebsd.org Tue Oct 25 16:06:29 2016 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5DF1EC21FBE for ; Tue, 25 Oct 2016 16:06:29 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2DB53D79; Tue, 25 Oct 2016 16:06:29 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9PG6SKs048539; Tue, 25 Oct 2016 16:06:28 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9PG6SPq048538; Tue, 25 Oct 2016 16:06:28 GMT (envelope-from bapt@FreeBSD.org) Message-Id: <201610251606.u9PG6SPq048538@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f From: Baptiste Daroussin Date: Tue, 25 Oct 2016 16:06:28 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r307920 - projects/doctools/usr.bin/man X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Oct 2016 16:06:29 -0000 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