Difference between revisions of "^"

From NetHackWiki
Jump to navigation Jump to search
m (Grammar)
(Formatting + copyedit)
 
Line 1: Line 1:
 
{{ASCII}}
 
{{ASCII}}
The '''caret ^''' has a few purposes:
+
In ''[[NetHack]]'', the '''caret''' symbol ('''^''') serves the following purposes:
* A {{white|^}} on the screen represents a [[trap]], including the quest portal if on the rogue level.
 
* Press {{kbd|^}} for the [[trap_id]] command.
 
* {{kbd|^}} is the default for the [[menu_first_page]] option.  Supported by [[tty]] and [[curses interface]]s, see [[menu controls]].
 
  
The caret is also used as a prefix to denote a control character; for example, use [[P|'''^P''' (control-p)]] to review previous messages. This is a standard [[UNIX]] usage that's also used by the [[MS-DOS]] and [[Microsoft Windows]] text-mode interfaces.
+
* 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]]
 
[[Category:ASCII]]
{{nethack-343}}
 

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.