tynor@pyr.gatech.EDU (Steve Tynor) (01/14/88)
Help!
I'm trying to add mouse support (Microsoft Mouse) to microEmacs (3.9)
without luck.
Basically, I initialize the mouse in ttopen, then in ttgetc right before the
dos interupt call for the direct console character input, I show the mouse,
the right after the interupt I hide it (so that during screen update the
mouse is hidden...) Unfortunately, the character returned by the dosint is
always incorrect! (after anding it with 255 it's always 252.)
Does the mouses procedure call interfere with this dos function? Any ideas
on a fix or workaround? I'm using TurboC, Large memory model... Any help
would be appreciated. Once I get this working, I'll post the required
code...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Progress means replacing something wrong with something more subtly wrong.
Steve Tynor
Georgia Instutute of Technology
...{akgua, allegra, amd, harpo, hplabs,
ihnp4, masscomp, ut-ngp, rlgvax, sb1,
uf-cgrl, unmvax, ut-sally} !gatech!gitpyr!tynornwd@j.cc.purdue.edu (Daniel Lawrence) (01/15/88)
In article <4772@pyr.gatech.EDU> tynor@pyr.UUCP (Steve Tynor) writes: >Help! > >I'm trying to add mouse support (Microsoft Mouse) to microEmacs (3.9) >without luck. I am going through this right now as well. I have added a new command prefix (MS-) to handle events from the mouse and will have the driver code for both the Microsoft mouse on the PC and the mouse on the Atari ST for a start. If you want it as quickly as possible, I would probably check for an intrem release on my BBS system (below) in about 3-4 weeks. If you do get it from there...please don't post it. MicroEMACS uses so much traffic that I just want to post it on major releases, and the next will be in the summer, along with an updates spell checker and the BETA release of the text formattor (MicroSCRIBE). Daniel Lawrence (317) 742-5153 UUCP: {ihnp4!pur-ee!}j.cc.purdue.edu!nwd ARPA: nwd@j.cc.purdue.edu FIDO: 201/2 The Programmer's Room (317) 742-5533