Difference between revisions of "Ctrl"

From NetHackWiki
Jump to navigation Jump to search
(not everybody uses tty or linux versions.)
m
Line 11: Line 11:
 
*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)
*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 29: Line 29:
  
 
*{{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 (tty version only). 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.

Revision as of 20:50, 29 November 2010

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

  • Press Ctrl + t to teleport.
  • Press Ctrl + d to kick something.
  • Press Ctrl + a to redo the previous command.
  • Press Ctrl + p to repeat previous messages.
  • Press Ctrl + c to quit game.
  • Press Ctrl + r to redraw screen.
  • Press Ctrl + x to show your attributes.
  • Press Ctrl + z to suspend NetHack. (tty version only)
  • Pressing Ctrl + [ or Ctrl + @ is equivalent to pressing ESC key (cancels commands).
  • Pressing Ctrl with direction key will move that direction until you are near something.

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.