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.70 by root, Fri Dec 26 22:52:22 2014 UTC vs.
Revision 1.73 by root, Fri May 14 13:47:43 2021 UTC

67 67
68 This tries to create a new terminal, and if fails with exit status 2, 68 This tries to create a new terminal, and if fails with exit status 2,
69 meaning it couldn't connect to the daemon, it will start the daemon and 69 meaning it couldn't connect to the daemon, it will start the daemon and
70 re-run the command. Subsequent invocations of the script will re-use the 70 re-run the command. Subsequent invocations of the script will re-use the
71 existing daemon. 71 existing daemon.
72
73 Another option is to use systemd socket-based activation (see
74 systemd.socket(5)). Here is an example of a service unit file and of a
75 socket unit file for the default socket path:
76
77 urxvtd.service
78 [Unit]
79 Description=urxvt terminal daemon
80 Requires=urxvtd.socket
81
82 [Service]
83 ExecStart=/usr/bin/urxvtd -o
84
85 urxvtd.socket
86 [Unit]
87 Description=urxvt terminal daemon socket
88
89 [Socket]
90 ListenStream=%h/.urxvt/urxvtd-%H
91
92 [Install]
93 WantedBy=sockets.target
72 94
73 How do I distinguish whether I'm running rxvt-unicode or a regular 95 How do I distinguish whether I'm running rxvt-unicode or a regular
74xterm? I need this to decide about setting colours etc. 96xterm? I need this to decide about setting colours etc.
75 The original rxvt and rxvt-unicode always export the variable 97 The original rxvt and rxvt-unicode always export the variable
76 "COLORTERM", so you can check and see if that is set. Note that several 98 "COLORTERM", so you can check and see if that is set. Note that several
428 We are working on it, in the meantime, as a workaround, use something 450 We are working on it, in the meantime, as a workaround, use something
429 like: 451 like:
430 452
431 urxvt -b 600 -geometry 20x1 -e sh -c 'mplayer -wid $WINDOWID file...' 453 urxvt -b 600 -geometry 20x1 -e sh -c 'mplayer -wid $WINDOWID file...'
432 454
455 Why is the cursor now blinking in emacs/vi/...?
456 This is likely caused by your editor/program's use of the "cvvis"
457 terminfo capability. Emacs uses it by default, as well as some versions
458 of vi and possibly other programs.
459
460 In emacs, you can switch that off by adding this to your ".emacs" file:
461
462 (setq visible-cursor nil)
463
464 For other programs, if they do not have an option, your have to remove
465 the "cvvis" capability from the terminfo description.
466
467 When urxvt first added the blinking cursor option, it didn't add a
468 "cvvis" capability, which served no purpose before. Version 9.21
469 introduced "cvvis" (and the ability to control blinking independent of
470 cursor shape) for compatibility with other terminals, which
471 traditionally use a blinking cursor for "cvvis". This also reflects the
472 intent of programs such as emacs, who expect "cvvis" to enable a
473 blinking cursor.
474
433 Keyboard, Mouse & User Interaction 475 Keyboard, Mouse & User Interaction
434 The new selection selects pieces that are too big, how can I select single words? 476 The new selection selects pieces that are too big, how can I select single words?
435 If you want to select e.g. alphanumeric words, you can use the following 477 If you want to select e.g. alphanumeric words, you can use the following
436 setting: 478 setting:
437 479
462 URxvt.perl-ext-common: default,-selection-popup,-option-popup 504 URxvt.perl-ext-common: default,-selection-popup,-option-popup
463 505
464 This will keep the default extensions, but disable the two popup 506 This will keep the default extensions, but disable the two popup
465 extensions. Some extensions can also be configured, for example, 507 extensions. Some extensions can also be configured, for example,
466 scrollback search mode is triggered by M-s. You can move it to any other 508 scrollback search mode is triggered by M-s. You can move it to any other
467 combination either by setting the searchable-scrollback resource: 509 combination by adding a keysym resource that binds the desired
510 combination to the "start" action of "searchable-scrollback" and another
511 one that binds M-s to the "builtin:" action:
468 512
469 URxvt.searchable-scrollback: CM-s 513 URxvt.keysym.CM-s: searchable-scrollback:start
514 URxvt.keysym.M-s: builtin:
470 515
471 The cursor moves when selecting text in the current input line, how do I switch this off? 516 The cursor moves when selecting text in the current input line, how do I switch this off?
472 See next entry. 517 See next entry.
473 518
474 During rlogin/ssh/telnet/etc. sessions, clicking near the cursor outputs strange escape sequences, how do I fix this? 519 During rlogin/ssh/telnet/etc. sessions, clicking near the cursor outputs strange escape sequences, how do I fix this?
595 time into customising your terminal. To get you started, here is the 640 time into customising your terminal. To get you started, here is the
596 author's .Xdefaults entries, with comments on what they do. It's 641 author's .Xdefaults entries, with comments on what they do. It's
597 certainly not *typical*, but what's typical... 642 certainly not *typical*, but what's typical...
598 643
599 URxvt.cutchars: "()*,<>[]{}|' 644 URxvt.cutchars: "()*,<>[]{}|'
600 URxvt.print-pipe: cat >/tmp/xxx 645 URxvt.print-pipe: cat >/some/path
601 646
602 These are just for testing stuff. 647 These are just for testing stuff.
603 648
604 URxvt.imLocale: ja_JP.UTF-8 649 URxvt.imLocale: ja_JP.UTF-8
605 URxvt.preeditType: OnTheSpot,None 650 URxvt.preeditType: OnTheSpot,None
805 See next entry. 850 See next entry.
806 851
807 I need a termcap file entry. 852 I need a termcap file entry.
808 One reason you might want this is that some distributions or operating 853 One reason you might want this is that some distributions or operating
809 systems still compile some programs using the long-obsoleted termcap 854 systems still compile some programs using the long-obsoleted termcap
810 library (Fedora Core's bash is one example) and rely on a termcap entry 855 library (Fedora's bash is one example) and rely on a termcap entry for
811 for "rxvt-unicode". 856 "rxvt-unicode".
812 857
813 You could use rxvt's termcap entry with reasonable results in many 858 You could use rxvt's termcap entry with reasonable results in many
814 cases. You can also create a termcap entry by using terminfo's infocmp 859 cases. You can also create a termcap entry by using terminfo's infocmp
815 program like this: 860 program like this:
816 861

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines