<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=%5EZ</id>
	<title>^Z - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://nethackwiki.com/index.php?action=history&amp;feed=atom&amp;title=%5EZ"/>
	<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;action=history"/>
	<updated>2026-07-21T21:07:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.5</generator>
	<entry>
		<id>https://nethackwiki.com/index.php?title=%5EZ&amp;diff=82633&amp;oldid=prev</id>
		<title>Bcode: -wikipedia ref, there's nothing to provide a reference for; ref fix</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;diff=82633&amp;oldid=prev"/>
		<updated>2013-02-07T20:28:05Z</updated>

		<summary type="html">&lt;p&gt;-wikipedia ref, there&amp;#039;s nothing to provide a reference for; ref fix&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:28, 7 February 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{todo|merge with [[Shell escape]]?}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{todo|merge with [[Shell escape]]?}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' ({{kbd|ctrl|z}}) command suspends [[NetHack]] in environments that support this. ^Z is the usual [[Unix|*NIX]]&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; &lt;/del&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' ({{kbd|ctrl|z}}) command suspends [[NetHack]] in environments that support this. ^Z is the usual [[Unix|*NIX]] 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.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NetHack sets the terminal to &amp;quot;raw mode&amp;quot;, in which all incoming keystrokes go directly to the running program without any attempt by the device driver to interpret them.  A terminal which displays a shell prompt is usually in &amp;quot;cooked mode&amp;quot;, in which such nice features as backspace, or Ctrl-C to stop a program, or Ctrl-Z for job control, are handled by the driver.  That's fine for a shell, which takes all input in complete lines terminated by the press of an ENTER or RETURN key; but it will not do for NetHack, which needs each key as it is, when it is pressed.  Thus NetHack has to provide its own support for such things as backspace when it is appropriate, and for Ctrl-Z.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NetHack sets the terminal to &amp;quot;raw mode&amp;quot;, in which all incoming keystrokes go directly to the running program without any attempt by the device driver to interpret them.  A terminal which displays a shell prompt is usually in &amp;quot;cooked mode&amp;quot;, in which such nice features as backspace, or Ctrl-C to stop a program, or Ctrl-Z for job control, are handled by the driver.  That's fine for a shell, which takes all input in complete lines terminated by the press of an ENTER or RETURN key; but it will not do for NetHack, which needs each key as it is, when it is pressed.  Thus NetHack has to provide its own support for such things as backspace when it is appropriate, and for Ctrl-Z.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you press Ctrl-Z, the function &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;&amp;gt;&amp;lt;ref&lt;/del&gt;&amp;gt;{{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;sourcecode&lt;/del&gt;|NetHack 1.3d&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/ioctl.c&lt;/del&gt;|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;35}}; &lt;/del&gt;the corresponding code in [[NetHack 3.4.3]] is in &amp;lt;code&amp;gt;sys/share/ioctl.c&amp;lt;/code&amp;gt;, which has not been uploaded to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;NetHackWiki.&amp;lt;/ref&amp;gt; &lt;/del&gt;is called; at this level Ctrl-Z works like any other command. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt; &lt;/del&gt;&amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt; sets the terminal back to &amp;quot;cooked mode&amp;quot; and then sends the signal SIGTSTP to NetHack itself, emulating the normal behavior of the terminal in &amp;quot;cooked mode&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you press Ctrl-Z, the function &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt;{{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;refsrc&lt;/ins&gt;|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ioctl.c|35|version=&lt;/ins&gt;NetHack 1.3d|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;comment=&lt;/ins&gt;the corresponding code in [[NetHack 3.4.3]] is in &amp;lt;code&amp;gt;sys/share/ioctl.c&amp;lt;/code&amp;gt;, which has not been uploaded to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{SITENAME}}}} &lt;/ins&gt;is called; at this level Ctrl-Z works like any other command. &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt; sets the terminal back to &amp;quot;cooked mode&amp;quot; and then sends the signal SIGTSTP to NetHack itself, emulating the normal behavior of the terminal in &amp;quot;cooked mode&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the signal SIGTSTP does not exist, then the job control is not supported, and Ctrl-Z does not work.  Most modern Unix-like systems support job control, including all versions of Linux and BSD.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the signal SIGTSTP does not exist, then the job control is not supported, and Ctrl-Z does not work.  Most modern Unix-like systems support job control, including all versions of Linux and BSD.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Bcode</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=%5EZ&amp;diff=63215&amp;oldid=prev</id>
		<title>Paxed: merge?</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;diff=63215&amp;oldid=prev"/>
		<updated>2011-01-12T20:19:25Z</updated>

		<summary type="html">&lt;p&gt;merge?&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:19, 12 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{ASCII}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{ASCII}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{todo|merge with [[Shell escape]]?}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' ({{kbd|ctrl|z}}) command suspends [[NetHack]] in environments that support this. ^Z is the usual [[Unix|*NIX]]&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; 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.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' ({{kbd|ctrl|z}}) command suspends [[NetHack]] in environments that support this. ^Z is the usual [[Unix|*NIX]]&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; 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.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Paxed</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=%5EZ&amp;diff=63214&amp;oldid=prev</id>
		<title>Paxed: kbd, ascii table</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;diff=63214&amp;oldid=prev"/>
		<updated>2011-01-12T20:17:13Z</updated>

		<summary type="html">&lt;p&gt;kbd, ascii table&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 20:17, 12 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' (&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Ctrl+&lt;/del&gt;z) command suspends [[NetHack]] in environments that support this. ^Z is the usual [[Unix|*NIX]]&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; 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.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{ASCII}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' (&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{kbd|ctrl|&lt;/ins&gt;z&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;}}&lt;/ins&gt;) command suspends [[NetHack]] in environments that support this. ^Z is the usual [[Unix|*NIX]]&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; 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.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NetHack sets the terminal to &amp;quot;raw mode&amp;quot;, in which all incoming keystrokes go directly to the running program without any attempt by the device driver to interpret them.  A terminal which displays a shell prompt is usually in &amp;quot;cooked mode&amp;quot;, in which such nice features as backspace, or Ctrl-C to stop a program, or Ctrl-Z for job control, are handled by the driver.  That's fine for a shell, which takes all input in complete lines terminated by the press of an ENTER or RETURN key; but it will not do for NetHack, which needs each key as it is, when it is pressed.  Thus NetHack has to provide its own support for such things as backspace when it is appropriate, and for Ctrl-Z.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NetHack sets the terminal to &amp;quot;raw mode&amp;quot;, in which all incoming keystrokes go directly to the running program without any attempt by the device driver to interpret them.  A terminal which displays a shell prompt is usually in &amp;quot;cooked mode&amp;quot;, in which such nice features as backspace, or Ctrl-C to stop a program, or Ctrl-Z for job control, are handled by the driver.  That's fine for a shell, which takes all input in complete lines terminated by the press of an ENTER or RETURN key; but it will not do for NetHack, which needs each key as it is, when it is pressed.  Thus NetHack has to provide its own support for such things as backspace when it is appropriate, and for Ctrl-Z.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Paxed</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=%5EZ&amp;diff=53985&amp;oldid=prev</id>
		<title>Tjr: Text replace - &quot;NethackWiki&quot; to &quot;NetHackWiki&quot;</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;diff=53985&amp;oldid=prev"/>
		<updated>2010-11-11T18:05:12Z</updated>

		<summary type="html">&lt;p&gt;Text replace - &amp;quot;NethackWiki&amp;quot; to &amp;quot;NetHackWiki&amp;quot;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:05, 11 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NetHack sets the terminal to &amp;quot;raw mode&amp;quot;, in which all incoming keystrokes go directly to the running program without any attempt by the device driver to interpret them.  A terminal which displays a shell prompt is usually in &amp;quot;cooked mode&amp;quot;, in which such nice features as backspace, or Ctrl-C to stop a program, or Ctrl-Z for job control, are handled by the driver.  That's fine for a shell, which takes all input in complete lines terminated by the press of an ENTER or RETURN key; but it will not do for NetHack, which needs each key as it is, when it is pressed.  Thus NetHack has to provide its own support for such things as backspace when it is appropriate, and for Ctrl-Z.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NetHack sets the terminal to &amp;quot;raw mode&amp;quot;, in which all incoming keystrokes go directly to the running program without any attempt by the device driver to interpret them.  A terminal which displays a shell prompt is usually in &amp;quot;cooked mode&amp;quot;, in which such nice features as backspace, or Ctrl-C to stop a program, or Ctrl-Z for job control, are handled by the driver.  That's fine for a shell, which takes all input in complete lines terminated by the press of an ENTER or RETURN key; but it will not do for NetHack, which needs each key as it is, when it is pressed.  Thus NetHack has to provide its own support for such things as backspace when it is appropriate, and for Ctrl-Z.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you press Ctrl-Z, the function &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;{{sourcecode|NetHack 1.3d/ioctl.c|35}}; the corresponding code in [[NetHack 3.4.3]] is in &amp;lt;code&amp;gt;sys/share/ioctl.c&amp;lt;/code&amp;gt;, which has not been uploaded to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;NethackWiki&lt;/del&gt;.&amp;lt;/ref&amp;gt; is called; at this level Ctrl-Z works like any other command.  &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt; sets the terminal back to &amp;quot;cooked mode&amp;quot; and then sends the signal SIGTSTP to NetHack itself, emulating the normal behavior of the terminal in &amp;quot;cooked mode&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you press Ctrl-Z, the function &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;{{sourcecode|NetHack 1.3d/ioctl.c|35}}; the corresponding code in [[NetHack 3.4.3]] is in &amp;lt;code&amp;gt;sys/share/ioctl.c&amp;lt;/code&amp;gt;, which has not been uploaded to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;NetHackWiki&lt;/ins&gt;.&amp;lt;/ref&amp;gt; is called; at this level Ctrl-Z works like any other command.  &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt; sets the terminal back to &amp;quot;cooked mode&amp;quot; and then sends the signal SIGTSTP to NetHack itself, emulating the normal behavior of the terminal in &amp;quot;cooked mode&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the signal SIGTSTP does not exist, then the job control is not supported, and Ctrl-Z does not work.  Most modern Unix-like systems support job control, including all versions of Linux and BSD.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the signal SIGTSTP does not exist, then the job control is not supported, and Ctrl-Z does not work.  Most modern Unix-like systems support job control, including all versions of Linux and BSD.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tjr</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=%5EZ&amp;diff=53529&amp;oldid=prev</id>
		<title>Tjr: s/Wikihack/NethackWiki/</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;diff=53529&amp;oldid=prev"/>
		<updated>2010-11-08T04:03:49Z</updated>

		<summary type="html">&lt;p&gt;s/Wikihack/NethackWiki/&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 04:03, 8 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NetHack sets the terminal to &amp;quot;raw mode&amp;quot;, in which all incoming keystrokes go directly to the running program without any attempt by the device driver to interpret them.  A terminal which displays a shell prompt is usually in &amp;quot;cooked mode&amp;quot;, in which such nice features as backspace, or Ctrl-C to stop a program, or Ctrl-Z for job control, are handled by the driver.  That's fine for a shell, which takes all input in complete lines terminated by the press of an ENTER or RETURN key; but it will not do for NetHack, which needs each key as it is, when it is pressed.  Thus NetHack has to provide its own support for such things as backspace when it is appropriate, and for Ctrl-Z.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;NetHack sets the terminal to &amp;quot;raw mode&amp;quot;, in which all incoming keystrokes go directly to the running program without any attempt by the device driver to interpret them.  A terminal which displays a shell prompt is usually in &amp;quot;cooked mode&amp;quot;, in which such nice features as backspace, or Ctrl-C to stop a program, or Ctrl-Z for job control, are handled by the driver.  That's fine for a shell, which takes all input in complete lines terminated by the press of an ENTER or RETURN key; but it will not do for NetHack, which needs each key as it is, when it is pressed.  Thus NetHack has to provide its own support for such things as backspace when it is appropriate, and for Ctrl-Z.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you press Ctrl-Z, the function &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;{{sourcecode|NetHack 1.3d/ioctl.c|35}}; the corresponding code in [[NetHack 3.4.3]] is in &amp;lt;code&amp;gt;sys/share/ioctl.c&amp;lt;/code&amp;gt;, which has not been uploaded to &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Wikihack&lt;/del&gt;.&amp;lt;/ref&amp;gt; is called; at this level Ctrl-Z works like any other command.  &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt; sets the terminal back to &amp;quot;cooked mode&amp;quot; and then sends the signal SIGTSTP to NetHack itself, emulating the normal behavior of the terminal in &amp;quot;cooked mode&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;When you press Ctrl-Z, the function &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;{{sourcecode|NetHack 1.3d/ioctl.c|35}}; the corresponding code in [[NetHack 3.4.3]] is in &amp;lt;code&amp;gt;sys/share/ioctl.c&amp;lt;/code&amp;gt;, which has not been uploaded to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;NethackWiki&lt;/ins&gt;.&amp;lt;/ref&amp;gt; is called; at this level Ctrl-Z works like any other command.  &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt; sets the terminal back to &amp;quot;cooked mode&amp;quot; and then sends the signal SIGTSTP to NetHack itself, emulating the normal behavior of the terminal in &amp;quot;cooked mode&amp;quot;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the signal SIGTSTP does not exist, then the job control is not supported, and Ctrl-Z does not work.  Most modern Unix-like systems support job control, including all versions of Linux and BSD.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;If the signal SIGTSTP does not exist, then the job control is not supported, and Ctrl-Z does not work.  Most modern Unix-like systems support job control, including all versions of Linux and BSD.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l11&quot; &gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;references /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{noversion}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:User interface]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:User interface]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{noversion}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Tjr</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=%5EZ&amp;diff=32417&amp;oldid=prev</id>
		<title>Ray Chason: Some technical details on NetHack's support for Unix job control</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;diff=32417&amp;oldid=prev"/>
		<updated>2008-05-29T03:41:36Z</updated>

		<summary type="html">&lt;p&gt;Some technical details on NetHack&amp;#039;s support for Unix job control&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 03:41, 29 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' (Ctrl+z) command suspends [[NetHack]] in environments that support this. ^Z is the usual [[Unix|*NIX]]&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; 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.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' (Ctrl+z) command suspends [[NetHack]] in environments that support this. ^Z is the usual [[Unix|*NIX]]&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; 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.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;^Z &lt;/del&gt;is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;not &lt;/del&gt;in &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;fact &lt;/del&gt;a &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;feature &lt;/del&gt;of NetHack, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;but &lt;/del&gt;of the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;*NIX shell that runs it&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;NetHack sets the terminal to &amp;quot;raw mode&amp;quot;, in which all incoming keystrokes go directly to the running program without any attempt by the device driver to interpret them.  A terminal which displays a shell prompt &lt;/ins&gt;is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;usually in &amp;quot;cooked mode&amp;quot;, &lt;/ins&gt;in &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;which such nice features as backspace, or Ctrl-C to stop a program, or Ctrl-Z for job control, are handled by the driver.  That's fine for &lt;/ins&gt;a &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;shell, which takes all input in complete lines terminated by the press &lt;/ins&gt;of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;an ENTER or RETURN key; but it will not do for NetHack, which needs each key as it is, when it is pressed.  Thus NetHack has to provide its own support for such things as backspace when it is appropriate, and for Ctrl-Z.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;When you press Ctrl-Z, the function &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;{{sourcecode|NetHack 1.3d/ioctl.c|35}}; the corresponding code in [[NetHack 3.4.3]] is in &amp;lt;code&amp;gt;sys/share/ioctl.c&amp;lt;/code&amp;gt;, which has not been uploaded to Wikihack.&amp;lt;/ref&amp;gt; is called; at this level Ctrl-Z works like any other command.  &amp;lt;code&amp;gt;dosuspend&amp;lt;/code&amp;gt; sets the terminal back to &amp;quot;cooked mode&amp;quot; and then sends the signal SIGTSTP to &lt;/ins&gt;NetHack &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;itself&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;emulating the normal behavior &lt;/ins&gt;of the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;terminal in &amp;quot;cooked mode&amp;quot;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;If the signal SIGTSTP does not exist, then the job control is not supported, and Ctrl-Z does not work.  Most modern Unix-like systems support job control, including all versions of Linux and BSD&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ray Chason</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=%5EZ&amp;diff=32381&amp;oldid=prev</id>
		<title>Ray Chason: A few words on why this is {{noversion}}</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;diff=32381&amp;oldid=prev"/>
		<updated>2008-05-27T02:37:51Z</updated>

		<summary type="html">&lt;p&gt;A few words on why this is {{noversion}}&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:37, 27 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' (Ctrl+z) command suspends NetHack in environments that support this. ^Z is the usual *NIX&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; 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 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/del&gt;NetHack&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/del&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' (Ctrl+z) command suspends &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[&lt;/ins&gt;NetHack&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]] &lt;/ins&gt;in environments that support this. ^Z is the usual &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Unix|&lt;/ins&gt;*NIX&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&lt;/ins&gt;&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; 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&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;^Z is not in fact a feature of NetHack, but of the *NIX shell that runs it&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ray Chason</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=%5EZ&amp;diff=32380&amp;oldid=prev</id>
		<title>Ray Chason: There's nothing here likely to require review; in fact, it applies as written to Hack 1.0</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;diff=32380&amp;oldid=prev"/>
		<updated>2008-05-27T02:20:28Z</updated>

		<summary type="html">&lt;p&gt;There&amp;#039;s nothing here likely to require review; in fact, it applies as written to Hack 1.0&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 02:20, 27 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' (Ctrl+z) command suspends &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;nethack &lt;/del&gt;in environments that support this. ^Z is the usual *NIX&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; shell keybind which suspends the foremost process, but &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;nethack &lt;/del&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The '''^Z''' (Ctrl+z) command suspends &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;NetHack &lt;/ins&gt;in environments that support this. ^Z is the usual *NIX&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; shell keybind which suspends the foremost process, but &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;NetHack &lt;/ins&gt;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.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==References==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l6&quot; &gt;Line 6:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 6:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:User interface]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:User interface]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;nethack-343&lt;/del&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;noversion&lt;/ins&gt;}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Ray Chason</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=%5EZ&amp;diff=32375&amp;oldid=prev</id>
		<title>Rogerb-on-NAO: Categorise and clarift.</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;diff=32375&amp;oldid=prev"/>
		<updated>2008-05-27T00:29:46Z</updated>

		<summary type="html">&lt;p&gt;Categorise and clarift.&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 00:29, 27 May 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''^Z''' (Ctrl+z) is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a &lt;/del&gt;shell keybind which suspends the foremost process. Windows' cmd.exe does not allow ^Z, but many &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;UNIX &lt;/del&gt;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 &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;program &lt;/del&gt;will awaken NetHack.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/ins&gt;'''^Z''' (Ctrl+z) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;command suspends nethack in environments that support this. ^Z &lt;/ins&gt;is &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the usual *NIX&amp;lt;ref&amp;gt;http://en.wikipedia.org/wiki/%2ANIX&amp;lt;/ref&amp;gt; &lt;/ins&gt;shell keybind which suspends the foremost process&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, but nethack is suspended using ^Z no matter what the current setting is&lt;/ins&gt;. Windows' cmd.exe does not allow ^Z, but many &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;*NIX &lt;/ins&gt;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 &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;shell builtin &lt;/ins&gt;will awaken NetHack.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;==References==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;references /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;[[Category:User interface]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;{{nethack-343}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rogerb-on-NAO</name></author>
		
	</entry>
	<entry>
		<id>https://nethackwiki.com/index.php?title=%5EZ&amp;diff=24508&amp;oldid=prev</id>
		<title>Omegainstigator: Created ^Z page</title>
		<link rel="alternate" type="text/html" href="https://nethackwiki.com/index.php?title=%5EZ&amp;diff=24508&amp;oldid=prev"/>
		<updated>2008-01-17T04:06:20Z</updated>

		<summary type="html">&lt;p&gt;Created ^Z page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''^Z''' (Ctrl+z) is a shell keybind which suspends the foremost process. Windows' cmd.exe does not allow ^Z, but many UNIX 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 program will awaken NetHack.&lt;/div&gt;</summary>
		<author><name>Omegainstigator</name></author>
		
	</entry>
</feed>