DECgraphics
DECgraphics is an option that displays walls as continuous lines rather than as broken dashes, which is the best that plain ASCII can do. It also displays certain dungeon features with distinct symbols. DECgraphics is a smaller character set than IBMgraphics, so it is missing some symbols, particularly on the Rogue level.
DECgraphics requires a display device that displays DEC Special Graphics. DEC Special Graphics works by sending the terminal an escape code which tells it to toggle to an alternate character set with line drawing characters. The curses SYMSET also uses DEC Special Graphics to approximate IBMgraphics.
To use DECgraphics, the option must be set to TRUE, either in-game or in the configuration file.
The complete symbol list
Because the DEC Special Graphics character set is limited, the Rogue level is rendered using only normal ASCII characters.
The symbols affected by DECgraphics in the normal dungeon are listed here. DEC Special Graphics is a 7bit system. The code points listed here use the NetHack internal representation, which sets the 8th bit high.
Code point | Usage | Appearance | ASCII |
---|---|---|---|
0xf8 | vwall | │ | | |
0xf1 | hwall | ─ | - |
0xec | tlcorn | ┌ | - |
0xeb | trcorn | ┐ | - |
0xed | blcorn | └ | - |
0xea | brcorn | ┘ | - |
0xee | crwall | ┼ | - |
0xf6 | tuwall | ┴ | - |
0xf7 | tdwall | ┬ | - |
0xf5 | tlwall | ┤ | | |
0xf4 | trwall | ├ | | |
0xfe | ndoor | · | . |
0xe1 | vodoor | ▒ | - |
0xe1 | hodoor | ▒ | | |
0xfc | bars | ≠ | # |
0xe7 | tree | ± | # |
0xfe | room | · | . |
0xf9 | upladder | ≤ | < |
0xfa | dnladder | ≥ | > |
0xfb | altar | π | _ |
0xe0 | pool | ◆ | } |
0xfe | ice | · | . |
0xe0 | lava | ◆ | } |
0xfe | vodbridge | · | . |
0xfe | hodbridge | · | . |
0xe0 | under water | ◆ | } |
0xf8 | vbeam | │ | | |
0xf1 | hbeam | ─ | - |
0xef | swallow top center | ⎺ | - |
0xf8 | swallow middle left | │ | | |
0xf8 | swallow middle right | │ | | |
0xf3 | swallow bottom center | ⎽ | - |
0xef | explosion top center | ⎺ | - |
0xf8 | explosion middle left | │ | | |
0xf8 | explosion middle right | │ | | |
0xf3 | explosion bottom center | ⎽ | - |