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

Comparing rxvt-unicode/doc/rxvt.7.man.in (file contents):
Revision 1.35 by root, Wed Jan 4 21:50:12 2006 UTC vs.
Revision 1.44 by root, Thu Jan 12 23:16:31 2006 UTC

127.\} 127.\}
128.rm #[ #] #H #V #F C 128.rm #[ #] #H #V #F C
129.\" ======================================================================== 129.\" ========================================================================
130.\" 130.\"
131.IX Title "rxvt 7" 131.IX Title "rxvt 7"
132.TH rxvt 7 "2006-01-04" "6.3" "RXVT-UNICODE" 132.TH rxvt 7 "2006-01-13" "7.0" "RXVT-UNICODE"
133.SH "NAME" 133.SH "NAME"
134RXVT REFERENCE \- FAQ, command sequences and other background information 134RXVT REFERENCE \- FAQ, command sequences and other background information
135.SH "SYNOPSIS" 135.SH "SYNOPSIS"
136.IX Header "SYNOPSIS" 136.IX Header "SYNOPSIS"
137.Vb 2 137.Vb 2
156The newest version of this document is 156The newest version of this document is
157also available on the World Wide Web at 157also available on the World Wide Web at
158<http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>. 158<http://cvs.schmorp.de/browse/*checkout*/rxvt\-unicode/doc/rxvt.7.html>.
159.SH "FREQUENTLY ASKED QUESTIONS" 159.SH "FREQUENTLY ASKED QUESTIONS"
160.IX Header "FREQUENTLY ASKED QUESTIONS" 160.IX Header "FREQUENTLY ASKED QUESTIONS"
161.IP "The new selection selects pieces that are too big, how can I select single words?" 4
162.IX Item "The new selection selects pieces that are too big, how can I select single words?"
163Yes. For example, if you want to select alphanumeric words, you can use
164the following resource:
165.Sp
166.Vb 1
167\& URxvt.selection.pattern-0: ([[:word:]]+)
168.Ve
169.Sp
170If you click more than twice, the selection will be extended
171more and more.
172.Sp
173To get a selection that is very similar to the old code, try this pattern:
174.Sp
175.Vb 1
176\& URxvt.selection.pattern-0: ([^"&'()*,;<=>?@[\e\e\e\e]^`{|})]+)
177.Ve
178.Sp
179Please also note that the \fILeftClick Shift-LeftClik\fR combination also
180selects words like the old code.
181.IP "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?" 4
182.IX Item "I don't like the new selection/popups/hotkeys/perl, how do I change/disable it?"
183You can disable the perl extension completely by setting the
184\&\fBperl-ext-common\fR resource to the empty string, which also keeps
185rxvt-unicode from initialising perl, saving memory.
186.Sp
187If you only want to disable specific features, you first have to
188identify which perl extension is responsible. For this, read the section
189\&\fB\s-1PREPACKAGED\s0 \s-1EXTENSIONS\s0\fR in the @@RXVT_NAME@@\fIperl\fR\|(3) manpage. For
190example, to disable the \fBselection-popup\fR and \fBoption-popup\fR, specify
191this \fBperl-ext-common\fR resource:
192.Sp
193.Vb 1
194\& URxvt.perl-ext-common: default,-selection-popup,-option-popup
195.Ve
196.Sp
197This will keep the default extensions, but disable the two popup
198extensions. Some extensions can also be configured, for example,
199scrollback search mode is triggered by \fBM\-s\fR. You can move it to any
200other combination either by setting the \fBsearchable-scrollback\fR resource:
201.Sp
202.Vb 1
203\& URxvt.searchable-scrollback: CM-s
204.Ve
161.IP "Isn't rxvt supposed to be small? Don't all those features bloat?" 4 205.IP "Isn't rxvt supposed to be small? Don't all those features bloat?" 4
162.IX Item "Isn't rxvt supposed to be small? Don't all those features bloat?" 206.IX Item "Isn't rxvt supposed to be small? Don't all those features bloat?"
163I often get asked about this, and I think, no, they didn't cause extra 207I often get asked about this, and I think, no, they didn't cause extra
164bloat. If you compare a minimal rxvt and a minimal urxvt, you can see 208bloat. If you compare a minimal rxvt and a minimal urxvt, you can see
165that the urxvt binary is larger (due to some encoding tables always being 209that the urxvt binary is larger (due to some encoding tables always being
198memory. 242memory.
199.Sp 243.Sp
200Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this 244Compared to e.g. Eterm (5112k), aterm (3132k) and xterm (4680k), this
201still fares rather well. And compared to some monsters like gnome-terminal 245still fares rather well. And compared to some monsters like gnome-terminal
202(21152k + extra 4204k in separate processes) or konsole (22200k + extra 246(21152k + extra 4204k in separate processes) or konsole (22200k + extra
20343180k in daemons that stay around after exit, plus half aminute of 24743180k in daemons that stay around after exit, plus half a minute of
204startup time, including the hundreds of warnings it spits out), it fares 248startup time, including the hundreds of warnings it spits out), it fares
205extremely well *g*. 249extremely well *g*.
206.IP "Why \*(C+, isn't that unportable/bloated/uncool?" 4 250.IP "Why \*(C+, isn't that unportable/bloated/uncool?" 4
207.IX Item "Why , isn't that unportable/bloated/uncool?" 251.IX Item "Why , isn't that unportable/bloated/uncool?"
208Is this a question? :) It comes up very often. The simple answer is: I had 252Is this a question? :) It comes up very often. The simple answer is: I had
267.Sp 311.Sp
268For other problems that also affect the Debian package, you can and 312For other problems that also affect the Debian package, you can and
269probably should use the Debian \s-1BTS\s0, too, because, after all, it's also a 313probably should use the Debian \s-1BTS\s0, too, because, after all, it's also a
270bug in the Debian version and it serves as a reminder for other users that 314bug in the Debian version and it serves as a reminder for other users that
271might encounter the same issue. 315might encounter the same issue.
316.IP "I am maintaining rxvt-unicode for distribution/OS \s-1XXX\s0, any recommendation?" 4
317.IX Item "I am maintaining rxvt-unicode for distribution/OS XXX, any recommendation?"
318You should build one binary with the default options. \fIconfigure\fR
319now enables most useful options, and the trend goes to making them
320runtime\-switchable, too, so there is usually no drawback to enbaling them,
321except higher disk and possibly memory usage. The perl interpreter should
322be enabled, as important functionality (menus, selection, likely more in
323the future) depends on it.
324.Sp
325You should not overwrite the \f(CW\*(C`perl\-ext\-common\*(C'\fR snd \f(CW\*(C`perl\-ext\*(C'\fR resources
326system-wide (except maybe with \f(CW\*(C`defaults\*(C'\fR). This will result in useful
327behaviour. If your distribution aims at low memory, add an empty
328\&\f(CW\*(C`perl\-ext\-common\*(C'\fR resource to the app-defaults file. This will keep the
329perl interpreter disabled until the user enables it.
330.Sp
331If you can/want build more binaries, I recommend building a minimal
332one with \f(CW\*(C`\-\-disable\-everything\*(C'\fR (very useful) and a maximal one with
333\&\f(CW\*(C`\-\-enable\-everything\*(C'\fR (less useful, it will be very big due to a lot of
334encodings built-in that increase download times and are rarely used).
335.IP "I need to make it setuid/setgid to support utmp/ptys on my \s-1OS\s0, is this safe?" 4
336.IX Item "I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?"
337Likely not. While I honestly try to make it secure, and am probably not
338bad at it, I think it is simply unreasonable to expect all of freetype
339+ fontconfig + xft + xlib + perl + ... + rxvt-unicode itself to all be
340secure. Also, rxvt-unicode disables some options when it detects that it
341runs setuid or setgid, which is not nice. Besides, with the embedded perl
342interpreter the possibility for security problems easily multiplies.
343.Sp
344Elevated privileges are only required for utmp and pty operations on some
345systems (for example, GNU/Linux doesn't need any extra privileges for
346ptys, but some need it for utmp support). It is planned to mvoe this into
347a forked handler process, but this is not yet done.
348.Sp
349So, while setuid/setgid operation is supported and not a problem on your
350typical single-user-no-other-logins unix desktop, always remember that
351its an awful lot of code, most of which isn't checked for security issues
352regularly.
272.IP "When I log-in to another system it tells me about missing terminfo data?" 4 353.IP "When I log-in to another system it tells me about missing terminfo data?" 4
273.IX Item "When I log-in to another system it tells me about missing terminfo data?" 354.IX Item "When I log-in to another system it tells me about missing terminfo data?"
274The terminal description used by rxvt-unicode is not as widely available 355The terminal description used by rxvt-unicode is not as widely available
275as that for xterm, or even rxvt (for which the same problem often arises). 356as that for xterm, or even rxvt (for which the same problem often arises).
276.Sp 357.Sp
1737Ps = 10 Change colour of text foreground to Pt (NB: may change in future) 1818Ps = 10 Change colour of text foreground to Pt (NB: may change in future)
1738Ps = 11 Change colour of text background to Pt (NB: may change in future) 1819Ps = 11 Change colour of text background to Pt (NB: may change in future)
1739Ps = 12 Change colour of text cursor foreground to Pt 1820Ps = 12 Change colour of text cursor foreground to Pt
1740Ps = 13 Change colour of mouse foreground to Pt 1821Ps = 13 Change colour of mouse foreground to Pt
1741Ps = 17 Change colour of highlight characters to Pt 1822Ps = 17 Change colour of highlight characters to Pt
1742Ps = 18 Change colour of bold characters to Pt 1823Ps = 18 Change colour of bold characters to Pt [deprecated, see 706]
1743Ps = 19 Change colour of underlined characters to Pt 1824Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707]
1744Ps = 20 Change default background to Pt 1825Ps = 20 Change default background to Pt
1745Ps = 39 Change default foreground colour to Pt. 1826Ps = 39 Change default foreground colour to Pt.
1746Ps = 46 Change Log File to Pt unimplemented 1827Ps = 46 Change Log File to Pt unimplemented
1747Ps = 49 Change default background colour to Pt. 1828Ps = 49 Change default background colour to Pt.
1748Ps = 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 1829Ps = 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
1749Ps = 55 Log all scrollback buffer and all of screen to Pt 1830Ps = 55 Log all scrollback buffer and all of screen to Pt
1750Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). 1831Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills).
1751Ps = 703 Menubar command Pt (Compile menubar). 1832Ps = 703 Menubar command Pt (Compile menubar).
1752Ps = 704 Change colour of italic characters to Pt 1833Ps = 704 Change colour of italic characters to Pt
1753Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). 1834Ps = 705 Change background pixmap tint colour to Pt (Compile transparency).
1835Ps = 706 Change colour of bold characters to Pt
1836Ps = 707 Change colour of underlined characters to Pt
1754Ps = 710 Set normal fontset to Pt. Same as Ps = 50. 1837Ps = 710 Set normal fontset to Pt. Same as Ps = 50.
1755Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles). 1838Ps = 711 Set bold fontset to Pt. Similar to Ps = 50 (Compile styles).
1756Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles). 1839Ps = 712 Set italic fontset to Pt. Similar to Ps = 50 (Compile styles).
1757Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles). 1840Ps = 713 Set bold-italic fontset to Pt. Similar to Ps = 50 (Compile styles).
1758Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills). 1841Ps = 720 Move viewing window up by Pt lines, or clear scrollback buffer if Pt = 0 (Compile frills).
2400.IP "\-\-enable\-lastlog (default: on)" 4 2483.IP "\-\-enable\-lastlog (default: on)" 4
2401.IX Item "--enable-lastlog (default: on)" 2484.IX Item "--enable-lastlog (default: on)"
2402Write user and tty to lastlog file (used by programs like 2485Write user and tty to lastlog file (used by programs like
2403\&\fIlastlogin\fR) at start of rxvt execution. This option requires 2486\&\fIlastlogin\fR) at start of rxvt execution. This option requires
2404\&\-\-enable\-utmp to also be specified. 2487\&\-\-enable\-utmp to also be specified.
2405.IP "\-\-enable\-xpm\-background (default: off)" 4 2488.IP "\-\-enable\-xpm\-background (default: on)" 4
2406.IX Item "--enable-xpm-background (default: off)" 2489.IX Item "--enable-xpm-background (default: on)"
2407Add support for \s-1XPM\s0 background pixmaps. 2490Add support for \s-1XPM\s0 background pixmaps.
2408.IP "\-\-enable\-transparency (default: off)" 4 2491.IP "\-\-enable\-transparency (default: on)" 4
2409.IX Item "--enable-transparency (default: off)" 2492.IX Item "--enable-transparency (default: on)"
2410Add support for inheriting parent backgrounds thus giving a fake 2493Add support for inheriting parent backgrounds thus giving a fake
2411transparency to the term. 2494transparency to the term.
2412.IP "\-\-enable\-fading (default: on)" 4 2495.IP "\-\-enable\-fading (default: on)" 4
2413.IX Item "--enable-fading (default: on)" 2496.IX Item "--enable-fading (default: on)"
2414Add support for fading the text when focus is lost (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR). 2497Add support for fading the text when focus is lost (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR).
2415.IP "\-\-enable\-tinting (default: on)" 4 2498.IP "\-\-enable\-tinting (default: on)" 4
2416.IX Item "--enable-tinting (default: on)" 2499.IX Item "--enable-tinting (default: on)"
2417Add support for tinting of transparent backgrounds (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR). 2500Add support for tinting of transparent backgrounds (requires \f(CW\*(C`\-\-enable\-transparency\*(C'\fR).
2418.IP "\-\-enable\-menubar (default: off)" 4 2501.IP "\-\-enable\-menubar (default: off) [\s-1DEPRECATED\s0]" 4
2419.IX Item "--enable-menubar (default: off)" 2502.IX Item "--enable-menubar (default: off) [DEPRECATED]"
2420Add support for our menu bar system (this interacts badly with 2503Add support for our menu bar system (this interacts badly with dynamic
2421dynamic locale switching currently). 2504locale switching currently). This option is \s-1DEPRECATED\s0 and will be removed
2505in the future.
2422.IP "\-\-enable\-rxvt\-scroll (default: on)" 4 2506.IP "\-\-enable\-rxvt\-scroll (default: on)" 4
2423.IX Item "--enable-rxvt-scroll (default: on)" 2507.IX Item "--enable-rxvt-scroll (default: on)"
2424Add support for the original rxvt scrollbar. 2508Add support for the original rxvt scrollbar.
2425.IP "\-\-enable\-next\-scroll (default: on)" 4 2509.IP "\-\-enable\-next\-scroll (default: on)" 4
2426.IX Item "--enable-next-scroll (default: on)" 2510.IX Item "--enable-next-scroll (default: on)"
2449Removes any handling of the delete key by us \- let the X server 2533Removes any handling of the delete key by us \- let the X server
2450do it. 2534do it.
2451.IP "\-\-disable\-resources" 4 2535.IP "\-\-disable\-resources" 4
2452.IX Item "--disable-resources" 2536.IX Item "--disable-resources"
2453Removes any support for resource checking. 2537Removes any support for resource checking.
2454.IP "\-\-enable\-xgetdefault" 4
2455.IX Item "--enable-xgetdefault"
2456Make resources checking via \fIXGetDefault()\fR instead of our small
2457version which only checks ~/.Xdefaults, or if that doesn't exist then
2458~/.Xresources.
2459.Sp
2460Please note that nowadays, things like \s-1XIM\s0 will automatically pull in and
2461use the full X resource manager, so the overhead of using it might be very
2462small, if nonexistant.
2463.IP "\-\-enable\-strings (default: off)" 4 2538.IP "\-\-enable\-strings (default: off)" 4
2464.IX Item "--enable-strings (default: off)" 2539.IX Item "--enable-strings (default: off)"
2465Add support for our possibly faster \fImemset()\fR function and other 2540Add support for our possibly faster \fImemset()\fR function and other
2466various routines, overriding your system's versions which may 2541various routines, overriding your system's versions which may
2467have been hand-crafted in assembly or may require extra libraries 2542have been hand-crafted in assembly or may require extra libraries

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines