rxvtref.html
来自「rxvt经典的linux下的终端.小巧实用」· HTML 代码 · 共 1,527 行 · 第 1/4 页
HTML
1,527 行
</tr><tr> <td> <strong><code>Ps = 8</code></strong> </td> <td> Request Version Number (place in window title) <br></td> </tr></table> </dd> <dt><strong><code>ESC [ Ps;Ps r</code></strong></dt><dd>Set Scrolling Region [top;bottom] <br>[default: full size of window] (CSR)</dd><p><dt><strong><code>ESC [ s</code></strong></dt><dd>Save Cursor (SC)</dd><p><dt><strong><code>ESC [ Ps x</code></strong></dt><dd>Request Terminal Parameters (DECREQTPARM)</dd><p><dt><strong><code>ESC [ u</code></strong></dt><dd>Restore Cursor</dd></dl><a href="rxvtRef.html#toc">Top</a><p><hr><p><br><a name="rxvtRef-privatemodes.yo"></a> <a name="PrivateModes"></a><h2>DEC Private Modes</h2> <p><dl> <dt><strong><code>ESC [ ? Pm h</code></strong></dt><dd>DEC Private Mode Set (DECSET)</dd><p><dt><strong><code>ESC [ ? Pm l</code></strong></dt><dd>DEC Private Mode Reset (DECRST)</dd><p><dt><strong><code>ESC [ ? Pm r</code></strong></dt><dd>Restore previously saved DEC Private Mode Values.</dd><p><dt><strong><code>ESC [ ? Pm s</code></strong></dt><dd>Save DEC Private Mode Values.</dd><p><dt><strong><code>ESC [ ? Pm t</code></strong></dt><dd>Toggle DEC Private Mode Values (rxvt extension).</dd> <em>where</em> <br><dl> <dt><strong><code>Ps = 1</code></strong> (DECCKM)</dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Application Cursor Keys <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Normal Cursor Keys <br></td> </tr></table> </dd> <dt><strong><code>Ps = 2</code></strong> (ANSI/VT52 mode)</dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Enter VT52 mode <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Enter VT52 mode <br></td> </tr></table> </dd> <dt><strong><code>Ps = 3</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> 132 Column Mode (DECCOLM) <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> 80 Column Mode (DECCOLM) <br></td> </tr></table> </dd> <dt><strong><code>Ps = 4</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Smooth (Slow) Scroll (DECSCLM) <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Jump (Fast) Scroll (DECSCLM) <br></td> </tr></table> </dd> <dt><strong><code>Ps = 5</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Reverse Video (DECSCNM) <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Normal Video (DECSCNM) <br></td> </tr></table> </dd> <dt><strong><code>Ps = 6</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Origin Mode (DECOM) <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Normal Cursor Mode (DECOM) <br></td> </tr></table> </dd> <dt><strong><code>Ps = 7</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Wraparound Mode (DECAWM) <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> No Wraparound Mode (DECAWM) <br></td> </tr></table> </dd> <dt><strong><code>Ps = 8</code></strong> <em>unimplemented</em></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Auto-repeat Keys (DECARM) <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> No Auto-repeat Keys (DECARM) <br></td> </tr></table> </dd> <dt><strong><code>Ps = 9</code></strong> X10 XTerm <a href="rxvtRef.html#Mouse">mouse reporting</a></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Send Mouse X & Y on button press. <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> No mouse reporting. <br></td> </tr></table> </dd><a name="Priv10"></a> <dt><strong><code>Ps = 10</code></strong> (<strong>rxvt</strong>)</dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> <a href="rxvtRef.html#menuBar">menuBar</a> visible <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> <a href="rxvtRef.html#menuBar">menuBar</a> invisible <br></td> </tr></table> </dd> <dt><strong><code>Ps = 25</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Visible cursor {cnorm/cvvis} <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Invisible cursor {civis} <br></td> </tr></table> </dd> <dt><strong><code>Ps = 30</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> scrollBar visisble <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> scrollBar invisisble <br></td> </tr></table> </dd> <dt><strong><code>Ps = 35</code></strong> (<strong>rxvt</strong>)</dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Allow XTerm Shift+key sequences <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Disallow XTerm Shift+key sequences <br></td> </tr></table> </dd> <dt><strong><code>Ps = 38</code></strong> <em>unimplemented</em></dt><dd>Enter Tektronix Mode (DECTEK)</dd> <dt><strong><code>Ps = 40</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Allow 80/132 Mode <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Disallow 80/132 Mode <br></td> </tr></table> </dd> <dt><strong><code>Ps = 44</code></strong> <em>unimplemented</em></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Turn On Margin Bell <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Turn Off Margin Bell <br></td> </tr></table> </dd> <dt><strong><code>Ps = 45</code></strong> <em>unimplemented</em></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Reverse-wraparound Mode <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> No Reverse-wraparound Mode <br></td> </tr></table> </dd> <dt><strong><code>Ps = 46</code></strong> <em>unimplemented</em></dt><dd></dd><p><dt><strong><code>Ps = 47</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Use Alternate Screen Buffer <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Use Normal Screen Buffer <br></td> </tr></table> </dd><a name="Priv66"></a> <dt><strong><code>Ps = 66</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Application Keypad (DECPAM) == <a href="rxvtRef.html#ESCequals"><code>ESC =</code></a> <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Normal Keypad (DECPNM) == <a href="rxvtRef.html#ESCequals"><code>ESC ></code></a> <br></td> </tr></table> </dd> <dt><strong><code>Ps = 67</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Backspace key sends <strong><code>BS</code> (DECBKM)</strong> <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Backspace key sends <strong><code>DEL</code></strong> <br></td> </tr></table> </dd> <dt><strong><code>Ps = 1000</code></strong> (X11 XTerm <a href="rxvtRef.html#Mouse">mouse reporting</a>)</dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Send Mouse X & Y on button press and release. <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> No mouse reporting. <br></td> </tr></table> </dd> <dt><strong><code>Ps = 1001</code></strong> (X11 XTerm <a href="rxvtRef.html#Mouse">mouse tracking</a>) <em>unimplemented</em></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Use Hilite Mouse Tracking. <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> No mouse reporting. <br></td> </tr></table> </dd> <dt><strong><code>Ps = 1010</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Don't scroll to bottom on TTY output <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Scroll to bottom on TTY output <br></td> </tr></table> </dd> <dt><strong><code>Ps = 1011</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Scroll to bottom when a key is pressed <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Don't scroll to bottom when a key is pressed <br></td> </tr></table> </dd> <dt><strong><code>Ps = 1047</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Use Alternate Screen Buffer <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Use Normal Screen Buffer - clear Alternate Screen Buffer if returning from it <br></td> </tr></table> </dd> <dt><strong><code>Ps = 1048</code></strong></dt><dd><table><tr> <td> <strong><code>h</code></strong> </td> <td> Save cursor position <br></td> </tr><tr> <td> <strong><code>l</code></strong> </td> <td> Restore cursor position <br></td> </tr></table> </dd> </dl></dl><p><a href="rxvtRef.html#toc">Top</a><p><hr><p><br><a name="rxvtRef-xterm.yo"></a> <a name="XTerm"></a><h2>XTerm Operating System Commands</h2> <p><dl> <dt><strong><code>ESC ] Ps;Pt ST</code></strong></dt><dd>Set XTerm Parameters <br>8-bit ST: 0x9c, <br>7-bit ST sequence: ESC \ (0x1b, 0x5c), <br>backwards compatible terminator BEL (0x07) is also accepted. <br><table><tr> <td> <strong><code>Ps = 0</code></strong> </td> <td> Change Icon Name and Window Title to <strong><code>Pt</code></strong> <br></td> </tr><tr> <td> <strong><code>Ps = 1</code></strong> </td> <td> Change Icon Name to <strong><code>Pt</code></strong> <br></td> </tr><tr> <td> <strong><code>Ps = 2</code></strong> </td> <td> Change Window Title to <strong><code>Pt</code></strong> <br></td> </tr><tr> <td> <strong><code>Ps = 4</code></strong> </td> <td> <strong><code>Pt</code></strong> is a semi-colon separated sequence of one or more semi-colon separated <strong>number</strong>/<strong>name</strong> pairs, where <strong>number</strong> is an index to a colour and <strong>name</strong> is the name of a colour. Each pair causes the <strong>number</strong>ed colour to be changed to <strong>name</strong>. <br>Numbers 0-7 corresponds to low-intensity (normal) colours and 8-15 corresponds to high-intensity colours. 0=black, 1=red, 2=green, 3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white <br></td> </tr><tr> <td> <strong><code>Ps = 10</code></strong> <strong>(NB: may change in future)</strong> </td> <td> <a href="rxvtRef.html#menuBar">menuBar</a> command <strong><code>Pt</code></strong> <em>rxvt compile-time option</em> <br></td> </tr><tr> <td> <strong><code>Ps = 12</code></strong> </td> <td> Change colour of text cursor foreground to <strong><code>Pt</code></strong> <br></td> </tr><tr> <td> <strong><code>Ps = 13</code></strong> </td> <td> Change colour of mouse foreground to <strong><code>Pt</code></strong> <br></td> </tr><tr> <td> <strong><code>Ps = 17</code></strong> </td> <td> Change colour of highlight characters to <strong><code>Pt</code></strong> <br></td>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?