Difference between revisions of "^Z"

From NetHackWiki
Jump to navigation Jump to search
(There's nothing here likely to require review; in fact, it applies as written to Hack 1.0)
(A few words on why this is {{noversion}})
Line 1: Line 1:
The '''^Z''' (Ctrl+z) command suspends NetHack in environments that support this. ^Z is the usual *NIX<ref>http://en.wikipedia.org/wiki/%2ANIX</ref> shell keybind which suspends the foremost process, but NetHack is suspended using ^Z no matter what the current setting is. Windows' cmd.exe does not allow ^Z, but many *NIX shells will. When [[NetHack]] is suspended, the shell it was run from is brought into focus. NetHack is still alive, but it is frozen. Running the fg shell builtin will awaken NetHack.
+
The '''^Z''' (Ctrl+z) command suspends [[NetHack]] in environments that support this. ^Z is the usual [[Unix|*NIX]]<ref>http://en.wikipedia.org/wiki/%2ANIX</ref> shell keybind which suspends the foremost process, but NetHack is suspended using ^Z no matter what the current setting is. Windows' cmd.exe does not allow ^Z, but many *NIX shells will. When NetHack is suspended, the shell it was run from is brought into focus. NetHack is still alive, but it is frozen. Running the fg shell builtin will awaken NetHack.
 +
 
 +
^Z is not in fact a feature of NetHack, but of the *NIX shell that runs it.
  
 
==References==
 
==References==

Revision as of 02:37, 27 May 2008

The ^Z (Ctrl+z) command suspends NetHack in environments that support this. ^Z is the usual *NIX[1] shell keybind which suspends the foremost process, but NetHack is suspended using ^Z no matter what the current setting is. Windows' cmd.exe does not allow ^Z, but many *NIX shells will. When NetHack is suspended, the shell it was run from is brought into focus. NetHack is still alive, but it is frozen. Running the fg shell builtin will awaken NetHack.

^Z is not in fact a feature of NetHack, but of the *NIX shell that runs it.

References