From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26360 invoked from network); 28 Jun 2021 19:50:48 -0000 Received: from bsd.lv (HELO mandoc.bsd.lv) (66.111.2.12) by inbox.vuxu.org with ESMTPUTF8; 28 Jun 2021 19:50:48 -0000 Received: from fantadrom.bsd.lv (localhost [127.0.0.1]) by mandoc.bsd.lv (OpenSMTPD) with ESMTP id 97390bd6 for ; Mon, 28 Jun 2021 14:50:46 -0500 (EST) Received: from localhost (mandoc.bsd.lv [local]) by mandoc.bsd.lv (OpenSMTPD) with ESMTPA id b736241d for ; Mon, 28 Jun 2021 14:50:45 -0500 (EST) Date: Mon, 28 Jun 2021 14:50:45 -0500 (EST) X-Mailinglist: mandoc-source Reply-To: source@mandoc.bsd.lv MIME-Version: 1.0 From: schwarze@mandoc.bsd.lv To: source@mandoc.bsd.lv Subject: mandoc: In terminal output of man(7) documents, stop printing two extra X-Mailer: activitymail 1.26, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain; charset=utf-8 Message-ID: Log Message: ----------- In terminal output of man(7) documents, stop printing two extra blank lines before the NAME section and before the page footer. While these blank lines had a long tradition, they didn't really serve any purpose and merely wasted screen real estate. Besides, this makes output from man(7) more similar to output from mdoc(7). This commit keeps mandoc compatible with groff-current, where G. Branden Robinson committed the same change on June 16 (groff commit 2278d6ed). Modified Files: -------------- mandoc: TODO man_term.c mandoc.1 Revision Data ------------- Index: mandoc.1 =================================================================== RCS file: /home/cvs/mandoc/mandoc/mandoc.1,v retrieving revision 1.250 retrieving revision 1.251 diff -Lmandoc.1 -Lmandoc.1 -u -p -r1.250 -r1.251 --- mandoc.1 +++ mandoc.1 @@ -301,8 +301,8 @@ Format input files in .Xr mdoc 7 output style. -Specifically, this suppresses the two additional blank lines near the -top and the bottom of each page, and it implies +This prints the operating system name rather than the page title +on the right side of the footer line, and it implies .Fl O Cm indent Ns =5 . One useful application is for checking that .Fl T Cm man Index: man_term.c =================================================================== RCS file: /home/cvs/mandoc/mandoc/man_term.c,v retrieving revision 1.235 retrieving revision 1.236 diff -Lman_term.c -Lman_term.c -u -p -r1.235 -r1.236 --- man_term.c +++ man_term.c @@ -1021,10 +1021,6 @@ print_man_foot(struct termp *p, const st */ if ( ! p->mdocstyle) { - if (meta->hasbody) { - term_vspace(p); - term_vspace(p); - } mandoc_asprintf(&title, "%s(%s)", meta->title, meta->msec); } else if (meta->os != NULL) { @@ -1143,9 +1139,5 @@ print_man_head(struct termp *p, const st */ term_vspace(p); - if ( ! p->mdocstyle) { - term_vspace(p); - term_vspace(p); - } free(title); } Index: TODO =================================================================== RCS file: /home/cvs/mandoc/mandoc/TODO,v retrieving revision 1.315 retrieving revision 1.316 diff -LTODO -LTODO -u -p -r1.315 -r1.316 --- TODO +++ TODO @@ -456,7 +456,7 @@ are mere guesses, and some may be wrong. - HTML formatting of .nf should avoid
and not close and re-open
 on .P
-  my mail to ports@ 27 Jun 2021 16:09:20 +0200
+  Reuben ua Brig  27 Jun 2021 17:26:29 +1000
   loc **  exist **  algo *  size *  imp **
 
 - get rid of the last handful of style= attributes such that
--
 To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv