summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2019-06-30 03:44:40 +1000
committerG. Branden Robinson <g.branden.robinson@gmail.com>2019-06-30 04:10:29 +1000
commit699ac6598d3c54fc6890c9be6780410c82f817ea (patch)
treebce2303c5ead37259fae63106fb09374119b3027
parent066a48664571079e1d722045c33a1dd32e65e166 (diff)
downloadgroff-git-699ac6598d3c54fc6890c9be6780410c82f817ea.tar.gz
*.[157].man: Save and restore compatibility mode.
...where needed. Several pages were using escapes not documented in CSTR #54 (1992 revision). There were no _egregious_ portability offenses here; the problems were mainly: 1. Use of \~ and \: escapes. It's worth noting that the "makevarescape.sed" script I introduced means that \: escapes can be hidden inside @FOODIR@ macro expansions. Whether they actually appear depends on how the "configure" script is invoked, but it's pretty safe bet, since the script injects them after every "/" in a pathname. 2. Use of \[xx] special character escapes. There are only 3 man pages left that do not require compatibility mode; they now use the Vim hint "filetype=nroff" if they didn't already. (Vim distinguishes groff and nroff syntax highlighting; furthermore, my private fork of nroff.vim is enhanced to show me many more potential portability problems.) Also update comments to make the editor hints consistent and remove some stale or redundant comments (mostly about installation paths and filename transformations).
-rw-r--r--contrib/eqn2graph/eqn2graph.1.man12
-rw-r--r--contrib/gdiffmk/gdiffmk.1.man13
-rw-r--r--contrib/glilypond/glilypond.1.man17
-rw-r--r--contrib/gperl/gperl.1.man15
-rw-r--r--contrib/gpinyin/gpinyin.1.man15
-rw-r--r--contrib/grap2graph/grap2graph.1.man12
-rw-r--r--contrib/groff_filenames/groff_filenames.5.man15
-rw-r--r--contrib/groffer/groffer.1.man20
-rw-r--r--contrib/groffer/roff2.1.man15
-rw-r--r--contrib/pic2graph/pic2graph.1.man12
-rw-r--r--man/ditroff.7.man11
-rw-r--r--src/devices/grohtml/grohtml.1.man12
-rw-r--r--src/devices/grolj4/grolj4.1.man12
-rw-r--r--src/devices/grolj4/lj4_font.5.man11
-rw-r--r--src/devices/gropdf/pdfmom.1.man12
-rw-r--r--src/devices/xditview/gxditview.1.man12
-rw-r--r--src/preproc/eqn/neqn.1.man3
-rw-r--r--src/preproc/refer/refer.1.man13
-rw-r--r--src/roff/grog/grog.1.man16
-rw-r--r--src/roff/nroff/nroff.1.man12
-rw-r--r--src/roff/troff/troff.1.man14
-rw-r--r--src/utils/addftinfo/addftinfo.1.man3
-rw-r--r--src/utils/afmtodit/afmtodit.1.man11
-rw-r--r--src/utils/indxbib/indxbib.1.man13
-rw-r--r--src/utils/lkbib/lkbib.1.man3
-rw-r--r--src/utils/lookbib/lookbib.1.man11
-rw-r--r--src/utils/pfbtops/pfbtops.1.man12
-rw-r--r--src/utils/tfmtodit/tfmtodit.1.man12
-rw-r--r--src/utils/xtotroff/xtotroff.1.man3
-rw-r--r--tmac/groff_me.7.man12
30 files changed, 275 insertions, 79 deletions
diff --git a/contrib/eqn2graph/eqn2graph.1.man b/contrib/eqn2graph/eqn2graph.1.man
index 811322771..3d817d8f4 100644
--- a/contrib/eqn2graph/eqn2graph.1.man
+++ b/contrib/eqn2graph/eqn2graph.1.man
@@ -3,6 +3,11 @@
eqn2graph \- convert an EQN equation into a cropped image
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr eqn2graph_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -152,7 +157,12 @@ by W.\& Richard Stevens.
.IR \%convert (1)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[eqn2graph_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/contrib/gdiffmk/gdiffmk.1.man b/contrib/gdiffmk/gdiffmk.1.man
index 1e20d473c..f56805fd5 100644
--- a/contrib/gdiffmk/gdiffmk.1.man
+++ b/contrib/gdiffmk/gdiffmk.1.man
@@ -3,6 +3,11 @@
gdiffmk \- mark differences between groff/nroff/troff files
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr gdiffmk_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -254,7 +259,13 @@ Mike Bianchi
.BR gtroff (@MAN1EXT@),
.BR diff (@MAN1EXT@)
.
+.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[gdiffmk_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/contrib/glilypond/glilypond.1.man b/contrib/glilypond/glilypond.1.man
index 2a026895c..37bf0e31b 100644
--- a/contrib/glilypond/glilypond.1.man
+++ b/contrib/glilypond/glilypond.1.man
@@ -2,9 +2,11 @@
.SH NAME
glilypond \- integrate lilypond parts into groff
.
-.\" glilypond - integrate 'lilypond' parts into 'groff' files
-.\" Source file position: <groff_source_top>/contrib/glilypond.man
-.\" Installed position: <prefix>/share/man/man1/glilypond.1
+.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr glilypond_C \n[.C]
+.cp 0
+.
.
.\" TODO: This page needs a thorough edit by a native English speaker.
.
@@ -957,11 +959,12 @@ file into an
format.
.
.
-.\" ====================================================================
-.\" Emacs settings
-.\" ====================================================================
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[glilypond_C]
+.
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/contrib/gperl/gperl.1.man b/contrib/gperl/gperl.1.man
index ba5cac4f7..aaef2b362 100644
--- a/contrib/gperl/gperl.1.man
+++ b/contrib/gperl/gperl.1.man
@@ -2,6 +2,12 @@
.SH NAME
gperl \- groff preprocessor for Perl parts in roff files
.
+.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr gperl_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -498,11 +504,12 @@ are
.BR \%perl (@MAN7EXT@).
.
.
-.\" ====================================================================
-.\" Emacs settings
-.\" ====================================================================
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[gperl_C]
+.
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/contrib/gpinyin/gpinyin.1.man b/contrib/gpinyin/gpinyin.1.man
index db634fdd8..45d366850 100644
--- a/contrib/gpinyin/gpinyin.1.man
+++ b/contrib/gpinyin/gpinyin.1.man
@@ -3,6 +3,12 @@
.SH NAME
gpinyin \- use Hanyu Pinyin Chinese in roff
.
+.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr gpinyin_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -335,11 +341,12 @@ and the available glyph repertoire,
respectively.
.
.
-.\" ====================================================================
-.\" Editor settings
-.\" ====================================================================
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[gpinyin_C]
+.
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/contrib/grap2graph/grap2graph.1.man b/contrib/grap2graph/grap2graph.1.man
index bf13d6d2e..da989ef66 100644
--- a/contrib/grap2graph/grap2graph.1.man
+++ b/contrib/grap2graph/grap2graph.1.man
@@ -3,6 +3,11 @@
grap2graph \- convert a GRAP diagram into a cropped image
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr grap2graph_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -169,7 +174,12 @@ by W.\& Richard Stevens.
.IR \%convert (1)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[grap2graph_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/contrib/groff_filenames/groff_filenames.5.man b/contrib/groff_filenames/groff_filenames.5.man
index 8f87abe10..2a01b0afa 100644
--- a/contrib/groff_filenames/groff_filenames.5.man
+++ b/contrib/groff_filenames/groff_filenames.5.man
@@ -2,7 +2,11 @@
.SH NAME
groff_filenames \- filename extensions for roff and groff
.
-.\" ad l
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr groff_filenames_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -646,11 +650,12 @@ You can get this package with the shell command:
.RE
.
.
-.\" ====================================================================
-.\" Emacs settings
-.\" ====================================================================
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[groff_filenames_C]
+.
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/contrib/groffer/groffer.1.man b/contrib/groffer/groffer.1.man
index 39ab25225..85901e335 100644
--- a/contrib/groffer/groffer.1.man
+++ b/contrib/groffer/groffer.1.man
@@ -3,14 +3,9 @@
groffer \- display groff files and man pages on X and tty
.
.
-.\"*********************************************************************
-.\"
-.\" This man page doesn't use extended groff syntax!
-.\" XXX: Yes, it does--"\~" is ubiquitous. "\/" and "\," also occur.
-.\" Formatting it with and without groff's option '-C' should always
-.\" give the same result.
-.\"
-.\"*********************************************************************
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr groffer_C \n[.C]
+.cp 0
.
.
.\" ====================================================================
@@ -3802,11 +3797,12 @@ The decompression programs supported by
.BR \%groffer .
.
.
-.\" ====================================================================
-.\" Emacs settings
-.\" ====================================================================
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[groffer_C]
+.
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/contrib/groffer/roff2.1.man b/contrib/groffer/roff2.1.man
index 6013b583d..ffd2ce16e 100644
--- a/contrib/groffer/roff2.1.man
+++ b/contrib/groffer/roff2.1.man
@@ -2,10 +2,10 @@
.SH NAME
roff2@ROFF2MODE@ \- transform roff code into @ROFF2MODE@ mode
.
-.\" roff2@ROFF2MODE@.1 - man page for roff2@ROFF2MODE@ (section 1).
.
-.\" Source file position: <groff_source_top>/contrib/groffer/roff2.man
-.\" Installed position: $prefix/share/man/man1/roff2@ROFF2MODE@.1
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr roff2_C \n[.C]
+.cp 0
.
.
.\" ====================================================================
@@ -219,11 +219,12 @@ Bernd Warken
.BR \%gxditview (@MAN1EXT@).
.
.
-.\" ====================================================================
-.\" Emacs settings
-.\" ====================================================================
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[roff2_C]
+.
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/contrib/pic2graph/pic2graph.1.man b/contrib/pic2graph/pic2graph.1.man
index a19062740..0e03d3d08 100644
--- a/contrib/pic2graph/pic2graph.1.man
+++ b/contrib/pic2graph/pic2graph.1.man
@@ -3,6 +3,11 @@
pic2graph \- convert a PIC diagram into a cropped image
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr pic2graph_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -198,7 +203,12 @@ W.\& Richard Stevens,
.IR \%convert (1)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[pic2graph_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/man/ditroff.7.man b/man/ditroff.7.man
index a55f9f533..d284ace01 100644
--- a/man/ditroff.7.man
+++ b/man/ditroff.7.man
@@ -3,6 +3,11 @@
ditroff \- classical device-independent roff
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr ditroff_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -162,9 +167,9 @@ version of the intermediate output language, the basis for
multi-device output.
.
.
-.\" ====================================================================
-.\" Editor settings
-.\" ====================================================================
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[ditroff_C]
+.
.
.\" Local Variables:
.\" mode: nroff
diff --git a/src/devices/grohtml/grohtml.1.man b/src/devices/grohtml/grohtml.1.man
index a54ae989c..2b6c4de41 100644
--- a/src/devices/grohtml/grohtml.1.man
+++ b/src/devices/grohtml/grohtml.1.man
@@ -3,6 +3,11 @@
grohtml \- HTML driver for groff
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr grohtml_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -440,7 +445,12 @@ It is still beta code.
.BR groff_char (@MAN7EXT@)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[grohtml_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/devices/grolj4/grolj4.1.man b/src/devices/grolj4/grolj4.1.man
index 079f9c06b..a433663ad 100644
--- a/src/devices/grolj4/grolj4.1.man
+++ b/src/devices/grolj4/grolj4.1.man
@@ -3,6 +3,11 @@
grolj4 \- groff driver for HP LaserJet 4 family
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr grolj4_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -226,7 +231,12 @@ Small dots.
.BR groff_char (@MAN7EXT@)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[grolj4_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/devices/grolj4/lj4_font.5.man b/src/devices/grolj4/lj4_font.5.man
index e78168ed4..d00596028 100644
--- a/src/devices/grolj4/lj4_font.5.man
+++ b/src/devices/grolj4/lj4_font.5.man
@@ -3,6 +3,11 @@
lj4_font \- groff fonts for use with devlj4
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr lj4_font_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -252,9 +257,9 @@ special font for TrueType CG Times (LaserJet\~4000 and later).
.BR groff_font (@MAN5EXT@)
.
.
-.\" ====================================================================
-.\" Editor settings
-.\" ====================================================================
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[lj4_font_C]
+.
.
.\" Local Variables:
.\" mode: nroff
diff --git a/src/devices/gropdf/pdfmom.1.man b/src/devices/gropdf/pdfmom.1.man
index d25abaffe..4bd5a6dec 100644
--- a/src/devices/gropdf/pdfmom.1.man
+++ b/src/devices/gropdf/pdfmom.1.man
@@ -3,6 +3,11 @@
pdfmom \- produce PDF documents using the mom macro package for groff
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr pdfmom_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -184,7 +189,12 @@ a copy is installed at
.IR ps2pdf (1)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[pdfmom_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/devices/xditview/gxditview.1.man b/src/devices/xditview/gxditview.1.man
index a44de7dac..ab5ee1da4 100644
--- a/src/devices/xditview/gxditview.1.man
+++ b/src/devices/xditview/gxditview.1.man
@@ -3,6 +3,11 @@
gxditview \- display groff intermediate output files
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr gxditview_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -557,7 +562,12 @@ which was derived from
.BR \%suntroff .
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[gxditview_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/preproc/eqn/neqn.1.man b/src/preproc/eqn/neqn.1.man
index d11881f9b..1bb4103d7 100644
--- a/src/preproc/eqn/neqn.1.man
+++ b/src/preproc/eqn/neqn.1.man
@@ -62,5 +62,6 @@ may work adequately for very simple input).
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=nroff textwidth=72:
diff --git a/src/preproc/refer/refer.1.man b/src/preproc/refer/refer.1.man
index c466ac9de..85e69a97c 100644
--- a/src/preproc/refer/refer.1.man
+++ b/src/preproc/refer/refer.1.man
@@ -3,6 +3,11 @@
@g@refer \- preprocess bibliographic references for groff
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr refer_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -1760,10 +1765,14 @@ expressions.
.BR @g@indxbib (@MAN1EXT@),
.BR @g@lookbib (@MAN1EXT@),
.BR lkbib (@MAN1EXT@)
-.br
+.
+.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[refer_C]
.
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/roff/grog/grog.1.man b/src/roff/grog/grog.1.man
index 5cfc4c477..bc2ba3eba 100644
--- a/src/roff/grog/grog.1.man
+++ b/src/roff/grog/grog.1.man
@@ -2,9 +2,10 @@
.SH NAME
grog \- guess options for a following groff command
.
-.\" grog.man -> grog.1 - man page for grog (section 1)
-.\" Source file position: <groff_source_top>/src/roff/grog/grog.man
-.\" Installed position: <prefix>/share/man/man1/grog.1
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr grog_C \n[.C]
+.cp 0
+.
.
.\" TODO: This page needs a thorough edit by a native English speaker.
.
@@ -461,11 +462,12 @@ Werner Lemberg
.BR groffer (@MAN1EXT@)
.
.
-.\" ====================================================================
-.\" Emacs settings
-.\" ====================================================================
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[grog_C]
+.
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/roff/nroff/nroff.1.man b/src/roff/nroff/nroff.1.man
index 4e4e08628..86db341c8 100644
--- a/src/roff/nroff/nroff.1.man
+++ b/src/roff/nroff/nroff.1.man
@@ -3,6 +3,11 @@
@g@nroff \- use groff to format documents for TTY (terminal) devices
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr nroff_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -264,7 +269,12 @@ are loaded to replace unrepresentable glyphs.
.IR roff (@MAN7EXT@)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[nroff_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/roff/troff/troff.1.man b/src/roff/troff/troff.1.man
index e4354d8bb..e3f1d4f3d 100644
--- a/src/roff/troff/troff.1.man
+++ b/src/roff/troff/troff.1.man
@@ -3,7 +3,10 @@
.SH NAME
@g@troff \- the troff processor of the groff text formatting system
.
-.\" troff.man -> troff.1
+.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr troff_C \n[.C]
+.cp 0
.
.
.\" ====================================================================
@@ -672,11 +675,12 @@ manual.
You can browse it interactively with \(lqinfo groff\(rq.
.
.
-.\" ====================================================================
-.\" Emacs variables
-.\" ====================================================================
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[troff_C]
+.
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/utils/addftinfo/addftinfo.1.man b/src/utils/addftinfo/addftinfo.1.man
index 3ce1fe37b..c16c489a7 100644
--- a/src/utils/addftinfo/addftinfo.1.man
+++ b/src/utils/addftinfo/addftinfo.1.man
@@ -191,5 +191,6 @@ in graphical mode (PDF, etc.).
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=nroff textwidth=72:
diff --git a/src/utils/afmtodit/afmtodit.1.man b/src/utils/afmtodit/afmtodit.1.man
index a21b146f7..f75eced72 100644
--- a/src/utils/afmtodit/afmtodit.1.man
+++ b/src/utils/afmtodit/afmtodit.1.man
@@ -3,6 +3,11 @@
afmtodit \- create font files for use with groff \-Tps and \-Tpdf
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr afmtodit_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -439,8 +444,10 @@ Symbols\(aq\(rq.
.IR perl (1)
.
.
-.\" ====================================================================
-.\" ### Emacs settings:
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[afmtodit_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
.\" fill-column: 72
diff --git a/src/utils/indxbib/indxbib.1.man b/src/utils/indxbib/indxbib.1.man
index 25a6aab13..bf8e77f47 100644
--- a/src/utils/indxbib/indxbib.1.man
+++ b/src/utils/indxbib/indxbib.1.man
@@ -3,6 +3,11 @@
@g@indxbib \- make inverted index for bibliographic databases
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr indxbib_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -265,12 +270,18 @@ Temporary file.
.\" ====================================================================
.SH "SEE ALSO"
.\" ====================================================================
+.
.BR @g@refer (@MAN1EXT@),
.BR lkbib (@MAN1EXT@),
.BR @g@lookbib (@MAN1EXT@)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[indxbib_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/utils/lkbib/lkbib.1.man b/src/utils/lkbib/lkbib.1.man
index c56091b2d..4d5fd94e6 100644
--- a/src/utils/lkbib/lkbib.1.man
+++ b/src/utils/lkbib/lkbib.1.man
@@ -171,5 +171,6 @@ Index files.
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/utils/lookbib/lookbib.1.man b/src/utils/lookbib/lookbib.1.man
index b39522670..893ce5122 100644
--- a/src/utils/lookbib/lookbib.1.man
+++ b/src/utils/lookbib/lookbib.1.man
@@ -3,6 +3,11 @@
@g@lookbib \- search bibliographic databases
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr lookbib_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -125,7 +130,11 @@ Index files.
.IR @g@indxbib (@MAN1EXT@)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[lookbib_C]
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/utils/pfbtops/pfbtops.1.man b/src/utils/pfbtops/pfbtops.1.man
index 8f90ff60d..e8919c73f 100644
--- a/src/utils/pfbtops/pfbtops.1.man
+++ b/src/utils/pfbtops/pfbtops.1.man
@@ -3,6 +3,11 @@
pfbtops \- translate Printer Font Binary files to PostScript ASCII
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr pfbtops_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -92,7 +97,12 @@ Display version information and exit.
.IR gropdf (@MAN1EXT@)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[pfbtops_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/src/utils/tfmtodit/tfmtodit.1.man b/src/utils/tfmtodit/tfmtodit.1.man
index 605942db7..1e36616b1 100644
--- a/src/utils/tfmtodit/tfmtodit.1.man
+++ b/src/utils/tfmtodit/tfmtodit.1.man
@@ -3,6 +3,11 @@
tfmtodit \- create font files for use with groff \-Tdvi
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr lkbib_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -245,7 +250,12 @@ Font description file for font
.BR groff_font (@MAN5EXT@)
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[lkbib_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=nroff textwidth=72:
diff --git a/src/utils/xtotroff/xtotroff.1.man b/src/utils/xtotroff/xtotroff.1.man
index 4833f5597..8008b4310 100644
--- a/src/utils/xtotroff/xtotroff.1.man
+++ b/src/utils/xtotroff/xtotroff.1.man
@@ -145,5 +145,6 @@ The only supported font encodings are \(lqiso8859\-1\(rq and
.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" End:
-.\" vim: set filetype=groff:
+.\" vim: set filetype=nroff textwidth=72:
diff --git a/tmac/groff_me.7.man b/tmac/groff_me.7.man
index ab3f4aea7..a8daf3569 100644
--- a/tmac/groff_me.7.man
+++ b/tmac/groff_me.7.man
@@ -5,6 +5,11 @@ groff_me \- \(lqme\(rq macro package for formatting documents with GNU \
roff
.
.
+.\" Save and disable compatibility mode (for, e.g., Solaris 10/11).
+.do nr groff_me_C \n[.C]
+.cp 0
+.
+.
.\" ====================================================================
.\" Legal Terms
.\" ====================================================================
@@ -520,8 +525,13 @@ and
.BR tbl (1).
.
.
+.\" Restore compatibility mode (for, e.g., Solaris 10/11).
+.cp \n[groff_me_C]
+.
+.
.\" Local Variables:
.\" mode: nroff
+.\" fill-column: 72
.\" tab-with: 20
.\" End:
-.\" vim: set filetype=nroff tabstop=20:
+.\" vim: set filetype=groff tabstop=20 textwidth=72: