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

Comparing rxvt-unicode/doc/rxvt.7.pod (file contents):
Revision 1.45 by root, Sun Feb 13 11:07:57 2005 UTC vs.
Revision 1.56 by root, Wed Jul 13 01:01:41 2005 UTC

78 78
79=item I need a termcap file entry. 79=item I need a termcap file entry.
80 80
81One reason you might want this is that some distributions or operating 81One reason you might want this is that some distributions or operating
82systems still compile some programs using the long-obsoleted termcap 82systems still compile some programs using the long-obsoleted termcap
83(Fedora Core's bash is one example) and rely on a termcap entry for 83library (Fedora Core's bash is one example) and rely on a termcap entry
84C<rxvt-unicode>. 84for C<rxvt-unicode>.
85 85
86You could use rxvt's termcap entry with resonable results in many cases. 86You could use rxvt's termcap entry with resonable results in many cases.
87You can also create a termcap entry by using terminfo's infocmp program 87You can also create a termcap entry by using terminfo's infocmp program
88like this: 88like this:
89 89
91 91
92Or you could use this termcap entry, generated by the command above: 92Or you could use this termcap entry, generated by the command above:
93 93
94 rxvt-unicode|rxvt-unicode terminal (X Window System):\ 94 rxvt-unicode|rxvt-unicode terminal (X Window System):\
95 :am:bw:eo:km:mi:ms:xn:xo:\ 95 :am:bw:eo:km:mi:ms:xn:xo:\
96 :co#80:it#8:li#24:\ 96 :co#80:it#8:li#24:lm#0:\
97 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\ 97 :AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:IC=\E[%d@:\
98 :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\ 98 :K1=\EOw:K2=\EOu:K3=\EOy:K4=\EOq:K5=\EOs:LE=\E[%dD:\
99 :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=^O:al=\E[L:\ 99 :RI=\E[%dC:SF=\E[%dS:SR=\E[%dT:UP=\E[%dA:ae=\E(B:al=\E[L:\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rc=\E8:sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:\ 110 :sc=\E7:se=\E[27m:sf=^J:so=\E[7m:sr=\EM:st=\EH:ta=^I:\
110 :st=\EH:ta=^I:te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:\ 111 :te=\E[r\E[?1049l:ti=\E[?1049h:ue=\E[24m:up=\E[A:\
111 :up=\E[A:us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\ 112 :us=\E[4m:vb=\E[?5h\E[?5l:ve=\E[?25h:vi=\E[?25l:\
112 :vs=\E[?25h: 113 :vs=\E[?25h:
113 114
114=item Why does C<ls> no longer have coloured output? 115=item Why does C<ls> no longer have coloured output?
115 116
116The C<ls> in the GNU coreutils unfortunately doesn't use terminfo to 117The C<ls> in the GNU coreutils unfortunately doesn't use terminfo to
257might be forced to use a different font. 258might be forced to use a different font.
258 259
259All of this is not a problem when using X11 core fonts, as their bounding 260All of this is not a problem when using X11 core fonts, as their bounding
260box data is correct. 261box data is correct.
261 262
263=item On Solaris 9, many line-drawing characters are too wide.
264
265Seems to be a known bug, read
266L<http://nixdoc.net/files/forum/about34198.html>. Some people use the
267following ugly workaround to get non-double-wide-characters working:
268
269 #define wcwidth(x) wcwidth(x) > 1 ? 1 : wcwidth(x)
270
262=item My Compose (Multi_key) key is no longer working. 271=item My Compose (Multi_key) key is no longer working.
263 272
264The most common causes for this are that either your locale is not set 273The most common causes for this are that either your locale is not set
265correctly, or you specified a B<preeditStyle> that is not supported by 274correctly, or you specified a B<preeditStyle> that is not supported by
266your input method. For example, if you specified B<OverTheSpot> and 275your input method. For example, if you specified B<OverTheSpot> and
309 318
310As you might have guessed, FreeBSD does neither define this symobl nor 319As you might have guessed, FreeBSD does neither define this symobl nor
311does it support it. Instead, it uses it's own internal representation of 320does it support it. Instead, it uses it's own internal representation of
312B<wchar_t>. This is, of course, completely fine with respect to standards. 321B<wchar_t>. This is, of course, completely fine with respect to standards.
313 322
323However, that means rxvt-unicode only works in C<POSIX>, C<ISO-8859-1> and
324C<UTF-8> locales under FreeBSD (which all use Unicode as B<wchar_t>.
325
314However, C<__STDC_ISO_10646__> is the only sane way to support 326C<__STDC_ISO_10646__> is the only sane way to support multi-language
315multi-language apps in an OS, as using a locale-dependent (and 327apps in an OS, as using a locale-dependent (and non-standardized)
316non-standardized) representation of B<wchar_t> makes it impossible to 328representation of B<wchar_t> makes it impossible to convert between
317convert between B<wchar_t> (as used by X11 and your applications) and any 329B<wchar_t> (as used by X11 and your applications) and any other encoding
318other encoding without implementing OS-specific-wrappers for each and 330without implementing OS-specific-wrappers for each and every locale. There
319every locale. There simply are no APIs to convert B<wchar_t> into anything 331simply are no APIs to convert B<wchar_t> into anything except the current
320except the current locale encoding. 332locale encoding.
321 333
322Some applications (such as the formidable B<mlterm>) work around this 334Some applications (such as the formidable B<mlterm>) work around this
323by carrying their own replacement functions for character set handling 335by carrying their own replacement functions for character set handling
324with them, and either implementing OS-dependent hacks or doing multiple 336with them, and either implementing OS-dependent hacks or doing multiple
325conversions (which is slow and unreliable in case the OS implements 337conversions (which is slow and unreliable in case the OS implements
326encodings slightly different than the terminal emulator). 338encodings slightly different than the terminal emulator).
327 339
328The rxvt-unicode author insists that the right way to fix this is in the 340The rxvt-unicode author insists that the right way to fix this is in the
329system libraries once and for all, instead of forcing every app to carry 341system libraries once and for all, instead of forcing every app to carry
330complete replacements for them :) 342complete replacements for them :)
343
344=item I use Solaris 9 and it doesn't compile/work/etc.
345
346Try the diff in F<doc/solaris9.patch> as a base. It fixes the worst
347problems with C<wcwidth> and a compile problem.
348
349=item How can I use rxvt-unicode under cygwin?
350
351rxvt-unicode should compile and run out of the box on cygwin, using
352the X11 libraries that come with cygwin. libW11 emulation is no
353longer supported (and makes no sense, either, as it only supported a
354single font). I recommend starting the X-server in C<-multiwindow> or
355C<-rootless> mode instead, which will result in similar look&feel as the
356old libW11 emulation.
357
358At the time of this writing, cygwin didn't seem to support any multi-byte
359encodings, so you are likely limited to 8-bit encodings.
331 360
332=item How does rxvt-unicode determine the encoding to use? 361=item How does rxvt-unicode determine the encoding to use?
333 362
334=item Is there an option to switch encodings? 363=item Is there an option to switch encodings?
335 364
1474 B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >> 1503 B<< C<Ps = 13> >> Change colour of mouse foreground to B<< C<Pt> >>
1475 B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >> 1504 B<< C<Ps = 17> >> Change colour of highlight characters to B<< C<Pt> >>
1476 B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >> 1505 B<< C<Ps = 18> >> Change colour of bold characters to B<< C<Pt> >>
1477 B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >> 1506 B<< C<Ps = 19> >> Change colour of underlined characters to B<< C<Pt> >>
1478 B<< C<Ps = 20> >> Change default background to B<< C<Pt> >> 1507 B<< C<Ps = 20> >> Change default background to B<< C<Pt> >>
1479 B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >> I<rxvt compile-time option> 1508 B<< C<Ps = 39> >> Change default foreground colour to B<< C<Pt> >>.
1480 B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented> 1509 B<< C<Ps = 46> >> Change Log File to B<< C<Pt> >> I<unimplemented>
1481 B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >> I<rxvt compile-time option> 1510 B<< C<Ps = 49> >> Change default background colour to B<< C<Pt> >>.
1482 B<< C<Ps = 50> >> Set fontset to B<< C<Pt> >>, with the following special values of B<< C<Pt> >> (B<rxvt>) B<< C<#+n> >> change up B<< C<n> >> B<< C<#-n> >> change down B<< C<n> >> if B<< C<n> >> is missing of 0, a value of 1 is used I<empty> change to font0 B<< C<n> >> change to font B<< C<n> >> 1511 B<< C<Ps = 50> >> Set fontset to B<< C<Pt> >>, with the following special values of B<< C<Pt> >> (B<rxvt>) B<< C<#+n> >> change up B<< C<n> >> B<< C<#-n> >> change down B<< C<n> >> if B<< C<n> >> is missing of 0, a value of 1 is used I<empty> change to font0 B<< C<n> >> change to font B<< C<n> >>
1483 B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >> 1512 B<< C<Ps = 55> >> Log all scrollback buffer and all of screen to B<< C<Pt> >>
1484 B<< C<Ps = 701> >> Change current locale to B<< C<Pt> >>, or, if B<< C<Pt> >> is B<< C<?> >>, return the current locale (@@RXVT_NAME@@ extension) 1513 B<< C<Ps = 701> >> Change current locale to B<< C<Pt> >>, or, if B<< C<Pt> >> is B<< C<?> >>, return the current locale (Compile frills).
1485 B<< C<Ps = 703> >> Menubar command B<< C<Pt> >> I<rxvt compile-time option> (rxvt-unicode extension) 1514 B<< C<Ps = 703> >> Menubar command B<< C<Pt> >> (Compile menubar).
1486 B<< C<Ps = 704> >> Change colour of italic characters to B<< C<Pt> >> 1515 B<< C<Ps = 704> >> Change colour of italic characters to B<< C<Pt> >>
1487 B<< C<Ps = 705> >> Change background pixmap tint colour to B<< C<Pt> >> 1516 B<< C<Ps = 705> >> Change background pixmap tint colour to B<< C<Pt> >> (Compile transparency).
1488 B<< C<Ps = 710> >> Set normal fontset to B<< C<Pt> >>. Same as C<Ps = 50>. 1517 B<< C<Ps = 710> >> Set normal fontset to B<< C<Pt> >>. Same as C<Ps = 50>.
1489 B<< C<Ps = 711> >> Set bold fontset to B<< C<Pt> >>. Similar to C<Ps = 50>. 1518 B<< C<Ps = 711> >> Set bold fontset to B<< C<Pt> >>. Similar to C<Ps = 50> (Compile styles).
1490 B<< C<Ps = 712> >> Set italic fontset to B<< C<Pt> >>. Similar to C<Ps = 50>. 1519 B<< C<Ps = 712> >> Set italic fontset to B<< C<Pt> >>. Similar to C<Ps = 50> (Compile styles).
1491 B<< C<Ps = 713> >> Set bold-italic fontset to B<< C<Pt> >>. Similar to C<Ps = 50>. 1520 B<< C<Ps = 713> >> Set bold-italic fontset to B<< C<Pt> >>. Similar to C<Ps = 50> (Compile styles).
1521 B<< C<Ps = 720> >> Move viewing window up by B<< C<Pt> >> lines, or clear scrollback buffer if C<Pt = 0> (Compile frills).
1522 B<< C<Ps = 721> >> Move viewing window down by B<< C<Pt> >> lines, or clear scrollback buffer if C<Pt = 0> (Compile frills).
1492 1523
1493=end table 1524=end table
1494 1525
1495=back 1526=back
1496 1527
1548 1579
1549=item B<< [title:+I<string>] >> 1580=item B<< [title:+I<string>] >>
1550 1581
1551set the current menuBar's title to I<string>, which may contain the 1582set the current menuBar's title to I<string>, which may contain the
1552following format specifiers: 1583following format specifiers:
1553B<%%> : literal B<%> character 1584
1554B<%n> : rxvt name (as per the B<-name> command-line option) 1585 B<%n> rxvt name (as per the B<-name> command-line option)
1555B<%v> : rxvt version 1586 B<%v> rxvt version
1587 B<%%> literal B<%> character
1556 1588
1557=item B<[done]> 1589=item B<[done]>
1558 1590
1559set menuBar access as B<readonly>. 1591set menuBar access as B<readonly>.
1560End-of-file tag for B<< [read:+I<file>] >> operations. 1592End-of-file tag for B<< [read:+I<file>] >> operations.
2180Add support for B<bold>, I<italic> and B<< I<bold italic> >> font 2212Add support for B<bold>, I<italic> and B<< I<bold italic> >> font
2181styles. The fonts can be set manually or automatically. 2213styles. The fonts can be set manually or automatically.
2182 2214
2183=item --with-codesets=NAME,... 2215=item --with-codesets=NAME,...
2184 2216
2185Compile in support for additional codeset (encoding) groups (eu, vn are 2217Compile in support for additional codeset (encoding) groups (C<eu>, C<vn>
2186always compiled in, which includes most 8-bit character sets). These 2218are always compiled in, which includes most 8-bit character sets). These
2187codeset tables are currently only used for driving X11 core fonts, they 2219codeset tables are used for driving X11 core fonts, they are not required
2188are not required for Xft fonts. Compiling them in will make your binary 2220for Xft fonts, although having them compiled in lets rxvt-unicode choose
2189bigger (together about 700kB), but it doesn't increase memory usage unless 2221replacement fonts more intelligently. Compiling them in will make your
2222binary bigger (all of together cost about 700kB), but it doesn't increase
2190you use an X11 font requiring one of these encodings. 2223memory usage unless you use a font requiring one of these encodings.
2191 2224
2192=begin table 2225=begin table
2193 2226
2194 all all available codeset groups 2227 all all available codeset groups
2195 zh common chinese encodings 2228 zh common chinese encodings
2225composite characters. This is required for proper viewing of text 2258composite characters. This is required for proper viewing of text
2226where accents are encoded as seperate unicode characters. This is 2259where accents are encoded as seperate unicode characters. This is
2227done by using precomposited characters when available or creating 2260done by using precomposited characters when available or creating
2228new pseudo-characters when no precomposed form exists. 2261new pseudo-characters when no precomposed form exists.
2229 2262
2230Without --enable-unicode3, the number of additional precomposed 2263Without --enable-unicode3, the number of additional precomposed characters
2231characters is rather limited (2048, if this is full, rxvt will use the 2264is rather limited (2048, if this is full, rxvt-unicode will use the
2232private use area, extending the number of combinations to 8448). With 2265private use area, extending the number of combinations to 8448). With
2233--enable-unicode3, no practical limit exists. This will also enable 2266--enable-unicode3, no practical limit exists.
2234storage of characters >65535. 2267
2268This option will also enable storage (but not display) of characters
2269beyond plane 0 (>65535) when --enable-unicode3 was not specified.
2235 2270
2236The combining table also contains entries for arabic presentation forms, 2271The combining table also contains entries for arabic presentation forms,
2237but these are not currently used. Bug me if you want these to be used. 2272but these are not currently used. Bug me if you want these to be used (and
2273tell me how these are to be used...).
2238 2274
2239=item --enable-fallback(=CLASS) 2275=item --enable-fallback(=CLASS)
2240 2276
2241When reading resource settings, also read settings for class CLASS 2277When reading resource settings, also read settings for class CLASS
2242(default: Rxvt). To disable resource fallback use --disable-fallback. 2278(default: Rxvt). To disable resource fallback use --disable-fallback.
2363 2399
2364A non-exhaustive list of features enabled by C<--enable-frills> (possibly 2400A non-exhaustive list of features enabled by C<--enable-frills> (possibly
2365in combination with other switches) is: 2401in combination with other switches) is:
2366 2402
2367 MWM-hints 2403 MWM-hints
2404 EWMH-hints (pid, utf8 names) and protocols (ping)
2368 seperate underline colour 2405 seperate underline colour
2369 settable border widths and borderless switch 2406 settable border widths and borderless switch
2370 settable extra linespacing 2407 settable extra linespacing
2371 extra window properties (e.g. UTF-8 window names and PID)
2372 iso-14755-2 and -3, and visual feedback 2408 iso-14755-2 and -3, and visual feedback
2373 backindex and forwardindex escape sequence 2409 backindex and forwardindex escape sequence
2374 window op and locale change escape sequences 2410 window op and some xterm/OSC escape sequences
2375 tripleclickwords 2411 tripleclickwords
2376 settable insecure mode 2412 settable insecure mode
2377 keysym remapping support 2413 keysym remapping support
2414 cursor blinking and underline cursor
2415 -embed and -pty-fd options
2378 2416
2379=item --enable-iso14755 2417=item --enable-iso14755
2380 2418
2381Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or 2419Enable extended ISO 14755 support (see @@RXVT_NAME@@(1), or
2382F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by 2420F<doc/rxvt.1.txt>). Basic support (section 5.1) is enabled by
2421 2459
2422Add smart growth/shrink behaviour when changing font size via from hot 2460Add smart growth/shrink behaviour when changing font size via from hot
2423keys. This should keep in a fixed position the rxvt corner which is 2461keys. This should keep in a fixed position the rxvt corner which is
2424closest to a corner of the screen. 2462closest to a corner of the screen.
2425 2463
2426=item --enable-cursor-blink
2427
2428Add support for a blinking cursor.
2429
2430=item --enable-pointer-blank 2464=item --enable-pointer-blank
2431 2465
2432Add support to have the pointer disappear when typing or inactive. 2466Add support to have the pointer disappear when typing or inactive.
2433 2467
2434=item --with-name=NAME 2468=item --with-name=NAME

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines