Difference between revisions of "Unused symbols"

From NetHackWiki
Jump to navigation Jump to search
(tty port (only?))
(link symbols; yes it's in the template but it's more visible here)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{ASCII}}
 
{{ASCII}}
The ASCII characters '''6''', '''7''', '''8''', and '''9''' are not used to represent anything in NetHack by default. However, you can use the keys '''{{kbd|0}}'''–'''{{kbd|9}}''' to specify a [[numeric prefix]] for a command or in a menu.
+
The ASCII characters '''[[6]]''', '''[[7]]''', '''[[8]]''', and '''[[9]]''' are not used to represent anything in NetHack by default. However, you can use the keys '''{{kbd|0}}'''–'''{{kbd|9}}''' to specify a [[numeric prefix]] for a command or in a menu.
  
''',''' is used only on the [[Rogue level]] to represent an [[amulet]]. {{kbd|,}} is also the [[pick up]] command, and the [[Menu_controls|command to select all things]] on the current page in a menu in the [[tty]] and [[curses interface]]s.
+
Every character except 6 is used in variants, while 8 and 9 were historically used in vanilla NetHack; see the individual articles for more information.
  
 
+
{{nethack-367}}
Some players change the "monsters" option in the [[options]] file to take advantage of one of these unused symbols. A default line looks like:
 
 
 
OPTIONS=monsters:abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@ '&;:~]
 
 
 
One alternative is:
 
 
 
OPTIONS=monsters:abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ@8'&;:~]
 
 
 
which uses "8" for [[ghost]]s and [[shade]]s. This makes them detectable via [[telepathy]] as well as generally easier to see.
 
 
 
== Historical uses ==
 
* '''8''' was used as the glyph for [[Medusa]] in some early versions of NetHack – from [[NetHack 2.2a]] through to [[NetHack 2.3e]]
 
* '''9''' was used as the glyph for the generic giant in some early versions of NetHack – from [[NetHack 1.3d]] through to [[NetHack 2.3e]]
 
* ''',''' was used as the glyph for the [[trapper]] in some early versions of NetHack – from [[NetHack 1.3d]] through to [[NetHack 2.3e]]
 
 
 
{{nethack-343}}
 
 
[[Category:ASCII]]
 
[[Category:ASCII]]

Latest revision as of 03:33, 14 December 2023

Printable ASCII characters
~ ! @ # $ % ^ & * ( ) _ + space
` 1 2 3 4 5 6 7 8 9 0 - = { } |
Qq Ww Ee Rr Tt Yy Uu Ii Oo Pp : " [ ] \
Aa Ss Dd Ff Gg Hh Jj Kk Ll ? ; ' Ctrl
Zz Xx Cc Vv Bb Nn Mm , . / < > Alt

The ASCII characters 6, 7, 8, and 9 are not used to represent anything in NetHack by default. However, you can use the keys 09 to specify a numeric prefix for a command or in a menu.

Every character except 6 is used in variants, while 8 and 9 were historically used in vanilla NetHack; see the individual articles for more information.