r5694 - trunk/BOOK/general/genutils

dj at linuxfromscratch.org dj at linuxfromscratch.org
Wed Mar 1 22:11:32 PST 2006


Author: dj
Date: 2006-03-01 23:11:31 -0700 (Wed, 01 Mar 2006)
New Revision: 5694

Modified:
   trunk/BOOK/general/genutils/xterm.xml
Log:
Additions and corrections to xterm.

Modified: trunk/BOOK/general/genutils/xterm.xml
===================================================================
--- trunk/BOOK/general/genutils/xterm.xml	2006-03-02 06:10:46 UTC (rev 5693)
+++ trunk/BOOK/general/genutils/xterm.xml	2006-03-02 06:11:31 UTC (rev 5694)
@@ -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 @@
 
   </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 @@
       </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>




More information about the blfs-book mailing list