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 ...')
 
(not everybody uses tty or linux versions.)
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.
+
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}}.
 +
 
 
==Commands that use Ctrl==
 
==Commands that use Ctrl==
 
*Press {{kbd|Ctrl|t}} to [[teleport]].
 
*Press {{kbd|Ctrl|t}} to [[teleport]].
Line 9: Line 10:
 
*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 (cancells 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 untill you are near something.
Line 28: 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. 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 respoding, try pressing {{kbd|Ctrl|q}}, especially if you use Screen program.

Revision as of 12:42, 22 July 2009

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 (cancells commands).
  • Pressing Ctrl with direction key will move that direction untill 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 respoding, try pressing Ctrl + q, especially if you use Screen program.