Fixes #26 Report stated that the attempt to look up the player's username (on Unix) failed (reason unknown) and nethack refused to allow the player to execute the #explore command even though sysconf was set to use character names (CHECK_PLNAME=1) instead of user names. Setting EXPLORERS to "*" overcomes this glitch, but the fix moves a bit of code around to honor CHECK_PLNAME before fetching username so that that isn't necessary. I ended up doing some formattng clean up (replace tabs with spaces, whitespace cleanup in 'port_insert_pastebuf()'). The actual change to fix #26 is only a few lines.
22 KiB
22 KiB