From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 16 Oct 2004 02:37:01 +0300 From: Enache Adrian To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] scrollbuttons 2.0 Message-ID: <20041015233701.GA1111@viezure> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Topicbox-Message-UUID: ef31e38e-eacd-11e9-9e20-41e7f4b1d025 On Fri, Oct 15, 2004 a.d., andrey mirtchovski wrote: > because i don't have any other wheel mice around here i'd like to ask > those of you who are interested to give it a try to download the > drawterm-linux.gz and drawterm-freebsd.gz clients from > http://pages.cpsc.ucalgary.ca/~mirtchov/p9/ and see if their scroll > buttons work with them. if you can compile drawterms for MacOSX, > Windows and your favuorite other OS i'd gladly put them on my page. > the source is in the same location -- drawterm.tgz. > > i'd also like to ask for suggestions on how to implement it natively > in Plan 9. the 'send keyboard command instead of a mouse event' > requires very little change, but is it 9-ish enough? i think that drawterm should set bits 4/5 in the packets put on /dev/mouse (as m5mouseputc() or ps2mouseputc() are doing), so any application could handle those events as it sees fit. a small program passed in the -k switch to rio could then transform them into Kup/Kdown. regards, Adi