Changeset 2be20f1b


Ignore:
Timestamp:
09/21/2003 01:38:00 AM (19 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
10.0, 10.1, 11.0, 11.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/test-20220226
Children:
110ec35a
Parents:
7b3d96c9
Message:

update intro to gpm and bc

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1142 af4574ff-66df-0310-9fd7-8a98e5e911e0

Location:
general
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • general/genutils/bc/bc-desc.xml

    r7b3d96c9 r2be20f1b  
    22<title>Contents</title>
    33
    4 <para>The bc package contains <userinput>bc</userinput> and
    5 <userinput>dc</userinput>.</para>
     4<para>The <application>bc</application> package contains
     5<command>bc</command> and
     6<command>dc</command>.</para>
    67
    78</sect2>
     
    1011
    1112<sect3><title>bc</title>
    12 <para>bc is a calculator.</para></sect3>
     13<para><command>bc</command> is a calculator.</para></sect3>
    1314
    1415<sect3><title>dc</title>
    15 <para>dc is a reverse-polish calculator.</para></sect3>
     16<para><command>dc</command> is a reverse-polish calculator.</para></sect3>
    1617
    1718</sect2>
  • general/genutils/bc/bc-inst.xml

    r7b3d96c9 r2be20f1b  
    11<sect2>
    2 <title>Installation of bc</title>
     2<title>Installation of <command>bc</command></title>
    33
    4 <para>Download the patches for bc from <ulink url="&hfile-root;"/>.</para>
     4<para>Download the patches for <command>bc</command> from <ulink url="&hfile-root;"/>.</para>
    55
    6 <para>Install bc by running the following commands:</para>
     6<para>Install <command>bc</command> by running the following commands:</para>
    77
    8 <para><screen><userinput>patch -Np1 -i ../bc-1.06-flex-invocation.patch &amp;&amp;
     8<screen><userinput><command>patch -Np1 -i ../bc-1.06-flex-invocation.patch &amp;&amp;
    99patch -Np1 -i ../bc-1.06-info.patch &amp;&amp;
    1010patch -Np1 -i ../bc-1.06-readline.patch &amp;&amp;
    1111./configure --prefix=/usr --with-readline &amp;&amp;
    1212make &amp;&amp;
    13 make install</userinput></screen></para>
     13make install</command></userinput></screen>
    1414
    1515</sect2>
  • general/genutils/bc/bc-intro.xml

    r7b3d96c9 r2be20f1b  
    11<sect2>
    2 <title>Introduction to bc</title>
     2<title>Introduction to <application>bc</application></title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&bc-download-http;"/>
    5 Download location (FTP):        <ulink url="&bc-download-ftp;"/>
    6 Version used:                   &bc-version;
    7 Package size:                   &bc-size;
    8 Estimated Disk space required:  &bc-buildsize;
    9 Estimated build time:           &bc-time;</screen>
    10 
    11 <para>The bc package contains bc. This is an arbitrary precision numeric
     4<para>The <application>bc</application> package contains
     5<command>bc</command>. This is an arbitrary precision numeric
    126processing language.</para>
    137
    14 <screen>bc depends on:
    15 <xref linkend="readline"/></screen>
     8<sect3><title>Package information</title>
     9<itemizedlist spacing='compact'>
     10<listitem><para>Download (HTTP): <ulink
     11url="&bc-download-http;"/></para></listitem>
     12<listitem><para>Download (FTP): <ulink
     13url="&bc-download-ftp;"/></para></listitem>
     14<listitem><para>Download size: &bc-size;</para></listitem>
     15<listitem><para>Estimated Disk space required:
     16&bc-buildsize;</para></listitem>
     17<listitem><para>Estimated build time:
     18&bc-time;</para></listitem></itemizedlist>
     19</sect3>
     20                                                                               
     21<sect3><title><application>bc</application> dependencies</title>
     22<sect4><title>Required</title>
     23<para><xref linkend="readline"/></para></sect4>
     24</sect3>
     25
    1626</sect2>
  • general/sysutils/gpm/gpm-config.xml

    r7b3d96c9 r2be20f1b  
    11<sect2>
    2 <title>Configuring gpm</title>
     2<title>Configuring <application>gpm</application></title>
    33
    44<sect3><title>gpm init.d script</title>
    5 <para>The gpm init.d script can be created using the following
    6 commands:  (This assumes that you have followed the LFS default of
    7 having your $rc_base set to <filename
     5<para>The <application>gpm</application> init.d script can be created using
     6the following commands:  (This assumes that you have followed the
     7<acronym>LFS</acronym> default of having your $rc_base set to <filename
    88class="directory">/etc/rc.d</filename>)</para>
    9 <para><screen><userinput>cat &gt; /etc/rc.d/init.d/gpm &lt;&lt; "EOF"</userinput>
     9<screen><userinput><command>cat &gt; /etc/rc.d/init.d/gpm &lt;&lt; "EOF"</command>
    1010#!/bin/sh
    1111# Begin $rc_base/init.d/gpm
     
    5858
    5959# End $rc_base/init.d/gpm
    60 <userinput>EOF
    61 chmod 755 /etc/rc.d/init.d/gpm</userinput></screen></para>
     60<command>EOF
     61chmod 755 /etc/rc.d/init.d/gpm</command></userinput></screen>
    6262
    6363<para>You then need to create symbolic links to this file in the relevant rc.d
    6464directories.  For example:
    65 <screen><userinput>cd /etc/rc.d/init.d &amp;&amp;
     65<screen><userinput><command>cd /etc/rc.d/init.d &amp;&amp;
    6666ln -sf ../init.d/gpm ../rc0.d/K10gpm &amp;&amp;
    6767ln -sf ../init.d/gpm ../rc1.d/K10gpm &amp;&amp;
     
    7070ln -sf ../init.d/gpm ../rc4.d/S70gpm &amp;&amp;
    7171ln -sf ../init.d/gpm ../rc5.d/S70gpm &amp;&amp;
    72 ln -sf ../init.d/gpm ../rc6.d/K10gpm</userinput></screen></para></sect3>
     72ln -sf ../init.d/gpm ../rc6.d/K10gpm</command></userinput></screen></para></sect3>
    7373
    7474<sect3><title>Config files</title>
     
    7777it uses.  To create this file, run the following:</para>
    7878
    79 <para><screen><userinput>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"</userinput>
     79<screen><userinput><command>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"</command>
    8080# start /etc/sysconfig/mouse
    8181MDEVICE=yourdevice
    8282PROTOCOL=yourprotocol
    8383# end /etc/sysconfig/mouse
    84 <userinput>EOF</userinput></screen></para>
     84<command>EOF</command></userinput></screen>
    8585</sect3>
    8686
    8787<sect3><title>Configuration Information</title>
    8888
    89 <para>Examples of values to set MDEVICE and PROTOCOL to are</para>
     89<para>Examples of values to set <envar>MDEVICE</envar> and
     90<envar>PROTOCOL</envar> to are</para>
    9091
    91 <para><screen>MDEVICE=/dev/psaux
    92 PROTOCOL=imps2</screen></para>
     92<screen><userinput>MDEVICE=/dev/psaux
     93PROTOCOL=imps2</userinput></screen>
    9394
    9495<para>A list of which protocol values are known can be found by running
    95 <userinput>gpm -t -help</userinput>.  Your MDEVICE setting depends on
     96<command>gpm -t -help</command>.  Your <envar>MDEVICE</envar> setting depends on
    9697which type of mouse you have.  For example,
    9798<filename>/dev/ttyS0</filename> for a serial mouse (on Windows this is
    98 COM1), <filename>/dev/input/mice</filename> is often used for USB mice
    99 and <filename>/dev/psaux</filename> for PS2 mice.  It is normally
     99COM1), <filename>/dev/input/mice</filename> is often used for
     100<acronym>USB</acronym> mice
     101and <filename>/dev/psaux</filename> for <acronym>PS2</acronym> mice.  It is normally
    100102thought not a good idea to link <filename>/dev/mouse</filename> to the relevant device, but
    101103instead to reference it directly.</para>
  • general/sysutils/gpm/gpm-desc.xml

    r7b3d96c9 r2be20f1b  
    22<title>Contents</title>
    33
    4 <para>The gpm package contains <userinput>gpm</userinput>,
    5 <userinput>gpm-root</userinput>, <userinput>disable-paste</userinput>
    6 and <userinput>mev</userinput>.</para>
     4<para>The <application>gpm</application> package contains
     5<command>gpm</command>,
     6<command>gpm-root</command>, <command>disable-paste</command>
     7and <command>mev</command>.</para>
    78
    89</sect2>
     
    1112
    1213<sect3><title>gpm</title>
    13 <para>gpm is a cut and paste utility and mouse server for virtual
    14 consoles.</para></sect3>
     14<para><command>gpm</command> is a cut and paste utility and mouse server for
     15virtual consoles.</para></sect3>
    1516
    1617<sect3><title>gpm-root</title>
    17 <para>gpm-root is a default handler for gpm.  It is used to draw menus on the
     18<para><command>gpm-root</command> is a default handler for
     19<command>gpm</command>.  It is used to draw menus on the
    1820root window.</para></sect3>
    1921
     
    2224
    2325<sect3><title>mev</title>
    24 <para>mev is a program to report mouse events.</para></sect3>
     26<para><command>mev</command> is a program to report mouse events.</para></sect3>
    2527
    2628</sect2>
  • general/sysutils/gpm/gpm-inst.xml

    r7b3d96c9 r2be20f1b  
    11<sect2>
    2 <title>Installation of gpm</title>
     2<title>Installation of <application>gpm</application></title>
    33
    44<para>Download the patches for <application>gpm</application> from <ulink url="&hfile-root;"/>.</para>
    55
    6 <para>Install gpm by running the following commands:</para>
    7 
    8 <note><para>The LDFLAGS environment variable must be set before
    9     configuring gpm.</para></note>
     6<para>Install <application>gpm</application> by running the following commands:
     7</para>
     8<!--
     9<note><para>The <envar>LDFLAGS</envar> environment variable must be set before
     10    configuring <application>gpm</application>.</para></note> -->
    1011   
    11 <para><screen><userinput>patch -Np0 -i ../gpm-1.20.1-smooth-cursor.patch &amp;&amp;
     12<screen><userinput><command>patch -Np0 -i ../gpm-1.20.1-smooth-cursor.patch &amp;&amp;
    1213patch -Np1 -i ../gpm-1.20.1-segfault.patch &amp;&amp;
    1314patch -Np1 -i ../gpm-1.20.1-silent.patch &amp;&amp;
    1415LDFLAGS="-lm" ./configure --prefix=/usr &amp;&amp;
    1516make &amp;&amp;
    16 make install</userinput></screen></para>
     17make install</command></userinput></screen>
    1718</sect2>
    1819
     
    2122<title>Command explanations</title>
    2223
    23 <para><userinput>export LDFLAGS="-lm": </userinput>The math library
     24<para><command>export LDFLAGS="-lm"</command> : The math library
    2425 must be linked with gpm, as ceil() is used in some cursor scrolling
    25  logic. LDFLAGS is only needed if you optimize gpm for size.</para>
     26 logic. <envar>LDFLAGS</envar> is only needed if you optimize gpm for size.
     27</para>
    2628
    2729</sect2>
  • general/sysutils/gpm/gpm-intro.xml

    r7b3d96c9 r2be20f1b  
    11<sect2>
    2 <title>Introduction to gpm</title>
     2<title>Introduction to <application>gpm</application></title>
    33
    4 <screen>Download location (HTTP):       <ulink url="&gpm-download-http;"/>
    5 Download location (FTP):        <ulink url="&gpm-download-ftp;"/>
    6 Version used:                   &gpm-version;
    7 Package size:                   &gpm-size;
    8 Estimated Disk space required:  &gpm-buildsize;</screen>
     4<para>The <application>gpm</application> package contains a mouse server for
     5the console and <command>xterm</command>. This is useful for cutting and
     6pasting text in console mode, and also because many console-based programs
     7need it to compile mouse support into themselves.</para>
    98
    10 <para>The gpm package contains a mouse server for the console and xterm.
    11 This is useful for cutting and pasting text in console mode, and also
    12 because many console-based programs need it to compile mouse support
    13 into themselves.</para>
     9<sect3><title>Package information</title>
     10<itemizedlist spacing='compact'>
     11<listitem><para>Download (HTTP): <ulink
     12url="&gpm-download-http;"/></para></listitem>
     13<listitem><para>Download (FTP): <ulink
     14url="&gpm-download-ftp;"/></para></listitem>
     15<listitem><para>Download size: &gpm-size;</para></listitem>
     16<listitem><para>Estimated Disk space required:
     17&gpm-buildsize;</para></listitem>
     18<listitem><para>Estimated build time:
     19&gpm-time;</para></listitem></itemizedlist>
     20</sect3>
     21
    1422
    1523</sect2>
  • general/sysutils/gpm/gpm.ent

    r7b3d96c9 r2be20f1b  
    99<!ENTITY gpm-download-ftp "ftp://arcana.linux.it/pub/gpm/gpm-&gpm-version;.tar.bz2">
    1010<!ENTITY gpm-size "556 KB">
     11<!ENTITY gpm-time "">
Note: See TracChangeset for help on using the changeset viewer.