9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@coraid.com>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] USB keyboard
Date: Thu, 15 Mar 2007 20:29:48 -0500	[thread overview]
Message-ID: <794c45fad2f9eb89b29d27911de1ca24@coraid.com> (raw)
In-Reply-To: <200703151844.54276.gholmer@ameritech.net>

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
	}


  reply	other threads:[~2007-03-16  1:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15 23:44 Glenn Holmer
2007-03-16  1:29 ` erik quanstrom [this message]
2007-03-16  1:34   ` erik quanstrom
2007-03-22  6:48 ` sqweek
2007-03-22  9:01   ` C H Forsyth
2007-03-22 18:01     ` David Leimbach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=794c45fad2f9eb89b29d27911de1ca24@coraid.com \
    --to=quanstro@coraid.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).