Difference between revisions of "Ctrl"

From NetHackWiki
Jump to navigation Jump to search
(Created page with '{{wikipedia|Ctrl}} There are several commands in NetHack that use {{kbd|Ctrl}} key. {{kbd|Ctrl}} key allows sending some non-printable characters to NetHack. ==Commands that use ...')
 
m (link to "redraw screen")
 
(6 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{wikipedia|Ctrl}}
 
{{wikipedia|Ctrl}}
There are several commands in NetHack that use {{kbd|Ctrl}} key. {{kbd|Ctrl}} key allows sending some non-printable characters to NetHack.
+
{{Keyboard Commands}}
 +
There are several commands in NetHack that use {{kbd|Ctrl}} key. {{kbd|Ctrl}} key allows sending some non-printable characters to NetHack. The Mac port uses {{kbd|Apple|link=0}}.
 +
 
 
==Commands that use Ctrl==
 
==Commands that use Ctrl==
 
*Press {{kbd|Ctrl|t}} to [[teleport]].
 
*Press {{kbd|Ctrl|t}} to [[teleport]].
Line 7: Line 9:
 
*Press {{kbd|Ctrl|p}} to repeat previous messages.
 
*Press {{kbd|Ctrl|p}} to repeat previous messages.
 
*Press {{kbd|Ctrl|c}} to [[quit]] game.
 
*Press {{kbd|Ctrl|c}} to [[quit]] game.
*Press {{kbd|Ctrl|r}} to redraw screen.
+
*Press {{kbd|Ctrl|r}} to [[redraw screen]].
 
*Press {{kbd|Ctrl|x}} to show your attributes.
 
*Press {{kbd|Ctrl|x}} to show your attributes.
*Press {{kbd|Ctrl|z}} to [[Shell escape|suspend]] NetHack.
+
*Press {{kbd|Ctrl|z}} to [[Shell escape|suspend]] NetHack. (tty version only)
*Pressing {{kbd|Ctrl|[}} or {{kbd|Ctrl|@}} is equivalent to pressing {{kbd|ESC}} key (cancells commands).
+
*Pressing {{kbd|Ctrl|[}} or {{kbd|Ctrl|@}} is equivalent to pressing {{kbd|ESC}} key (cancels commands).
*Pressing {{kbd|Ctrl}} with [[direction]] key will move that direction untill you are near something.
+
*Pressing {{kbd|Ctrl}} with [[direction]] key will move that direction until you are near something.
  
 
==Wizard mode==
 
==Wizard mode==
Line 28: Line 30:
  
 
*{{kbd|Ctrl|m}} acts in a same way as {{kbd|Ctrl|j}}  
 
*{{kbd|Ctrl|m}} acts in a same way as {{kbd|Ctrl|j}}  
*{{kbd|Ctrl|s}} and {{kbd|Ctrl|q}} are sometimes used to pause and resume terminal output. If NetHacks seems to stop respoding, try pressing {{kbd|Ctrl|q}}, especially if you use Screen program.
+
*{{kbd|Ctrl|s}} and {{kbd|Ctrl|q}} are sometimes used to pause and resume terminal output (tty version only). If NetHacks seems to stop responding, try pressing {{kbd|Ctrl|q}}, especially if you use Screen program.
 +
 
 +
[[Category:User interface]]

Latest revision as of 00:02, 20 January 2021

Keyboard commands
~ ! @ # $ % ^ & * ( ) _ = +
Q W E R T Y U I O P { } |
q w e r t y u i o p [ ] \
A S D F G H J K L : "
a s d f g h j k l ; '
Z X C V B N M < > ?
z x c v b n m , . /
q w e r t u i o p Alt
a s d f j l Alt
c v n m ? Alt
A C R T O Alt
a c d o p r t [ Ctrl

There are several commands in NetHack that use Ctrl key. Ctrl key allows sending some non-printable characters to NetHack. The Mac port uses Apple.

Commands that use Ctrl

Wizard mode

Several commands are available only in Wizard mode.

Other

  • Ctrl + m acts in a same way as Ctrl + j
  • Ctrl + s and Ctrl + q are sometimes used to pause and resume terminal output (tty version only). If NetHacks seems to stop responding, try pressing Ctrl + q, especially if you use Screen program.