Difference between revisions of "^"

From NetHackWiki
Jump to navigation Jump to search
 
(Formatting + copyedit)
 
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
#REDIRECT [[Trap]]
+
{{ASCII}}
 +
In ''[[NetHack]]'', the '''caret''' symbol ('''^''') serves the following purposes:
 +
 
 +
* In the dungeon, a {{white|^}} represents most [[trap]]s, including [[magic portal]]s but not counting [[web]]s.
 +
* Press {{kbd|^}} for the [[Trap id|trap ID]] command.
 +
* {{kbd|^}} is the default for the [[menu_first_page]] option, and is supported by [[tty]] and [[curses interface]]s; see [[menu controls]].
 +
 
 +
The caret is also used as a prefix to denote a [[Ctrl|control character]], e.g. using {{kbd|Ctrl|P}} to review previous messages - this is a standard [[UNIX]] usage also present in the [[MS-DOS]] and [[Microsoft Windows]] text-mode interfaces.
 +
{{nethack-367}}
 +
[[Category:ASCII]]

Latest revision as of 05:56, 21 June 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

In NetHack, the caret symbol (^) serves the following purposes:

The caret is also used as a prefix to denote a control character, e.g. using Ctrl + P to review previous messages - this is a standard UNIX usage also present in the MS-DOS and Microsoft Windows text-mode interfaces.