From 387140956057e74790fdc4e0c80fa38d112b495e Mon Sep 17 00:00:00 2001 From: "G. Branden Robinson" Date: Sat, 25 Oct 2025 19:42:51 -0500 Subject: [PATCH] doc/nethack.6: Fix poor commented-out *roff syntax MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit groff_man_style(7): Portability ... \e Format the roff escape character on the output; widely used in man pages to render a backslash glyph. It works reliably as long as the “ec” request is not used, which should never happen in man pages, and it is slightly more portable than the more explicit \[rs] (“reverse solidus”) special character escape sequence. This change's purpose is to put things right in case the change I'm proposing next to delete this language entirely gets reverted. --- doc/nethack.6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/nethack.6 b/doc/nethack.6 index 605bb56ff..7e0ddde02 100644 --- a/doc/nethack.6 +++ b/doc/nethack.6 @@ -242,7 +242,7 @@ You can specify either the male or female name for the character role, or the first three characters of the role as an abbreviation. .\" .B "\-p @" .\" has been retained to explicitly request that a random role be chosen. -.\" It may need to be quoted with a backslash (\\@) if @ +.\" It may need to be quoted with a backslash (\e@) if @ .\" is the "kill" character (see "stty") for the terminal, in order .\" to prevent the current input line from being cleared. .PP