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.11 by root, Fri Feb 11 18:06:44 2005 UTC vs.
Revision 1.21 by root, Wed Jul 13 02:53:54 2005 UTC

23 How do I know which rxvt-unicode version I'm using? 23 How do I know which rxvt-unicode version I'm using?
24 The version number is displayed with the usage (-h). Also the escape 24 The version number is displayed with the usage (-h). Also the escape
25 sequence "ESC [ 8 n" sets the window title to the version number. 25 sequence "ESC [ 8 n" sets the window title to the version number.
26 26
27 I am using Debian GNU/Linux and have a problem... 27 I am using Debian GNU/Linux and have a problem...
28 The Debian GNU/Linux package of rxvt-unicode contains large patches 28 The Debian GNU/Linux package of rxvt-unicode in sarge contains large
29 that considerably change the behaviour of rxvt-unicode. Before 29 patches that considerably change the behaviour of rxvt-unicode.
30 reporting a bug to the original rxvt-unicode author please download 30 Before reporting a bug to the original rxvt-unicode author please
31 and install the genuine version 31 download and install the genuine version
32 (<http://software.schmorp.de#rxvt-unicode>) and try to reproduce the 32 (<http://software.schmorp.de#rxvt-unicode>) and try to reproduce the
33 problem. If you cannot, chances are that the problems are specific 33 problem. If you cannot, chances are that the problems are specific
34 to Debian GNU/Linux, in which case it should be reported via the 34 to Debian GNU/Linux, in which case it should be reported via the
35 Debian Bug Tracking System (use "reportbug" to report the bug). 35 Debian Bug Tracking System (use "reportbug" to report the bug).
36 36
66 URxvt.termName: rxvt 66 URxvt.termName: rxvt
67 67
68 If you don't plan to use rxvt (quite common...) you could also 68 If you don't plan to use rxvt (quite common...) you could also
69 replace the rxvt terminfo file with the rxvt-unicode one. 69 replace the rxvt terminfo file with the rxvt-unicode one.
70 70
71 "tic" outputs some error when compiling the terminfo entry.
72 Most likely it's the empty definition for "enacs=". Just replace it
73 by "enacs=\E[0@" and try again.
74
71 "bash"'s readline does not work correctly under rxvt. 75 "bash"'s readline does not work correctly under rxvt.
72 I need a termcap file entry. 76 I need a termcap file entry.
73 One reason you might want this is that some distributions or 77 One reason you might want this is that some distributions or
74 operating systems still compile some programs using the 78 operating systems still compile some programs using the
75 long-obsoleted termcap (Fedora Core's bash is one example) and rely 79 long-obsoleted termcap library (Fedora Core's bash is one example)
76 on a termcap entry for "rxvt-unicode". 80 and rely on a termcap entry for "rxvt-unicode".
77 81
78 You could use rxvt's termcap entry with resonable results in many 82 You could use rxvt's termcap entry with resonable results in many
79 cases. You can also create a termcap entry by using terminfo's 83 cases. You can also create a termcap entry by using terminfo's
80 infocmp program like this: 84 infocmp program like this:
81 85
83 87
84 Or you could use this termcap entry, generated by the command above: 88 Or you could use this termcap entry, generated by the command above:
85 89
86 rxvt-unicode|rxvt-unicode terminal (X Window System):\ 90 rxvt-unicode|rxvt-unicode terminal (X Window System):\
87 :am:bw:eo:km:mi:ms:xn:xo:\ 91 :am:bw:eo:km:mi:ms:xn:xo:\
88 :co#80:it#8:li#24:\ 92 :co#80:it#8:li#24:lm#0:\
89 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\ 93 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
90 :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\ 94 :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
91 :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:al=\E[L:\ 95 :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E(B:al=\E[L:\
92 :as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:\ 96 :as=\E(0:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:\
93 :cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:\ 97 :cm=\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[?1049h:ue=\E[24m:up=\E[A:\
103 :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ 108 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
104 :vs=\E[?25h: 109 :vs=\E[?25h:
105 110
106 Why does "ls" no longer have coloured output? 111 Why does "ls" no longer have coloured output?
107 The "ls" in the GNU coreutils unfortunately doesn't use terminfo to 112 The "ls" in the GNU coreutils unfortunately doesn't use terminfo to
108 decide wether a terminal has colour, but uses it's own configuration 113 decide wether a terminal has colour, but uses it's own configuration
246 that doesn't work, you might be forced to use a different font. 251 that doesn't work, you might be forced to use a different font.
247 252
248 All of this is not a problem when using X11 core fonts, as their 253 All of this is not a problem when using X11 core fonts, as their
249 bounding box data is correct. 254 bounding box data is correct.
250 255
256 On Solaris 9, many line-drawing characters are too wide.
257 Seems to be a known bug, read
258 <http://nixdoc.net/files/forum/about34198.html>. Some people use the
259 following ugly workaround to get non-double-wide-characters working:
260
261 #define wcwidth(x) wcwidth(x) > 1 ? 1 : wcwidth(x)
262
251 My Compose (Multi_key) key is no longer working. 263 My Compose (Multi_key) key is no longer working.
252 The most common causes for this are that either your locale is not 264 The most common causes for this are that either your locale is not
253 set correctly, or you specified a preeditStyle that is not supported 265 set correctly, or you specified a preeditStyle that is not supported
254 by your input method. For example, if you specified OverTheSpot and 266 by your input method. For example, if you specified OverTheSpot and
255 your input method (e.g. the default input method handling Compose 267 your input method (e.g. the default input method handling Compose
299 As you might have guessed, FreeBSD does neither define this symobl 311 As you might have guessed, FreeBSD does neither define this symobl
300 nor does it support it. Instead, it uses it's own internal 312 nor does it support it. Instead, it uses it's own internal
301 representation of wchar_t. This is, of course, completely fine with 313 representation of wchar_t. This is, of course, completely fine with
302 respect to standards. 314 respect to standards.
303 315
316 However, that means rxvt-unicode only works in "POSIX", "ISO-8859-1"
317 and "UTF-8" locales under FreeBSD (which all use Unicode as wchar_t.
318
304 However, "__STDC_ISO_10646__" is the only sane way to support 319 "__STDC_ISO_10646__" is the only sane way to support multi-language
305 multi-language apps in an OS, as using a locale-dependent (and 320 apps in an OS, as using a locale-dependent (and non-standardized)
306 non-standardized) representation of wchar_t makes it impossible to 321 representation of wchar_t makes it impossible to convert between
307 convert between wchar_t (as used by X11 and your applications) and 322 wchar_t (as used by X11 and your applications) and any other
308 any other encoding without implementing OS-specific-wrappers for 323 encoding without implementing OS-specific-wrappers for each and
309 each and every locale. There simply are no APIs to convert wchar_t 324 every locale. There simply are no APIs to convert wchar_t into
310 into anything except the current locale encoding. 325 anything except the current locale encoding.
311 326
312 Some applications (such as the formidable mlterm) work around this 327 Some applications (such as the formidable mlterm) work around this
313 by carrying their own replacement functions for character set 328 by carrying their own replacement functions for character set
314 handling with them, and either implementing OS-dependent hacks or 329 handling with them, and either implementing OS-dependent hacks or
315 doing multiple conversions (which is slow and unreliable in case the 330 doing multiple conversions (which is slow and unreliable in case the
317 emulator). 332 emulator).
318 333
319 The rxvt-unicode author insists that the right way to fix this is in 334 The rxvt-unicode author insists that the right way to fix this is in
320 the system libraries once and for all, instead of forcing every app 335 the system libraries once and for all, instead of forcing every app
321 to carry complete replacements for them :) 336 to carry complete replacements for them :)
337
338 I use Solaris 9 and it doesn't compile/work/etc.
339 Try the diff in doc/solaris9.patch as a base. It fixes the worst
340 problems with "wcwidth" and a compile problem.
341
342 How can I use rxvt-unicode under cygwin?
343 rxvt-unicode should compile and run out of the box on cygwin, using
344 the X11 libraries that come with cygwin. libW11 emulation is no
345 longer supported (and makes no sense, either, as it only supported a
346 single font). I recommend starting the X-server in "-multiwindow" or
347 "-rootless" mode instead, which will result in similar look&feel as
348 the old libW11 emulation.
349
350 At the time of this writing, cygwin didn't seem to support any
351 multi-byte encodings (you might try "LC_CTYPE=C-UTF-8"), so you are
352 likely limited to 8-bit encodings.
322 353
323 How does rxvt-unicode determine the encoding to use? 354 How does rxvt-unicode determine the encoding to use?
324 Is there an option to switch encodings? 355 Is there an option to switch encodings?
325 Unlike some other terminals, rxvt-unicode has no encoding switch, 356 Unlike some other terminals, rxvt-unicode has no encoding switch,
326 and no specific "utf-8" mode, such as xterm. In fact, it doesn't 357 and no specific "utf-8" mode, such as xterm. In fact, it doesn't
408 439
409 Now you can start your terminal with "LC_CTYPE=ja_JP.UTF-8" and 440 Now you can start your terminal with "LC_CTYPE=ja_JP.UTF-8" and
410 still use your input method. Please note, however, that you will not 441 still use your input method. Please note, however, that you will not
411 be able to input characters outside "EUC-JP" in a normal way then, 442 be able to input characters outside "EUC-JP" in a normal way then,
412 as your input method limits you. 443 as your input method limits you.
444
445 Rxvt-unicode crashes when the X Input Method changes or exits.
446 Unfortunately, this is unavoidable, as the XIM protocol is racy by
447 design. Applications can avoid some crashes at the expense of memory
448 leaks, and Input Methods can avoid some crashes by careful ordering
449 at exit time. kinput2 (and derived input methods) generally
450 succeeds, while SCIM (or similar input methods) fails. In the end,
451 however, crashes cannot be completely avoided even if both sides
452 cooperate.
453
454 So the only workaround is not to kill your Input Method Servers.
413 455
414 Rxvt-unicode uses gobs of memory, how can I reduce that? 456 Rxvt-unicode uses gobs of memory, how can I reduce that?
415 Rxvt-unicode tries to obey the rule of not charging you for 457 Rxvt-unicode tries to obey the rule of not charging you for
416 something you don't use. One thing you should try is to configure 458 something you don't use. One thing you should try is to configure
417 out all settings that you don't need, for example, Xft support is a 459 out all settings that you don't need, for example, Xft support is a
1144 Ps = 13 Change colour of mouse foreground to Pt 1186 Ps = 13 Change colour of mouse foreground to Pt
1145 Ps = 17 Change colour of highlight characters to Pt 1187 Ps = 17 Change colour of highlight characters to Pt
1146 Ps = 18 Change colour of bold characters to Pt 1188 Ps = 18 Change colour of bold characters to Pt
1147 Ps = 19 Change colour of underlined characters to Pt 1189 Ps = 19 Change colour of underlined characters to Pt
1148 Ps = 20 Change default background to Pt 1190 Ps = 20 Change default background to Pt
1149 Ps = 39 Change default foreground colour to Pt rxvt compile-time option 1191 Ps = 39 Change default foreground colour to Pt.
1150 Ps = 46 Change Log File to Pt unimplemented 1192 Ps = 46 Change Log File to Pt unimplemented
1151 Ps = 49 Change default background colour to Pt rxvt compile-time option 1193 Ps = 49 Change default background colour to Pt.
1152 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 1194 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
1153 Ps = 55 Log all scrollback buffer and all of screen to Pt 1195 Ps = 55 Log all scrollback buffer and all of screen to Pt
1154 Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (rxvt extension) 1196 Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills).
1155 Ps = 703 Menubar command Pt rxvt compile-time option (rxvt-unicode extension) 1197 Ps = 703 Menubar command Pt (Compile menubar).
1156 Ps = 704 Change colour of italic characters to Pt 1198 Ps = 704 Change colour of italic characters to Pt
1157 Ps = 705 Change background pixmap tint colour to Pt 1199 Ps = 705 Change background pixmap tint colour to Pt (Compile transparency).
1158 Ps = 710 Set normal fontset to Pt. Same as Ps = 50. 1200 Ps = 710 Set normal fontset to Pt. Same as Ps = 50.
1159 Ps = 711 Set bold fontset to Pt. Similar to Ps = 50. 1201 Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles).
1160 Ps = 712 Set italic fontset to Pt. Similar to Ps = 50. 1202 Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles).
1161 Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50. 1203 Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles).
1204 Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).
1205 Ps = 721 Move viewing window down by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).
1162 1206
1163 1207
1164 1208
1165menuBar 1209menuBar
1166 The exact syntax used is *almost* solidified. In the menus, DON'T try to 1210 The exact syntax used is *almost* solidified. In the menus, DON'T try to
1203 [menu] 1247 [menu]
1204 access the current menuBar for alteration 1248 access the current menuBar for alteration
1205 1249
1206 [title:+*string*] 1250 [title:+*string*]
1207 set the current menuBar's title to *string*, which may contain the 1251 set the current menuBar's title to *string*, which may contain the
1208 following format specifiers: %% : literal % character %n : rxvt name 1252 following format specifiers:
1209 (as per the -name command-line option) %v : rxvt version 1253
1254 B<%n> rxvt name (as per the B<-name> command-line option)
1255 B<%v> rxvt version
1256 B<%%> literal B<%> character
1210 1257
1211 [done] 1258 [done]
1212 set menuBar access as readonly. End-of-file tag for [read:+*file*] 1259 set menuBar access as readonly. End-of-file tag for [read:+*file*]
1213 operations. 1260 operations.
1214 1261
1650 --enable-font-styles 1697 --enable-font-styles
1651 Add support for bold, *italic* and *bold italic* font styles. The 1698 Add support for bold, *italic* and *bold italic* font styles. The
1652 fonts can be set manually or automatically. 1699 fonts can be set manually or automatically.
1653 1700
1654 --with-codesets=NAME,... 1701 --with-codesets=NAME,...
1655 Compile in support for additional codeset (encoding) groups (eu, vn 1702 Compile in support for additional codeset (encoding) groups ("eu",
1656 are always compiled in, which includes most 8-bit character sets). 1703 "vn" are always compiled in, which includes most 8-bit character
1657 These codeset tables are currently only used for driving X11 core 1704 sets). These codeset tables are used for driving X11 core fonts,
1658 fonts, they are not required for Xft fonts. Compiling them in will 1705 they are not required for Xft fonts, although having them compiled
1659 make your binary bigger (together about 700kB), but it doesn't 1706 in lets rxvt-unicode choose replacement fonts more intelligently.
1660 increase memory usage unless you use an X11 font requiring one of 1707 Compiling them in will make your binary bigger (all of together cost
1661 these encodings. 1708 about 700kB), but it doesn't increase memory usage unless you use a
1709 font requiring one of these encodings.
1662 1710
1663 all all available codeset groups 1711 all all available codeset groups
1664 zh common chinese encodings 1712 zh common chinese encodings
1665 zh_ext rarely used but very big chinese encodigs 1713 zh_ext rarely used but very big chinese encodigs
1666 jp common japanese encodings 1714 jp common japanese encodings
1690 accents are encoded as seperate unicode characters. This is done by 1738 accents are encoded as seperate unicode characters. This is done by
1691 using precomposited characters when available or creating new 1739 using precomposited characters when available or creating new
1692 pseudo-characters when no precomposed form exists. 1740 pseudo-characters when no precomposed form exists.
1693 1741
1694 Without --enable-unicode3, the number of additional precomposed 1742 Without --enable-unicode3, the number of additional precomposed
1695 characters is rather limited (2048, if this is full, rxvt will use 1743 characters is rather limited (2048, if this is full, rxvt-unicode
1696 the private use area, extending the number of combinations to 8448). 1744 will use the private use area, extending the number of combinations
1697 With --enable-unicode3, no practical limit exists. This will also 1745 to 8448). With --enable-unicode3, no practical limit exists.
1698 enable storage of characters >65535. 1746
1747 This option will also enable storage (but not display) of characters
1748 beyond plane 0 (>65535) when --enable-unicode3 was not specified.
1699 1749
1700 The combining table also contains entries for arabic presentation 1750 The combining table also contains entries for arabic presentation
1701 forms, but these are not currently used. Bug me if you want these to 1751 forms, but these are not currently used. Bug me if you want these to
1702 be used. 1752 be used (and tell me how these are to be used...).
1703 1753
1704 --enable-fallback(=CLASS) 1754 --enable-fallback(=CLASS)
1705 When reading resource settings, also read settings for class CLASS 1755 When reading resource settings, also read settings for class CLASS
1706 (default: Rxvt). To disable resource fallback use 1756 (default: Rxvt). To disable resource fallback use
1707 --disable-fallback. 1757 --disable-fallback.
1805 1855
1806 A non-exhaustive list of features enabled by "--enable-frills" 1856 A non-exhaustive list of features enabled by "--enable-frills"
1807 (possibly in combination with other switches) is: 1857 (possibly in combination with other switches) is:
1808 1858
1809 MWM-hints 1859 MWM-hints
1860 EWMH-hints (pid, utf8 names) and protocols (ping)
1810 seperate underline colour 1861 seperate underline colour
1811 settable border widths and borderless switch 1862 settable border widths and borderless switch
1812 settable extra linespacing 1863 settable extra linespacing
1813 extra window properties (e.g. UTF-8 window names and PID)
1814 iso-14755-2 and -3, and visual feedback 1864 iso-14755-2 and -3, and visual feedback
1815 backindex and forwardindex escape sequence 1865 backindex and forwardindex escape sequence
1816 window op and locale change escape sequences 1866 window op and some xterm/OSC escape sequences
1817 tripleclickwords 1867 tripleclickwords
1818 settable insecure mode 1868 settable insecure mode
1819 keysym remapping support 1869 keysym remapping support
1870 cursor blinking and underline cursor
1871 -embed and -pty-fd options
1820 1872
1821 --enable-iso14755 1873 --enable-iso14755
1822 Enable extended ISO 14755 support (see rxvt(1), or doc/rxvt.1.txt). 1874 Enable extended ISO 14755 support (see rxvt(1), or doc/rxvt.1.txt).
1823 Basic support (section 5.1) is enabled by "--enable-frills", while 1875 Basic support (section 5.1) is enabled by "--enable-frills", while
1824 support for 5.2, 5.3 and 5.4 is enabled with this switch. 1876 support for 5.2, 5.3 and 5.4 is enabled with this switch.
1854 --enable-smart-resize 1906 --enable-smart-resize
1855 Add smart growth/shrink behaviour when changing font size via from 1907 Add smart growth/shrink behaviour when changing font size via from
1856 hot keys. This should keep in a fixed position the rxvt corner which 1908 hot keys. This should keep in a fixed position the rxvt corner which
1857 is closest to a corner of the screen. 1909 is closest to a corner of the screen.
1858 1910
1859 --enable-cursor-blink
1860 Add support for a blinking cursor.
1861
1862 --enable-pointer-blank 1911 --enable-pointer-blank
1863 Add support to have the pointer disappear when typing or inactive. 1912 Add support to have the pointer disappear when typing or inactive.
1864 1913
1865 --with-name=NAME 1914 --with-name=NAME
1866 Set the basename for the installed binaries (default: "urxvt", 1915 Set the basename for the installed binaries (default: "urxvt",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines