📄 chapter3.html
字号:
<TR><TD><STRONG><CODE>ESC 8</CODE></STRONG></TD><TD ALIGN="RIGHT"> </TD></TR></TBODY></TABLE><P>This sequence causes the previously saved cursor position, graphic rendition, andcharacter set to be restored.</P><H4 ID="DECREPTPARM"><SPAN CLASS="mnemonic">DECREPTPARM</SPAN> -- Report Terminal Parameters</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC [ <sol>; <par>; <nbits>; <xspeed>;<rspeed>; <clkmul>; <flags> x</CODE></STRONG></TD><TD ALIGN="RIGHT"> </TD></TR></TBODY></TABLE><P>These sequence parameters are explained below in the DECREQTPARM sequence.</P><H4 ID="DECREQTPARM"><SPAN CLASS="mnemonic">DECREQTPARM</SPAN> -- Request Terminal Parameters</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC [ <sol> x</CODE></STRONG></TD><TD ALIGN="RIGHT"> </TD></TR></TBODY></TABLE><P>The sequence DECREPTPARM is sent by the terminal controller to notify the hostof the status of selected terminal parameters. The status sequence may be sentwhen requested by the host or at the terminal's discretion. DECREPTPARM is sentupon receipt of a DECREQTPARM. On power-up or reset, the VT100 is inhibitedfrom sending unsolicited reports.</P><P>The meanings of the sequence parameters are:</P><TABLE WIDTH="100%" FRAME="HSIDES" RULES="GROUPS" CELLSPACING="0" CELLPADDING="3"><COL WIDTH="20%"><COL WIDTH="20%"><COL WIDTH="20%"><COL WIDTH="40%"><THEAD><TR><TH>Parameter</TH><TH>Value</TH><TH COLSPAN="2">Meaning</TH></TR></THEAD><TBODY><TR VALIGN="TOP"><TD ROWSPAN="4"><sol></TD><TD>0 or none</TD><TD COLSPAN="2">This message is a request (DECREQTPARM) andthe terminal will be allowed to send unsolicited reports.(Unsolicited reports are sent when the terminalexits the SET-UP mode).</TD></TR><TR VALIGN="TOP"><TD>1</TD><TD COLSPAN="2">This message is a request; from now on the terminalmay only report in response to a request.</TD></TR><TR VALIGN="TOP"><TD>2</TD><TD COLSPAN="2">This message is a report (DECREPTPARM).</TD></TR><TR VALIGN="TOP"><TD>3</TD><TD COLSPAN="2">This message is a report and the terminal is onlyreporting on request.</TD></TR></TBODY><TBODY><TR VALIGN="TOP"><TD ROWSPAN="3"><par></TD><TD>1</TD><TD COLSPAN="2">No parity set</TD></TR><TR VALIGN="TOP"><TD>4</TD><TD COLSPAN="2">Parity is set and odd</TD></TR><TR VALIGN="TOP"><TD>5</TD><TD COLSPAN="2">Parity is set and even</TD></TR></TBODY><TBODY><TR VALIGN="TOP"><TD ROWSPAN="2"><nbits></TD><TD>1</TD><TD COLSPAN="2">8 bits per character</TD></TR><TR VALIGN="TOP"><TD>2</TD><TD COLSPAN="2">7 bits per character</TD></TR></TBODY><TBODY><TR VALIGN="MIDDLE"><TD ROWSPAN="16"><xspeed>, <rspeed></TD><TD>0</TD><TD>50</TD><TD ROWSPAN="16">Bits per second</TD></TR><TR VALIGN="TOP"><TD>8</TD><TD>75</TD></TR><TR VALIGN="TOP"><TD>16</TD><TD>110</TD></TR><TR VALIGN="TOP"><TD>24</TD><TD>134.5</TD></TR><TR VALIGN="TOP"><TD>32</TD><TD>150</TD></TR><TR VALIGN="TOP"><TD>40</TD><TD>200</TD></TR><TR VALIGN="TOP"><TD>48</TD><TD>300</TD></TR><TR VALIGN="TOP"><TD>56</TD><TD>600</TD></TR><TR VALIGN="TOP"><TD>64</TD><TD>1200</TD></TR><TR VALIGN="TOP"><TD>72</TD><TD>1800</TD></TR><TR VALIGN="TOP"><TD>80</TD><TD>2000</TD></TR><TR VALIGN="TOP"><TD>88</TD><TD>2400</TD></TR><TR VALIGN="TOP"><TD>96</TD><TD>3600</TD></TR><TR VALIGN="TOP"><TD>104</TD><TD>4800</TD></TR><TR VALIGN="TOP"><TD>112</TD><TD>9600</TD></TR><TR VALIGN="TOP"><TD>120</TD><TD>19200</TD></TR></TBODY><TBODY><TR VALIGN="TOP"><TD><clkmul></TD><TD>1</TD><TD COLSPAN="2">The bit rate multiplier is 16.</TD></TR></TBODY><TBODY><TR VALIGN="TOP"><TD><flags></TD><TD>0-15</TD><TD COLSPAN="2">This value communicates the four switch values inblock 5 of SET UP B, which are only visible to theuser when an STP option is installed. These bits maybe assigned for an STP device. The four bits are adecimal-encoded binary number.</TD></TR></TBODY></TABLE><H4 ID="DECSC"><SPAN CLASS="mnemonic">DECSC</SPAN> -- Save Cursor (DEC Private)</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC 7</CODE></STRONG></TD><TD ALIGN="RIGHT"> </TD></TR></TBODY></TABLE><P>This sequence causes the cursor position, graphic rendition, and character set tobe saved. (See DECRC).</P><H4 ID="DECSCLM"><SPAN CLASS="mnemonic">DECSCLM</SPAN> -- Scrolling Mode (DEC Private)</H4><P>This is a private parameter applicable to set mode (SM) and reset mode (RM)control sequences. The reset state causes scrolls to "jump" instantaneously. Theset state causes scrolls to be "smooth" at a maximum rate of six lines per second.</P><H4 ID="DECSCNM"><SPAN CLASS="mnemonic">DECSCNM</SPAN> -- Screen Mode (DEC Private)</H4><P>This is a private parameter applicable to set mode (SM) and reset mode (RM)control sequences. The reset state causes the screen to be black with white characters.The set state causes the screen to be white with black characters.</P><H4 ID="DECSTBM"><SPAN CLASS="mnemonic">DECSTBM</SPAN> -- Set Top and Bottom Margins (DEC Private)</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC [ Pn; Pn r</CODE></STRONG></TD><TD ALIGN="RIGHT"><EM>default values: see below</EM></TD></TR></TBODY></TABLE><P>This sequence sets the top and bottom margins to define the scrolling region. Thefirst parameter is the line number of the first line in the scrolling region; the secondparameter is the line number of the bottom line in the scrolling region. Default isthe entire screen (no margins). The minimum size of the scrolling region allowed istwo lines, i.e., the top margin must be less than the bottom margin. The cursor isplaced in the home position (see Origin Mode DECOM).</P><H4 ID="DECSWL"><SPAN CLASS="mnemonic">DECSWL</SPAN> -- Single-width Line (DEC Private)</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC # 5</CODE></STRONG></TD><TD ALIGN="RIGHT"> </TD></TR></TBODY></TABLE><P>This causes the line which contains the active position to become single-widthsingle-height. The cursor remains on the same character position. This is thedefault condition for all new lines on the screen.</P><H4 ID="DECTST"><SPAN CLASS="mnemonic">DECTST</SPAN> -- Invoke Confidence Test</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC [ 2 ; Ps y</CODE></STRONG></TD><TD ALIGN="RIGHT"> </TD></TR></TBODY></TABLE><P>Ps is the parameter indicating the test to be done. Ps is computed by taking theweight indicated for each desired test and adding them together. If Ps is 0, no testis performed but the VT100 is reset.</P><TABLE WIDTH="100%"><COL WIDTH="50%"><COL WIDTH="50%"><THEAD><TR><TH>Test</TH><TH>Weight</TH></TR></THEAD><TBODY><TR VALIGN="TOP"><TD>Power up self-test (ROM checksum, RAM, NVR keyboardand AVO if installed)</TD><TD>1</TD></TR><TR VALIGN="TOP"><TD>Data Loop Back</TD><TD>2 (loop back connector required)</TD></TR><TR VALIGN="TOP"><TD>EIA modem control test</TD><TD>4 (loop back connector required)</TD></TR><TR VALIGN="TOP"><TD>Repeat Selected Test(s)<BR>indefinitely (until failure orpower off)</TD><TD>8</TD></TR></TBODY></TABLE><H4 ID="DSR"><SPAN CLASS="mnemonic">DSR</SPAN> -- Device Status Report</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC [ Ps n</CODE></STRONG></TD><TD ALIGN="RIGHT"><EM>default value:</EM> 0</TD></TR></TBODY></TABLE><P>Requests and reports the general status of the VT100 according to the followingparameter(s).</P><TABLE WIDTH="100%"><COL WIDTH="20%"><COL WIDTH="80%"><THEAD><TR><TH>Parameter</TH><TH>Parameter Meaning</TH></TR></THEAD><TBODY><TR VALIGN="TOP"><TD>0</TD><TD>Response from VT100 -- Ready, No malfunctionsdetected (default)</TD></TR><TR VALIGN="TOP"><TD>3</TD><TD>Response from VT100 -- Malfunction -- retry</TD></TR><TR VALIGN="TOP"><TD>5</TD><TD>Command from host -- Please report status (using aDSR control sequence)</TD></TR><TR VALIGN="TOP"><TD>6</TD><TD>Command from host -- Please report active position(using a CPR control sequence)</TD></TR></TBODY></TABLE><P>DSR with a parameter value of 0 or 3 is always sent as a response to a requestingDSR with a parameter value of 5.</P><H4 ID="ED"><SPAN CLASS="mnemonic">ED</SPAN> -- Erase In Display</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC [ Ps J</CODE></STRONG></TD><TD ALIGN="RIGHT"><EM>default value:</EM> 0</TD></TR></TBODY></TABLE><P>This sequence erases some or all of the characters in the display according to theparameter. Any complete line erased by this sequence will return that line to singlewidth mode. <EM>Editor Function</EM></P><TABLE WIDTH="100%"><COL WIDTH="20%"><COL WIDTH="80%"><THEAD><TR><TH>Parameter</TH><TH>Parameter Meaning</TH></TR></THEAD><TBODY><TR VALIGN="TOP"><TD>0</TD><TD>Erase from the active position to the end of thescreen, inclusive (default)</TD></TR><TR VALIGN="TOP"><TD>1</TD><TD>Erase from start of the screen to the active position,inclusive</TD></TR><TR VALIGN="TOP"><TD>2</TD><TD>Erase all of the display -- all lines are erased,changed to single-width, and the cursor does not move.</TD></TR></TBODY></TABLE><H4 ID="EL"><SPAN CLASS="mnemonic">EL</SPAN> -- Erase In Line</H4><TABLE WIDTH="100%"><TBODY><TR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -