From owner-freebsd-current Wed Feb 12 19:42:09 1997 Return-Path: <owner-current> Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA15350 for current-outgoing; Wed, 12 Feb 1997 19:42:09 -0800 (PST) Received: from hydrogen.nike.efn.org (resnet.uoregon.edu [128.223.170.28]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA15340 for <freebsd-current@freebsd.org>; Wed, 12 Feb 1997 19:42:01 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by hydrogen.nike.efn.org (8.8.4/8.8.4) with SMTP id TAA23342; Wed, 12 Feb 1997 19:40:20 -0800 (PST) Date: Wed, 12 Feb 1997 19:40:19 -0800 (PST) From: John-Mark Gurney <jmg@nike.efn.org> Reply-To: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Terry Lambert <terry@lambert.org> cc: freebsd-current@freebsd.org Subject: Re: moused on notebooks... In-Reply-To: <199702130206.TAA01310@phaeton.artisoft.com> Message-ID: <Pine.BSF.3.95q.970212193752.24299n-100000@hydrogen.nike.efn.org> X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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)