Author: bdubbs
Date: Thu Nov 29 11:01:07 2018
New Revision: 20755

Log:
Update gpm in BLFS Basic book

Modified:
   branches/basic/general/sysutils/gpm.xml

Modified: branches/basic/general/sysutils/gpm.xml
==============================================================================
--- branches/basic/general/sysutils/gpm.xml     Thu Nov 29 10:56:35 2018        
(r20754)
+++ branches/basic/general/sysutils/gpm.xml     Thu Nov 29 11:01:07 2018        
(r20755)
@@ -77,9 +77,28 @@
 
   </sect2>
 
+  <sect2 role="kernel" id='gpm-kernel'>
+    <title>Kernel Configuration</title>
+
+     <para>
+      Enable the following option in the kernel configuration and recompile the
+      kernel if necessary:
+     </para>
+
+<screen><literal>Device Drivers  ---&gt;
+  Input device support ---&gt; [CONFIG_INPUT]
+    &lt;*/M&gt; Mouse interface   [CONFIG_INPUT_MOUSEDEV]</literal></screen>
+
+     <indexterm zone="gpm gpm-kernel">
+        <primary sortas="d-gpm">gpm</primary>
+     </indexterm>
+
+  </sect2>
+
   <sect2 role="installation">
     <title>Installation of GPM</title>
 
+
     <para>Install <application>GPM</application> by running
     the following commands:</para>
 
@@ -129,21 +148,20 @@
     <title>Configuring GPM</title>
 
     <sect3 id="gpm-init">
-      <title>Boot Script or Systemd Unit</title>
+      <title><phrase revision="sysv">Boot Script</phrase>
+             <phrase revision="systemd">Systemd Unit</phrase></title>
 
       <indexterm zone="gpm gpm-init">
         <primary sortas="f-gpm-init">gpm</primary>
       </indexterm>
 
-      <para>
-        For System V based systems, install the
-        <filename>/etc/rc.d/init.d/gpm</filename> init script included in the
-        <xref linkend="bootscripts"/> package.
-      </para>
-
-      <para>
-        For systemd based systems, to start the <command>gpm</command> daemon 
-        at boot, install the systemd unit from the <xref 
linkend="systemd-units"/>
+      <para revision="sysv">Install the
+      <filename>/etc/rc.d/init.d/gpm</filename> init script included in the
+      <xref linkend="bootscripts"/> package.</para>
+
+      <para revision="systemd">
+        To start the <command>gpm</command> daemon at boot,
+        install the systemd unit from the <xref linkend="systemd-units"/>
         package by running the following command as the
         <systemitem class="username">root</systemitem> user:
       </para>
@@ -159,12 +177,12 @@
       <filename>~/.gpm-root</filename>: The default and individual user
       <command>gpm-root</command> configuration files.</para>
 
-      <para><filename>/etc/sysconfig/mouse</filename> (System V only):
+      <para revision="sysv"><filename>/etc/sysconfig/mouse</filename>:
       This file contains the name of your mouse device and the protocol
       it uses.  To create this file, run the following as the
       <systemitem class="username">root</systemitem> user:</para>
 
-<screen role="root"><userinput>cat &gt; /etc/sysconfig/mouse &lt;&lt; "EOF"
+<screen role="root" revision="sysv"><userinput>cat &gt; /etc/sysconfig/mouse 
&lt;&lt; "EOF"
 <literal># Begin /etc/sysconfig/mouse
 
 MDEVICE="<replaceable>&lt;yourdevice&gt;</replaceable>"
@@ -182,7 +200,7 @@
         <primary sortas="e-etc-gpm-root.conf">/etc/gpm-root.conf</primary>
       </indexterm>
 
-      <indexterm zone="gpm gpm-config">
+      <indexterm zone="gpm gpm-config" revision="sysv">
         <primary sortas="e-etc-sysconfig-mouse">/etc/sysconfig/mouse</primary>
       </indexterm>
 
@@ -191,14 +209,14 @@
     <sect3>
       <title>Configuration Information</title>
 
-      <para>System V:Examples of values to set <envar>MDEVICE</envar>,
+      <para revision="sysv">Examples of values to set <envar>MDEVICE</envar>,
       <envar>PROTOCOL</envar>, and <envar>GPMOPTS</envar> to are:</para>
 
-<screen><literal>MDEVICE="/dev/input/mice"
+<screen revision="sysv"><literal>MDEVICE="/dev/input/mice"
 PROTOCOL="imps2"
 GPMOPTS=""</literal></screen>
 
-      <para>A list of which protocol values are known can be
+      <para revision="sysv">A list of which protocol values are known can be
       found by running
       <command>gpm -m <replaceable>[device]</replaceable> -t -help</command>.
       The <envar>MDEVICE</envar> setting depends on which type of mouse you
@@ -208,8 +226,8 @@
       <envar>GPMOPTS</envar> is the 'catch all' for any additional options that
       are needed for your hardware.</para>
 
-      <para>
-        systemd: <application>GPM</application> is by default started with
+      <para revision="systemd">
+        <application>GPM</application> is by default started with
         the following parameters:
         <parameter>-m /dev/input/mice -t imps2</parameter>. If the
         mentioned parameters don't suit your needs, you can override
@@ -217,7 +235,7 @@
         the <systemitem class="username">root</systemitem> user:
       </para>
 
-<screen role="root"><userinput>install -v -dm755 
/etc/systemd/system/gpm.service.d
+<screen role="root" revision="systemd"><userinput>install -v -dm755 
/etc/systemd/system/gpm.service.d
 echo "ExecStart=/usr/sbin/gpm &lt;list of parameters&gt;" > 
/etc/systemd/system/gpm.service.d/99-user.conf</userinput></screen>
 
     </sect3>
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to