Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 1997 19:40:19 -0800 (PST)
From:      John-Mark Gurney <jmg@nike.efn.org>
To:        Terry Lambert <terry@lambert.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: moused on notebooks...
Message-ID:  <Pine.BSF.3.95q.970212193752.24299n-100000@hydrogen.nike.efn.org>
In-Reply-To: <199702130206.TAA01310@phaeton.artisoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 12 Feb 1997, Terry Lambert wrote:

> > right now I'm running moused on my notebook w/ a ps/2 mouse...  if I ever
> > have the mouse detacted when the notebook is up and running I will loose
> > the mouse until I restart moused...  
> > 
> > would anybody object to possibly added a signal handler to moused for
> > SIGHUP to force it to reopen the mouse device?  comments?
> 
> In the situation you describe, the SIGHUP would arive when you
> unplugged the mouse, not when you plugged it in.  You want it to
> be opened *after* you plug it in.

that's if your using a normal serial mouse... but I'm using a ps/2
mouse... so there isn't a "disconnect" signal... as far as I know...  of
course I guess I should make the SIGHUP patch affect bus and ps/2 mice
only then...

currently as it stands moused dies when it recieves a SIGHUP.. :)

also...  does the moused make the mouse device the controling terminal?
if it doesn't then it won't recieve the SIGHUP when it gets unplugged...

thanks for your comments... ttyl..

John-Mark

gurney_j@efn.org
http://resnet.uoregon.edu/~gurney_j/
Modem/FAX: (541) 683-6954   (FreeBSD Box)

Live in Peace, destroy Micro$oft, support free software, run FreeBSD (unix)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.970212193752.24299n-100000>