*BSD News Article 84529


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!su-news-hub1.bbnplanet.com!news.sgi.com!news1.best.com!bofh.noc.best.net!not-for-mail
From: rone@bofh.noc.best.net (Ron Echeverri)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How use a mouse with FreeBSD
Date: 8 Dec 1996 20:39:12 -0800
Organization: fidgety systems administrators gmbh
Lines: 26
Message-ID: <58g55g$mhk@bofh.noc.best.net>
References: <32a6c4a1.5565599@nntpserver.vol.it> <32aa6a53.2747004@news.zippo.com>
NNTP-Posting-Host: bofh.noc.best.net

In article <32aa6a53.2747004@news.zippo.com>,
Enoch Wexler <wexler@inter.net.il> wrote:
>On Fri, 06 Dec 1996 18:47:07 GMT, gcocc@mbox.vol.it (Giacomo
>Cocchella) wrote:
>>How may I use a mouse (Logitech) under FreeBSD? I've installed it in
>>XFree but I'd like to use it under tty.
>I asked it here and repeated this question in questions@freebsd.org
>and in hackers@freebsd.org. ONLY ONE answer came through:
>There is no standard API for a mouse in Unix (only under X). True or
>false, I don't know.
>Never mind portability, it seems that nobody bothered to provide any
>doc on programming the mouse under FreeBSD -- we are expected to
>discover it by ourselves from mouse.h, psm.c and mse.c :-(
>I guess this piece of code was blindly copied from 386BSD  :-)

I don't think it's quite that bad...  I'm not sure how to tell between
psm and mse, but if your mouse is a serial mouse, it's likely going to
be on sio0 (COM1).  You can probably just make a link /dev/mouse
pointing to /dev/cuaa0, but xf86config/XF86Setup should be able to do
that for you.

rone
-- 
 Ron Echeverri         Best Internet Usenet Administration        rone@best.net
  ----------------------------------------------------------------------------
  And remember, it's spelled N-e-t-s-c-a-p-e, but it's pronounced "bloatware".