setting a custom symbol map in 64 bit version produces strange results
Bug #569971 reported by
Alexander Gabriel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nethack (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Ubuntu version is 9.10
Package version is 3.4.3-10.6ubuntu2
Configuring a custom symbol map via the config file leads to unexpected results.
Tested with "DUNGEONS=" option. Values seem to get excepted mod 128. The effect is that much of the ascii symbol table needed to display the dungeon can't be reached.
Example:
"|" for vertical walls corresponds to code 179.
179 mod 128 equals 51.
So instead of "|" nethack displays "3" (which corresponds to code 51).
To post a comment you must log in.
Using 8-bit characters (>= 128) requires enabling the 'eight_bit_tty' option. The option is disabled by default because it generally requires some terminal configuration adjustments for the characters to display properly.