⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 chapter3.html

📁 VT100向导
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</TABLE><P>Any other parameter values are ignored.</P><P>The following modes, which are specified in the ANSI X3.64-1977 standard, maybe considered to be permanently set, permanently reset, or not applicable, asnoted. Refer to that standard for further information concerning these modes.</P><TABLE WIDTH="100%"><COL WIDTH="20%"><COL WIDTH="40%"><COL WIDTH="40%"><THEAD><TR VALIGN="BOTTOM"><TH>Mode Mnemonic</TH><TH>Mode Function</TH><TH>State</TH></TR></THEAD><TBODY><TR VALIGN="TOP"><TD>CRM</TD><TD>Control representation</TD><TD>Reset</TD></TR><TR VALIGN="TOP"><TD>EBM</TD><TD>Editing boundary</TD><TD>Reset</TD></TR><TR VALIGN="TOP"><TD>ERM</TD><TD>Erasure</TD><TD>Set</TD></TR><TR VALIGN="TOP"><TD>FEAM</TD><TD>Format effector action</TD><TD>Reset</TD></TR><TR VALIGN="TOP"><TD>FETM</TD><TD>Format effector transfer</TD><TD>Reset</TD></TR><TR VALIGN="TOP"><TD>GATM</TD><TD>Guarded area transfer</TD><TD>NA</TD></TR><TR VALIGN="TOP"><TD>HEM</TD><TD>Horizontal editing</TD><TD>NA</TD></TR><TR VALIGN="TOP"><TD>IRM</TD><TD>Insertion-replacement</TD><TD>Reset</TD></TR><TR VALIGN="TOP"><TD>KAM</TD><TD>Keyboard action</TD><TD>Reset</TD></TR><TR VALIGN="TOP"><TD>MATM</TD><TD>Multiple area transfer</TD><TD>NA</TD></TR><TR VALIGN="TOP"><TD>PUM</TD><TD>Positioning unit</TD><TD>Reset</TD></TR><TR VALIGN="TOP"><TD>SATM</TD><TD>Selected area transfer</TD><TD>NA</TD></TR><TR VALIGN="TOP"><TD>SRTM</TD><TD>Status reporting transfer</TD><TD>Reset</TD></TR><TR VALIGN="TOP"><TD>TSM</TD><TD>Tabulation stop</TD><TD>Reset</TD></TR><TR VALIGN="TOP"><TD>TTM</TD><TD>Transfer termination</TD><TD>NA</TD></TR><TR VALIGN="TOP"><TD>VEM</TD><TD>Vertical editing</TD><TD>NA</TD></TR></TBODY></TABLE><H3 ID="S3.3.5">Valid VT52 Mode Control Sequences</H3><H4 ID="VT52CUU">Cursor Up</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC A</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>Move the active position upward one position without altering the horizontal position.If an attempt is made to move the cursor above the top margin, the cursorstops at the top margin.</P><H4 ID="VT52CUD">Cursor Down</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC B</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>Move the active position downward one position without altering the horizontalposition. If an attempt is made to move the cursor below the bottom margin, thecursor stops at the bottom margin.</P><H4 ID="VT52CUF">Cursor Right</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC C</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>Move the active position to the right. If an attempt is made to move the cursor tothe right of the right margin, the cursor stops at the right margin.</P><H4 ID="VT52CUB">Cursor Left</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC D</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>Move the active position one position to the left. If an attempt is made to move thecursor to the left of the left margin, the cursor stops at the left margin.</P><H4 ID="VT52EGM">Enter Graphics Mode</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC F</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>Causes the special graphics character set to be used.</P><P CLASS="note">NOTE: The special graphics characters in the VT100are different from those in the VT52.</P><H4 ID="VT52XGM">Exit Graphics Mode</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC G</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>This sequence causes the standard ASCII character set to be used.</P><H4 ID="VT52CUH">Cursor to Home</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC H</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>Move the cursor to the home position.</P><H4 ID="VT52RI">Reverse Line Feed</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC I</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>Move the active position upward one position without altering the column position.If the active position is at the top margin, a scroll down  is performed.</P><H4 ID="VT52ED">Erase to End of Screen</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC J</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>Erase all characters from the active position to the end of the screen. The activeposition is not changed.</P><H4 ID="VT52EL">Erase to End of Line</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC K</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>Erase all characters from the active position to the end of the current line. Theactive position is not changed.</P><H4 ID="VT52CUP">Direct Cursor Address</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC Y line column</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>Move the cursor to the specified line and column. The line and column numbersare sent as ASCII codes whose values are the number plus 037<SUB>8</SUB>; e.g., 040<SUB>8</SUB> refersto the first line or column, 050<SUB>8</SUB> refers to the eighth line or column, etc.</P><H4 ID="VT52ID">Identify</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC Z</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>This sequence causes the terminal to send its identifier escape sequence to thehost. This sequence is:</P><BLOCKQUOTE><P><STRONG><CODE>ESC / Z</CODE></STRONG></P></BLOCKQUOTE><H4 ID="VT52KPAM">Enter Alternate Keypad Mode</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC =</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>The optional auxiliary keypad keys will send unique identifiable escape sequencesfor use by applications programs.</P><P CLASS="note">NOTE: Information regarding options must be obtained in ANSImode, using the device attributes (DA) control sequences.</P><H4 ID="VT52KPNM">Exit Alternate Keypad Mode</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC &gt;</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>The optional auxiliary keypad keys send the ASCII codes for the functions or charactersengraved on the key.</P><H4 ID="VT52ANSI">Enter ANSI Mode</H4><TABLE WIDTH="100%"><TBODY><TR><TD><STRONG><CODE>ESC &lt;</CODE></STRONG></TD><TD ALIGN="RIGHT">&nbsp;</TD></TR></TBODY></TABLE><P>All subsequent escape sequences will be interpreted according to ANSI StandardsX3.64-1977 and X3.41-1974. The VT52 escape sequence designed in this sectionwill not be recognized.</P><H3 ID="S3.3.6">Control Sequence Summary</H3><P>The following is a summary of the VT100 control sequences.</P><H4 ID="S3.3.6.1">ANSI Compatible Mode</H4><P><STRONG>Cursor Movement Commands</STRONG></P><TABLE><TBODY><TR VALIGN="TOP"><TD>Cursor up</TD><TD><CODE>ESC [ Pn A</CODE></TD></TR><TR VALIGN="TOP"><TD>Cursor down</TD><TD><CODE>ESC [ Pn B</CODE></TD></TR><TR VALIGN="TOP"><TD>Cursor forward (right)</TD><TD><CODE>ESC [ Pn C</CODE></TD></TR><TR VALIGN="TOP"><TD>Cursor backward (left)</TD><TD><CODE>ESC [ Pn D</CODE></TD></TR><TR VALIGN="TOP"><TD>Direct cursor addressing</TD><TD><CODE>ESC [ Pl ; Pc H</CODE>&#8224; or<BR><CODE>ESC [ Pl ; Pc f</CODE>&#8224;</TD></TR><TR VALIGN="TOP"><TD>Index</TD><TD><CODE>ESC D</CODE></TD></TR><TR VALIGN="TOP"><TD>New line</TD><TD><CODE>ESC E</CODE></TD></TR><TR VALIGN="TOP"><TD>Reverse index</TD><TD><CODE>ESC M</CODE></TD></TR><TR VALIGN="TOP"><TD>Save cursor and attributes</TD><TD><CODE>ESC 7</CODE></TD></TR><TR VALIGN="TOP"><TD>Restore cursor and attributes</TD><TD><CODE>ESC 8</CODE></TD></TR><TR VALIGN="TOP"><TD COLSPAN="2"><SMALL>&#8224; Pl = line number; Pc = column number</SMALL></TD></TR></TBODY></TABLE><P CLASS="note">NOTE: Pn refers to a decimal parameter expressed as a string ofASCII digits. Multiple parameters are separated by the semicolon character (073<SUB>8</SUB>). Ifa parameter is omitted or specified to be 0 the default parameter value is used. Forthe cursor movement commands, the default parameter value is 1.</P><P><STRONG>Line Size (Double-Height and Double-Width) Commands</STRONG></P><TABLE><TBODY><TR VALIGN="TOP"><TD>Change this line to double-height top half</TD><TD><CODE>ESC # 3</CODE></TD></TR><TR VALIGN="TOP"><TD>Change this line to double-height bottom half</TD><TD><CODE>ESC # 4</CODE></TD></TR><TR VALIGN="TOP"><TD>Change this line to single-width single-height</TD><TD><CODE>ESC # 5</CODE></TD></TR><TR VALIGN="TOP"><TD>Change this line to double-width single-height</TD><TD><CODE>ESC # 6</CODE></TD></TR></TBODY></TABLE><P><STRONG>Character Attributes</STRONG></P><P><CODE>ESC [ Ps;Ps;Ps;...;Ps m</CODE></P><P>Ps refers to a selective parameter. Multiple parameters are separated by the semicoloncharacter (073<SUB>8</SUB>). The parameters are executed in order and have the followingmeanings:</P><TABLE><TBODY><TR VALIGN="TOP"><TD>0 or None</TD><TD>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -