doc/nethack.6: Be more portable to old roffs (2/4)

Old *roffs don't support the `ti` special character.  Compensate.

Before (DWB, Solaris 10):
            The --nethackrc:RC-file option will use RC-file  instead  of
            the   default   run-time   configuration   file   (typically
            /.nethackrc) and the --no-nethackrc option can  be  used  to
            skip any run-time configuration file.

Before (Plan 9):
          The --nethackrc:RC-file option will use RC-file  instead  of
          the   default   run-time   configuration   file   (typically
          ti/.nethackrc) and the --no-nethackrc option can be  used  to
          skip any run-time configuration file.

After (all):
            The --nethackrc:RC-file option will use RC-file  instead  of
            the   default   run-time   configuration   file   (typically
            ~/.nethackrc) and the --no-nethackrc option can be  used  to
            skip any run-time configuration file.
This commit is contained in:
G. Branden Robinson
2026-05-06 04:53:12 -05:00
parent 14430511bd
commit afeec3dd65
+7 -1
View File
@@ -16,6 +16,12 @@
.ie \n(.g .hy 12
.el .hy 14
.ds Na Robert Patrick Rankin
.\" DWB, Solaris 10, and Plan 9 troffs don't support `\(ti`. Assume the
.\" best, then detect these older troffs and fall back as needed.
.\"
.\" Put NO SPACE between special character and comment escape sequences.
.ds ~ \(ti\" The name "ti" is taken by *roff's `ti` request.
.if !\n(.g .ds ~ ~
.\" Define string to exercise groff's hyphenless break point feature.
.ie \n(.g .ds : \:
.el .ds : \" empty
@@ -368,7 +374,7 @@ The
option will use
.I RC-file
instead of the default run-time configuration file
.RI "(typically " \(ti/.nethackrc ")"
.RI "(typically " \*~/.nethackrc ")"
and the
.B \-\-no\-nethackrc
option can be used to skip any run-time configuration file.