From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <794c45fad2f9eb89b29d27911de1ca24@coraid.com> From: erik quanstrom Date: Thu, 15 Mar 2007 20:29:48 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] USB keyboard In-Reply-To: <200703151844.54276.gholmer@ameritech.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 26377ee4-ead2-11e9-9d60-3106f5b1d025 i'm not sure what the cannonical way to do this is but in plan9.ini i set mouseport=usb and then i have modified the mouse-setting part of /rc/bin/termrc to read like this if(test -f /dev/mousectl && ~ $mouseport ps2 ps2intellimouse 0 1 2 usb){ if(~ $mouseport usb) usbstart if not aux/mouse $mouseport # parse vgasize into fields vgasize=`{echo $vgasize} if(! ~ $"monitor '' && ! ~ `{cat /dev/user} none) aux/vga -l $vgasize if(~ $accupoint 1) pipefile -dr /bin/aux/accupoint /dev/mouse }