ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/doc/rxvt.7.txt
(Generate patch)

Comparing rxvt-unicode/doc/rxvt.7.txt (file contents):
Revision 1.76 by root, Mon Aug 7 16:17:30 2006 UTC vs.
Revision 1.77 by root, Thu Nov 2 17:37:47 2006 UTC

14DESCRIPTION 14DESCRIPTION
15 This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting 15 This document contains the FAQ, the RXVT TECHNICAL REFERENCE documenting
16 all escape sequences, and other background information. 16 all escape sequences, and other background information.
17 17
18 The newest version of this document is also available on the World Wide 18 The newest version of this document is also available on the World Wide
19 Web at
20 <http://cvs.schmorp.de/browse/*checkout*/rxvt-unicode/doc/rxvt.7.html>. 19 Web at <http://cvs.schmorp.de/browse/rxvt-unicode/doc/rxvt.7.html>.
21 20
22RXVT-UNICODE/URXVT FREQUENTLY ASKED QUESTIONS 21RXVT-UNICODE/URXVT FREQUENTLY ASKED QUESTIONS
23 Meta, Features & Commandline Issues 22 Meta, Features & Commandline Issues
24 My question isn't answered here, can I ask a human? 23 My question isn't answered here, can I ask a human?
25 Before sending me mail, you could go to IRC: "irc.freenode.net", channel 24 Before sending me mail, you could go to IRC: "irc.freenode.net", channel
183 182
184 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00002aaaaabc3000) 183 libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x00002aaaaabc3000)
185 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaaada2000) 184 libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00002aaaaada2000)
186 libc.so.6 => /lib/libc.so.6 (0x00002aaaaaeb0000) 185 libc.so.6 => /lib/libc.so.6 (0x00002aaaaaeb0000)
187 libdl.so.2 => /lib/libdl.so.2 (0x00002aaaab0ee000) 186 libdl.so.2 => /lib/libdl.so.2 (0x00002aaaab0ee000)
188 /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000) 187 /lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
189 188
190 No large bloated libraries (of course, none were linked in statically), 189 No large bloated libraries (of course, none were linked in statically),
191 except maybe libX11 :) 190 except maybe libX11 :)
192 191
193 Rendering, Font & Look and Feel Issues 192 Rendering, Font & Look and Feel Issues
793 The terminal description used by rxvt-unicode is not as widely available 792 The terminal description used by rxvt-unicode is not as widely available
794 as that for xterm, or even rxvt (for which the same problem often 793 as that for xterm, or even rxvt (for which the same problem often
795 arises). 794 arises).
796 795
797 The correct solution for this problem is to install the terminfo, this 796 The correct solution for this problem is to install the terminfo, this
798 can be done like this (with ncurses' infocmp): 797 can be done like this (with ncurses' infocmp and works as user and
798 admin):
799 799
800 REMOTE=remotesystem.domain 800 REMOTE=remotesystem.domain
801 infocmp rxvt-unicode | ssh $REMOTE "cat >/tmp/ti && tic /tmp/ti" 801 infocmp rxvt-unicode | ssh $REMOTE "mkdir -p .terminfo && cat >/tmp/ti && tic /tmp/ti"
802 802
803 ... or by installing rxvt-unicode normally on the remote system, 803 ... or by installing rxvt-unicode normally on the remote system,
804
805 One some systems you might need to set $TERMINFO to the full path of
806 $HOME/.terminfo for this to work.
804 807
805 If you cannot or do not want to do this, then you can simply set 808 If you cannot or do not want to do this, then you can simply set
806 "TERM=rxvt" or even "TERM=xterm", and live with the small number of 809 "TERM=rxvt" or even "TERM=xterm", and live with the small number of
807 problems arising, which includes wrong keymapping, less and different 810 problems arising, which includes wrong keymapping, less and different
808 colours and some refresh errors in fullscreen applications. It's a nice 811 colours and some refresh errors in fullscreen applications. It's a nice
1002 For scim, use "@im=SCIM". You can see what input method servers are 1005 For scim, use "@im=SCIM". You can see what input method servers are
1003 running with this command: 1006 running with this command:
1004 1007
1005 xprop -root XIM_SERVERS 1008 xprop -root XIM_SERVERS
1006 1009
1007 1010 *
1008 1011
1009 My input method wants <some encoding> but I want UTF-8, what can I do? 1012 My input method wants <some encoding> but I want UTF-8, what can I do?
1010 You can specify separate locales for the input method and the rest of 1013 You can specify separate locales for the input method and the rest of
1011 the terminal, using the resource "imlocale": 1014 the terminal, using the resource "imlocale":
1012 1015
1259 "ESC $ C" 1262 "ESC $ C"
1260 Designate Kanji Character Set 1263 Designate Kanji Character Set
1261 1264
1262 Where "C" is one of: 1265 Where "C" is one of:
1263 1266
1264 C = 0 DEC Special Character and Line Drawing Set 1267 C = 0 DEC Special Character and Line Drawing Set
1265 C = A United Kingdom (UK) 1268 C = A United Kingdom (UK)
1266 C = B United States (USASCII) 1269 C = B United States (USASCII)
1267 C = < Multinational character set unimplemented 1270 C = < Multinational character set unimplemented
1268 C = 5 Finnish character set unimplemented 1271 C = 5 Finnish character set unimplemented
1269 C = C Finnish character set unimplemented 1272 C = C Finnish character set unimplemented
1270 C = K German character set unimplemented 1273 C = K German character set unimplemented
1274
1271 1275
1272 1276
1273 CSI (Command Sequence Introducer) Sequences 1277 CSI (Command Sequence Introducer) Sequences
1274 "ESC [ Ps @" 1278 "ESC [ Ps @"
1275 Insert "Ps" (Blank) Character(s) [default: 1] (ICH) 1279 Insert "Ps" (Blank) Character(s) [default: 1] (ICH)
1302 Move forward "Ps" tab stops [default: 1] 1306 Move forward "Ps" tab stops [default: 1]
1303 1307
1304 "ESC [ Ps J" 1308 "ESC [ Ps J"
1305 Erase in Display (ED) 1309 Erase in Display (ED)
1306 1310
1307 Ps = 0 Clear Below (default) 1311 Ps = 0 Clear Below (default)
1308 Ps = 1 Clear Above 1312 Ps = 1 Clear Above
1309 Ps = 2 Clear All 1313 Ps = 2 Clear All
1314
1310 "ESC [ Ps K" 1315 "ESC [ Ps K"
1311 Erase in Line (EL) 1316 Erase in Line (EL)
1312 1317
1313 Ps = 0 Clear to Right (default) 1318 Ps = 0 Clear to Right (default)
1314 Ps = 1 Clear to Left 1319 Ps = 1 Clear to Left
1315 Ps = 2 Clear All 1320 Ps = 2 Clear All
1321
1316 "ESC [ Ps L" 1322 "ESC [ Ps L"
1317 Insert "Ps" Line(s) [default: 1] (IL) 1323 Insert "Ps" Line(s) [default: 1] (IL)
1318 1324
1319 "ESC [ Ps M" 1325 "ESC [ Ps M"
1320 Delete "Ps" Line(s) [default: 1] (DL) 1326 Delete "Ps" Line(s) [default: 1] (DL)
1327 [func;startx;starty;firstrow;lastrow]. 1333 [func;startx;starty;firstrow;lastrow].
1328 1334
1329 "ESC [ Ps W" 1335 "ESC [ Ps W"
1330 Tabulator functions 1336 Tabulator functions
1331 1337
1332 Ps = 0 Tab Set (HTS) 1338 Ps = 0 Tab Set (HTS)
1333 Ps = 2 Tab Clear (TBC), Clear Current Column (default) 1339 Ps = 2 Tab Clear (TBC), Clear Current Column (default)
1334 Ps = 5 Tab Clear (TBC), Clear All 1340 Ps = 5 Tab Clear (TBC), Clear All
1341
1335 "ESC [ Ps X" 1342 "ESC [ Ps X"
1336 Erase "Ps" Character(s) [default: 1] (ECH) 1343 Erase "Ps" Character(s) [default: 1] (ECH)
1337 1344
1338 "ESC [ Ps Z" 1345 "ESC [ Ps Z"
1339 Move backward "Ps" [default: 1] tab stops 1346 Move backward "Ps" [default: 1] tab stops
1359 Horizontal and Vertical Position [row;column] (HVP) [default: 1;1] 1366 Horizontal and Vertical Position [row;column] (HVP) [default: 1;1]
1360 1367
1361 "ESC [ Ps g" 1368 "ESC [ Ps g"
1362 Tab Clear (TBC) 1369 Tab Clear (TBC)
1363 1370
1364 Ps = 0 Clear Current Column (default) 1371 Ps = 0 Clear Current Column (default)
1365 Ps = 3 Clear All (TBC) 1372 Ps = 3 Clear All (TBC)
1373
1366 "ESC [ Pm h" 1374 "ESC [ Pm h"
1367 Set Mode (SM). See "ESC [ Pm l" sequence for description of "Pm". 1375 Set Mode (SM). See "ESC [ Pm l" sequence for description of "Pm".
1368 1376
1369 "ESC [ Ps i" 1377 "ESC [ Ps i"
1370 Printing. See also the "print-pipe" resource. 1378 Printing. See also the "print-pipe" resource.
1371 1379
1372 Ps = 0 print screen (MC0) 1380 Ps = 0 print screen (MC0)
1373 Ps = 4 disable transparent print mode (MC4) 1381 Ps = 4 disable transparent print mode (MC4)
1374 Ps = 5 enable transparent print mode (MC5) 1382 Ps = 5 enable transparent print mode (MC5)
1383
1375 "ESC [ Pm l" 1384 "ESC [ Pm l"
1376 Reset Mode (RM) 1385 Reset Mode (RM)
1377 1386
1378 h Insert Mode (SMIR)
1379 l Replace Mode (RMIR)
1380 "Ps = 4" 1387 "Ps = 4"
1381 h Automatic Newline (LNM) 1388 h Insert Mode (SMIR)
1382 l Normal Linefeed (LNM) 1389 l Replace Mode (RMIR)
1390
1383 "Ps = 20" (partially implemented) 1391 "Ps = 20" (partially implemented)
1392 h Automatic Newline (LNM)
1393 l Normal Linefeed (LNM)
1384 1394
1385 "ESC [ Pm m" 1395 "ESC [ Pm m"
1386 Character Attributes (SGR) 1396 Character Attributes (SGR)
1387 1397
1388 Ps = 0 Normal (default) 1398 Ps = 0 Normal (default)
1389 Ps = 1 / 21 On / Off Bold (bright fg) 1399 Ps = 1 / 21 On / Off Bold (bright fg)
1390 Ps = 3 / 23 On / Off Italic 1400 Ps = 3 / 23 On / Off Italic
1391 Ps = 4 / 24 On / Off Underline 1401 Ps = 4 / 24 On / Off Underline
1392 Ps = 5 / 25 On / Off Slow Blink (bright bg) 1402 Ps = 5 / 25 On / Off Slow Blink (bright bg)
1393 Ps = 6 / 26 On / Off Rapid Blink (bright bg) 1403 Ps = 6 / 26 On / Off Rapid Blink (bright bg)
1394 Ps = 7 / 27 On / Off Inverse 1404 Ps = 7 / 27 On / Off Inverse
1395 Ps = 8 / 27 On / Off Invisible (NYI) 1405 Ps = 8 / 27 On / Off Invisible (NYI)
1396 Ps = 30 / 40 fg/bg Black 1406 Ps = 30 / 40 fg/bg Black
1397 Ps = 31 / 41 fg/bg Red 1407 Ps = 31 / 41 fg/bg Red
1398 Ps = 32 / 42 fg/bg Green 1408 Ps = 32 / 42 fg/bg Green
1399 Ps = 33 / 43 fg/bg Yellow 1409 Ps = 33 / 43 fg/bg Yellow
1400 Ps = 34 / 44 fg/bg Blue 1410 Ps = 34 / 44 fg/bg Blue
1401 Ps = 35 / 45 fg/bg Magenta 1411 Ps = 35 / 45 fg/bg Magenta
1402 Ps = 36 / 46 fg/bg Cyan 1412 Ps = 36 / 46 fg/bg Cyan
1403 Ps = 38;5 / 48;5 set fg/bg to color #m (ISO 8613-6) 1413 Ps = 38;5 / 48;5 set fg/bg to color #m (ISO 8613-6)
1404 Ps = 37 / 47 fg/bg White 1414 Ps = 37 / 47 fg/bg White
1405 Ps = 39 / 49 fg/bg Default 1415 Ps = 39 / 49 fg/bg Default
1406 Ps = 90 / 100 fg/bg Bright Black 1416 Ps = 90 / 100 fg/bg Bright Black
1407 Ps = 91 / 101 fg/bg Bright Red 1417 Ps = 91 / 101 fg/bg Bright Red
1408 Ps = 92 / 102 fg/bg Bright Green 1418 Ps = 92 / 102 fg/bg Bright Green
1409 Ps = 93 / 103 fg/bg Bright Yellow 1419 Ps = 93 / 103 fg/bg Bright Yellow
1410 Ps = 94 / 104 fg/bg Bright Blue 1420 Ps = 94 / 104 fg/bg Bright Blue
1411 Ps = 95 / 105 fg/bg Bright Magenta 1421 Ps = 95 / 105 fg/bg Bright Magenta
1412 Ps = 96 / 106 fg/bg Bright Cyan 1422 Ps = 96 / 106 fg/bg Bright Cyan
1413 Ps = 97 / 107 fg/bg Bright White 1423 Ps = 97 / 107 fg/bg Bright White
1414 Ps = 99 / 109 fg/bg Bright Default 1424 Ps = 99 / 109 fg/bg Bright Default
1425
1415 "ESC [ Ps n" 1426 "ESC [ Ps n"
1416 Device Status Report (DSR) 1427 Device Status Report (DSR)
1417 1428
1418 Ps = 5 Status Report ESC [ 0 n (``OK'') 1429 Ps = 5 Status Report ESC [ 0 n (``OK'')
1419 Ps = 6 Report Cursor Position (CPR) [row;column] as ESC [ r ; c R 1430 Ps = 6 Report Cursor Position (CPR) [row;column] as ESC [ r ; c R
1420 Ps = 7 Request Display Name 1431 Ps = 7 Request Display Name
1421 Ps = 8 Request Version Number (place in window title) 1432 Ps = 8 Request Version Number (place in window title)
1433
1422 "ESC [ Ps;Ps r" 1434 "ESC [ Ps;Ps r"
1423 Set Scrolling Region [top;bottom] [default: full size of window] 1435 Set Scrolling Region [top;bottom] [default: full size of window]
1424 (CSR) 1436 (CSR)
1425 1437
1426 "ESC [ s" 1438 "ESC [ s"
1427 Save Cursor (SC) 1439 Save Cursor (SC)
1428 1440
1429 "ESC [ Ps;Pt t" 1441 "ESC [ Ps;Pt t"
1430 Window Operations 1442 Window Operations
1431 1443
1432 Ps = 1 Deiconify (map) window 1444 Ps = 1 Deiconify (map) window
1433 Ps = 2 Iconify window 1445 Ps = 2 Iconify window
1434 Ps = 3 ESC [ 3 ; X ; Y t Move window to (X|Y) 1446 Ps = 3 ESC [ 3 ; X ; Y t Move window to (X|Y)
1435 Ps = 4 ESC [ 4 ; H ; W t Resize to WxH pixels 1447 Ps = 4 ESC [ 4 ; H ; W t Resize to WxH pixels
1436 Ps = 5 Raise window 1448 Ps = 5 Raise window
1437 Ps = 6 Lower window 1449 Ps = 6 Lower window
1438 Ps = 7 Refresh screen once 1450 Ps = 7 Refresh screen once
1439 Ps = 8 ESC [ 8 ; R ; C t Resize to R rows and C columns 1451 Ps = 8 ESC [ 8 ; R ; C t Resize to R rows and C columns
1440 Ps = 11 Report window state (responds with Ps = 1 or Ps = 2) 1452 Ps = 11 Report window state (responds with Ps = 1 or Ps = 2)
1441 Ps = 13 Report window position (responds with Ps = 3) 1453 Ps = 13 Report window position (responds with Ps = 3)
1442 Ps = 14 Report window pixel size (responds with Ps = 4) 1454 Ps = 14 Report window pixel size (responds with Ps = 4)
1443 Ps = 18 Report window text size (responds with Ps = 7) 1455 Ps = 18 Report window text size (responds with Ps = 7)
1444 Ps = 19 Currently the same as Ps = 18, but responds with Ps = 9 1456 Ps = 19 Currently the same as Ps = 18, but responds with Ps = 9
1445 Ps = 20 Reports icon label (ESC ] L NAME \234) 1457 Ps = 20 Reports icon label (ESC ] L NAME \234)
1446 Ps = 21 Reports window title (ESC ] l NAME \234) 1458 Ps = 21 Reports window title (ESC ] l NAME \234)
1447 Ps = 24.. Set window height to Ps rows 1459 Ps = 24.. Set window height to Ps rows
1460
1448 "ESC [ u" 1461 "ESC [ u"
1449 Restore Cursor 1462 Restore Cursor
1450 1463
1451 "ESC [ Ps x" 1464 "ESC [ Ps x"
1452 Request Terminal Parameters (DECREQTPARM) 1465 Request Terminal Parameters (DECREQTPARM)
1467 Save DEC Private Mode Values. 1480 Save DEC Private Mode Values.
1468 1481
1469 "ESC [ ? Pm t" 1482 "ESC [ ? Pm t"
1470 Toggle DEC Private Mode Values (rxvt extension). *where* 1483 Toggle DEC Private Mode Values (rxvt extension). *where*
1471 1484
1472 h Application Cursor Keys
1473 l Normal Cursor Keys
1474 "Pm = 1" (DECCKM) 1485 "Pm = 1" (DECCKM)
1475 h Enter VT52 mode 1486 h Application Cursor Keys
1476 l Enter VT52 mode 1487 l Normal Cursor Keys
1488
1477 "Pm = 2" (ANSI/VT52 mode) 1489 "Pm = 2" (ANSI/VT52 mode)
1478 h 132 Column Mode (DECCOLM) 1490 h Enter VT52 mode
1479 l 80 Column Mode (DECCOLM) 1491 l Enter VT52 mode
1492
1480 "Pm = 3" 1493 "Pm = 3"
1481 h Smooth (Slow) Scroll (DECSCLM) 1494 h 132 Column Mode (DECCOLM)
1482 l Jump (Fast) Scroll (DECSCLM) 1495 l 80 Column Mode (DECCOLM)
1496
1483 "Pm = 4" 1497 "Pm = 4"
1484 h Reverse Video (DECSCNM) 1498 h Smooth (Slow) Scroll (DECSCLM)
1485 l Normal Video (DECSCNM) 1499 l Jump (Fast) Scroll (DECSCLM)
1500
1486 "Pm = 5" 1501 "Pm = 5"
1487 h Origin Mode (DECOM) 1502 h Reverse Video (DECSCNM)
1488 l Normal Cursor Mode (DECOM) 1503 l Normal Video (DECSCNM)
1504
1489 "Pm = 6" 1505 "Pm = 6"
1490 h Wraparound Mode (DECAWM) 1506 h Origin Mode (DECOM)
1491 l No Wraparound Mode (DECAWM) 1507 l Normal Cursor Mode (DECOM)
1508
1492 "Pm = 7" 1509 "Pm = 7"
1493 h Auto-repeat Keys (DECARM) 1510 h Wraparound Mode (DECAWM)
1494 l No Auto-repeat Keys (DECARM) 1511 l No Wraparound Mode (DECAWM)
1512
1495 "Pm = 8" *unimplemented* 1513 "Pm = 8" *unimplemented*
1496 h Send Mouse X & Y on button press. 1514 h Auto-repeat Keys (DECARM)
1497 l No mouse reporting. 1515 l No Auto-repeat Keys (DECARM)
1516
1498 "Pm = 9" X10 XTerm 1517 "Pm = 9" X10 XTerm
1499 h Visible cursor {cnorm/cvvis} 1518 h Send Mouse X & Y on button press.
1500 l Invisible cursor {civis} 1519 l No mouse reporting.
1520
1501 "Pm = 25" 1521 "Pm = 25"
1502 h scrollBar visisble 1522 h Visible cursor {cnorm/cvvis}
1503 l scrollBar invisisble 1523 l Invisible cursor {civis}
1524
1504 "Pm = 30" 1525 "Pm = 30"
1505 h Allow XTerm Shift+key sequences 1526 h scrollBar visisble
1506 l Disallow XTerm Shift+key sequences 1527 l scrollBar invisisble
1528
1507 "Pm = 35" (rxvt) 1529 "Pm = 35" (rxvt)
1530 h Allow XTerm Shift+key sequences
1531 l Disallow XTerm Shift+key sequences
1532
1508 "Pm = 38" *unimplemented* 1533 "Pm = 38" *unimplemented*
1509 Enter Tektronix Mode (DECTEK) 1534 Enter Tektronix Mode (DECTEK)
1510 1535
1511 h Allow 80/132 Mode
1512 l Disallow 80/132 Mode
1513 "Pm = 40" 1536 "Pm = 40"
1514 h Turn On Margin Bell 1537 h Allow 80/132 Mode
1515 l Turn Off Margin Bell 1538 l Disallow 80/132 Mode
1539
1516 "Pm = 44" *unimplemented* 1540 "Pm = 44" *unimplemented*
1517 h Reverse-wraparound Mode 1541 h Turn On Margin Bell
1518 l No Reverse-wraparound Mode 1542 l Turn Off Margin Bell
1543
1519 "Pm = 45" *unimplemented* 1544 "Pm = 45" *unimplemented*
1545 h Reverse-wraparound Mode
1546 l No Reverse-wraparound Mode
1547
1520 "Pm = 46" *unimplemented* 1548 "Pm = 46" *unimplemented*
1521 h Use Alternate Screen Buffer
1522 l Use Normal Screen Buffer
1523 "Pm = 47" 1549 "Pm = 47"
1550 h Use Alternate Screen Buffer
1551 l Use Normal Screen Buffer
1524 1552
1525 h Application Keypad (DECPAM) == ESC = 1553
1526 l Normal Keypad (DECPNM) == ESC > 1554
1527 "Pm = 66" 1555 "Pm = 66"
1528 h Backspace key sends BS (DECBKM) 1556 h Application Keypad (DECPAM) == ESC =
1529 l Backspace key sends DEL 1557 l Normal Keypad (DECPNM) == ESC >
1558
1530 "Pm = 67" 1559 "Pm = 67"
1531 h Send Mouse X & Y on button press and release. 1560 h Backspace key sends BS (DECBKM)
1532 l No mouse reporting. 1561 l Backspace key sends DEL
1562
1533 "Pm = 1000" (X11 XTerm) 1563 "Pm = 1000" (X11 XTerm)
1534 h Use Hilite Mouse Tracking. 1564 h Send Mouse X & Y on button press and release.
1535 l No mouse reporting. 1565 l No mouse reporting.
1566
1536 "Pm = 1001" (X11 XTerm) *unimplemented* 1567 "Pm = 1001" (X11 XTerm) *unimplemented*
1537 h Don't scroll to bottom on TTY output 1568 h Use Hilite Mouse Tracking.
1538 l Scroll to bottom on TTY output 1569 l No mouse reporting.
1570
1539 "Pm = 1010" (rxvt) 1571 "Pm = 1010" (rxvt)
1540 h Scroll to bottom when a key is pressed 1572 h Don't scroll to bottom on TTY output
1541 l Don't scroll to bottom when a key is pressed 1573 l Scroll to bottom on TTY output
1574
1542 "Pm = 1011" (rxvt) 1575 "Pm = 1011" (rxvt)
1543 h Bold/italic implies high intensity (see option -is) 1576 h Scroll to bottom when a key is pressed
1544 l Font styles have no effect on intensity (Compile styles) 1577 l Don't scroll to bottom when a key is pressed
1578
1545 "Pm = 1021" (rxvt) 1579 "Pm = 1021" (rxvt)
1546 h Use Alternate Screen Buffer 1580 h Bold/italic implies high intensity (see option -is)
1547 l Use Normal Screen Buffer - clear Alternate Screen Buffer if returning from it 1581 l Font styles have no effect on intensity (Compile styles)
1582
1548 "Pm = 1047" 1583 "Pm = 1047"
1549 h Save cursor position 1584 h Use Alternate Screen Buffer
1550 l Restore cursor position 1585 l Use Normal Screen Buffer - clear Alternate Screen Buffer if returning from it
1586
1551 "Pm = 1048" 1587 "Pm = 1048"
1552 h Use Alternate Screen Buffer - clear Alternate Screen Buffer if switching to it 1588 h Save cursor position
1553 l Use Normal Screen Buffer 1589 l Restore cursor position
1590
1554 "Pm = 1049" 1591 "Pm = 1049"
1592 h Use Alternate Screen Buffer - clear Alternate Screen Buffer if switching to it
1593 l Use Normal Screen Buffer
1555 1594
1556 1595
1557 1596
1558 XTerm Operating System Commands 1597 XTerm Operating System Commands
1559 "ESC ] Ps;Pt ST" 1598 "ESC ] Ps;Pt ST"
1560 Set XTerm Parameters. 8-bit ST: 0x9c, 7-bit ST sequence: ESC \ 1599 Set XTerm Parameters. 8-bit ST: 0x9c, 7-bit ST sequence: ESC \
1561 (0x1b, 0x5c), backwards compatible terminator BEL (0x07) is also 1600 (0x1b, 0x5c), backwards compatible terminator BEL (0x07) is also
1562 accepted. any octet can be escaped by prefixing it with SYN (0x16, 1601 accepted. any octet can be escaped by prefixing it with SYN (0x16,
1563 ^V). 1602 ^V).
1564 1603
1565 Ps = 0 Change Icon Name and Window Title to Pt 1604 Ps = 0 Change Icon Name and Window Title to Pt
1566 Ps = 1 Change Icon Name to Pt 1605 Ps = 1 Change Icon Name to Pt
1567 Ps = 2 Change Window Title to Pt 1606 Ps = 2 Change Window Title to Pt
1568 Ps = 3 If Pt starts with a ?, query the (STRING) property of the window and return it. If Pt contains a =, set the named property to the given value, else delete the specified property. 1607 Ps = 3 If Pt starts with a ?, query the (STRING) property of the window and return it. If Pt contains a =, set the named property to the given value, else delete the specified property.
1569 Ps = 4 Pt is a semi-colon separated sequence of one or more semi-colon separated number/name pairs, where number is an index to a colour and name is the name of a colour. Each pair causes the numbered colour to be changed to name. 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 1608 Ps = 4 Pt is a semi-colon separated sequence of one or more semi-colon separated number/name pairs, where number is an index to a colour and name is the name of a colour. Each pair causes the numbered colour to be changed to name. 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
1570 Ps = 10 Change colour of text foreground to Pt (NB: may change in future) 1609 Ps = 10 Change colour of text foreground to Pt (NB: may change in future)
1571 Ps = 11 Change colour of text background to Pt (NB: may change in future) 1610 Ps = 11 Change colour of text background to Pt (NB: may change in future)
1572 Ps = 12 Change colour of text cursor foreground to Pt 1611 Ps = 12 Change colour of text cursor foreground to Pt
1573 Ps = 13 Change colour of mouse foreground to Pt 1612 Ps = 13 Change colour of mouse foreground to Pt
1574 Ps = 17 Change colour of highlight characters to Pt 1613 Ps = 17 Change colour of highlight characters to Pt
1575 Ps = 18 Change colour of bold characters to Pt [deprecated, see 706] 1614 Ps = 18 Change colour of bold characters to Pt [deprecated, see 706]
1576 Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707] 1615 Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707]
1577 Ps = 20 Change background pixmap parameters (see section XPM) (Compile XPM). 1616 Ps = 20 Change background pixmap parameters (see section XPM) (Compile XPM).
1578 Ps = 39 Change default foreground colour to Pt. 1617 Ps = 39 Change default foreground colour to Pt.
1579 Ps = 46 Change Log File to Pt unimplemented 1618 Ps = 46 Change Log File to Pt unimplemented
1580 Ps = 49 Change default background colour to Pt. 1619 Ps = 49 Change default background colour to Pt.
1581 Ps = 50 Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n 1620 Ps = 50 Set fontset to Pt, with the following special values of Pt (rxvt) #+n change up n #-n change down n if n is missing of 0, a value of 1 is used empty change to font0 n change to font n
1582 Ps = 55 Log all scrollback buffer and all of screen to Pt 1621 Ps = 55 Log all scrollback buffer and all of screen to Pt
1583 Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). 1622 Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills).
1584 Ps = 702 Request version if Pt is ?, returning rxvt-unicode, the resource name, the major and minor version numbers, e.g. ESC ] 702 ; rxvt-unicode ; urxvt ; 7 ; 4 ST. 1623 Ps = 702 Request version if Pt is ?, returning rxvt-unicode, the resource name, the major and minor version numbers, e.g. ESC ] 702 ; rxvt-unicode ; urxvt ; 7 ; 4 ST.
1585 Ps = 704 Change colour of italic characters to Pt 1624 Ps = 704 Change colour of italic characters to Pt
1586 Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). 1625 Ps = 705 Change background pixmap tint colour to Pt (Compile transparency).
1587 Ps = 706 Change colour of bold characters to Pt 1626 Ps = 706 Change colour of bold characters to Pt
1588 Ps = 707 Change colour of underlined characters to Pt 1627 Ps = 707 Change colour of underlined characters to Pt
1589 Ps = 710 Set normal fontset to Pt. Same as Ps = 50. 1628 Ps = 710 Set normal fontset to Pt. Same as Ps = 50.
1590 Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles). 1629 Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles).
1591 Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles). 1630 Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles).
1592 Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles). 1631 Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles).
1593 Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). 1632 Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).
1594 Ps = 721 Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). 1633 Ps = 721 Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).
1595 Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl). 1634 Ps = 777 Call the perl extension with the given string, which should be of the form extension:parameters (Compile perl).
1635
1596XPM 1636XPM
1597 For the XPM XTerm escape sequence "ESC ] 20 ; Pt ST" then value of "Pt" 1637 For the XPM XTerm escape sequence "ESC ] 20 ; Pt ST" then value of "Pt"
1598 can be the name of the background pixmap followed by a sequence of 1638 can be the name of the background pixmap followed by a sequence of
1599 scaling/positioning commands separated by semi-colons. The 1639 scaling/positioning commands separated by semi-colons. The
1600 scaling/positioning commands are as follows: 1640 scaling/positioning commands are as follows:
1646 "ESC [ M <b> <x> <y>" 1686 "ESC [ M <b> <x> <y>"
1647 report mouse position 1687 report mouse position
1648 1688
1649 The lower 2 bits of "<b>" indicate the button: 1689 The lower 2 bits of "<b>" indicate the button:
1650 1690
1651 0 Button1 pressed
1652 1 Button2 pressed
1653 2 Button3 pressed
1654 3 button released (X11 mouse report)
1655 Button = "(<b> - SPACE) & 3" 1691 Button = "(<b> - SPACE) & 3"
1692 0 Button1 pressed
1693 1 Button2 pressed
1694 2 Button3 pressed
1695 3 button released (X11 mouse report)
1656 1696
1657 The upper bits of "<b>" indicate the modifiers when the button was 1697 The upper bits of "<b>" indicate the modifiers when the button was
1658 pressed and are added together (X11 mouse report only): 1698 pressed and are added together (X11 mouse report only):
1659 1699
1660 4 Shift
1661 8 Meta
1662 16 Control
1663 32 Double Click (rxvt extension)
1664 State = "(<b> - SPACE) & 60" 1700 State = "(<b> - SPACE) & 60"
1701 4 Shift
1702 8 Meta
1703 16 Control
1704 32 Double Click (rxvt extension)
1705
1665 Col = "<x> - SPACE" 1706 Col = "<x> - SPACE"
1666 1707
1667 Row = "<y> - SPACE" 1708 Row = "<y> - SPACE"
1668 1709
1669Key Codes 1710Key Codes
1672 For the keypad, use Shift to temporarily override Application-Keypad 1713 For the keypad, use Shift to temporarily override Application-Keypad
1673 setting use Num_Lock to toggle Application-Keypad setting if Num_Lock is 1714 setting use Num_Lock to toggle Application-Keypad setting if Num_Lock is
1674 off, toggle Application-Keypad setting. Also note that values of Home, 1715 off, toggle Application-Keypad setting. Also note that values of Home,
1675 End, Delete may have been compiled differently on your system. 1716 End, Delete may have been compiled differently on your system.
1676 1717
1677 Normal Shift Control Ctrl+Shift 1718 Normal Shift Control Ctrl+Shift
1678 Tab ^I ESC [ Z ^I ESC [ Z 1719 Tab ^I ESC [ Z ^I ESC [ Z
1679 BackSpace ^H ^? ^? ^? 1720 BackSpace ^H ^? ^? ^?
1680 Find ESC [ 1 ~ ESC [ 1 $ ESC [ 1 ^ ESC [ 1 @ 1721 Find ESC [ 1 ~ ESC [ 1 $ ESC [ 1 ^ ESC [ 1 @
1681 Insert ESC [ 2 ~ paste ESC [ 2 ^ ESC [ 2 @ 1722 Insert ESC [ 2 ~ paste ESC [ 2 ^ ESC [ 2 @
1682 Execute ESC [ 3 ~ ESC [ 3 $ ESC [ 3 ^ ESC [ 3 @ 1723 Execute ESC [ 3 ~ ESC [ 3 $ ESC [ 3 ^ ESC [ 3 @
1683 Select ESC [ 4 ~ ESC [ 4 $ ESC [ 4 ^ ESC [ 4 @ 1724 Select ESC [ 4 ~ ESC [ 4 $ ESC [ 4 ^ ESC [ 4 @
1684 Prior ESC [ 5 ~ scroll-up ESC [ 5 ^ ESC [ 5 @ 1725 Prior ESC [ 5 ~ scroll-up ESC [ 5 ^ ESC [ 5 @
1685 Next ESC [ 6 ~ scroll-down ESC [ 6 ^ ESC [ 6 @ 1726 Next ESC [ 6 ~ scroll-down ESC [ 6 ^ ESC [ 6 @
1686 Home ESC [ 7 ~ ESC [ 7 $ ESC [ 7 ^ ESC [ 7 @ 1727 Home ESC [ 7 ~ ESC [ 7 $ ESC [ 7 ^ ESC [ 7 @
1687 End ESC [ 8 ~ ESC [ 8 $ ESC [ 8 ^ ESC [ 8 @ 1728 End ESC [ 8 ~ ESC [ 8 $ ESC [ 8 ^ ESC [ 8 @
1688 Delete ESC [ 3 ~ ESC [ 3 $ ESC [ 3 ^ ES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[ 34 @
1709 Application 1750 Application
1710 Up ESC [ A ESC [ a ESC O a ESC O A 1751 Up ESC [ A ESC [ a ESC O a ESC O A
1711 Down ESC [ B ESC [ b ESC O b ESC O B 1752 Down ESC [ B ESC [ b ESC O b ESC O B
1712 Right ESC [ C ESC [ c ESC O c ESC O C 1753 Right ESC [ C ESC [ c ESC O c ESC O C
1713 Left ESC [ D ESC [ d ESC O d ESC O D 1754 Left ESC [ D ESC [ d ESC O d ESC O D
1714 KP_Enter ^M ESC O M 1755 KP_Enter ^M ESC O M
1715 KP_F1 ESC O P ESC O P 1756 KP_F1 ESC O P ESC O P
1716 KP_F2 ESC O Q ESC O Q 1757 KP_F2 ESC O Q ESC O Q
1717 KP_F3 ESC O R ESC O R 1758 KP_F3 ESC O R ESC O R
1718 KP_F4 ESC O S ESC O S 1759 KP_F4 ESC O S ESC O S
1719 XK_KP_Multiply * ESC O j 1760 XK_KP_Multiply * ESC O j
1720 XK_KP_Add + ESC O k 1761 XK_KP_Add + ESC O k
1721 XK_KP_Separator , ESC O l 1762 XK_KP_Separator , ESC O l
1722 XK_KP_Subtract - ESC O m 1763 XK_KP_Subtract - ESC O m
1723 XK_KP_Decimal . ESC O n 1764 XK_KP_Decimal . ESC O n
1724 XK_KP_Divide / ESC O o 1765 XK_KP_Divide / ESC O o
1725 XK_KP_0 0 ESC O p 1766 XK_KP_0 0 ESC O p
1726 XK_KP_1 1 ESC O q 1767 XK_KP_1 1 ESC O q
1727 XK_KP_2 2 ESC O r 1768 XK_KP_2 2 ESC O r
1728 XK_KP_3 3 ESC O s 1769 XK_KP_3 3 ESC O s
1729 XK_KP_4 4 ESC O t 1770 XK_KP_4 4 ESC O t
1730 XK_KP_5 5 ESC O u 1771 XK_KP_5 5 ESC O u
1731 XK_KP_6 6 ESC O v 1772 XK_KP_6 6 ESC O v
1732 XK_KP_7 7 ESC O w 1773 XK_KP_7 7 ESC O w
1733 XK_KP_8 8 ESC O x 1774 XK_KP_8 8 ESC O x
1734 XK_KP_9 9 ESC O y 1775 XK_KP_9 9 ESC O y
1776
1735CONFIGURE OPTIONS 1777CONFIGURE OPTIONS
1736 General hint: if you get compile errors, then likely your configuration 1778 General hint: if you get compile errors, then likely your configuration
1737 hasn't been tested well. Either try with "--enable-everything" or use 1779 hasn't been tested well. Either try with "--enable-everything" or use
1738 the ./reconf script as a base for experiments. ./reconf is used by 1780 the ./reconf script as a base for experiments. ./reconf is used by
1739 myself, so it should generally be a working config. Of course, you 1781 myself, so it should generally be a working config. Of course, you
1769 in lets rxvt-unicode choose replacement fonts more intelligently. 1811 in lets rxvt-unicode choose replacement fonts more intelligently.
1770 Compiling them in will make your binary bigger (all of together cost 1812 Compiling them in will make your binary bigger (all of together cost
1771 about 700kB), but it doesn't increase memory usage unless you use a 1813 about 700kB), but it doesn't increase memory usage unless you use a
1772 font requiring one of these encodings. 1814 font requiring one of these encodings.
1773 1815
1774 all all available codeset groups 1816 all all available codeset groups
1775 zh common chinese encodings 1817 zh common chinese encodings
1776 zh_ext rarely used but very big chinese encodigs 1818 zh_ext rarely used but very big chinese encodigs
1777 jp common japanese encodings 1819 jp common japanese encodings
1778 jp_ext rarely used but big japanese encodings 1820 jp_ext rarely used but big japanese encodings
1779 kr korean encodings 1821 kr korean encodings
1822
1780 --enable-xim (default: on) 1823 --enable-xim (default: on)
1781 Add support for XIM (X Input Method) protocol. This allows using 1824 Add support for XIM (X Input Method) protocol. This allows using
1782 alternative input methods (e.g. kinput2) and will also correctly set 1825 alternative input methods (e.g. kinput2) and will also correctly set
1783 up the input for people using dead keys or compose keys. 1826 up the input for people using dead keys or compose keys.
1784 1827
2002 Marc Lehmann <rxvt@schmorp.de> converted this document to pod and 2045 Marc Lehmann <rxvt@schmorp.de> converted this document to pod and
2003 reworked it from the original Rxvt documentation, which was done by 2046 reworked it from the original Rxvt documentation, which was done by
2004 Geoff Wing <gcw@pobox.com>, who in turn used the XTerm documentation and 2047 Geoff Wing <gcw@pobox.com>, who in turn used the XTerm documentation and
2005 other sources. 2048 other sources.
2006 2049
2007POD ERRORS
2008 Hey! The above document had some coding errors, which are explained
2009 below:
2010
2011 Around line 2952:
2012 =back doesn't take any parameters, but you said =back X<Mouse>
2013
2014 Around line 3048:
2015 =back doesn't take any parameters, but you said =back X<KeyCodes>
2016

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines