fix #K3886 - "%USERPROFILE%\NetHack\" in Guidebook
Report was that recent Guidebook.txt contained a couple of instances of spurious "(rq". In Guidebook.mn, "\\%USERPROFILE%\\NetHack\\(rq" needed three backslashes near the end, the first two to insert one into the output and the third for intended "\(rq" directive. It also shouldn't have leading backslashes; expansion of %USERPROFILE% doesn't need that. "\%" would work but isn't necessary. Also, prevent "%USERPROFILE\NetHack\" from being hyphenated, plus a minor change in wording so that it won't be in position to warrant that.
This commit is contained in:
@@ -3420,8 +3420,8 @@ for system administrators.
|
|||||||
.hn 2
|
.hn 2
|
||||||
Using a configuration file
|
Using a configuration file
|
||||||
.pg
|
.pg
|
||||||
.\" hw: don't hyphenate file names
|
.\" hw: don't hyphenate file names; percent-sign doesn't need special handling
|
||||||
.hw .nethackrc defaults.nh nethack.exe nethackW.exe
|
.hw .nethackrc defaults.nh nethack.exe nethackW.exe %USERPROFILE%\\NetHack\\
|
||||||
The default name of the configuration file varies on different
|
The default name of the configuration file varies on different
|
||||||
operating systems.
|
operating systems.
|
||||||
.pg
|
.pg
|
||||||
@@ -3432,15 +3432,16 @@ and macOS it is \(lq.nethackrc\(rq in the user's home directory.
|
|||||||
The file may not exist, but it is a normal ASCII text file and
|
The file may not exist, but it is a normal ASCII text file and
|
||||||
can be created with any text editor.
|
can be created with any text editor.
|
||||||
.pg
|
.pg
|
||||||
On Windows, it is \(lq.nethackrc\(rq in the folder
|
On Windows, the name is \(lq.nethackrc\(rq located in the folder
|
||||||
\(lq\\%USERPROFILE%\\NetHack\\(rq. The file may not exist,
|
\(lq%USERPROFILE%\\NetHack\\\(rq.
|
||||||
|
The file may not exist,
|
||||||
but it is a normal ASCII text file can can be created with any
|
but it is a normal ASCII text file can can be created with any
|
||||||
text editor.
|
text editor.
|
||||||
After running NetHack for the first time, you should find a default
|
After running NetHack for the first time, you should find a default
|
||||||
template for the configuration file named \(lq.nethackrc.template\(rq
|
template for the configuration file named \(lq.nethackrc.template\(rq
|
||||||
in \(lq\\%USERPROFILE%\\NetHack\\(rq.
|
in \(lq%USERPROFILE%\\NetHack\\\(rq.
|
||||||
If you had not created the configuration file, NetHack will create
|
If you have not created the configuration file, NetHack will create
|
||||||
the configuration file for you using the default template file.
|
one for you using the default template file.
|
||||||
.pg
|
.pg
|
||||||
On MS-DOS, it is \(lqdefaults.nh\(rq in the same folder as nethack.exe.
|
On MS-DOS, it is \(lqdefaults.nh\(rq in the same folder as nethack.exe.
|
||||||
.pg
|
.pg
|
||||||
|
|||||||
@@ -3719,19 +3719,21 @@ operating systems.\\
|
|||||||
|
|
||||||
%.lp ""
|
%.lp ""
|
||||||
On UNIX, Linux and macOS it is \mbox{``.nethackrc''} in the user's home
|
On UNIX, Linux and macOS it is \mbox{``.nethackrc''} in the user's home
|
||||||
directory. The file may not exist, but it is a normal ASCII text file and
|
directory.
|
||||||
|
The file may not exist, but it is a normal ASCII text file and
|
||||||
can be created with any text editor.\\
|
can be created with any text editor.\\
|
||||||
|
|
||||||
%.lp ""
|
%.lp ""
|
||||||
On Windows, it is \mbox{``.nethackrc''} in the folder
|
On Windows, the name is \mbox{``.nethackrc''} location in the folder
|
||||||
\mbox{{``\%USERPROFILE\%\textbackslash NetHack\textbackslash''}}. The
|
\mbox{{``\%USERPROFILE\%\textbackslash NetHack\textbackslash''}}.
|
||||||
file may not exist, but it is a normal ASCII text file and can be created
|
The file may not exist,
|
||||||
with any text editor.
|
but it is a normal ASCII text file and can be created with any
|
||||||
|
text editor.
|
||||||
After runing {\it NetHack\/} for the first time, you should find a default
|
After runing {\it NetHack\/} for the first time, you should find a default
|
||||||
template for ths configuration file named \mbox{``.nethackrc.template''} in
|
template for ths configuration file named \mbox{``.nethackrc.template''} in
|
||||||
\mbox{{``\%USERPROFILE\%\textbackslash NetHack\textbackslash''}}.
|
\mbox{{``\%USERPROFILE\%\textbackslash NetHack\textbackslash''}}.
|
||||||
If you had not created the configuration file, {\it NetHack\/} will create
|
If you have not created the configuration file, {\it NetHack\/} will create
|
||||||
the configuration file for you using the default template file.
|
the configuration file for you using the default template file.\\
|
||||||
|
|
||||||
%.lp ""
|
%.lp ""
|
||||||
On MS-DOS it is \mbox{``defaults.nh''} in the same folder as
|
On MS-DOS it is \mbox{``defaults.nh''} in the same folder as
|
||||||
|
|||||||
Reference in New Issue
Block a user