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.72 by root, Sat May 14 08:28:25 2016 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
618 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
619 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
620 certainly not *typical*, but what's typical... 642 certainly not *typical*, but what's typical...
621 643
622 URxvt.cutchars: "()*,<>[]{}|' 644 URxvt.cutchars: "()*,<>[]{}|'
623 URxvt.print-pipe: cat >/tmp/xxx 645 URxvt.print-pipe: cat >/some/path
624 646
625 These are just for testing stuff. 647 These are just for testing stuff.
626 648
627 URxvt.imLocale: ja_JP.UTF-8 649 URxvt.imLocale: ja_JP.UTF-8
628 URxvt.preeditType: OnTheSpot,None 650 URxvt.preeditType: OnTheSpot,None

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines