From mvw@nil.science-factory.com  Wed Dec  6 04:43:17 2000
Return-Path: <mvw@nil.science-factory.com>
Received: from nil.science-factory.com (Sciencefactory-atm1-181.piro.net [195.135.137.205])
	by hub.freebsd.org (Postfix) with ESMTP
	id 176BD37B400; Wed,  6 Dec 2000 04:43:15 -0800 (PST)
Received: (from mvw@localhost)
	by nil.science-factory.com (8.11.1/8.11.1) id eB6Cgc589618;
	Wed, 6 Dec 2000 13:42:38 +0100 (CET)
	(envelope-from mvw)
Message-Id: <200012061242.eB6Cgc589618@nil.science-factory.com>
Date: Wed, 6 Dec 2000 13:42:38 +0100 (CET)
From: marc.vanwoerkom@science-factory.com
Sender: mvw@nil.science-factory.com
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc: 3d@freebsd.org
Subject: add information to FAQ on how to use wheeled mouse under XFree86 4.x
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         23324
>Category:       docs
>Synopsis:       add information to FAQ on how to use wheeled mouse under XFree86 4.x
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 06 04:50:01 PST 2000
>Closed-Date:    Fri Mar 16 17:33:52 PST 2001
>Last-Modified:  Wed Jun 20 16:10:01 PDT 2001
>Originator:     Marc van Woerkom
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD nil.science-factory.com 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Nov 7 15:12:53 CET 2000 mvw@nil.science-factory.com:/usr/obj/usr/src/sys/NIL i386


	
>Description:
	XFree86 config format changed between 3.3.x and 4.x,
        this is true for configuring wheeled mice as well
>How-To-Repeat:
	read FAQ :-)
>Fix:
Suggested updated to FAQ. (Please compile the doc before submitting, I was
not able to check syntax)

===================================================================
RCS file: /home/ncvs/doc/en_US.ISO_8859-1/books/faq/book.sgml,v
retrieving revision 1.129
diff -u -r1.129 book.sgml
--- book.sgml	2000/12/05 13:18:16	1.129
+++ book.sgml	2000/12/06 12:36:47
@@ -6697,7 +6697,8 @@
 
                   <example>
                     <title><quote>Pointer</quote> Section for Wheeled
-                      Mouse in XF86Config with moused Translation</title>
+                      Mouse in XFree86 3.3.x series XF86Config with moused 
+                      Translation</title>
 
                     <programlisting>Section "Pointer"
    Protocol        "SysMouse"
@@ -6706,6 +6707,33 @@
 EndSection
                     </programlisting>
                   </example>
+
+                  <example>
+                    <title><quote>InputDevice</quote> Section for Wheeled
+                      Mouse in XFree86 4.x series XF86Config with
+                      automatic protocol recognition and button mapping
+                      Translation</title>
+
+                    <programlisting>Section "InputDevice"
+   Identifier      "Mouse1"
+   Driver          "mouse"
+   Option          "Protocol" "auto"
+   Option          "Device" "/dev/psm0"
+   Option          "Buttons" "5"
+   Option          "ZAxisMapping" "4 5"
+EndSection
+                    </programlisting>
+                  </example>
+
+                  <example>
+                    <title><quote>.emacs</quote> example for naive
+                      page scrolling with Wheeled Mouse</title>
+                    <programlisting>;; wheel mouse
+(global-set-key [mouse-4] 'scroll-down)
+(global-set-key [mouse-5] 'scroll-up)
+                    </programlisting>
+                  </example>
+                   
                 </listitem>
 
                 <listitem>


Regards,
Marc

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: dd 
State-Changed-When: Fri Mar 16 17:33:52 PST 2001 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=23324 

From: Marc van Woerkom <van.woerkom@netcologne.de>
To: freebsd-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: docs/23324: add information to FAQ on how to use wheeled mouse under XFree86 4.x
Date: Thu, 21 Jun 2001 01:01:34 +0200 (CEST)

 Hi,
 
 thanks for submitting that change to question 8.4 of the FAQ.
 
 Unfortunately it ended up slightly wrong:
 
 1. The XF4 example (now example 8-2) is no moused feature, but
    works with the X server, so it should slip a bit below
    (making it the example after present example 8-4)
 
 2. It should be stated explicitly in this section that 
    XFree86 3.3.x series X11 servers and XFree86 4.x series servers use 
    different configuration file formats and that the location of 
    each of these is different!
 
      XF 3.3.x: /etc/XF86Config
      XF 4.x:   /etc/X11/XF86Config
 
 3. Thus most of the time when there is XF86Config mentioned,
    or a config example given - this is just valid for old XFree86 3.3.x!
 
 Again, please state at the beginning that the format and location
 has changed from 3.3.x to 4.x
 
 Give two versions of each example, one in 3.3.x format,
 one in 4.x format.
 
 
 Regards,
 Marc
 
>Unformatted:
