From 5d1f3e99574304347d868baf303d5b5392869b6d Mon Sep 17 00:00:00 2001 From: PatR Date: Sun, 9 Jul 2023 15:31:24 -0700 Subject: [PATCH] github PR #1075 - same RC file for Windows Pull request from erwinton: the template run-time configuration file had a MENUCOLOR pattern for cursed worn armor that didn't work. The regular epxression containing "(being worn)" needed to quote its parentheses. The same fix was needed for sys/share/NetHack.cnf. Closes #1075 --- doc/fixes3-7-0.txt | 5 ++++- sys/share/NetHack.cnf | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/fixes3-7-0.txt b/doc/fixes3-7-0.txt index 3f643f102..edfcc231f 100644 --- a/doc/fixes3-7-0.txt +++ b/doc/fixes3-7-0.txt @@ -1783,8 +1783,9 @@ curses: selecting a partial stack, unselecting it, and then selecting it macOS: Xcode project was failing to build if the path to the NetHack source tree contained a space; the issue was within some shell script code contained within the project -msdos: add -DSTATUES_LOOK_LIKE_MONSTERS to Makefile1.cross so the VESA mode +MS-DOS: add -DSTATUES_LOOK_LIKE_MONSTERS to Makefile1.cross so the VESA mode can display statue glyphs +MS-DOS: sample config file had same MENUCOLOR flaw as Windows (see below) Qt: quit if can't load tiles file instead of continuing and then segfaulting Qt: [later] tiles load failure at startup now continues using an ascii map Qt: use more columns for extended command selection dialog so that the number @@ -1936,6 +1937,8 @@ Windows: When there was no interesting background in get_bk_glyph() GLYPH_UNEXPLORED as a background tile to merge with the foreground tile, so check for GLYPH_UNEXPLORED and bypass that Windows: fix range error detected by address sanitizer in plselInitDialog() +Windows: the .nethackrc template contained a sample MENUCOLOR pattern for + "cursed .* (being worn)" which didn't work; parentheses need quotes X11: substantial overhaul of status display, both 'fancy' and 'tty-style' X11: extend fancy status one-turn inverse video status-change highlighting to hunger, encumbrance, and conditions diff --git a/sys/share/NetHack.cnf b/sys/share/NetHack.cnf index 9fe26f5b8..771b5ab67 100644 --- a/sys/share/NetHack.cnf +++ b/sys/share/NetHack.cnf @@ -128,4 +128,4 @@ OPTIONS=time,noshowexp,number_pad:2,lit_corridor #MENUCOLOR=" holy "=green #MENUCOLOR=" cursed "=red #MENUCOLOR=" unholy "=red -#MENUCOLOR=" cursed .* (being worn)"=orange&underline +#MENUCOLOR=" cursed .* \(being worn\)"=orange&underline