mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
Additions and corrections to xterm.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5694 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
4437f6347b
commit
e4a21ed702
@ -69,19 +69,17 @@
|
||||
<sect2 role="installation">
|
||||
<title>Installation of xterm</title>
|
||||
|
||||
<para>If you've installed the X Window System in any prefix other
|
||||
than <filename class="directory">/usr/X11R6</filename>, then execute
|
||||
the following command to correct the <envar>PROJECTROOT</envar> variable
|
||||
for xterm. Be sure to replace '<replaceable>[prefix]</replaceable>' in the
|
||||
following instructions with the installation prefix of your X Window
|
||||
System:</para>
|
||||
<para>Since xterm is no longer a part of the <application>Xorg</application>
|
||||
distribution, it is no longer necessary to install into the same prefix as
|
||||
<application>Xorg</application>. Correct the PROJECTROOT variable with
|
||||
the following command:</para>
|
||||
|
||||
<screen><userinput>sed -i 's@/usr/X11R6@<replaceable>[prefix]</replaceable>@g' main.h</userinput></screen>
|
||||
<screen><userinput>sed -i 's@/usr/X11R6@/usr@' main.h</userinput></screen>
|
||||
|
||||
<para>Install <application>xterm</application> by running the
|
||||
following commands:</para>
|
||||
|
||||
<screen><userinput>./configure --prefix=<replaceable>[prefix]</replaceable> --sysconfdir=/etc \
|
||||
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
|
||||
--localstatedir=/var &&
|
||||
make</userinput></screen>
|
||||
|
||||
@ -94,6 +92,15 @@ make</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>sed -i 's@/usr/X11R6@/usr@' main.h</command>: This command
|
||||
corrects the PROJECTROOT definition for an installation prefix of
|
||||
<filename class="directory">/usr</filename>.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
@ -105,6 +112,46 @@ make</userinput></screen>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="resize">
|
||||
<term><filename>resize</filename></term>
|
||||
<listitem>
|
||||
<para>prints a shell command for setting the TERM and TERMCAP
|
||||
environment variables to indicate the current size of xterm
|
||||
window.</para>
|
||||
<indexterm zone="xterm2 resize">
|
||||
<primary sortas="b-resize">resize</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="uxterm">
|
||||
<term><filename>uxterm</filename></term>
|
||||
<listitem>
|
||||
<para>is a wrapper script to start xterm with the proper settings in
|
||||
UTF-8 locales.</para>
|
||||
<indexterm zone="xterm2 uxterm">
|
||||
<primary sortas="b-uxterm">uxterm</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="xterm-bin">
|
||||
<term><filename>xterm</filename></term>
|
||||
<listitem>
|
||||
<para>is a terminal emulator for the X Window System.</para>
|
||||
<indexterm zone="xterm2 xterm2">
|
||||
<primary sortas="b-xterm2">xterm</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
Loading…
Reference in New Issue
Block a user