Difference between revisions of "Ctrl"

From NetHackWiki
Jump to navigation Jump to search
({{Keyboard Commands}})
m (link to "redraw screen")
 
Line 9: 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. (tty version only)
 
*Press {{kbd|Ctrl|z}} to [[Shell escape|suspend]] NetHack. (tty version only)

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.