source: xsoft/other/rxvt-unicode.xml@ 555daff4

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 555daff4 was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 years ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 11.0 KB
RevLine 
[95f9972]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[0a63d2e]7 <!ENTITY rxvt-unicode-download-http "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-&rxvt-unicode-version;.tar.bz2">
8 <!ENTITY rxvt-unicode-download-ftp " ">
9 <!ENTITY rxvt-unicode-md5sum "93782dec27494eb079467dacf6e48185">
10 <!ENTITY rxvt-unicode-size "910 KB">
11 <!ENTITY rxvt-unicode-buildsize "23 MB (plus 9 MB if gdk-pixbuf is present)">
[7715803]12 <!ENTITY rxvt-unicode-time "0.2 SBU">
[95f9972]13]>
14
15<sect1 id="rxvt-unicode" xreflabel="rxvt-unicode-&rxvt-unicode-version;">
16 <?dbhtml filename="rxvt-unicode.html"?>
17
18 <sect1info>
[5af33308]19 <date>$Date$</date>
[95f9972]20 </sect1info>
21
22 <title>rxvt-unicode-&rxvt-unicode-version;</title>
23
24 <indexterm zone="rxvt-unicode">
25 <primary sortas="a-rxvt-unicode">rxvt-unicode</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to rxvt-unicode</title>
30
[622c1021]31 <para>
32 <application>rxvt-unicode</application> is a clone of the terminal
33 emulator <application>rxvt</application>, an X Window System terminal
34 emulator which includes support for XFT and Unicode.
35 </para>
[95f9972]36
[55a63862]37 &lfs101_checked;
[bd32b6fd]38
[1af702d2]39 <note>
40 <para>
41 <!-- https://github.com/Perl/perl5/issues/12349 -->
42 Please be aware that <application>rxvt-unicode</application> is
43 affected by an issue in <application>perl</application> where
44 the SIGFPE handler is set to SIG_IGN (i.e. the signal is ignored).
45 If you are building an LFS system from within <command>urxvt</command>
46 and running the testsuites, tests in <application>bash</application> and
47 <application>check</application> which test raising this signal will fail.
48 </para>
49 </note>
50
[95f9972]51 <bridgehead renderas="sect3">Package Information</bridgehead>
52 <itemizedlist spacing="compact">
53 <listitem>
[622c1021]54 <para>
55 Download (HTTP): <ulink url="&rxvt-unicode-download-http;"/>
56 </para>
[95f9972]57 </listitem>
58 <listitem>
[622c1021]59 <para>
60 Download (FTP): <ulink url="&rxvt-unicode-download-ftp;"/>
61 </para>
[95f9972]62 </listitem>
63 <listitem>
[622c1021]64 <para>
65 Download MD5 sum: &rxvt-unicode-md5sum;
66 </para>
[95f9972]67 </listitem>
68 <listitem>
[622c1021]69 <para>
70 Download size: &rxvt-unicode-size;
71 </para>
[95f9972]72 </listitem>
73 <listitem>
[622c1021]74 <para>
75 Estimated disk space required: &rxvt-unicode-buildsize;
76 </para>
[95f9972]77 </listitem>
78 <listitem>
[622c1021]79 <para>
80 Estimated build time: &rxvt-unicode-time;
81 </para>
[95f9972]82 </listitem>
83 </itemizedlist>
84
85 <bridgehead renderas="sect3">rxvt-unicode Dependencies</bridgehead>
86
87 <bridgehead renderas="sect4">Required</bridgehead>
[adf6dd9a]88 <para role="required">
89 <xref linkend="x-window-system"/>
90 </para>
[e4faed3]91
[c9cb85c]92 <bridgehead renderas="sect4">Optional</bridgehead>
[e4faed3]93 <para role="optional">
[b5e907b2]94 <xref linkend="gdk-pixbuf"/> (for background images) and
[616dc91]95 <xref linkend="startup-notification"/>
[adf6dd9a]96 </para>
[c9cb85c]97
[95f9972]98 <para condition="html" role="usernotes">User Notes:
99 <ulink url='&blfs-wiki;/rxvt-unicode'/></para>
100
101 </sect2>
102
103 <sect2 role="installation">
104 <title>Installation of rxvt-unicode</title>
105
[622c1021]106 <para>
107 Install <application>rxvt-unicode</application> by running the
108 following commands:
109 </para>
[95f9972]110
[90f49b3]111<screen><userinput>sed -i '/if (perl)/,+5d' src/rxvtperl.xs &amp;&amp;
112./configure --prefix=/usr --enable-everything &amp;&amp;
[95f9972]113make</userinput></screen>
114
[622c1021]115 <para>
116 This package does not come with a test suite.
117 </para>
[95f9972]118
[622c1021]119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
[95f9972]122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
[90f49b3]130 <para>
131 <command>sed -i '/if (perl)/,+5d' src/rxvtperl.xs</command>:
132 This prevents a segmentation fault when closing a urxvt terminal,
133 caused by deallocating a private environment copy before destructing
134 the perl interpreter which calls getenv().
135 <!--https://bugzilla.redhat.com/show_bug.cgi?id=1894917
136 http://lists.schmorp.de/pipermail/rxvt-unicode/2020q2/002583.html -->
137 </para>
138
[622c1021]139 <para>
140 <parameter>--enable-everything</parameter>: Add support for all
141 non-multichoice options. Details about the different options can be
142 found in the file <filename>README.configure</filename>.
143 </para>
[fd7e0ed6]144
[622c1021]145 <para>
146 <option>--disable-xft</option>: Remove support for Xft fonts.
147 </para>
[95f9972]148
[622c1021]149 <para>
150 <option>--disable-perl</option>: Disable the embedded
151 <application>Perl</application> interpreter.
152 </para>
[95f9972]153
[622c1021]154 <para>
155 <option>--disable-afterimage</option>: Remove support for
156 libAfterImage.
157 </para>
[c9cb85c]158
[95f9972]159 </sect2>
160
161 <sect2 role="configuration">
162 <title>Configuring rxvt-unicode</title>
163
[622c1021]164 <para>
165 The <application>rxvt-unicode</application> terminal emulator uses the
166 resource class <classname>URxvt</classname> and the resource name
167 <classname>urxvt</classname>. You can add X resource definitions to a
168 user's <filename>~/.Xresources</filename> or
169 <filename>~/.Xdefaults</filename> files or to the system-wide
170 <filename>/etc/X11/app-defaults/URxvt</filename> file. The following
171 example will load the <classname>matcher</classname>
172 <application>Perl</application> extension (assuming
173 <application>Perl</application> support wasn't disabled), which enables
174 a left button click to open an underlined URL in the specified browser,
175 sets a background and foreground color and loads an Xft font (as the
176 <systemitem class="username">root</systemitem> user):
177 </para>
[d357f93]178
[9bdfbde2]179<screen role="root"><userinput>cat &gt;&gt; /etc/X11/app-defaults/URxvt &lt;&lt; "EOF"
[6ec7963]180<literal>! Use the specified colour as the windows background colour [default white]
181URxvt*background: black
182
183! Use the specified colour as the windows foreground colour [default black]
184URxvt*foreground: yellow
185
186! Select the fonts to be used. This is a comma separated list of font names
187URxvt*font: xft:Monospace:pixelsize=18
188
189! Comma-separated list(s) of perl extension scripts (default: "default")
190URxvt*perl-ext: matcher
191
192! Specifies the program to be started with a URL argument. Used by
193URxvt*url-launcher: firefox
194
195! When clicked with the mouse button specified in the "matcher.button" resource
196! (default 2, or middle), the program specified in the "matcher.launcher"
197! resource (default, the "url-launcher" resource, "sensible-browser") will be
198! started with the matched text as first argument.
199! Below, default modified to mouse left button.
200URxvt*matcher.button: 1</literal>
[95f9972]201EOF</userinput></screen>
[fd7e0ed6]202
[622c1021]203 <para>
204 In order to view the defined X resources, issue:
205 </para>
[6ec7963]206
[fbbc908]207<screen role="nodump"><userinput>xrdb -query</userinput></screen>
[6ec7963]208
[622c1021]209 <para>
210 In order to add the modifications of the new user configuration file,
211 keeping previously X configurations (of course, unless you are changing
212 any on previously define), issue:
213 </para>
[6ec7963]214
[fbbc908]215<screen role="nodump"><userinput>xrdb -merge ~/.Xresources</userinput></screen>
[6ec7963]216
[622c1021]217 <para>
218 The <application>rxvt-unicode</application> application can also run
219 in a daemon mode, which makes it possible to open multiple terminal
220 windows within the same process. The <command>urxvtc</command> client
221 then connects to the <command>urxvtd</command> daemon and requests a
222 new terminal window. Use this option with caution. If the daemon
223 crashes, all the running processes in the terminal windows are
224 terminated.
225 </para>
[fd7e0ed6]226
[622c1021]227 <para>
228 You can start the <command>urxvtd</command> daemon in the system or
229 personal startup <command>X</command> session script (e.g.,
230 <filename>~/.xinitrc</filename>) by adding the following lines near the
231 top of the script:
232 </para>
[fd7e0ed6]233
[fbbc908]234<screen role="nodump"><userinput><literal># Start the urxvtd daemon
[d357f93]235urxvtd -q -f -o &amp;</literal></userinput></screen>
[95f9972]236
[622c1021]237 <para>
238 For more information, examine the <command>urxvt</command>,
239 <command>urxvtd</command>, <command>urxvtc</command>, and
240 <filename>urxvtperl</filename> man pages.
241 </para>
[95f9972]242
[622c1021]243 <para>
244 If you use a Desktop Environment, a menu entry can be included,
245 issuing, as the <systemitem class="username">root</systemitem> user:
246 </para>
[f5125859]247
[dac5077]248<screen role="root"><userinput>cat &gt; /usr/share/applications/urxvt.desktop &lt;&lt; "EOF" &amp;&amp;
[f5125859]249<literal>[Desktop Entry]
250Encoding=UTF-8
251Name=Rxvt-Unicode Terminal
252Comment=Use the command line
253GenericName=Terminal
[f3429309]254Exec=urxvt
[f5125859]255Terminal=false
256Type=Application
257Icon=utilities-terminal
258Categories=GTK;Utility;TerminalEmulator;
259#StartupNotify=true
260Keywords=console;command line;execute;</literal>
261EOF
262
263update-desktop-database -q</userinput></screen>
264
[622c1021]265 <para>
266 For that, you need <xref linkend="desktop-file-utils"/> and at least
267 one of <xref linkend="gnome-icon-theme"/>, <xref linkend="oxygen-icons5"/>
268 and <xref linkend="lxde-icon-theme"/>. Uncomment the line with
269 <quote>StartupNotify=true</quote> if <xref
270 linkend="startup-notification"/> is installed.
271 </para>
[f5125859]272
[95f9972]273 </sect2>
274
275 <sect2 role="content">
276 <title>Contents</title>
277
278 <segmentedlist>
279 <segtitle>Installed Programs</segtitle>
280 <segtitle>Installed Libraries</segtitle>
[d0b331c]281 <segtitle>Installed Directory</segtitle>
[95f9972]282
283 <seglistitem>
[d357f93]284 <seg>urxvt, urxvtd, and urxvtc</seg>
[95f9972]285 <seg>Many <application>Perl</application> extensions located under
[4c24eb0a]286 <filename class="directory">/usr/lib/urxvt/perl</filename></seg>
[95f9972]287 <seg>/usr/lib/urxvt</seg>
288 </seglistitem>
289 </segmentedlist>
290
291 <variablelist>
292 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
293 <?dbfo list-presentation="list"?>
294 <?dbhtml list-presentation="table"?>
295
296 <varlistentry id="urxvt-bin">
297 <term><command>urxvt</command></term>
298 <listitem>
[622c1021]299 <para>
[4c24eb0a]300 is a terminal emulator for the X Window System
[622c1021]301 </para>
[95f9972]302 <indexterm zone="rxvt-unicode urxvt-bin">
303 <primary sortas="b-urxvt-bin">urxvt</primary>
304 </indexterm>
305 </listitem>
306 </varlistentry>
307
308 <varlistentry id="urxvtd">
309 <term><command>urxvtd</command></term>
310 <listitem>
[622c1021]311 <para>
[4c24eb0a]312 is the <command>urxvt</command> terminal daemon
[622c1021]313 </para>
[95f9972]314 <indexterm zone="rxvt-unicode urxvtd">
315 <primary sortas="b-urxvtd">urxvtd</primary>
316 </indexterm>
317 </listitem>
318 </varlistentry>
319
320 <varlistentry id="urxvtc">
321 <term><command>urxvtc</command></term>
322 <listitem>
[622c1021]323 <para>
[4c24eb0a]324 controls the <command>urxvtd</command> daemon
[622c1021]325 </para>
[95f9972]326 <indexterm zone="rxvt-unicode urxvtc">
[de2551f]327 <primary sortas="b-urxvtc">urxvtc</primary>
[95f9972]328 </indexterm>
329 </listitem>
330 </varlistentry>
331
332 </variablelist>
333
334 </sect2>
335
336</sect1>
Note: See TracBrowser for help on using the repository browser.