1 |
=head1 NAME |
2 |
|
3 |
rxvt-unicode (ouR XVT, unicode) - (a VT102 emulator for the X window system) |
4 |
|
5 |
=head1 SYNOPSIS |
6 |
|
7 |
B<@@RXVT_NAME@@> [options] [-e command [ args ]] |
8 |
|
9 |
=head1 DESCRIPTION |
10 |
|
11 |
B<rxvt-unicode>, version B<@@RXVT_VERSION@@>, is a colour vt102 terminal |
12 |
emulator intended as an I<xterm>(1) replacement for users who do not |
13 |
require features such as Tektronix 4014 emulation and toolkit-style |
14 |
configurability. As a result, B<rxvt-unicode> uses much less swap space -- |
15 |
a significant advantage on a machine serving many X sessions. |
16 |
|
17 |
=head1 RXVT-UNICODE VS. RXVT |
18 |
|
19 |
Unlike the original rxvt, B<rxvt-unicode> stores all text in Unicode |
20 |
internally. That means it can store and display most scripts in the |
21 |
world. Being a terminal emulator, however, some things are very difficult, |
22 |
especially cursive scripts such as arabic, vertically written scripts |
23 |
like mongolian or scripts requiring extremely complex combining rules, |
24 |
like tibetan or devenagari. Don't expect pretty output when using these |
25 |
scripts. Most other scripts, latin, cyrillic, kanji, thai etc. should work |
26 |
fine, though. A somewhat difficult case are left-to-right scripts, such |
27 |
as hebrew: B<rxvt-unicode> adopts the view that bidirectional algorithms |
28 |
belong into the application, not the terminal emulator (too many things -- |
29 |
such as cursor-movement -- break othwerwise). |
30 |
|
31 |
Another design rationale was the use of multiple fonts to display |
32 |
characters: The idea of a single unicode font which many other programs |
33 |
force onto it's users never made sense to me: You should be able to choose |
34 |
any font for any script. |
35 |
|
36 |
Apart from that, rxvt-unicode is also much better internationalised than |
37 |
it's predecessor, supports things such as XFT and ISO 14755 that are handy |
38 |
in i18n-environments, is faster, and has a lot less bugs than the original |
39 |
rxvt. This all in addition to dozens of other small improvements. |
40 |
|
41 |
It is still faithfully following the original rxvt idea of being lean |
42 |
and nice on resources: for example, you can still configure rxvt-unicode |
43 |
without most of it's features to get a lean binary. It also comes with |
44 |
a client/daemon pair that lets you open any number of terminal windows |
45 |
from within a single process, which makes startup time very fast and |
46 |
drastically reduces memory usage. See @@RXVT_NAME@@d(1) (daemon) and |
47 |
@@RXVT_NAME@@c(1) (client). |
48 |
|
49 |
It also makes technical information about escape sequences (which have |
50 |
been extended) easier accessible: see @@RXVT_NAME@@(7) for technical |
51 |
reference documentation (escape sequences etc.) and the FAQ section at the |
52 |
end of this document. |
53 |
|
54 |
=head1 OPTIONS |
55 |
|
56 |
The B<@@RXVT_NAME@@> options (mostly a subset of I<xterm>'s) are listed |
57 |
below. In keeping with the smaller-is-better philosophy, options may be |
58 |
eliminated or default values chosen at compile-time, so options and |
59 |
defaults listed may not accurately reflect the version installed on |
60 |
your system. `@@RXVT_NAME@@ -h' gives a list of major compile-time options on |
61 |
the I<Options> line. Option descriptions may be prefixed with which |
62 |
compile option each is dependent upon. e.g. `Compile I<XIM>:' requires |
63 |
I<XIM> on the I<Options> line. Note: `@@RXVT_NAME@@ -help' gives a list of all |
64 |
command-line options compiled into your version. |
65 |
|
66 |
Note that B<@@RXVT_NAME@@> permits the resource name to be used as a |
67 |
long-option (--/++ option) so the potential command-line options are |
68 |
far greater than those listed. For example: `@@RXVT_NAME@@ --loginShell --color1 |
69 |
Orange'. |
70 |
|
71 |
The following options are available: |
72 |
|
73 |
=over 4 |
74 |
|
75 |
=item B<-help>, B<--help> |
76 |
|
77 |
Print out a message describing available options. |
78 |
|
79 |
=item B<-display> I<displayname> |
80 |
|
81 |
Attempt to open a window on the named X display (B<-d> still |
82 |
respected). In the absence of this option, the display specified by the |
83 |
B<DISPLAY> environment variable is used. |
84 |
|
85 |
=item B<-geometry> I<geom> |
86 |
|
87 |
Window geometry (B<-g> still respected); resource B<geometry>. |
88 |
|
89 |
=item B<-rv>|B<+rv> |
90 |
|
91 |
Turn on/off simulated reverse video; resource B<reverseVideo>. |
92 |
|
93 |
=item B<-j>|B<+j> |
94 |
|
95 |
Turn on/off jump scrolling; resource B<jumpScroll>. |
96 |
|
97 |
=item B<-ip>|B<+ip> |
98 |
|
99 |
Turn on/off inheriting parent window's pixmap. Alternative form is |
100 |
B<-tr>; resource B<inheritPixmap>. |
101 |
|
102 |
=item B<-fade> I<number> |
103 |
|
104 |
Fade the text by the given percentage when focus is lost. |
105 |
|
106 |
=item B<-tint> I<colour> |
107 |
|
108 |
Tint the transparent background pixmap with the given colour when |
109 |
transparency is enabled with B<-tr> or B<-ip>. See also the B<-sh> |
110 |
option that can be used to brighten or darken the image in addition to |
111 |
tinting it. |
112 |
|
113 |
=item B<-sh> |
114 |
|
115 |
I<number> Darken (0 .. 100) or lighten (-1 .. -100) the transparent |
116 |
background image in addition to tinting it (i.e. B<-tint> must be |
117 |
specified, too). |
118 |
|
119 |
=item B<-bg> I<colour> |
120 |
|
121 |
Window background colour; resource B<background>. |
122 |
|
123 |
=item B<-fg> I<colour> |
124 |
|
125 |
Window foreground colour; resource B<foreground>. |
126 |
|
127 |
=item B<-pixmap> I<file[;geom]> |
128 |
|
129 |
Compile I<XPM>: Specify XPM file for the background and also optionally |
130 |
specify its scaling with a geometry string. Note you may need to add |
131 |
quotes to avoid special shell interpretation of the `;' in the |
132 |
command-line; resource B<backgroundPixmap>. |
133 |
|
134 |
=item B<-cr> I<colour> |
135 |
|
136 |
The cursor colour; resource B<cursorColor>. |
137 |
|
138 |
=item B<-pr> I<colour> |
139 |
|
140 |
The mouse pointer foreground colour; resource B<pointerColor>. |
141 |
|
142 |
=item B<-pr2> I<colour> |
143 |
|
144 |
The mouse pointer background colour; resource B<pointerColor2>. |
145 |
|
146 |
=item B<-bd> I<colour> |
147 |
|
148 |
The colour of the border between the xterm scrollbar and the text; |
149 |
resource B<borderColor>. |
150 |
|
151 |
=item B<-fn> I<fontname> |
152 |
|
153 |
Select the fonts to be used. This is a comma seperated list of font |
154 |
names that are used in turn when trying to display Unicode characters. |
155 |
The first font defines the cell size for characters; other fonts might |
156 |
be smaller, but not larger. A reasonable default font list is always |
157 |
appended to it. resource B<font>. |
158 |
|
159 |
See also the question "How does rxvt-unicode choose fonts?" in the FAQ |
160 |
section. |
161 |
|
162 |
=item B<-rb>|B<+rb> |
163 |
|
164 |
Enable "real bold" support. When this option is on, bold text will be |
165 |
displayed using the first available bold font in the font list. Bold |
166 |
fonts should thus be specified in the font list after their |
167 |
corresponding regular fonts. If no bold font can be found, a regular |
168 |
font will be used. resource B<realBold>. |
169 |
|
170 |
=item B<-name> I<name> |
171 |
|
172 |
Specify the application name under which resources are to be obtained, |
173 |
rather than the default executable file name. Name should not contain |
174 |
`.' or `*' characters. Also sets the icon and title name. |
175 |
|
176 |
=item B<-ls>|B<+ls> |
177 |
|
178 |
Start as a login-shell/sub-shell; resource B<loginShell>. |
179 |
|
180 |
=item B<-ut>|B<+ut> |
181 |
|
182 |
Compile I<utmp>: Inhibit/enable writing a utmp entry; resource |
183 |
B<utmpInhibit>. |
184 |
|
185 |
=item B<-vb>|B<+vb> |
186 |
|
187 |
Turn on/off visual bell on receipt of a bell character; resource |
188 |
B<visualBell>. |
189 |
|
190 |
=item B<-sb>|B<+sb> |
191 |
|
192 |
Turn on/off scrollbar; resource B<scrollBar>. |
193 |
|
194 |
=item B<-si>|B<+si> |
195 |
|
196 |
Turn on/off scroll-to-bottom on TTY output inhibit; resource |
197 |
B<scrollTtyOutput> has opposite effect. |
198 |
|
199 |
=item B<-sk>|B<+sk> |
200 |
|
201 |
Turn on/off scroll-to-bottom on keypress; resource |
202 |
B<scrollTtyKeypress>. |
203 |
|
204 |
=item B<-sw>|B<+sw> |
205 |
|
206 |
Turn on/off scrolling with the scrollback buffer as new lines appear. |
207 |
This only takes effect if B<-si> is also given; resource |
208 |
B<scrollWithBuffer>. |
209 |
|
210 |
=item B<-sr>|B<+sr> |
211 |
|
212 |
Put scrollbar on right/left; resource B<scrollBar_right>. |
213 |
|
214 |
=item B<-st>|B<+st> |
215 |
|
216 |
Display normal (non XTerm/NeXT) scrollbar without/with a trough; |
217 |
resource B<scrollBar_floating>. |
218 |
|
219 |
=item B<-bc>|B<+bc> |
220 |
|
221 |
Blink the cursor; resource B<cursorBlink>. |
222 |
|
223 |
=item B<-iconic> |
224 |
|
225 |
Start iconified, if the window manager supports that option. |
226 |
Alternative form is B<-ic>. |
227 |
|
228 |
=item B<-sl> I<number> |
229 |
|
230 |
Save I<number> lines in the scrollback buffer. See resource entry for |
231 |
limits; resource B<saveLines>. |
232 |
|
233 |
=item B<-b> I<number> |
234 |
|
235 |
Compile I<frills>: Internal border of I<number> pixels. See resource |
236 |
entry for limits; resource B<internalBorder>. |
237 |
|
238 |
=item B<-w> I<number> |
239 |
|
240 |
Compile I<frills>: External border of I<number> pixels. Also, B<-bw> |
241 |
and B<-borderwidth>. See resource entry for limits; resource |
242 |
B<externalBorder>. |
243 |
|
244 |
=item B<-bl> |
245 |
|
246 |
Compile I<frills>: Set MWM hints to request a borderless window, i.e. |
247 |
if honoured by the WM, the rxvt-unicode window will not have window |
248 |
decorations; resource B<borderLess>. |
249 |
|
250 |
=item B<-lsp> I<number> |
251 |
|
252 |
Compile I<linespace>: Lines (pixel height) to insert between each row |
253 |
of the display; resource B<linespace>. |
254 |
|
255 |
=item B<-tn> I<termname> |
256 |
|
257 |
This option specifies the name of the terminal type to be set in the |
258 |
B<TERM> environment variable. This terminal type must exist in the |
259 |
I<termcap(5)> database and should have I<li#> and I<co#> entries; |
260 |
resource B<termName>. |
261 |
|
262 |
=item B<-e> I<command [arguments]> |
263 |
|
264 |
Run the command with its command-line arguments in the B<@@RXVT_NAME@@> |
265 |
window; also sets the window title and icon name to be the basename of |
266 |
the program being executed if neither I<-title> (I<-T>) nor I<-n> are |
267 |
given on the command line. If this option is used, it must be the last |
268 |
on the command-line. If there is no B<-e> option then the default is to |
269 |
run the program specified by the B<SHELL> environment variable or, |
270 |
failing that, I<sh(1)>. |
271 |
|
272 |
=item B<-title> I<text> |
273 |
|
274 |
Window title (B<-T> still respected); the default title is the basename |
275 |
of the program specified after the B<-e> option, if any, otherwise the |
276 |
application name; resource B<title>. |
277 |
|
278 |
=item B<-n> I<text> |
279 |
|
280 |
Icon name; the default name is the basename of the program specified |
281 |
after the B<-e> option, if any, otherwise the application name; |
282 |
resource B<iconName>. |
283 |
|
284 |
=item B<-C> |
285 |
|
286 |
Capture system console messages. |
287 |
|
288 |
=item B<-pt> I<style> |
289 |
|
290 |
Compile I<XIM>: input style for input method; B<OverTheSpot>, |
291 |
B<OffTheSpot>, B<Root>; resource B<preeditType>. |
292 |
|
293 |
=item B<-im> I<text> |
294 |
|
295 |
Compile I<XIM>: input method name. resource B<inputMethod>. |
296 |
|
297 |
=item B<-imlocale> I<string> |
298 |
|
299 |
The locale to use for opening the IM. You can use an LC_CTYPE of e.g. |
300 |
de_DE.UTF-8 for normal text processing but ja_JP.EUC-JP for the input |
301 |
extension to be able to input japanese characters while staying in |
302 |
another locale. |
303 |
|
304 |
=item B<-insecure> |
305 |
|
306 |
Enable "insecure" mode, which currently enables most of the escape |
307 |
sequences that echo strings. See the resource B<insecure> for more |
308 |
info. |
309 |
|
310 |
=item B<-mod> I<modifier> |
311 |
|
312 |
Override detection of Meta modifier with specified key: B<alt>, |
313 |
B<meta>, B<hyper>, B<super>, B<mod1>, B<mod2>, B<mod3>, B<mod4>, |
314 |
B<mod5>; resource I<modifier>. |
315 |
|
316 |
=item B<-ssc>|B<+ssc> |
317 |
|
318 |
Turn on/off secondary screen (default enabled); resource |
319 |
B<secondaryScreen>. |
320 |
|
321 |
=item B<-ssr>|B<+ssr> |
322 |
|
323 |
Turn on/off secondary screen scroll (default enabled); resource |
324 |
B<secondaryScroll>. |
325 |
|
326 |
=item B<-xrm> I<resourcestring> |
327 |
|
328 |
No effect on rxvt-unicode. Simply passes through an argument to be made |
329 |
available in the instance's argument list. Appears in I<WM_COMMAND> in |
330 |
some window managers. |
331 |
|
332 |
=back |
333 |
|
334 |
=head1 RESOURCES (available also as long-options) |
335 |
|
336 |
Note: `@@RXVT_NAME@@ --help' gives a list of all resources (long |
337 |
options) compiled into your version. |
338 |
|
339 |
There are two different methods that @@RXVT_NAME@@ can use to get the |
340 |
Xresource data: using the X libraries (Xrm*-functions) or internal |
341 |
Xresources reader (B<~/.Xdefaults>). For the first method (ie. |
342 |
B<@@RXVT_NAME@@ -h> lists B<XGetDefaults>), you can set and change the |
343 |
resources using X11 tools like B<xset>. Many distribution do also load |
344 |
settings from the B<~/.Xresources> file when X starts. |
345 |
|
346 |
If compiled with internal Xresources support (i.e. B<@@RXVT_NAME@@ -h> |
347 |
lists B<.Xdefaults>) then B<@@RXVT_NAME@@> accepts application defaults |
348 |
set in XAPPLOADDIR/URxvt (compile-time defined: usually |
349 |
B</usr/lib/X11/app-defaults/URxvt>) and resources set in |
350 |
B<~/.Xdefaults>, or B<~/.Xresources> if B<~/.Xdefaults> does not exist. |
351 |
Note that when reading X resources, B<@@RXVT_NAME@@> recognizes two |
352 |
class names: B<XTerm> and B<URxvt>. The class name B<Rxvt> allows |
353 |
resources common to both B<@@RXVT_NAME@@> and the original I<rxvt> to be |
354 |
easily configured, while the class name B<URxvt> allows resources |
355 |
unique to B<@@RXVT_NAME@@>, notably colours and key-handling, to be |
356 |
shared between different B<@@RXVT_NAME@@> configurations. If no |
357 |
resources are specified, suitable defaults will be used. Command-line |
358 |
arguments can be used to override resource settings. The following |
359 |
resources are allowed: |
360 |
|
361 |
=over 4 |
362 |
|
363 |
=item B<geometry:> I<geom> |
364 |
|
365 |
Create the window with the specified X window geometry [default 80x24]; |
366 |
option B<-geometry>. |
367 |
|
368 |
=item B<background:> I<colour> |
369 |
|
370 |
Use the specified colour as the window's background colour [default |
371 |
White]; option B<-bg>. |
372 |
|
373 |
=item B<foreground:> I<colour> |
374 |
|
375 |
Use the specified colour as the window's foreground colour [default |
376 |
Black]; option B<-fg>. |
377 |
|
378 |
=item B<color>I<n>B<:> I<colour> |
379 |
|
380 |
Use the specified colour for the colour value I<n>, where 0-7 |
381 |
corresponds to low-intensity (normal) colours and 8-15 corresponds to |
382 |
high-intensity (bold = bright foreground, blink = bright background) |
383 |
colours. The canonical names are as follows: 0=black, 1=red, 2=green, |
384 |
3=yellow, 4=blue, 5=magenta, 6=cyan, 7=white, but the actual colour |
385 |
names used are listed in the B<COLORS AND GRAPHICS> section. |
386 |
|
387 |
=item B<colorBD:> I<colour> |
388 |
|
389 |
Use the specified colour to display bold characters when the foreground |
390 |
colour is the default. This option will be ignored if B<realBold> is |
391 |
enabled. |
392 |
|
393 |
=item B<colorUL:> I<colour> |
394 |
|
395 |
Use the specified colour to display underlined characters when the |
396 |
foreground colour is the default. |
397 |
|
398 |
=item B<colorRV:> I<colour> |
399 |
|
400 |
Use the specified colour as the background for reverse video |
401 |
characters. |
402 |
|
403 |
=item B<cursorColor:> I<colour> |
404 |
|
405 |
Use the specified colour for the cursor. The default is to use the |
406 |
foreground colour; option B<-cr>. |
407 |
|
408 |
=item B<cursorColor2:> I<colour> |
409 |
|
410 |
Use the specified colour for the colour of the cursor text. For this to |
411 |
take effect, B<cursorColor> must also be specified. The default is to |
412 |
use the background colour. |
413 |
|
414 |
=item B<reverseVideo:> I<boolean> |
415 |
|
416 |
B<True>: simulate reverse video by foreground and background colours; |
417 |
option B<-rv>. B<False>: regular screen colours [default]; option |
418 |
B<+rv>. See note in B<COLORS AND GRAPHICS> section. |
419 |
|
420 |
=item B<jumpScroll:> I<boolean> |
421 |
|
422 |
B<True>: specify that jump scrolling should be used. When scrolling |
423 |
quickly, fewer screen updates are performed [default]; option B<-j>. |
424 |
B<False>: specify that smooth scrolling should be used; option B<+j>. |
425 |
|
426 |
=item B<inheritPixmap:> I<boolean> |
427 |
|
428 |
B<True>: make the background inherit the parent windows' pixmap, giving |
429 |
artificial transparency. B<False>: do not inherit the parent windows' |
430 |
pixmap. |
431 |
|
432 |
=item B<fading:> I<number> |
433 |
|
434 |
Fade the text by the given percentage when focus is lost. |
435 |
|
436 |
=item B<tintColor:> I<colour> |
437 |
|
438 |
Tint the transparent background pixmap with the given colour. |
439 |
|
440 |
=item B<shading:> I<number> |
441 |
|
442 |
Darken (0 .. 100) or lighten (-1 .. -100) the transparent background |
443 |
image in addition to tinting it. |
444 |
|
445 |
=item B<fading:> I<number> |
446 |
|
447 |
Scale the tint colour by the given percentage. |
448 |
|
449 |
=item B<scrollColor:> I<colour> |
450 |
|
451 |
Use the specified colour for the scrollbar [default #B2B2B2]. |
452 |
|
453 |
=item B<troughColor:> I<colour> |
454 |
|
455 |
Use the specified colour for the scrollbar's trough area [default |
456 |
#969696]. Only relevant for normal (non XTerm/NeXT) scrollbar. |
457 |
|
458 |
=item B<backgroundPixmap:> I<file[;geom]> |
459 |
|
460 |
Use the specified XPM file (note the `.xpm' extension is optional) for |
461 |
the background and also optionally specify its scaling with a geometry |
462 |
string B<WxH+X+Y>, in which B<"W" / "H"> specify the |
463 |
horizontal/vertical scale (percent) and B<"X" / "Y"> locate the image |
464 |
centre (percent). A scale of 0 displays the image with tiling. A scale |
465 |
of 1 displays the image without any scaling. A scale of 2 to 9 |
466 |
specifies an integer number of images in that direction. No image will |
467 |
be magnified beyond 10 times its original size. The maximum permitted |
468 |
scale is 1000. [default 0x0+50+50] |
469 |
|
470 |
=item B<menu:> I<file[;tag]> |
471 |
|
472 |
Read in the specified menu file (note the `.menu' extension is |
473 |
optional) and also optionally specify a starting tag to find. See the |
474 |
reference documentation for details on the syntax for the menuBar. |
475 |
|
476 |
=item B<path:> I<path> |
477 |
|
478 |
Specify the colon-delimited search path for finding files (XPM and |
479 |
menus), in addition to the paths specified by the B<RXVTPATH> and |
480 |
B<PATH> environment variables. |
481 |
|
482 |
=item B<font:> I<fontname> |
483 |
|
484 |
Select the fonts to be used. This is a comma seperated list of font |
485 |
names that are used in turn when trying to display Unicode characters. |
486 |
The first font defines the cell size for characters; other fonts might |
487 |
be smaller, but not larger. A reasonable default font list is always |
488 |
appended to it. option B<-fn>. |
489 |
|
490 |
=item B<realBold:> I<boolean> |
491 |
|
492 |
B<True>: Enable "real bold" support. When this option is on, bold text |
493 |
will be displayed using the first available bold font in the font list. |
494 |
Bold fonts should thus be specified in the font list after their |
495 |
corresponding regular fonts. If no bold font can be found, a regular |
496 |
font will be used. option B<-rb>. B<False>: Display bold text in a |
497 |
regular font, using the color specified with B<colorBD>; option B<+rb>. |
498 |
|
499 |
=item B<selectstyle:> I<mode> |
500 |
|
501 |
Set mouse selection style to B<old> which is 2.20, B<oldword> which is |
502 |
xterm style with 2.20 old word selection, or anything else which gives |
503 |
xterm style selection. |
504 |
|
505 |
=item B<scrollstyle:> I<mode> |
506 |
|
507 |
Set scrollbar style to B<rxvt>, B<plain>, B<next> or B<xterm>. B<plain> is |
508 |
the author's favourite.. |
509 |
|
510 |
=item B<title:> I<string> |
511 |
|
512 |
Set window title string, the default title is the command-line |
513 |
specified after the B<-e> option, if any, otherwise the application |
514 |
name; option B<-title>. |
515 |
|
516 |
=item B<iconName:> I<string> |
517 |
|
518 |
Set the name used to label the window's icon or displayed in an icon |
519 |
manager window, it also sets the window's title unless it is explicitly |
520 |
set; option B<-n>. |
521 |
|
522 |
=item B<mapAlert:> I<boolean> |
523 |
|
524 |
B<True>: de-iconify (map) on receipt of a bell character. B<False>: no |
525 |
de-iconify (map) on receipt of a bell character [default]. |
526 |
|
527 |
=item B<visualBell:> I<boolean> |
528 |
|
529 |
B<True>: use visual bell on receipt of a bell character; option B<-vb>. |
530 |
B<False>: no visual bell [default]; option B<+vb>. |
531 |
|
532 |
=item B<loginShell:> I<boolean> |
533 |
|
534 |
B<True>: start as a login shell by prepending a `-' to B<argv[0]> of |
535 |
the shell; option B<-ls>. B<False>: start as a normal sub-shell |
536 |
[default]; option B<+ls>. |
537 |
|
538 |
=item B<utmpInhibit:> I<boolean> |
539 |
|
540 |
B<True>: inhibit writing record into the system log file B<utmp>; |
541 |
option B<-ut>. B<False>: write record into the system log file B<utmp> |
542 |
[default]; option B<+ut>. |
543 |
|
544 |
=item B<print-pipe:> I<string> |
545 |
|
546 |
Specify a command pipe for vt100 printer [default I<lpr(1)>]. Use |
547 |
B<Print> to initiate a screen dump to the printer and B<Ctrl-Print> or |
548 |
B<Shift-Print> to include the scrollback as well. |
549 |
|
550 |
=item B<scrollBar:> I<boolean> |
551 |
|
552 |
B<True>: enable the scrollbar [default]; option B<-sb>. B<False>: |
553 |
disable the scrollbar; option B<+sb>. |
554 |
|
555 |
=item B<scrollBar_right:> I<boolean> |
556 |
|
557 |
B<True>: place the scrollbar on the right of the window; option B<-sr>. |
558 |
B<False>: place the scrollbar on the left of the window; option B<+sr>. |
559 |
|
560 |
=item B<scrollBar_floating:> I<boolean> |
561 |
|
562 |
B<True>: display an rxvt scrollbar without a trough; option B<-st>. |
563 |
B<False>: display an rxvt scrollbar with a trough; option B<+st>. |
564 |
|
565 |
=item B<scrollBar_align:> I<mode> |
566 |
|
567 |
Align the B<top>, B<bottom> or B<centre> [default] of the scrollbar |
568 |
thumb with the pointer on middle button press/drag. |
569 |
|
570 |
=item B<scrollTtyOutput:> I<boolean> |
571 |
|
572 |
B<True>: scroll to bottom when tty receives output; option B<-si>. |
573 |
B<False>: do not scroll to bottom when tty receives output; option |
574 |
B<+si>. |
575 |
|
576 |
=item B<scrollWithBuffer:> I<boolean> |
577 |
|
578 |
B<True>: scroll with scrollback buffer when tty recieves new lines (and |
579 |
B<scrollTtyOutput> is False); option B<+sw>. B<False>: do not scroll |
580 |
with scrollback buffer when tty recieves new lines; option B<-sw>. |
581 |
|
582 |
=item B<scrollTtyKeypress:> I<boolean> |
583 |
|
584 |
B<True>: scroll to bottom when a non-special key is pressed. Special keys |
585 |
are those which are intercepted by rxvt-unicode for special handling and |
586 |
are not passed onto the shell; option B<-sk>. B<False>: do not scroll to |
587 |
bottom when a non-special key is pressed; option B<+sk>. |
588 |
|
589 |
=item B<smallfont_key:> I<keysym> |
590 |
|
591 |
If enabled, use B<@@HOTKEY@@->I<keysym> to toggle to a smaller font |
592 |
[default B<@@HOTKEY@@-@@SMALLFONT@@>] |
593 |
|
594 |
=item B<bigfont_key:> I<keysym> |
595 |
|
596 |
If enabled, use B<@@HOTKEY@@->I<keysym> to toggle to a bigger font |
597 |
[default B<@@HOTKEY@@-@@BIGFONT@@>] |
598 |
|
599 |
=item B<saveLines:> I<number> |
600 |
|
601 |
Save I<number> lines in the scrollback buffer [default 64]. This |
602 |
resource is limited on most machines to 65535; option B<-sl>. |
603 |
|
604 |
=item B<internalBorder:> I<number> |
605 |
|
606 |
Internal border of I<number> pixels. This resource is limited to 100; |
607 |
option B<-b>. |
608 |
|
609 |
=item B<externalBorder:> I<number> |
610 |
|
611 |
External border of I<number> pixels. This resource is limited to 100; |
612 |
option B<-w>, B<-bw>, B<-borderwidth>. |
613 |
|
614 |
=item B<borderLess:> I<boolean> |
615 |
|
616 |
Set MWM hints to request a borderless window, i.e. if honoured by the |
617 |
WM, the rxvt-unicode window will not have window decorations; option B<-bl>. |
618 |
|
619 |
=item B<termName:> I<termname> |
620 |
|
621 |
Specifies the terminal type name to be set in the B<TERM> environment |
622 |
variable; option B<-tn>. |
623 |
|
624 |
=item B<linespace:> I<number> |
625 |
|
626 |
Specifies number of lines (pixel height) to insert between each row of |
627 |
the display [default 0]; option B<-lsp>. |
628 |
|
629 |
=item B<meta8:> I<boolean> |
630 |
|
631 |
B<True>: handle Meta (Alt) + keypress to set the 8th bit. B<False>: |
632 |
handle Meta (Alt) + keypress as an escape prefix [default]. |
633 |
|
634 |
=item B<mouseWheelScrollPage:> I<boolean> |
635 |
|
636 |
B<True>: the mouse wheel scrolls a page full. B<False>: the mouse wheel |
637 |
scrolls five lines [default]. |
638 |
|
639 |
=item B<cursorBlink:> I<boolean> |
640 |
|
641 |
B<True>: blink the cursor. B<False>: do not blink the cursor [default]; |
642 |
option B<-bc>. |
643 |
|
644 |
=item B<pointerBlank:> I<boolean> |
645 |
|
646 |
B<True>: blank the pointer when a key is pressed or after a set number |
647 |
of seconds of inactivity. B<False>: the pointer is always visible |
648 |
[default]. |
649 |
|
650 |
=item B<pointerColor:> I<colour> |
651 |
|
652 |
Mouse pointer foreground colour. |
653 |
|
654 |
=item B<pointerColor2:> I<colour> |
655 |
|
656 |
Mouse pointer background colour. |
657 |
|
658 |
=item B<pointerBlankDelay:> I<number> |
659 |
|
660 |
Specifies number of seconds before blanking the pointer [default 2]. |
661 |
|
662 |
=item B<backspacekey:> I<string> |
663 |
|
664 |
The string to send when the backspace key is pressed. If set to B<DEC> |
665 |
or unset it will send B<Delete> (code 127) or, if shifted, B<Backspace> |
666 |
(code 8) - which can be reversed with the appropriate DEC private mode |
667 |
escape sequence. |
668 |
|
669 |
=item B<deletekey:> I<string> |
670 |
|
671 |
The string to send when the delete key (not the keypad delete key) is |
672 |
pressed. If unset it will send the sequence traditionally associated |
673 |
with the B<Execute> key. |
674 |
|
675 |
=item B<cutchars:> I<string> |
676 |
|
677 |
The characters used as delimiters for double-click word selection. The |
678 |
built-in default: |
679 |
|
680 |
B<< BACKSLASH `"'&()*,;<=>?@[]{|} >> |
681 |
|
682 |
=item B<preeditType:> I<style> |
683 |
|
684 |
B<OverTheSpot>, B<OffTheSpot>, B<Root>; option B<-pt>. |
685 |
|
686 |
=item B<inputMethod:> I<name> |
687 |
|
688 |
I<name> of inputMethod to use; option B<-im>. |
689 |
|
690 |
=item B<imLocale:> I<name> |
691 |
|
692 |
The locale to use for opening the IM. You can use an LC_CTYPE of e.g. |
693 |
de_DE.UTF-8 for normal text processing but ja_JP.EUC-JP for the input |
694 |
extension to be able to input japanese characters while staying in |
695 |
another locale. option B<-imlocale>. |
696 |
|
697 |
=item B<insecure> |
698 |
|
699 |
Enables "insecure" mode. Rxvt-unicode offers some escape sequences that |
700 |
echo arbitrary strings like the icon name or the locale. This could be |
701 |
abused if somebody gets 8-bit-clean access to your display, wether |
702 |
throuh a mail client displaying mail bodies unfiltered or though |
703 |
write(1). Therefore, these sequences are disabled by default. (Note |
704 |
that other terminals, including xterm, have these sequences |
705 |
enabled by default). You can enable them by setting this boolean |
706 |
resource or specifying B<-insecure> as an option. At the moment, this |
707 |
enabled display-answer, locale, findfont, icon label and window title |
708 |
requests as well as dynamic menubar dispatch. |
709 |
|
710 |
=item B<modifier:> I<modifier> |
711 |
|
712 |
Set the key to be interpreted as the Meta key to: B<alt>, B<meta>, |
713 |
B<hyper>, B<super>, B<mod1>, B<mod2>, B<mod3>, B<mod4>, B<mod5>; option |
714 |
B<-mod>. |
715 |
|
716 |
=item B<answerbackString:> I<string> |
717 |
|
718 |
Specify the reply rxvt-unicode sends to the shell when an ENQ (control-E) |
719 |
character is passed through. It may contain escape values as described |
720 |
in the entry on B<keysym> following. |
721 |
|
722 |
=item B<secondaryScreen:> I<bool> |
723 |
|
724 |
Turn on/off secondary screen (default enabled). |
725 |
|
726 |
=item B<secondaryScroll:> I<bool> |
727 |
|
728 |
Turn on/off secondary screen scroll (default enabled). If the this |
729 |
option is enabled, scrolls on the secondary screen will change the |
730 |
scrollback buffer and switching to/from the secondary screen will |
731 |
instead scroll the screen up. |
732 |
|
733 |
=item B<keysym.>I<sym>: I<string> |
734 |
|
735 |
Associate I<string> with keysym I<sym> (B<0xFF00 - 0xFFFF>). It may |
736 |
contain escape values (\a: bell, \b: backspace, \e, \E: escape, \n: |
737 |
newline, \r: return, \t: |
738 |
tab, \000: octal number) or control characters (^?: delete, ^@: null, |
739 |
^A ...) and may enclosed with double quotes so that it can start or end |
740 |
with whitespace. The intervening resource name B<keysym.> cannot be |
741 |
omitted. This resource is only available when compiled with |
742 |
KEYSYM_RESOURCE. |
743 |
|
744 |
=back |
745 |
|
746 |
=head1 THE SCROLLBAR |
747 |
|
748 |
Lines of text that scroll off the top of the B<@@RXVT_NAME@@> window |
749 |
(resource: B<saveLines>) and can be scrolled back using the scrollbar |
750 |
or by keystrokes. The normal B<@@RXVT_NAME@@> scrollbar has arrows and |
751 |
its behaviour is fairly intuitive. The B<xterm-scrollbar> is without |
752 |
arrows and its behaviour mimics that of I<xterm> |
753 |
|
754 |
Scroll down with B<Button1> (B<xterm-scrollbar>) or B<Shift-Next>. |
755 |
Scroll up with B<Button3> (B<xterm-scrollbar>) or B<Shift-Prior>. |
756 |
Continuous scroll with B<Button2>. |
757 |
|
758 |
=head1 MOUSE REPORTING |
759 |
|
760 |
To temporarily override mouse reporting, for either the scrollbar or |
761 |
the normal text selection/insertion, hold either the Shift or the Meta |
762 |
(Alt) key while performing the desired mouse action. |
763 |
|
764 |
If mouse reporting mode is active, the normal scrollbar actions are |
765 |
disabled -- on the assumption that we are using a fullscreen |
766 |
application. Instead, pressing Button1 and Button3 sends B<ESC[6~> |
767 |
(Next) and B<ESC[5~> (Prior), respectively. Similarly, clicking on the |
768 |
up and down arrows sends B<ESC[A> (Up) and B<ESC[B> (Down), |
769 |
respectively. |
770 |
|
771 |
=head1 TEXT SELECTION AND INSERTION |
772 |
|
773 |
The behaviour of text selection and insertion mechanism is similar to |
774 |
I<xterm>(1). |
775 |
|
776 |
=over 4 |
777 |
|
778 |
=item B<Selection>: |
779 |
|
780 |
Left click at the beginning of the region, drag to the end of the |
781 |
region and release; Right click to extend the marked region; Left |
782 |
double-click to select a word; Left triple-click to select the entire |
783 |
line. |
784 |
|
785 |
=item B<Insertion>: |
786 |
|
787 |
Pressing and releasing the Middle mouse button (or B<Shift-Insert>) in |
788 |
an B<@@RXVT_NAME@@> window causes the current text selection to be |
789 |
inserted as if it had been typed on the keyboard. |
790 |
|
791 |
=back |
792 |
|
793 |
=head1 CHANGING FONTS |
794 |
|
795 |
You can change fonts on-the-fly, which is to say cycle through the |
796 |
default font and others of various sizes, by using B<Shift-KP_Add> and |
797 |
B<Shift-KP_Subtract>. Or, alternatively (if enabled) with |
798 |
B<@@HOTKEY@@-@@BIGFONT@@> and B<@@HOTKEY@@-@@SMALLFONT@@>, where the |
799 |
actual key can be selected using resources |
800 |
B<smallfont_key>/B<bigfont_key>. |
801 |
|
802 |
=head1 ISO 14755 SUPPORT |
803 |
|
804 |
Partial ISO 14755-support is implemented. that means that pressing |
805 |
|
806 |
Section 5.1: Control and Shift together enters unicode input |
807 |
mode. Entering hex digits composes a Unicode character, pressing space or |
808 |
releasing the modifiers commits the keycode and every other key cancels |
809 |
the current input character. |
810 |
|
811 |
Section 5.2: Pressing and immediately releasing Control and Shift together |
812 |
enters keycap entry mode for the next key: pressing a function key (tab, |
813 |
return etc..) will enter the unicode character corresponding to the given |
814 |
key. |
815 |
|
816 |
=head1 LOGIN STAMP |
817 |
|
818 |
B<@@RXVT_NAME@@> tries to write an entry into the I<utmp>(5) file so |
819 |
that it can be seen via the I<who(1)> command, and can accept messages. |
820 |
To allow this feature, B<@@RXVT_NAME@@> must be installed setuid root on |
821 |
some systems. |
822 |
|
823 |
=head1 COLORS AND GRAPHICS |
824 |
|
825 |
In addition to the default foreground and background colours, |
826 |
B<@@RXVT_NAME@@> can display up to 16 colours (8 ANSI colours plus |
827 |
high-intensity bold/blink versions of the same). Here is a list of the |
828 |
colours with their B<rgb.txt> names. |
829 |
|
830 |
=begin table |
831 |
|
832 |
B<color0> (black) = Black |
833 |
B<color1> (red) = Red3 |
834 |
B<color2> (green) = Green3 |
835 |
B<color3> (yellow) = Yellow3 |
836 |
B<color4> (blue) = Blue3 |
837 |
B<color5> (magenta) = Magenta3 |
838 |
B<color6> (cyan) = Cyan3 |
839 |
B<color7> (white) = AntiqueWhite |
840 |
B<color8> (bright black) = Grey25 |
841 |
B<color9> (bright red) = Red |
842 |
B<color10> (bright green) = Green |
843 |
B<color11> (bright yellow) = Yellow |
844 |
B<color12> (bright blue) = Blue |
845 |
B<color13> (bright magenta) = Magenta |
846 |
B<color14> (bright cyan) = Cyan |
847 |
B<color15> (bright white) = White |
848 |
B<foreground> = Black |
849 |
B<background> = White |
850 |
|
851 |
=end table |
852 |
|
853 |
It is also possible to specify the colour values of B<foreground>, |
854 |
B<background>, B<cursorColor>, B<cursorColor2>, B<colorBD>, B<colorUL> as |
855 |
a number 0-15, as a convenient shorthand to reference the colour name of |
856 |
color0-color15. |
857 |
|
858 |
Note that B<-rv> (B<"reverseVideo: True">) simulates reverse video by |
859 |
always swapping the foreground/background colours. This is in contrast to |
860 |
I<xterm>(1) where the colours are only swapped if they have not otherwise |
861 |
been specified. For example, |
862 |
|
863 |
=over 4 |
864 |
|
865 |
=item B<@@RXVT_NAME@@ -fg Black -bg White -rv> |
866 |
|
867 |
would yield White on Black, while on I<xterm>(1) it would yield Black |
868 |
on White. |
869 |
|
870 |
=back |
871 |
|
872 |
=head1 FREQUENTLY ASKED QUESTIONS (FAQ) |
873 |
|
874 |
=over 4 |
875 |
|
876 |
=item How do I know which rxvt-unicode version I'm using? |
877 |
|
878 |
The version number is displayed with the usage (-h). For rxvt-unicode |
879 |
version 2.14 and later, the escape sequence C<ESC[8n> sets the window |
880 |
title to the version number. |
881 |
|
882 |
=item Why do the characters look ugly? |
883 |
|
884 |
=item How does rxvt-unicode choose fonts? |
885 |
|
886 |
Most fonts do not contain the full range of Unicode, which is |
887 |
fine. Chances are that the font you (or the admin/package maintainer of |
888 |
your system/os) have specified does not cover all the characters you want |
889 |
to display. |
890 |
|
891 |
B<rxvt-unicode> makes a best-effort try at finding a replacement |
892 |
font. Often the result is fine, but sometimes the chosen font looks |
893 |
bad. In that case, select a font of your taste and add it to the font |
894 |
list, e.g.: |
895 |
|
896 |
@@RXVT_NAME@@ -fn basefont,font2,font3... |
897 |
|
898 |
When rxvt-unicode sees a character, it will first look at the base |
899 |
font. If the base font does not contain the character, it will go to the |
900 |
next font, and so on. |
901 |
|
902 |
The only limitation is that all the fonts must not be larger than the base |
903 |
font, as the base font defines the principial cell size, which must be the |
904 |
same due to the way terminals work. |
905 |
|
906 |
=item Why do some chinese characters look so different than others? |
907 |
|
908 |
This is because there is a difference between script and language -- |
909 |
rxvt-unicode does not know which language the text that is output |
910 |
is, as it only knows the unicode character codes. If rxvt-unicode |
911 |
first sees a japanese character, it might choose a japanese font for |
912 |
it. Subseqzuent japanese characters will take that font. Now, many chinese |
913 |
characters aren't represented in japanese fonts, so when the first |
914 |
non-japanese character comes up, rxvt-unicode will look for a chinese font |
915 |
-- unfortunately at this point, it will still use the japanese font for |
916 |
japanese characters that are also chinese. |
917 |
|
918 |
The workaround is easy: just tag a chinese font at the end of your font |
919 |
list (see the previous question). The key is to view the font list as |
920 |
a preference list: If you expect more japanese, list a japanese font |
921 |
first. If you expect more chinese, put a chinese font first. |
922 |
|
923 |
In the future it might be possible to switch preferences at runtime (the |
924 |
internal data structure has no problem with using different fonts for |
925 |
the same character at the same time, but no interface for this has been |
926 |
designed yet). |
927 |
|
928 |
=item Mouse cut/paste suddenly no longer works. |
929 |
|
930 |
Make sure that mouse reporting is actually turned off since killing |
931 |
some editors prematurely may leave the mouse in mouse report mode. I've |
932 |
heard that tcsh may use mouse reporting unless it otherwise specified. A |
933 |
quick check is to see if cut/paste works when the Alt or Shift keys are |
934 |
depressed. See @@RXVT_NAME@@(7) |
935 |
|
936 |
=item What's with this bold/blink stuff? |
937 |
|
938 |
If no bold colour is set via C<colorBD:>, bold will invert text using the |
939 |
standard foreground colour. |
940 |
|
941 |
For the standard background colour, blinking will actually make the |
942 |
text blink when compiled with C<--enable-blinking>. with standard |
943 |
colours. Without C<--enable-blinking>, the blink attribute will be |
944 |
ignored. |
945 |
|
946 |
On ANSI colours, bold/blink attributes are used to set high-intensity |
947 |
foreground/background colors. |
948 |
|
949 |
color0-7 are the low-intensity colors. |
950 |
|
951 |
color8-15 are the corresponding high-intensity colors. |
952 |
|
953 |
=item I don't like the screen colors. How do I change them? |
954 |
|
955 |
You can change the screen colors at run-time using F<~/.Xdefaults> |
956 |
resources (or as long-options). |
957 |
|
958 |
Here are values that are supposed to resemble a VGA screen, |
959 |
including the murky brown that passes for low-intensity yellow: |
960 |
|
961 |
Rxvt*color0: #000000 |
962 |
Rxvt*color1: #A80000 |
963 |
Rxvt*color2: #00A800 |
964 |
Rxvt*color3: #A8A800 |
965 |
Rxvt*color4: #0000A8 |
966 |
Rxvt*color5: #A800A8 |
967 |
Rxvt*color6: #00A8A8 |
968 |
Rxvt*color7: #A8A8A8 |
969 |
|
970 |
Rxvt*color8: #000054 |
971 |
Rxvt*color9: #FF0054 |
972 |
Rxvt*color10: #00FF54 |
973 |
Rxvt*color11: #FFFF54 |
974 |
Rxvt*color12: #0000FF |
975 |
Rxvt*color13: #FF00FF |
976 |
Rxvt*color14: #00FFFF |
977 |
Rxvt*color15: #FFFFFF |
978 |
|
979 |
=item What's with the strange Backspace/Delete key behaviour? |
980 |
|
981 |
Assuming that the physical Backspace key corresponds to the |
982 |
BackSpace keysym (not likely for Linux ... see the following |
983 |
question) there are two standard values that can be used for |
984 |
Backspace: C<^H> and C<^?>. |
985 |
|
986 |
Historically, either value is correct, but rxvt-unicode adopts the debian |
987 |
policy of using C<^?> when unsure, because it's the one only only correct |
988 |
choice :). |
989 |
|
990 |
Rxvt-unicode tries to inherit the current stty settings and uses the value |
991 |
of `erase' to guess the value for backspace. If rxvt-unicode wasn't |
992 |
started from a terminal (say, from a menu or by remote shell), then the |
993 |
system value of `erase', which corresponds to CERASE in <termios.h>, will |
994 |
be used (which may not be the same as your stty setting). |
995 |
|
996 |
For starting a new rxvt-unicode: |
997 |
|
998 |
# use Backspace = ^H |
999 |
$ stty erase ^H |
1000 |
$ @@RXVT_NAME@@ |
1001 |
|
1002 |
# use Backspace = ^? |
1003 |
$ stty erase ^? |
1004 |
$ @@RXVT_NAME@@ |
1005 |
|
1006 |
Toggle with "ESC[36h" / "ESC[36l" as documented in @@RXVT_NAME@@(7). |
1007 |
|
1008 |
For an existing rxvt-unicode: |
1009 |
|
1010 |
# use Backspace = ^H |
1011 |
$ stty erase ^H |
1012 |
$ echo -n "^[[36h" |
1013 |
|
1014 |
# use Backspace = ^? |
1015 |
$ stty erase ^? |
1016 |
$ echo -n "^[[36l" |
1017 |
|
1018 |
This helps satisfy some of the Backspace discrepancies that occur, but |
1019 |
if you use Backspace = C<^H>, make sure that the termcap/terminfo value |
1020 |
properly reflects that. |
1021 |
|
1022 |
The Delete key is a another casualty of the ill-defined Backspace problem. |
1023 |
To avoid confusion between the Backspace and Delete keys, the Delete |
1024 |
key has been assigned an escape sequence to match the vt100 for Execute |
1025 |
(ESC[3~) and is in the supplied termcap/terminfo. |
1026 |
|
1027 |
Some other Backspace problems: |
1028 |
|
1029 |
some editors use termcap/terminfo, |
1030 |
some editors (vim I'm told) expect Backspace = ^H, |
1031 |
GNU Emacs (and Emacs-like editors) use ^H for help. |
1032 |
|
1033 |
Perhaps someday this will all be resolved in a consistent manner. |
1034 |
|
1035 |
=item I don't like the key-bindings. How do I change them? |
1036 |
|
1037 |
There are some compile-time selections available via configure. Unless |
1038 |
you have run "configure" with the C<--disable-resources> option you can |
1039 |
use the `keysym' resource to alter the keystrings associated with keysym |
1040 |
0xFF00 - 0xFFFF (function, cursor keys, etc). |
1041 |
|
1042 |
Here's an example for a tn3270 session started using `@@RXVT_NAME@@ -name tn3270' |
1043 |
|
1044 |
!# ----- special uses ------: |
1045 |
! tn3270 login, remap function and arrow keys. |
1046 |
tn3270*font: *clean-bold-*-*--15-* |
1047 |
|
1048 |
! keysym - used by rxvt only |
1049 |
! Delete - ^D |
1050 |
tn3270*keysym.0xFFFF: \004 |
1051 |
|
1052 |
! Home - ^A |
1053 |
tn3270*keysym.0xFF50: \001 |
1054 |
! Left - ^B |
1055 |
tn3270*keysym.0xFF51: \002 |
1056 |
! Up - ^P |
1057 |
tn3270*keysym.0xFF52: \020 |
1058 |
! Right - ^F |
1059 |
tn3270*keysym.0xFF53: \006 |
1060 |
! Down - ^N |
1061 |
tn3270*keysym.0xFF54: \016 |
1062 |
! End - ^E |
1063 |
tn3270*keysym.0xFF57: \005 |
1064 |
|
1065 |
! F1 - F12 |
1066 |
tn3270*keysym.0xFFBE: \e1 |
1067 |
tn3270*keysym.0xFFBF: \e2 |
1068 |
tn3270*keysym.0xFFC0: \e3 |
1069 |
tn3270*keysym.0xFFC1: \e4 |
1070 |
tn3270*keysym.0xFFC2: \e5 |
1071 |
tn3270*keysym.0xFFC3: \e6 |
1072 |
tn3270*keysym.0xFFC4: \e7 |
1073 |
tn3270*keysym.0xFFC5: \e8 |
1074 |
tn3270*keysym.0xFFC6: \e9 |
1075 |
tn3270*keysym.0xFFC7: \e0 |
1076 |
tn3270*keysym.0xFFC8: \e- |
1077 |
tn3270*keysym.0xFFC9: \e= |
1078 |
|
1079 |
! map Prior/Next to F7/F8 |
1080 |
tn3270*keysym.0xFF55: \e7 |
1081 |
tn3270*keysym.0xFF56: \e8 |
1082 |
|
1083 |
=item I'm using keyboard model XXX that has extra Prior/Next/Insert keys. |
1084 |
How do I make use of them? For example, the Sun Keyboard type 4 |
1085 |
has the following mappings that rxvt-unicode doesn't recognize. |
1086 |
|
1087 |
KP_Insert == Insert |
1088 |
F22 == Print |
1089 |
F27 == Home |
1090 |
F29 == Prior |
1091 |
F33 == End |
1092 |
F35 == Next |
1093 |
|
1094 |
Rather than have rxvt-unicode try to accomodate all the various possible keyboard |
1095 |
mappings, it is better to use `xmodmap' to remap the keys as required for |
1096 |
your particular machine. |
1097 |
|
1098 |
=item How do I distinguish if I'm running rxvt-unicode or a regular xterm? |
1099 |
I need this to decide about setting colors etc. |
1100 |
|
1101 |
rxvt and rxvt-unicode always export the variable "COLORTERM", so you can |
1102 |
check and see if that is set. Note that several programs, JED, slrn, |
1103 |
Midnight Commander automatically check this variable to decide whether or |
1104 |
not to use color. |
1105 |
|
1106 |
=item How do I set the correct, full IP address for the DISPLAY variable? |
1107 |
|
1108 |
If you've compiled rxvt-unicode with DISPLAY_IS_IP and ahve enabled |
1109 |
insecure mode then it is possible to use the following shell script |
1110 |
snippets to correctly set the display. If your version of rxvt-unicode |
1111 |
wasn't also compiled with ESCZ_ANSWER (as assumed in these snippets) then |
1112 |
the COLORTERM variable can be used to distinguish rxvt-unicode from a |
1113 |
regular xterm. |
1114 |
|
1115 |
Courtesy of Chuck Blake <cblake@BBN.COM> with the following shell script |
1116 |
snippets: |
1117 |
|
1118 |
# Bourne/Korn/POSIX family of shells: |
1119 |
[ ${TERM:-foo} = foo ] && TERM=xterm # assume an xterm if we don't know |
1120 |
if [ ${TERM:-foo} = xterm ]; then |
1121 |
stty -icanon -echo min 0 time 15 # see if enhanced rxvt or not |
1122 |
echo -n '^[Z' |
1123 |
read term_id |
1124 |
stty icanon echo |
1125 |
if [ ""${term_id} = '^[[?1;2C' -a ${DISPLAY:-foo} = foo ]; then |
1126 |
echo -n '^[[7n' # query the rxvt we are in for the DISPLAY string |
1127 |
read DISPLAY # set it in our local shell |
1128 |
fi |
1129 |
fi |
1130 |
|
1131 |
=item How do I compile the manual pages for myself? |
1132 |
|
1133 |
You need to have a recent version of perl installed as F</usr/bin/perl>, |
1134 |
one that comes with F<pod2man>, F<pod2text> and F<pod2html>. Then go to |
1135 |
the doc subdirectory and enter C<make alldoc>. |
1136 |
|
1137 |
=back |
1138 |
|
1139 |
=head1 ENVIRONMENT |
1140 |
|
1141 |
B<@@RXVT_NAME@@> sets the environment variables B<TERM>, B<COLORTERM> |
1142 |
and B<COLORFGBG>. The environment variable B<WINDOWID> is set to the X |
1143 |
window id number of the B<@@RXVT_NAME@@> window and it also uses and |
1144 |
sets the environment variable B<DISPLAY> to specify which display |
1145 |
terminal to use. B<@@RXVT_NAME@@> uses the environment variables |
1146 |
B<RXVTPATH> and B<PATH> to find XPM files. |
1147 |
|
1148 |
=head1 FILES |
1149 |
|
1150 |
=over 4 |
1151 |
|
1152 |
=item B</etc/utmp> |
1153 |
|
1154 |
System file for login records. |
1155 |
|
1156 |
=item B</usr/lib/X11/rgb.txt> |
1157 |
|
1158 |
Color names. |
1159 |
|
1160 |
=back |
1161 |
|
1162 |
=head1 SEE ALSO |
1163 |
|
1164 |
@@RXVT_NAME@@(7), xterm(1), sh(1), resize(1), X(1), pty(4), tty(4), utmp(5) |
1165 |
|
1166 |
=head1 BUGS |
1167 |
|
1168 |
Check the BUGS file for an up-to-date list. |
1169 |
|
1170 |
Cursor change support is not yet implemented. |
1171 |
|
1172 |
Click-and-drag doesn't work with X11 mouse report overriding. |
1173 |
|
1174 |
=head1 CURRENT PROJECT COORDINATOR |
1175 |
|
1176 |
=over 4 |
1177 |
|
1178 |
=item Project Coordinator |
1179 |
|
1180 |
@@RXVTMAINT@@ L<@@RXVT_MAINTEMAIL@@> |
1181 |
|
1182 |
=item Web page maintainter |
1183 |
|
1184 |
@@RXVTWEBMAINT@@ L<@@RXVT_WEBMAINTEMAIL@@> |
1185 |
|
1186 |
L<@@RXVT_WEBPAGE@@> |
1187 |
|
1188 |
=back |
1189 |
|
1190 |
=head1 AUTHORS |
1191 |
|
1192 |
=over 4 |
1193 |
|
1194 |
=item John Bovey |
1195 |
|
1196 |
University of Kent, 1992, wrote the original Xvt. |
1197 |
|
1198 |
=item Rob Nation L<< <nation@rocket.sanders.lockheed.com> >> |
1199 |
|
1200 |
very heavily modified Xvt and came up with Rxvt |
1201 |
|
1202 |
=item Angelo Haritsis L<< <ah@doc.ic.ac.uk> >> |
1203 |
|
1204 |
wrote the Greek Keyboard Input (no longer in code) |
1205 |
|
1206 |
=item mj olesen L<< <olesen@me.QueensU.CA> >> |
1207 |
|
1208 |
Wrote the menu system. |
1209 |
|
1210 |
Project Coordinator (changes.txt 2.11 to 2.21) |
1211 |
|
1212 |
=item Oezguer Kesim L<< <kesim@math.fu-berlin.de> >> |
1213 |
|
1214 |
Project Coordinator (changes.txt 2.21a to 2.4.5) |
1215 |
|
1216 |
=item Geoff Wing L<< <gcw@pobox.com> >> |
1217 |
|
1218 |
Rewrote screen display and text selection routines. Project Coordinator |
1219 |
(changes.txt 2.4.6 - rxvt-unicode) |
1220 |
|
1221 |
=item Marc Alexander Lehmann L<< <rxvt@schmorp.de> >> |
1222 |
|
1223 |
Forked rxvt-unicode, rewrote most of the display code and internal |
1224 |
character handling to store text in unicode, improve xterm |
1225 |
compatibility and apply numerous other bugfixes and extensions. |
1226 |
|
1227 |
Project Coordinator (Changes 1.0 -) |
1228 |
|
1229 |
=back |
1230 |
|