*BSD News Article 87319


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.Hawaii.Edu!ames!enews.sgi.com!news.mathworks.com!news-xfer.netaxs.com!cs.utexas.edu!chi-news.cic.net!math.ohio-state.edu!jussieu.fr!pasteur.fr!univ-lyon1.fr!univ-bpclermont.fr!llaic!espel
From: espel@llaic.univ-bpclermont.fr (Roger Espel Llima)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: middle mouse button?
Date: 23 Jan 1997 00:09:37 GMT
Organization: LLAIC, Univ. Clermont-Ferrand 1, France
Lines: 38
Message-ID: <5c6a81$5bc@cicsun.univ-bpclermont.fr>
References: <5bpf6s$54n@eve.umiacs.umd.edu> <32E0BDAB.59E2B600@FreeBSD.org>
NNTP-Posting-Host: llaic.univ-bpclermont.fr
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34417

In article <32E0BDAB.59E2B600@FreeBSD.org>,
Jordan K. Hubbard <jkh@FreeBSD.org> wrote:
>David A. Bader wrote:
>> Now I'm stuck on this: I have a three-buttom serial mouse plugged into
>> COM1 (/dev/cuaa0). Is there anyway to get X to recognize this button?
>> If not, how do I fake a middle-mouse button press?
>
>Run the XF86Setup program - it should have a menu for selecting your
>mouse.  Once you've chosen the correct 3 button mouse and restarted X
>(after saving your configuration in XF86Setup of course), you should be
>able to use your middle mouse button normally.

I have the same problem, and tried this without success.  My mouse has 3
buttons, and the drivers supplied for DOS either put in in Microsoft or
Mouse Systems mode.  I tried the Mouse Systems setting for XFree86 and
it wouldn't work at all (the mouse wasn't even recognized), with or
without ClearDTR/ClearRTS, while the Microsoft mode would but only using
two buttons.

I even disassembled the DOS utility to change modes, wrote down the
various ins and outs it was doing to switch from Microsoft to
MouseSystems, and did a little C program under FreeBSD that would do the
same (yeah, I know it's ugly, opening /dev/io and all) but it didn't
make a difference. 

To make matters worse, when I boot Linux I can start gpm (the text-mode
selection tool) which also takes a mouse protocol as an argument, and
one of the possible protocols is "Microsoft with 3-button extension",
and *that* works!  Now, I don't really care about moused doing the same
(which it doesn't), but under X it's kind of useful to have that 3rd
button too....

Ideas? :-)

	Roger
--
e-mail: roger.espel.llima@ens.fr
WWW page & PGP key: http://www.eleves.ens.fr:8080/home/espel/index.html