… | |
… | |
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-16" "7.0" "RXVT-UNICODE" |
132 | .TH rxvt 7 "2006-01-28" "7.4" "RXVT-UNICODE" |
133 | .SH "NAME" |
133 | .SH "NAME" |
134 | RXVT REFERENCE \- FAQ, command sequences and other background information |
134 | RXVT 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 |
… | |
… | |
284 | .Sp |
284 | .Sp |
285 | No large bloated libraries (of course, none were linked in statically), |
285 | No large bloated libraries (of course, none were linked in statically), |
286 | except maybe libX11 :) |
286 | except maybe libX11 :) |
287 | .IP "Does it support tabs, can I have a tabbed rxvt\-unicode?" 4 |
287 | .IP "Does it support tabs, can I have a tabbed rxvt\-unicode?" 4 |
288 | .IX Item "Does it support tabs, can I have a tabbed rxvt-unicode?" |
288 | .IX Item "Does it support tabs, can I have a tabbed rxvt-unicode?" |
289 | rxvt-unicode does not directly support tabs. It will work fine with |
289 | Beginning with version 7.3, there is a perl extension that implements a |
290 | tabbing functionality of many window managers or similar tabbing programs, |
290 | simple tabbed terminal. It is installed by default, so any of these should |
291 | and its embedding-features allow it to be embedded into other programs, |
291 | give you tabs: |
292 | as witnessed by \fIdoc/rxvt\-tabbed\fR or the upcoming \f(CW\*(C`Gtk2::URxvt\*(C'\fR perl |
292 | .Sp |
293 | module, which features a tabbed urxvt (murxvt) terminal as an example |
293 | .Vb 1 |
294 | embedding application. |
294 | \& @@RXVT_NAME@@ -pe tabbed |
|
|
295 | .Ve |
|
|
296 | .Sp |
|
|
297 | .Vb 1 |
|
|
298 | \& URxvt.perl-ext-common: default,tabbed |
|
|
299 | .Ve |
|
|
300 | .Sp |
|
|
301 | It will also work fine with tabbing functionality of many window managers |
|
|
302 | or similar tabbing programs, and its embedding-features allow it to be |
|
|
303 | embedded into other programs, as witnessed by \fIdoc/rxvt\-tabbed\fR or |
|
|
304 | the upcoming \f(CW\*(C`Gtk2::URxvt\*(C'\fR perl module, which features a tabbed urxvt |
|
|
305 | (murxvt) terminal as an example embedding application. |
295 | .IP "How do I know which rxvt-unicode version I'm using?" 4 |
306 | .IP "How do I know which rxvt-unicode version I'm using?" 4 |
296 | .IX Item "How do I know which rxvt-unicode version I'm using?" |
307 | .IX Item "How do I know which rxvt-unicode version I'm using?" |
297 | The version number is displayed with the usage (\-h). Also the escape |
308 | The version number is displayed with the usage (\-h). Also the escape |
298 | sequence \f(CW\*(C`ESC [ 8 n\*(C'\fR sets the window title to the version number. When |
309 | sequence \f(CW\*(C`ESC [ 8 n\*(C'\fR sets the window title to the version number. When |
299 | using the @@RXVT_NAME@@c client, the version displayed is that of the |
310 | using the @@RXVT_NAME@@c client, the version displayed is that of the |
300 | daemon. |
311 | daemon. |
301 | .IP "I am using Debian GNU/Linux and have a problem..." 4 |
312 | .IP "I am using Debian GNU/Linux and have a problem..." 4 |
302 | .IX Item "I am using Debian GNU/Linux and have a problem..." |
313 | .IX Item "I am using Debian GNU/Linux and have a problem..." |
303 | The Debian GNU/Linux package of rxvt-unicode in sarge contains large |
314 | The Debian GNU/Linux package of rxvt-unicode in sarge contains large |
304 | patches that considerably change the behaviour of rxvt\-unicode. Before |
315 | patches that considerably change the behaviour of rxvt-unicode (but |
305 | reporting a bug to the original rxvt-unicode author please download and |
316 | unfortunately this notice has been removed). Before reporting a bug to |
306 | install the genuine version (<http://software.schmorp.de#rxvt\-unicode>) |
317 | the original rxvt-unicode author please download and install the genuine |
307 | and try to reproduce the problem. If you cannot, chances are that the |
318 | version (<http://software.schmorp.de#rxvt\-unicode>) and try to reproduce |
308 | problems are specific to Debian GNU/Linux, in which case it should be |
319 | the problem. If you cannot, chances are that the problems are specific to |
|
|
320 | Debian GNU/Linux, in which case it should be reported via the Debian Bug |
309 | reported via the Debian Bug Tracking System (use \f(CW\*(C`reportbug\*(C'\fR to report |
321 | Tracking System (use \f(CW\*(C`reportbug\*(C'\fR to report the bug). |
310 | the bug). |
|
|
311 | .Sp |
322 | .Sp |
312 | For other problems that also affect the Debian package, you can and |
323 | For other problems that also affect the Debian package, you can and |
313 | probably should use the Debian \s-1BTS\s0, too, because, after all, it's also a |
324 | probably should use the Debian \s-1BTS\s0, too, because, after all, it's also a |
314 | bug in the Debian version and it serves as a reminder for other users that |
325 | bug in the Debian version and it serves as a reminder for other users that |
315 | might encounter the same issue. |
326 | might encounter the same issue. |
… | |
… | |
332 | one with \f(CW\*(C`\-\-disable\-everything\*(C'\fR (very useful) and a maximal one with |
343 | one 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 |
344 | \&\f(CW\*(C`\-\-enable\-everything\*(C'\fR (less useful, it will be very big due to a lot of |
334 | encodings built-in that increase download times and are rarely used). |
345 | encodings 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 |
346 | .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?" |
347 | .IX Item "I need to make it setuid/setgid to support utmp/ptys on my OS, is this safe?" |
337 | Likely not. While I honestly try to make it secure, and am probably not |
348 | It should be, starting with release 7.1. You are encouraged to properly |
338 | bad at it, I think it is simply unreasonable to expect all of freetype |
349 | install urxvt with privileges necessary for your \s-1OS\s0 now. |
339 | + fontconfig + xft + xlib + perl + ... + rxvt-unicode itself to all be |
|
|
340 | secure. Also, rxvt-unicode disables some options when it detects that it |
|
|
341 | runs setuid or setgid, which is not nice. Besides, with the embedded perl |
|
|
342 | interpreter the possibility for security problems easily multiplies. |
|
|
343 | .Sp |
350 | .Sp |
344 | Elevated privileges are only required for utmp and pty operations on some |
351 | When rxvt-unicode detects that it runs setuid or setgid, it will fork |
345 | systems (for example, GNU/Linux doesn't need any extra privileges for |
352 | into a helper process for privileged operations (pty handling on some |
346 | ptys, but some need it for utmp support). It is planned to mvoe this into |
353 | systems, utmp/wtmp/lastlog handling on others) and drop privileges |
347 | a forked handler process, but this is not yet done. |
354 | immediately. This is much safer than most other terminals that keep |
|
|
355 | privileges while running (but is more relevant to urxvt, as it contains |
|
|
356 | things as perl interpreters, which might be \*(L"helpful\*(R" to attackers). |
348 | .Sp |
357 | .Sp |
349 | So, while setuid/setgid operation is supported and not a problem on your |
358 | This forking is done as the very first within \fImain()\fR, which is very early |
350 | typical single-user-no-other-logins unix desktop, always remember that |
359 | and reduces possible bugs to initialisation code run before \fImain()\fR, or |
351 | its an awful lot of code, most of which isn't checked for security issues |
360 | things like the dynamic loader of your system, which should result in very |
352 | regularly. |
361 | little risk. |
353 | .IP "When I log-in to another system it tells me about missing terminfo data?" 4 |
362 | .IP "When I log-in to another system it tells me about missing terminfo data?" 4 |
354 | .IX Item "When I log-in to another system it tells me about missing terminfo data?" |
363 | .IX Item "When I log-in to another system it tells me about missing terminfo data?" |
355 | The terminal description used by rxvt-unicode is not as widely available |
364 | The terminal description used by rxvt-unicode is not as widely available |
356 | as that for xterm, or even rxvt (for which the same problem often arises). |
365 | as that for xterm, or even rxvt (for which the same problem often arises). |
357 | .Sp |
366 | .Sp |
… | |
… | |
1058 | .IX Header "RXVT TECHNICAL REFERENCE" |
1067 | .IX Header "RXVT TECHNICAL REFERENCE" |
1059 | .SH "DESCRIPTION" |
1068 | .SH "DESCRIPTION" |
1060 | .IX Header "DESCRIPTION" |
1069 | .IX Header "DESCRIPTION" |
1061 | The rest of this document describes various technical aspects of |
1070 | The rest of this document describes various technical aspects of |
1062 | \&\fBrxvt-unicode\fR. First the description of supported command sequences, |
1071 | \&\fBrxvt-unicode\fR. First the description of supported command sequences, |
1063 | followed by menu and pixmap support and last by a description of all |
1072 | followed by pixmap support and last by a description of all features |
1064 | features selectable at \f(CW\*(C`configure\*(C'\fR time. |
1073 | selectable at \f(CW\*(C`configure\*(C'\fR time. |
1065 | .SH "Definitions" |
1074 | .SH "Definitions" |
1066 | .IX Header "Definitions" |
1075 | .IX Header "Definitions" |
1067 | .ie n .IP "\fB\fB""c""\fB\fR" 4 |
1076 | .ie n .IP "\fB\fB""c""\fB\fR" 4 |
1068 | .el .IP "\fB\f(CBc\fB\fR" 4 |
1077 | .el .IP "\fB\f(CBc\fB\fR" 4 |
1069 | .IX Item "c" |
1078 | .IX Item "c" |
… | |
… | |
1811 | Ps = 12 Change colour of text cursor foreground to Pt |
1820 | Ps = 12 Change colour of text cursor foreground to Pt |
1812 | Ps = 13 Change colour of mouse foreground to Pt |
1821 | Ps = 13 Change colour of mouse foreground to Pt |
1813 | Ps = 17 Change colour of highlight characters to Pt |
1822 | Ps = 17 Change colour of highlight characters to Pt |
1814 | Ps = 18 Change colour of bold characters to Pt [deprecated, see 706] |
1823 | Ps = 18 Change colour of bold characters to Pt [deprecated, see 706] |
1815 | Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707] |
1824 | Ps = 19 Change colour of underlined characters to Pt [deprecated, see 707] |
1816 | Ps = 20 Change default background to Pt |
1825 | Ps = 20 Change background pixmap parameters (see section XPM) (Compile XPM). |
1817 | Ps = 39 Change default foreground colour to Pt. |
1826 | Ps = 39 Change default foreground colour to Pt. |
1818 | Ps = 46 Change Log File to Pt unimplemented |
1827 | Ps = 46 Change Log File to Pt unimplemented |
1819 | Ps = 49 Change default background colour to Pt. |
1828 | Ps = 49 Change default background colour to Pt. |
1820 | 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 |
1829 | 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 |
1821 | Ps = 55 Log all scrollback buffer and all of screen to Pt |
1830 | Ps = 55 Log all scrollback buffer and all of screen to Pt |
1822 | Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). |
1831 | Ps = 701 Change current locale to Pt, or, if Pt is ?, return the current locale (Compile frills). |
|
|
1832 | 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. |
1823 | Ps = 704 Change colour of italic characters to Pt |
1833 | Ps = 704 Change colour of italic characters to Pt |
1824 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
1834 | Ps = 705 Change background pixmap tint colour to Pt (Compile transparency). |
1825 | Ps = 706 Change colour of bold characters to Pt |
1835 | Ps = 706 Change colour of bold characters to Pt |
1826 | Ps = 707 Change colour of underlined characters to Pt |
1836 | Ps = 707 Change colour of underlined characters to Pt |
1827 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
1837 | Ps = 710 Set normal fontset to Pt. Same as Ps = 50. |
… | |
… | |
2045 | Add support for \s-1XIM\s0 (X Input Method) protocol. This allows using |
2055 | Add support for \s-1XIM\s0 (X Input Method) protocol. This allows using |
2046 | alternative input methods (e.g. kinput2) and will also correctly |
2056 | alternative input methods (e.g. kinput2) and will also correctly |
2047 | set up the input for people using dead keys or compose keys. |
2057 | set up the input for people using dead keys or compose keys. |
2048 | .IP "\-\-enable\-unicode3 (default: off)" 4 |
2058 | .IP "\-\-enable\-unicode3 (default: off)" 4 |
2049 | .IX Item "--enable-unicode3 (default: off)" |
2059 | .IX Item "--enable-unicode3 (default: off)" |
|
|
2060 | Recommended to stay off unless you really need non-BMP characters. |
|
|
2061 | .Sp |
2050 | Enable direct support for displaying unicode codepoints above |
2062 | Enable direct support for displaying unicode codepoints above |
2051 | 65535 (the basic multilingual page). This increases storage |
2063 | 65535 (the basic multilingual page). This increases storage |
2052 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
2064 | requirements per character from 2 to 4 bytes. X11 fonts do not yet |
2053 | support these extra characters, but Xft does. |
2065 | support these extra characters, but Xft does. |
2054 | .Sp |
2066 | .Sp |
… | |
… | |
2063 | composite characters. This is required for proper viewing of text |
2075 | composite characters. This is required for proper viewing of text |
2064 | where accents are encoded as seperate unicode characters. This is |
2076 | where accents are encoded as seperate unicode characters. This is |
2065 | done by using precomposited characters when available or creating |
2077 | done by using precomposited characters when available or creating |
2066 | new pseudo-characters when no precomposed form exists. |
2078 | new pseudo-characters when no precomposed form exists. |
2067 | .Sp |
2079 | .Sp |
2068 | Without \-\-enable\-unicode3, the number of additional precomposed characters |
2080 | Without \-\-enable\-unicode3, the number of additional precomposed |
2069 | is rather limited (2048, if this is full, rxvt-unicode will use the |
2081 | characters is somewhat limited (the 6400 private use characters will be |
2070 | private use area, extending the number of combinations to 8448). With |
|
|
2071 | \&\-\-enable\-unicode3, no practical limit exists. |
2082 | (ab\-)used). With \-\-enable\-unicode3, no practical limit exists. |
2072 | .Sp |
2083 | .Sp |
2073 | This option will also enable storage (but not display) of characters |
2084 | This option will also enable storage (but not display) of characters |
2074 | beyond plane 0 (>65535) when \-\-enable\-unicode3 was not specified. |
2085 | beyond plane 0 (>65535) when \-\-enable\-unicode3 was not specified. |
2075 | .Sp |
2086 | .Sp |
2076 | The combining table also contains entries for arabic presentation forms, |
2087 | The combining table also contains entries for arabic presentation forms, |
2077 | but these are not currently used. Bug me if you want these to be used (and |
2088 | but these are not currently used. Bug me if you want these to be used (and |
2078 | tell me how these are to be used...). |
2089 | tell me how these are to be used...). |
2079 | .IP "\-\-enable\-fallback(=CLASS) (default: Rxvt)" 4 |
2090 | .IP "\-\-enable\-fallback(=CLASS) (default: Rxvt)" 4 |
2080 | .IX Item "--enable-fallback(=CLASS) (default: Rxvt)" |
2091 | .IX Item "--enable-fallback(=CLASS) (default: Rxvt)" |
2081 | When reading resource settings, also read settings for class \s-1CLASS\s0. To disable resource fallback use \-\-disable\-fallback. |
2092 | When reading resource settings, also read settings for class \s-1CLASS\s0. To |
|
|
2093 | disable resource fallback use \-\-disable\-fallback. |
2082 | .IP "\-\-with\-res\-name=NAME (default: urxvt)" 4 |
2094 | .IP "\-\-with\-res\-name=NAME (default: urxvt)" 4 |
2083 | .IX Item "--with-res-name=NAME (default: urxvt)" |
2095 | .IX Item "--with-res-name=NAME (default: urxvt)" |
2084 | Use the given name as default application name when |
2096 | Use the given name as default application name when |
2085 | reading resources. Specify \-\-with\-res\-name=rxvt to replace rxvt. |
2097 | reading resources. Specify \-\-with\-res\-name=rxvt to replace rxvt. |
2086 | .IP "\-\-with\-res\-class=CLASS /default: URxvt)" 4 |
2098 | .IP "\-\-with\-res\-class=CLASS /default: URxvt)" 4 |
… | |
… | |
2127 | .IP "\-\-enable\-plain\-scroll (default: on)" 4 |
2139 | .IP "\-\-enable\-plain\-scroll (default: on)" 4 |
2128 | .IX Item "--enable-plain-scroll (default: on)" |
2140 | .IX Item "--enable-plain-scroll (default: on)" |
2129 | Add support for a very unobtrusive, plain-looking scrollbar that |
2141 | Add support for a very unobtrusive, plain-looking scrollbar that |
2130 | is the favourite of the rxvt-unicode author, having used it for |
2142 | is the favourite of the rxvt-unicode author, having used it for |
2131 | many years. |
2143 | many years. |
2132 | .IP "\-\-enable\-half\-shadow (default: off)" 4 |
|
|
2133 | .IX Item "--enable-half-shadow (default: off)" |
|
|
2134 | Make shadows on the scrollbar only half the normal width & height. |
|
|
2135 | only applicable to rxvt scrollbars. |
|
|
2136 | .IP "\-\-enable\-ttygid (default: off)" 4 |
2144 | .IP "\-\-enable\-ttygid (default: off)" 4 |
2137 | .IX Item "--enable-ttygid (default: off)" |
2145 | .IX Item "--enable-ttygid (default: off)" |
2138 | Change tty device setting to group \*(L"tty\*(R" \- only use this if |
2146 | Change tty device setting to group \*(L"tty\*(R" \- only use this if |
2139 | your system uses this type of security. |
2147 | your system uses this type of security. |
2140 | .IP "\-\-disable\-backspace\-key" 4 |
2148 | .IP "\-\-disable\-backspace\-key" 4 |
… | |
… | |
2157 | disable this. |
2165 | disable this. |
2158 | .Sp |
2166 | .Sp |
2159 | A non-exhaustive list of features enabled by \f(CW\*(C`\-\-enable\-frills\*(C'\fR (possibly |
2167 | A non-exhaustive list of features enabled by \f(CW\*(C`\-\-enable\-frills\*(C'\fR (possibly |
2160 | in combination with other switches) is: |
2168 | in combination with other switches) is: |
2161 | .Sp |
2169 | .Sp |
2162 | .Vb 17 |
2170 | .Vb 18 |
2163 | \& MWM-hints |
2171 | \& MWM-hints |
2164 | \& EWMH-hints (pid, utf8 names) and protocols (ping) |
2172 | \& EWMH-hints (pid, utf8 names) and protocols (ping) |
2165 | \& seperate underline colour (-underlineColor) |
2173 | \& seperate underline colour (-underlineColor) |
2166 | \& settable border widths and borderless switch (-w, -b, -bl) |
2174 | \& settable border widths and borderless switch (-w, -b, -bl) |
|
|
2175 | \& visual selection (-depth) |
2167 | \& settable extra linespacing /-lsp) |
2176 | \& settable extra linespacing /-lsp) |
2168 | \& iso-14755-2 and -3, and visual feedback |
2177 | \& iso-14755-2 and -3, and visual feedback |
2169 | \& backindex and forwardindex escape sequence |
2178 | \& backindex and forwardindex escape sequence |
2170 | \& window op and some xterm/OSC escape sequences |
2179 | \& window op and some xterm/OSC escape sequences |
2171 | \& tripleclickwords (-tcw) |
2180 | \& tripleclickwords (-tcw) |
… | |
… | |
2218 | keys. This should keep the window corner which is closest to a corner of |
2227 | keys. This should keep the window corner which is closest to a corner of |
2219 | the screen in a fixed position. |
2228 | the screen in a fixed position. |
2220 | .IP "\-\-enable\-pointer\-blank (default: on)" 4 |
2229 | .IP "\-\-enable\-pointer\-blank (default: on)" 4 |
2221 | .IX Item "--enable-pointer-blank (default: on)" |
2230 | .IX Item "--enable-pointer-blank (default: on)" |
2222 | Add support to have the pointer disappear when typing or inactive. |
2231 | Add support to have the pointer disappear when typing or inactive. |
2223 | .IP "\-\-enable\-perl (default: off)" 4 |
2232 | .IP "\-\-enable\-perl (default: on)" 4 |
2224 | .IX Item "--enable-perl (default: off)" |
2233 | .IX Item "--enable-perl (default: on)" |
2225 | Enable an embedded perl interpreter. See the \fB@@RXVT_NAME@@\f(BIperl\fB\|(3)\fR |
2234 | Enable an embedded perl interpreter. See the \fB@@RXVT_NAME@@\f(BIperl\fB\|(3)\fR |
2226 | manpage (\fIdoc/rxvtperl.txt\fR) for more info on this feature, or the files |
2235 | manpage (\fIdoc/rxvtperl.txt\fR) for more info on this feature, or the files |
2227 | in \fIsrc/perl\-ext/\fR for the extensions that are installed by default. The |
2236 | in \fIsrc/perl\-ext/\fR for the extensions that are installed by default. The |
2228 | perl interpreter that is used can be specified via the \f(CW\*(C`PERL\*(C'\fR environment |
2237 | perl interpreter that is used can be specified via the \f(CW\*(C`PERL\*(C'\fR environment |
2229 | variable when running configure. |
2238 | variable when running configure. |