<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.signature.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=IB_Statements%2Fdstat</id>
		<title>IB Statements/dstat - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.signature.net/index.php?action=history&amp;feed=atom&amp;title=IB_Statements%2Fdstat"/>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/dstat&amp;action=history"/>
		<updated>2026-05-13T01:35:53Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://wiki.signature.net/index.php?title=IB_Statements/dstat&amp;diff=4091&amp;oldid=prev</id>
		<title>Jim at 22:11, 8 April 2016</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/dstat&amp;diff=4091&amp;oldid=prev"/>
				<updated>2016-04-08T22:11:57Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:11, 8 April 2016&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 173:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 173:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; ===================================&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; ===================================&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Clock name&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Clock name&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: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Number of milliseconds since &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;windows startup&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Number of milliseconds &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;that have elapsed &lt;/ins&gt;since &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the Windows was started, up to 49.7 days.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:4090:newid:4091 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=IB_Statements/dstat&amp;diff=4090&amp;oldid=prev</id>
		<title>Jim: Dstst of clock updated</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/dstat&amp;diff=4090&amp;oldid=prev"/>
				<updated>2016-04-08T22:04:17Z</updated>
		
		<summary type="html">&lt;p&gt;Dstst of clock updated&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 22:04, 8 April 2016&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 173:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 173:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; ===================================&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; ===================================&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: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Clock name&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; 1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  Clock name&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt; 4&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  10&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Number of milliseconds since windows startup&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key wikidb:diff:version:1.11a:oldid:457:newid:4090 --&gt;
&lt;/table&gt;</summary>
		<author><name>Jim</name></author>	</entry>

	<entry>
		<id>http://wiki.signature.net/index.php?title=IB_Statements/dstat&amp;diff=457&amp;oldid=prev</id>
		<title>Badge: New page: '''DSTAT function'''   '''Syntax:'''  DSTAT(device-name [,EXCP=statement-label])    '''Discussion:'''  The DSTAT function returns the current status of system devices.   The device-name is...</title>
		<link rel="alternate" type="text/html" href="http://wiki.signature.net/index.php?title=IB_Statements/dstat&amp;diff=457&amp;oldid=prev"/>
				<updated>2009-05-22T12:24:57Z</updated>
		
		<summary type="html">&lt;p&gt;New page: &amp;#39;&amp;#39;&amp;#39;DSTAT function&amp;#39;&amp;#39;&amp;#39;   &amp;#39;&amp;#39;&amp;#39;Syntax:&amp;#39;&amp;#39;&amp;#39;  DSTAT(device-name [,EXCP=statement-label])    &amp;#39;&amp;#39;&amp;#39;Discussion:&amp;#39;&amp;#39;&amp;#39;  The DSTAT function returns the current status of system devices.   The device-name is...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''DSTAT function''' &lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''  DSTAT(device-name [,EXCP=statement-label])  &lt;br /&gt;
&lt;br /&gt;
'''Discussion:'''  The DSTAT function returns the current status of system devices. &lt;br /&gt;
&lt;br /&gt;
The device-name is the name of the device to be checked. The device-name may be a string constant, a single-element string variable, a string array element, a string expression, or a string function. &lt;br /&gt;
 &lt;br /&gt;
'''Detailed information:'''  DSTAT of the console&lt;br /&gt;
 DSTAT of remote terminals&lt;br /&gt;
 DSTAT of a local printer&lt;br /&gt;
 DSTAT of a remote printer&lt;br /&gt;
 DSTAT of a spooler&lt;br /&gt;
 DSTAT of the system driver (X00)&lt;br /&gt;
 DSTAT of a gateway&lt;br /&gt;
 DSTAT of a directory&lt;br /&gt;
 DSTAT of the clock&lt;br /&gt;
 &lt;br /&gt;
-------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
'''DSTAT of the console:'''&lt;br /&gt;
 Position  Length    Description/Values&lt;br /&gt;
 ============================================================&lt;br /&gt;
 1         3         Partition&lt;br /&gt;
 4         1         Type&lt;br /&gt;
                     0 = Monochrome&lt;br /&gt;
                     1 = Color&lt;br /&gt;
                     2 = Monochrome with flicker-free adapter&lt;br /&gt;
                     3 = Color with flicker-free adapter&lt;br /&gt;
                     4 = EGA/VGA/MCGA Monochrome&lt;br /&gt;
                     5 = EGA/VGA/MCGA Color&lt;br /&gt;
                     6 = TeleVideo&lt;br /&gt;
                     7 = AT&amp;amp;T&lt;br /&gt;
 5         1         Option&lt;br /&gt;
                     01H = Force 80-column mode&lt;br /&gt;
                     02H = Force CR the same as Qantel&lt;br /&gt;
                     04H = Auto increment cursor&lt;br /&gt;
                     08H = FAST option enabled for all files&lt;br /&gt;
                     10H = Insert key is the same as Qantel&lt;br /&gt;
                     20H = Use expanded memory for all partitions&lt;br /&gt;
                     40H = Standard I/O for keyboard&lt;br /&gt;
 6         1         Status&lt;br /&gt;
 7         1         Foreground attribute (color)&lt;br /&gt;
 8         1         Background attribute (color)&lt;br /&gt;
 9         1         Invisible attribute (color)&lt;br /&gt;
 10        1         Border attribute (color)&lt;br /&gt;
 11        1         Entry attribute (color)&lt;br /&gt;
 12        2         Base address&lt;br /&gt;
 14        2         Current column and row&lt;br /&gt;
 16        1         BIOS mode for 132-column&lt;br /&gt;
 17        1         Current number of columns on screen&lt;br /&gt;
 21        1         Returns &amp;quot;@01@&amp;quot; if the session is CometAnywhere&lt;br /&gt;
&lt;br /&gt;
'''DSTAT of remote terminals:'''&lt;br /&gt;
 Position  Length    Description/Values&lt;br /&gt;
 ===================================================================&lt;br /&gt;
 1         3         Partition&lt;br /&gt;
 4         1         Type&lt;br /&gt;
                     80H = dumb terminal&lt;br /&gt;
                     81H = TeleVideo terminal&lt;br /&gt;
                     82H = Ampex terminal&lt;br /&gt;
                     83H = Qantel VT3 terminal&lt;br /&gt;
                     84H = Qantel VT6 terminal&lt;br /&gt;
                     86H = QTerm workstation&lt;br /&gt;
                     F0H = Intermec bar code reader&lt;br /&gt;
                     FEH = RDI printer&lt;br /&gt;
                     FFH = ignored terminal&lt;br /&gt;
 5         1         not used&lt;br /&gt;
 6         1         Status&lt;br /&gt;
 7         1         UART&lt;br /&gt;
 8         1         Poll address&lt;br /&gt;
 9         1         Terminal flag&lt;br /&gt;
 !&lt;br /&gt;
                     80H  OBP Terminal Lockout (Signal to PC that FG&lt;br /&gt;
                          processing loop is active on this terminal&lt;br /&gt;
                          and effectively locks out PC from changing&lt;br /&gt;
                          anything in the term table.)&lt;br /&gt;
 !&lt;br /&gt;
                     20H  Status Poll Hold Request (PC signals don't&lt;br /&gt;
                          do status poll on this terminal.)&lt;br /&gt;
 !&lt;br /&gt;
                     10H  Select Request (OBP should initiate a&lt;br /&gt;
                          select poll (data is in the buffer)&lt;br /&gt;
 !&lt;br /&gt;
                     08H  Buffer In Use Flag (OBP should not&lt;br /&gt;
                          initiate a data poll)&lt;br /&gt;
 !&lt;br /&gt;
                     04H  Data Poll Ack Request (PC has received the&lt;br /&gt;
                          data and the buffer is clear)&lt;br /&gt;
 !&lt;br /&gt;
                     02H  Reset Request (user has hit Escape)&lt;br /&gt;
 !&lt;br /&gt;
                     01H  Data Poll Request&lt;br /&gt;
 !&lt;br /&gt;
 10        1         Terminal process&lt;br /&gt;
 !&lt;br /&gt;
                     Foreground Attention Needed&lt;br /&gt;
                     0  = IDLE - Dead terminal&lt;br /&gt;
                     1  = IDLE - Active terminal&lt;br /&gt;
                     2  = Status Poll Complete&lt;br /&gt;
                     8  = Waiting to send buffer to PC&lt;br /&gt;
                     9  = Finished select - OK&lt;br /&gt;
                     A  = Finished select - NG&lt;br /&gt;
                     B  = Data poll complete (ACK included)&lt;br /&gt;
 !&lt;br /&gt;
                     UART is Working on this one&lt;br /&gt;
                     10H  = Doing status poll&lt;br /&gt;
                     11H  = Receiving data from terminal&lt;br /&gt;
                     12H  = Sending data to terminal&lt;br /&gt;
                     13H  = Retransmitting to terminal (1st&lt;br /&gt;
                     retransmit)&lt;br /&gt;
                     14H  = Retransmitting to terminal (2nd&lt;br /&gt;
                     retransmit)&lt;br /&gt;
                     15H  = Terminal reset in progress&lt;br /&gt;
&lt;br /&gt;
'''DSTAT of a local printer''' (effective with build 319):&lt;br /&gt;
 Position  Length    Description&lt;br /&gt;
 =========================================&lt;br /&gt;
 1         3         owning partition, if any&lt;br /&gt;
 4         1         printer type in hex: 0=Local; 4=Windows&lt;br /&gt;
 5         1         spool type in hex&lt;br /&gt;
                     To convert the type, take the HEXASC of the byte.&lt;br /&gt;
                     Look at the first character returned by HEXASC:&lt;br /&gt;
                     '6'=Auto-spool; 'A'=Exception spool; '2'=Non-spool&lt;br /&gt;
 6         12        spooler alias name&lt;br /&gt;
 18        237       pathname associated with the printer&lt;br /&gt;
&lt;br /&gt;
'''DSTAT of a remote printer:'''&lt;br /&gt;
 Position  Length    Description&lt;br /&gt;
 =========================================&lt;br /&gt;
 1         3         Partition&lt;br /&gt;
 4         1         Type&lt;br /&gt;
 5         1         Spool Type&lt;br /&gt;
 6         1         Status&lt;br /&gt;
 7         1         UART&lt;br /&gt;
 8         1         Poll Address&lt;br /&gt;
 9         1         Terminal Flag&lt;br /&gt;
 10        1         Terminal Process&lt;br /&gt;
 11        1         ROM Version&lt;br /&gt;
&lt;br /&gt;
'''DSTAT of a spooler:'''&lt;br /&gt;
 Position  Length    Description&lt;br /&gt;
 =====================================&lt;br /&gt;
 1         64        DOS path name&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DSTAT of the system driver (X00):'''Position  Length    Description&lt;br /&gt;
 ===================================================&lt;br /&gt;
 1         32        (reserved)&lt;br /&gt;
 33        16        Network node name&lt;br /&gt;
 49         2        Number of the of first partiton&lt;br /&gt;
                     on the node (byte-reversed hex)&lt;br /&gt;
 51         2        Total number of partitions on&lt;br /&gt;
                     the node (byte-reversed hex)&lt;br /&gt;
 53         1        &amp;quot;@01@&amp;quot; if the user has a COM license; &amp;quot;@00@&amp;quot; otherwise&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''DSTAT of a gateway:'''&lt;br /&gt;
 Position  Length    Description&lt;br /&gt;
 =============================================&lt;br /&gt;
 1         3         Controlling partition&lt;br /&gt;
 4         1         Gateway type (hex)&lt;br /&gt;
 5         1         Gateway subtype (hex)&lt;br /&gt;
&lt;br /&gt;
'''DSTAT of a directory:'''&lt;br /&gt;
 Position  Length    Description&lt;br /&gt;
 ======================================&lt;br /&gt;
 1         3         Directory name&lt;br /&gt;
 4         64        DOS path name&lt;br /&gt;
&lt;br /&gt;
'''DSTAT of the clock:'''&lt;br /&gt;
 Position  Length    Description&lt;br /&gt;
 ===================================&lt;br /&gt;
 1         3         Clock name&lt;/div&gt;</summary>
		<author><name>Badge</name></author>	</entry>

	</feed>