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:
+7
-1
@@ -16,6 +16,12 @@
|
|||||||
.ie \n(.g .hy 12
|
.ie \n(.g .hy 12
|
||||||
.el .hy 14
|
.el .hy 14
|
||||||
.ds Na Robert Patrick Rankin
|
.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.
|
.\" Define string to exercise groff's hyphenless break point feature.
|
||||||
.ie \n(.g .ds : \:
|
.ie \n(.g .ds : \:
|
||||||
.el .ds : \" empty
|
.el .ds : \" empty
|
||||||
@@ -368,7 +374,7 @@ The
|
|||||||
option will use
|
option will use
|
||||||
.I RC-file
|
.I RC-file
|
||||||
instead of the default run-time configuration file
|
instead of the default run-time configuration file
|
||||||
.RI "(typically " \(ti/.nethackrc ")"
|
.RI "(typically " \*~/.nethackrc ")"
|
||||||
and the
|
and the
|
||||||
.B \-\-no\-nethackrc
|
.B \-\-no\-nethackrc
|
||||||
option can be used to skip any run-time configuration file.
|
option can be used to skip any run-time configuration file.
|
||||||
|
|||||||
Reference in New Issue
Block a user