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

Comparing rxvt-unicode/README.FAQ (file contents):
Revision 1.12 by root, Thu Feb 17 12:06:21 2005 UTC vs.
Revision 1.18 by root, Tue Nov 8 17:35:28 2005 UTC

2 How do I know which rxvt-unicode version I'm using? 2 How do I know which rxvt-unicode version I'm using?
3 The version number is displayed with the usage (-h). Also the escape 3 The version number is displayed with the usage (-h). Also the escape
4 sequence "ESC [ 8 n" sets the window title to the version number. 4 sequence "ESC [ 8 n" sets the window title to the version number.
5 5
6 I am using Debian GNU/Linux and have a problem... 6 I am using Debian GNU/Linux and have a problem...
7 The Debian GNU/Linux package of rxvt-unicode contains large patches 7 The Debian GNU/Linux package of rxvt-unicode in sarge contains large
8 that considerably change the behaviour of rxvt-unicode. Before 8 patches that considerably change the behaviour of rxvt-unicode.
9 reporting a bug to the original rxvt-unicode author please download 9 Before reporting a bug to the original rxvt-unicode author please
10 and install the genuine version 10 download and install the genuine version
11 (<http://software.schmorp.de#rxvt-unicode>) and try to reproduce the 11 (<http://software.schmorp.de#rxvt-unicode>) and try to reproduce the
12 problem. If you cannot, chances are that the problems are specific 12 problem. If you cannot, chances are that the problems are specific
13 to Debian GNU/Linux, in which case it should be reported via the 13 to Debian GNU/Linux, in which case it should be reported via the
14 Debian Bug Tracking System (use "reportbug" to report the bug). 14 Debian Bug Tracking System (use "reportbug" to report the bug).
15 15
45 URxvt.termName: rxvt 45 URxvt.termName: rxvt
46 46
47 If you don't plan to use rxvt (quite common...) you could also 47 If you don't plan to use rxvt (quite common...) you could also
48 replace the rxvt terminfo file with the rxvt-unicode one. 48 replace the rxvt terminfo file with the rxvt-unicode one.
49 49
50 "tic" outputs some error when compiling the terminfo entry.
51 Most likely it's the empty definition for "enacs=". Just replace it
52 by "enacs=\E[0@" and try again.
53
50 "bash"'s readline does not work correctly under rxvt. 54 "bash"'s readline does not work correctly under urxvt.
51 I need a termcap file entry. 55 I need a termcap file entry.
52 One reason you might want this is that some distributions or 56 One reason you might want this is that some distributions or
53 operating systems still compile some programs using the 57 operating systems still compile some programs using the
54 long-obsoleted termcap library (Fedora Core's bash is one example) 58 long-obsoleted termcap library (Fedora Core's bash is one example)
55 and rely on a termcap entry for "rxvt-unicode". 59 and rely on a termcap entry for "rxvt-unicode".
166 indeed look correct. 170 indeed look correct.
167 171
168 In that case, select a font of your taste and add it to the font 172 In that case, select a font of your taste and add it to the font
169 list, e.g.: 173 list, e.g.:
170 174
171 rxvt -fn basefont,font2,font3... 175 urxvt -fn basefont,font2,font3...
172 176
173 When rxvt-unicode sees a character, it will first look at the base 177 When rxvt-unicode sees a character, it will first look at the base
174 font. If the base font does not contain the character, it will go to 178 font. If the base font does not contain the character, it will go to
175 the next font, and so on. Specifying your own fonts will also speed 179 the next font, and so on. Specifying your own fonts will also speed
176 up this search and use less resources within rxvt-unicode and the 180 up this search and use less resources within rxvt-unicode and the
226 that doesn't work, you might be forced to use a different font. 230 that doesn't work, you might be forced to use a different font.
227 231
228 All of this is not a problem when using X11 core fonts, as their 232 All of this is not a problem when using X11 core fonts, as their
229 bounding box data is correct. 233 bounding box data is correct.
230 234
235 On Solaris 9, many line-drawing characters are too wide.
236 Seems to be a known bug, read
237 <http://nixdoc.net/files/forum/about34198.html>. Some people use the
238 following ugly workaround to get non-double-wide-characters working:
239
240 #define wcwidth(x) wcwidth(x) > 1 ? 1 : wcwidth(x)
241
231 My Compose (Multi_key) key is no longer working. 242 My Compose (Multi_key) key is no longer working.
232 The most common causes for this are that either your locale is not 243 The most common causes for this are that either your locale is not
233 set correctly, or you specified a preeditStyle that is not supported 244 set correctly, or you specified a preeditStyle that is not supported
234 by your input method. For example, if you specified OverTheSpot and 245 by your input method. For example, if you specified OverTheSpot and
235 your input method (e.g. the default input method handling Compose 246 your input method (e.g. the default input method handling Compose
279 As you might have guessed, FreeBSD does neither define this symobl 290 As you might have guessed, FreeBSD does neither define this symobl
280 nor does it support it. Instead, it uses it's own internal 291 nor does it support it. Instead, it uses it's own internal
281 representation of wchar_t. This is, of course, completely fine with 292 representation of wchar_t. This is, of course, completely fine with
282 respect to standards. 293 respect to standards.
283 294
295 However, that means rxvt-unicode only works in "POSIX", "ISO-8859-1"
296 and "UTF-8" locales under FreeBSD (which all use Unicode as wchar_t.
297
284 However, "__STDC_ISO_10646__" is the only sane way to support 298 "__STDC_ISO_10646__" is the only sane way to support multi-language
285 multi-language apps in an OS, as using a locale-dependent (and 299 apps in an OS, as using a locale-dependent (and non-standardized)
286 non-standardized) representation of wchar_t makes it impossible to 300 representation of wchar_t makes it impossible to convert between
287 convert between wchar_t (as used by X11 and your applications) and 301 wchar_t (as used by X11 and your applications) and any other
288 any other encoding without implementing OS-specific-wrappers for 302 encoding without implementing OS-specific-wrappers for each and
289 each and every locale. There simply are no APIs to convert wchar_t 303 every locale. There simply are no APIs to convert wchar_t into
290 into anything except the current locale encoding. 304 anything except the current locale encoding.
291 305
292 Some applications (such as the formidable mlterm) work around this 306 Some applications (such as the formidable mlterm) work around this
293 by carrying their own replacement functions for character set 307 by carrying their own replacement functions for character set
294 handling with them, and either implementing OS-dependent hacks or 308 handling with them, and either implementing OS-dependent hacks or
295 doing multiple conversions (which is slow and unreliable in case the 309 doing multiple conversions (which is slow and unreliable in case the
297 emulator). 311 emulator).
298 312
299 The rxvt-unicode author insists that the right way to fix this is in 313 The rxvt-unicode author insists that the right way to fix this is in
300 the system libraries once and for all, instead of forcing every app 314 the system libraries once and for all, instead of forcing every app
301 to carry complete replacements for them :) 315 to carry complete replacements for them :)
316
317 I use Solaris 9 and it doesn't compile/work/etc.
318 Try the diff in doc/solaris9.patch as a base. It fixes the worst
319 problems with "wcwidth" and a compile problem.
320
321 How can I use rxvt-unicode under cygwin?
322 rxvt-unicode should compile and run out of the box on cygwin, using
323 the X11 libraries that come with cygwin. libW11 emulation is no
324 longer supported (and makes no sense, either, as it only supported a
325 single font). I recommend starting the X-server in "-multiwindow" or
326 "-rootless" mode instead, which will result in similar look&feel as
327 the old libW11 emulation.
328
329 At the time of this writing, cygwin didn't seem to support any
330 multi-byte encodings (you might try "LC_CTYPE=C-UTF-8"), so you are
331 likely limited to 8-bit encodings.
302 332
303 How does rxvt-unicode determine the encoding to use? 333 How does rxvt-unicode determine the encoding to use?
304 Is there an option to switch encodings? 334 Is there an option to switch encodings?
305 Unlike some other terminals, rxvt-unicode has no encoding switch, 335 Unlike some other terminals, rxvt-unicode has no encoding switch,
306 and no specific "utf-8" mode, such as xterm. In fact, it doesn't 336 and no specific "utf-8" mode, such as xterm. In fact, it doesn't
418 it gets worse, as rxvt-unicode then uses 8 bytes per screen cell. 448 it gets worse, as rxvt-unicode then uses 8 bytes per screen cell.
419 449
420 Can I speed up Xft rendering somehow? 450 Can I speed up Xft rendering somehow?
421 Yes, the most obvious way to speed it up is to avoid Xft entirely, 451 Yes, the most obvious way to speed it up is to avoid Xft entirely,
422 as it is simply slow. If you still want Xft fonts you might try to 452 as it is simply slow. If you still want Xft fonts you might try to
423 disable antialiasing (by appending ":antialiasing=false"), which 453 disable antialiasing (by appending ":antialias=false"), which saves
424 saves lots of memory and also speeds up rendering considerably. 454 lots of memory and also speeds up rendering considerably.
425 455
426 Rxvt-unicode doesn't seem to anti-alias its fonts, what is wrong? 456 Rxvt-unicode doesn't seem to anti-alias its fonts, what is wrong?
427 Rxvt-unicode will use whatever you specify as a font. If it needs to 457 Rxvt-unicode will use whatever you specify as a font. If it needs to
428 fall back to it's default font search list it will prefer X11 core 458 fall back to it's default font search list it will prefer X11 core
429 fonts, because they are small and fast, and then use Xft fonts. It 459 fonts, because they are small and fast, and then use Xft fonts. It
435 Mouse cut/paste suddenly no longer works. 465 Mouse cut/paste suddenly no longer works.
436 Make sure that mouse reporting is actually turned off since killing 466 Make sure that mouse reporting is actually turned off since killing
437 some editors prematurely may leave the mouse in mouse report mode. 467 some editors prematurely may leave the mouse in mouse report mode.
438 I've heard that tcsh may use mouse reporting unless it otherwise 468 I've heard that tcsh may use mouse reporting unless it otherwise
439 specified. A quick check is to see if cut/paste works when the Alt 469 specified. A quick check is to see if cut/paste works when the Alt
440 or Shift keys are depressed. See rxvt(7) 470 or Shift keys are depressed. See urxvt(7)
441 471
442 What's with this bold/blink stuff? 472 What's with this bold/blink stuff?
443 If no bold colour is set via "colorBD:", bold will invert text using 473 If no bold colour is set via "colorBD:", bold will invert text using
444 the standard foreground colour. 474 the standard foreground colour.
445 475
500 URxvt.color6: #73f7ff 530 URxvt.color6: #73f7ff
501 URxvt.color14: #73f7ff 531 URxvt.color14: #73f7ff
502 URxvt.color7: #e1dddd 532 URxvt.color7: #e1dddd
503 URxvt.color15: #e1dddd 533 URxvt.color15: #e1dddd
504 534
505 How can I start rxvtd in a race-free way? 535 How can I start urxvtd in a race-free way?
506 Despite it's name, rxvtd is not a real daemon, but more like a 536 Try "urxvtd -f -o", which tells urxvtd to open the display, create
507 server that answers rxvtc's requests, so it doesn't background 537 the listening socket and then fork.
508 itself.
509
510 To ensure rxvtd is listening on it's socket, you can use the
511 following method to wait for the startup message before continuing:
512
513 { rxvtd & } | read
514 538
515 What's with the strange Backspace/Delete key behaviour? 539 What's with the strange Backspace/Delete key behaviour?
516 Assuming that the physical Backspace key corresponds to the 540 Assuming that the physical Backspace key corresponds to the
517 BackSpace keysym (not likely for Linux ... see the following 541 BackSpace keysym (not likely for Linux ... see the following
518 question) there are two standard values that can be used for 542 question) there are two standard values that can be used for
531 555
532 For starting a new rxvt-unicode: 556 For starting a new rxvt-unicode:
533 557
534 # use Backspace = ^H 558 # use Backspace = ^H
535 $ stty erase ^H 559 $ stty erase ^H
536 $ rxvt 560 $ urxvt
537 561
538 # use Backspace = ^? 562 # use Backspace = ^?
539 $ stty erase ^? 563 $ stty erase ^?
540 $ rxvt 564 $ urxvt
541 565
542 Toggle with "ESC [ 36 h" / "ESC [ 36 l" as documented in rxvt(7). 566 Toggle with "ESC [ 36 h" / "ESC [ 36 l" as documented in urxvt(7).
543 567
544 For an existing rxvt-unicode: 568 For an existing rxvt-unicode:
545 569
546 # use Backspace = ^H 570 # use Backspace = ^H
547 $ stty erase ^H 571 $ stty erase ^H
573 There are some compile-time selections available via configure. 597 There are some compile-time selections available via configure.
574 Unless you have run "configure" with the "--disable-resources" 598 Unless you have run "configure" with the "--disable-resources"
575 option you can use the `keysym' resource to alter the keystrings 599 option you can use the `keysym' resource to alter the keystrings
576 associated with keysyms. 600 associated with keysyms.
577 601
578 Here's an example for a URxvt session started using "rxvt -name 602 Here's an example for a URxvt session started using "urxvt -name
579 URxvt" 603 URxvt"
580 604
581 URxvt.keysym.Home: \033[1~ 605 URxvt.keysym.Home: \033[1~
582 URxvt.keysym.End: \033[4~ 606 URxvt.keysym.End: \033[4~
583 URxvt.keysym.C-apostrophe: \033<C-'> 607 URxvt.keysym.C-apostrophe: \033<C-'>

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines