From 3f0423829b3cacd4af378a55754c617e162d19db Mon Sep 17 00:00:00 2001 From: schwarze Date: Mon, 15 Aug 2022 18:55:29 +0000 Subject: [PATCH] Some more tests of no-fill mode similar to mdoc/Bd/blank.in after vertical spacing was improved in man_term.c rev. 1.192. --- regress/usr.bin/mandoc/man/nf/indent.in | 22 ++++++++++++++----- .../usr.bin/mandoc/man/nf/indent.out_ascii | 17 ++++++++++---- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git a/regress/usr.bin/mandoc/man/nf/indent.in b/regress/usr.bin/mandoc/man/nf/indent.in index aaf7e90520e..35004b4349d 100644 --- a/regress/usr.bin/mandoc/man/nf/indent.in +++ b/regress/usr.bin/mandoc/man/nf/indent.in @@ -1,5 +1,5 @@ -.\" $OpenBSD: indent.in,v 1.4 2017/07/04 14:53:24 schwarze Exp $ -.TH NF-INDENT 1 "January 4, 2011" +.\" $OpenBSD: indent.in,v 1.5 2022/08/15 18:55:29 schwarze Exp $ +.TH NF-INDENT 1 "August 15, 2022" .SH NAME nf-indent \- indentation of literal blocks .SH DESCRIPTION @@ -10,12 +10,22 @@ oneword two words and three words This is a very long line; because it is indented, it is a bit too long to fit. -blank line: +completely blank line: -line with only a zero-width space: +line containing a blank character: + +line containing two blank characters: + +line containing space tab space: + +line containing a zero-width space: \& -line with only a normal space character: - +line containing an invalid numbered character escape: +\N'257' +line containing an invalid named character escape: +\[foobar] +line containing a font escape: +\fR end of literal .fi He is some more diff --git a/regress/usr.bin/mandoc/man/nf/indent.out_ascii b/regress/usr.bin/mandoc/man/nf/indent.out_ascii index ba6adfe2bbd..c8f2acba2cf 100644 --- a/regress/usr.bin/mandoc/man/nf/indent.out_ascii +++ b/regress/usr.bin/mandoc/man/nf/indent.out_ascii @@ -9,13 +9,22 @@ DDEESSCCRRIIPPTTIIOONN two words and three words This is a very long line; because it is indented, it is a bit too long to fit. - blank line: + completely blank line: - line with only a zero-width space: + line containing a blank character: - line with only a normal space character: + line containing two blank characters: + line containing space tab space: + + line containing a zero-width space: + + line containing an invalid numbered character escape: + + line containing an invalid named character escape: + + line containing a font escape: end of literal He is some more regular text. -OpenBSD January 4, 2011 NF-INDENT(1) +OpenBSD August 15, 2022 NF-INDENT(1) -- 2.20.1