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

📄 rxvtref.html

📁 rxvt经典的linux下的终端.小巧实用
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<html><head><title>Rxvt Technical Reference</title><link rev="made" href="mailto:gcw@pobox.com"></head><body BGCOLOR="#FFFFFF"><hr><h1>Rxvt Technical Reference</h1><h2>Geoff Wing (gcw@pobox.com)</h2><h2>18 April 1998</h2><a name="toc"></a><a name="masonyodl.yo"></a>    <p><dl>    <li ><a href="rxvtRef.html#Definitions">Definitions</a>    <li ><a href="rxvtRef.html#Values">Values</a>    <li ><a href="rxvtRef.html#Sequences">Escape Sequences</a>    <li ><a href="rxvtRef.html#CSI">CSI (Code Sequence Introducer) Sequences</a>    <li ><a href="rxvtRef.html#PrivateModes">DEC Private Modes</a>    <li ><a href="rxvtRef.html#XTerm">XTerm Operating System Commands</a>    <li ><a href="rxvtRef.html#menuBar">menuBar</a>    <li ><a href="rxvtRef.html#XPM">XPM</a>    <li ><a href="rxvtRef.html#Mouse">Mouse Reporting</a>    <li ><a href="rxvtRef.html#Graphics">Special Graphics Mode</a>    <li ><a href="rxvtRef.html#KeyCodes">Key Codes</a></dl><p>Reworked from XTerm documentation and other sources<a name="rxvtRef-definitions.yo"></a>    <a name="Definitions"></a><h2>Definitions</h2>    <p><dl>    <dt><strong><code>c</code></strong></dt><dd>The literal character c.</dd><p><dt><strong><code>C</code></strong></dt><dd>A single (required) character.</dd><p><dt><strong><code>Ps</code></strong></dt><dd>A single (usually optional) numeric parameter, composed of one or	more digits.</dd><p><dt><strong><code>Pm</code></strong></dt><dd>A multiple numeric parameter composed of any number of single numeric	parameters, separated by ; character(s).</dd><p><dt><strong><code>Pt</code></strong></dt><dd>A text parameter composed of printable characters.</dd></dl><a href="rxvtRef.html#toc">Top</a><p><hr><p><br><a name="rxvtRef-values.yo"></a>    <a name="Values"></a><h2>Values</h2>    <p><dl>    <dt><strong><code>ENQ</code></strong></dt><dd>Enquiry (Ctrl-E) = Send Device Attributes (DA) <br>request attributes from terminal == <a href="rxvtRef.html#ESCOBPsc">ESC[Psc</a></dd><p><dt><strong><code>BEL</code></strong></dt><dd>Bell (Ctrl-G)</dd><p><dt><strong><code>BS</code></strong></dt><dd>Backspace (Ctrl-H)</dd><p><dt><strong><code>TAB</code></strong></dt><dd>Horizontal Tab (HT) (Ctrl-I)</dd><p><dt><strong><code>LF</code></strong></dt><dd>Line Feed or New Line (NL) (Ctrl-J)</dd><p><dt><strong><code>VT</code></strong></dt><dd>Vertical Tab (Ctrl-K) same as <strong><code>LF</code></strong></dd><p><dt><strong><code>FF</code></strong></dt><dd>Form Feed or New Page (NP) (Ctrl-L) same as <strong><code>LF</code></strong></dd><p><dt><strong><code>CR</code></strong></dt><dd>Carriage Return (Ctrl-M)</dd><p><dt><strong><code>SO</code></strong></dt><dd>Shift Out (Ctrl-N), invokes the G1 character set. <br>Switch to Alternate Character Set</dd><p><dt><strong><code>SI</code></strong></dt><dd>Shift In (Ctrl-O), invokes the G0 character set (the default) <br>Switch to Standard Character Set</dd><p><dt><strong><code>SPC</code></strong></dt><dd>Space Character</dd></dl><a href="rxvtRef.html#toc">Top</a><p><hr><p><br><a name="rxvtRef-sequences.yo"></a>    <a name="Sequences"></a><h2>Escape Sequences</h2>    <p><dl>    <dt><strong><code>ESC # 8</code></strong></dt><dd>DEC Screen Alignment Test (DECALN)</dd><p><dt><strong><code>ESC 7</code><br><code>ESC 8</code></strong></dt><dd>Save Cursor (SC)<br>Restore Cursor</dd><p><a name="ESCequals"></a>    <dt><strong><code>ESC =</code><br><code>ESC &gt;</code></strong></dt><dd>Application Keypad (SMKX) == <a href="rxvtRef.html#Priv66"><code>ESC[?66h</code></a><br>Normal Keypad (RMKX) == <a href="rxvtRef.html#Priv66"><code>ESC[?66l</code></a></dd><br><strong>Note:</strong> If the numeric keypad is activated, eg, <strong>Num_Lock</strong> has been    pressed, numbers or control functions are generated by the numeric keypad    (see <a href="rxvtRef.html#KeyCodes">Key Codes</a>)<p><dt><strong><code>ESC D</code></strong></dt><dd>Index (IND)</dd><p><dt><strong><code>ESC E</code></strong></dt><dd>Next Line (NEL)</dd><p><dt><strong><code>ESC H</code></strong></dt><dd>Tab Set (HTS)</dd><p><dt><strong><code>ESC M</code></strong></dt><dd>Reverse Index (RI)</dd><p><dt><strong><code>ESC N</code></strong></dt><dd>Single Shift Select of G2 Character Set (SS2): affects next character	only <em>unimplemented</em></dd><p><dt><strong><code>ESC O</code></strong></dt><dd>Single Shift Select of G3 Character Set (SS3): affects next character	only <em>unimplemented</em></dd><p><dt><strong><code>ESC Z</code></strong></dt><dd>Obsolete form of <a href="rxvtRef.html#ESCOBPsc"><code>ESC[c</code></a> <br>returns: <strong><code>ESC[?1;2C</code></strong> <em>rxvt compile-time option</em></dd><p><dt><strong><code>ESC c</code></strong></dt><dd>Full reset (RIS)</dd><p><dt><strong><code>ESC n</code></strong></dt><dd>Invoke the G2 Character Set (LS2)</dd><p><dt><strong><code>ESC o</code></strong></dt><dd>Invoke the G3 Character Set (LS3)</dd><p><dt><strong><code>ESC </code>(<code> C</code><br><code>ESC </code>)<code> C</code><br><code>ESC * C</code><br><code>ESC + C</code><br><code>ESC $ C</code></strong></dt><dd>Designate G0 Character Set (ISO 2022)<br>Designate G1 Character Set (ISO 2022)<br>Designate G2 Character Set (ISO 2022)<br>Designate G3 Character Set (ISO 2022)<br>Designate Kanji Character Set <br><em>where</em> <strong><code>C</code></strong> is <br><table><tr> <td> <strong><code>C = 0</code></strong> </td> <td> DEC Special Character and Line Drawing Set <br></td>  </tr><tr> <td> <strong><code>C = A</code></strong> </td> <td> United Kingdom (UK) <br></td>  </tr><tr> <td> <strong><code>C = B</code></strong> </td> <td> United States (USASCII) <br></td>  </tr><tr> <td> <strong><code>C = &lt;</code></strong> </td> <td> Multinational character set <em>unimplemented</em> <br></td>  </tr><tr> <td> <strong><code>C = 5</code></strong> </td> <td> Finnish character set <em>unimplemented</em> <br></td>  </tr><tr> <td> <strong><code>C = C</code></strong> </td> <td> Finnish character set <em>unimplemented</em> <br></td>  </tr><tr> <td> <strong><code>C = K</code></strong> </td> <td> German character set <em>unimplemented</em> <br></td>  </tr></table>   </dd></dl><a href="rxvtRef.html#toc">Top</a><p><hr><p><br><a name="rxvtRef-csi.yo"></a>    <a name="CSI"></a><h2>CSI (Code Sequence Introducer) Sequences</h2>    <p><dl>    <dt><strong><code>ESC [ Ps @</code></strong></dt><dd>Insert <strong><code>Ps</code></strong> (Blank) Character(s) [default: 1] (ICH)</dd><p><a name="ESCOBPsA"></a>    <dt><strong><code>ESC [ Ps A</code></strong></dt><dd>Cursor Up <strong><code>Ps</code></strong> Times [default: 1] (CUU)</dd><p><dt><strong><code>ESC [ Ps B</code></strong></dt><dd>Cursor Down <strong><code>Ps</code></strong> Times [default: 1] (CUD)</dd><a name="ESCOBPsC"></a>    <dt><strong><code>ESC [ Ps C</code></strong></dt><dd>Cursor Forward <strong><code>Ps</code></strong> Times [default: 1] (CUF)</dd><p><dt><strong><code>ESC [ Ps D</code></strong></dt><dd>Cursor Backward <strong><code>Ps</code></strong> Times [default: 1] (CUB)</dd><p><dt><strong><code>ESC [ Ps E</code></strong></dt><dd>Cursor Down <strong><code>Ps</code></strong> Times [default: 1] and to first column</dd><p><dt><strong><code>ESC [ Ps F</code></strong></dt><dd>Cursor Up <strong><code>Ps</code></strong> Times [default: 1] and to first column</dd><p><a name="ESCOBPsG"></a>    <dt><strong><code>ESC [ Ps G</code></strong></dt><dd>Cursor to Column <strong><code>Ps</code></strong> (HPA)</dd><p><dt><strong><code>ESC [ Ps;Ps H</code></strong></dt><dd>Cursor Position [row;column] [default: 1;1] (CUP)</dd><p><dt><strong><code>ESC [ Ps I</code></strong></dt><dd>Move forward <strong><code>Ps</code></strong> tab stops [default: 1]</dd><p><dt><strong><code>ESC [ Ps J</code></strong></dt><dd>Erase in Display (ED) <br><table><tr> <td> <strong><code>Ps = 0</code></strong> </td> <td> Clear Below (default) <br></td>  </tr><tr> <td> <strong><code>Ps = 1</code></strong> </td> <td> Clear Above <br></td>  </tr><tr> <td> <strong><code>Ps = 2</code></strong> </td> <td> Clear All <br></td>  </tr></table>   </dd>    <dt><strong><code>ESC [ Ps K</code></strong></dt><dd>Erase in Line (EL) <br><table><tr> <td> <strong><code>Ps = 0</code></strong> </td> <td> Clear to Right (default) <br></td>  </tr><tr> <td> <strong><code>Ps = 1</code></strong> </td> <td> Clear to Left <br></td>  </tr><tr> <td> <strong><code>Ps = 2</code></strong> </td> <td> Clear All <br></td>  </tr></table>   </dd>    <dt><strong><code>ESC [ Ps L</code></strong></dt><dd>Insert <strong><code>Ps</code></strong> Line(s) [default: 1] (IL)</dd><p><dt><strong><code>ESC [ Ps M</code></strong></dt><dd>Delete <strong><code>Ps</code></strong> Line(s) [default: 1] (DL)</dd><p><dt><strong><code>ESC [ Ps P</code></strong></dt><dd>Delete <strong><code>Ps</code></strong> Character(s) [default: 1] (DCH)</dd><p><dt><strong><code>ESC [ Ps;Ps;Ps;Ps;Ps T</code></strong></dt><dd>Initiate <a href="rxvtRef.html#Mouse">hilite mouse tracking</a>.  <em>unimplemented</em>	Parameters are [func;startx;starty;firstrow;lastrow].</dd><p><dt><strong><code>ESC [ Ps W</code></strong></dt><dd>Tabulator functions <br><table><tr> <td> <strong><code>Ps = 0</code></strong> </td> <td> Tab Set (HTS) <br></td>  </tr><tr> <td> <strong><code>Ps = 2</code></strong> </td> <td> Tab Clear (TBC), Clear Current Column (default) <br></td>  </tr><tr> <td> <strong><code>Ps = 5</code></strong> </td> <td> Tab Clear (TBC), Clear All <br></td>  </tr></table>   </dd>    <dt><strong><code>ESC [ Ps X</code></strong></dt><dd>Erase <strong><code>Ps</code></strong> Character(s) [default: 1] (ECH)</dd><p><dt><strong><code>ESC [ Ps Z</code></strong></dt><dd>Move backward <strong><code>Ps</code></strong> [default: 1] tab stops</dd><p><dt><strong><code>ESC [ Ps '</code></strong></dt><dd>== <a href="rxvtRef.html#ESCOBPsG"><code>ESC [ Ps G</code></a></dd><p><dt><strong><code>ESC [ Ps a</code></strong></dt><dd>== <a href="rxvtRef.html#ESCOBPsC"><code>ESC [ Ps C</code></a></dd><p><a name="ESCOBPsc"></a>    <dt><strong><code>ESC [ Ps c</code></strong></dt><dd>Send Device Attributes (DA)<br><strong><code>Ps = 0</code></strong> (or omitted) : request attributes from terminal <br>returns: <strong><code>ESC[?1;2c</code></strong> (``I am a VT100 with Advanced Video	Option'')</dd><p><dt><strong><code>ESC [ Ps d</code></strong></dt><dd>Cursor to Line <strong><code>Ps</code></strong> (VPA)</dd><p><dt><strong><code>ESC [ Ps e</code></strong></dt><dd>== <a href="rxvtRef.html#ESCOBPsA">ESC [ Ps A</a></dd><p><dt><strong><code>ESC [ Ps;Ps f</code></strong></dt><dd>Horizontal and Vertical Position [row;column] (HVP) [default: 1;1]</dd><p><dt><strong><code>ESC [ Ps g</code></strong></dt><dd>Tab Clear (TBC) <br><table><tr> <td> <strong><code>Ps = 0</code></strong> </td> <td> Clear Current Column (default) <br></td>  </tr><tr> <td> <strong><code>Ps = 3</code></strong> </td> <td> Clear All (TBC) <br></td>  </tr></table>   </dd>    <dt><strong><code>ESC [ Ps i</code></strong></dt><dd>Printing <br><table><tr> <td> <strong><code>Ps = 4</code></strong> </td> <td> disable transparent print mode (MC4) <br></td>  </tr><tr> <td> <strong><code>Ps = 5</code></strong> </td> <td> enable transparent print mode (MC5) <em>unimplemented</em> <br></td>  </tr></table>   </dd>    <dt><strong><code>ESC [ Pm h</code><br><code>ESC [ Pm l</code></strong></dt><dd>Set Mode (SM) <br>Reset Mode (RM)<dl>	    <dt><strong><code>Ps = 4</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Insert Mode (SMIR) <br></td>  </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Replace Mode (RMIR) <br></td>  </tr></table>   </dd>	    <dt><strong><code>Ps = 20</code></strong> <em>unimplemented</em></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Automatic Newline (LNM) <br></td>  </tr><tr> <td> <strong><code>h</code></strong> </td> <td> Normal Linefeed (LNM) <br></td>  </tr></table>   </dd>	</dl></dd>    <dt><strong><code>ESC [ Pm m</code></strong></dt><dd>Character Attributes (SGR) <br><table><tr> <td> <strong><code>Ps = 0</code></strong> </td> <td> Normal (default) <br></td>  </tr><tr> <td> <strong><code>Ps = 1 / 22</code></strong> </td> <td> On / Off Bold (bright fg) <br></td>  </tr><tr> <td> <strong><code>Ps = 4 / 24</code></strong> </td> <td> On / Off Underline <br></td>  </tr><tr> <td> <strong><code>Ps = 5 / 25</code></strong> </td> <td> On / Off Blink (bright bg) <br></td>  </tr><tr> <td> <strong><code>Ps = 7 / 27</code></strong> </td> <td> On / Off Inverse <br></td>  </tr><tr> <td> <strong><code>Ps = 30 / 40</code></strong> </td> <td> fg/bg Black <br></td>  </tr><tr> <td> <strong><code>Ps = 31 / 41</code></strong> </td> <td> fg/bg Red <br></td>  </tr><tr> <td> <strong><code>Ps = 32 / 42</code></strong> </td> <td> fg/bg Green <br></td>  </tr><tr> <td> <strong><code>Ps = 33 / 43</code></strong> </td> <td> fg/bg Yellow <br></td>  </tr><tr> <td> <strong><code>Ps = 34 / 44</code></strong> </td> <td> fg/bg Blue <br></td>  </tr><tr> <td> <strong><code>Ps = 35 / 45</code></strong> </td> <td> fg/bg Magenta <br></td>  </tr><tr> <td> <strong><code>Ps = 36 / 46</code></strong> </td> <td> fg/bg Cyan <br></td>  </tr><tr> <td> <strong><code>Ps = 37 / 47</code></strong> </td> <td> fg/bg White <br></td>  </tr><tr> <td> <strong><code>Ps = 39 / 49</code></strong> </td> <td> fg/bg Default <br></td>  </tr></table>   </dd>    <dt><strong><code>ESC [ Ps n</code></strong></dt><dd>Device Status Report (DSR) <br><table><tr> <td> <strong><code>Ps = 5</code></strong> </td> <td> Status Report <strong><code>ESC [ 0 n</code></strong> (``OK'') <br></td>  </tr><tr> <td> <strong><code>Ps = 6</code></strong> </td> <td> Report Cursor Position (CPR) [row;column] as <strong><code>ESC [ r ; c R</code></strong> <br></td>  </tr><tr> <td> <strong><code>Ps = 7</code></strong> </td> <td> Request Display Name <br></td>  

⌨️ 快捷键说明

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