Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ukma!xanth!nic.MR.NET!shamash!com50!pai!erc From: erc@pai.UUCP (Eric Johnson) Newsgroups: comp.sys.mac Subject: Re: X for MAC-OS? Summary: Two keyboard keys act as mouse buttons Keywords: X mac mouse Message-ID: <484@pai.UUCP> Date: 26 Apr 89 13:13:59 GMT References: <2847@tank.uchicago.edu> <1429@cunixc.cc.columbia.edu> Organization: Prime Automation, Inc., Burnsville, MN Lines: 53 In article <1429@cunixc.cc.columbia.edu>, lih@cunixc.cc.columbia.edu (Andrew Lih) writes: > Well, one question that seems rather obvious, but no one has asked yet is: > > How does the Mac emulate a two button mouse? > > As you know, most X workstations (hosts) use at least a 2 button > mouse, and some use 3. Fortunately, on a two button mouse, X lets you > hold down *both* buttons to emulate the 3rd button, but how does > eXodus and other X packages for the Mac provide for the second and > third button? > > Inquiring minds want to know... I'm not sure how eXodus does it, but running X11 R2 under A/UX (Apple's version of UNIX), two keyboard keys emulate the extra two mouse buttons. On the Extended keybaord (i.e., the PC-looking one), the actual mouse button is the Left button. The Middle button is the option key, I believe, and the Right button is the Enter key on the keypad. The command key (the one with the pretzel symbol) is the Meta key (meta-1). The Extended keyboard has two sets of command and opyion keys, one on each side of the space bar. On the normal Apple ADB keyboard, I believe the extra mouse buttons are emulated by the left and right arrow keys. Personally, I like the larger keyboard better, if only because of the placement of the bar (|) and Tilde (~) keys--two keys I use a lot under UNIX. By the way, Apple's X11 R2 server is quite fun, and I can't wait to get my hands on their X11 R3 (which supports 256 colours, hurray :-). > > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= > """"""" Andrew "Fuz" Lih Columbia University Center > | @ @ | Instructional Computing for Computing Activities > < ^ > > \ - / lih@cunixc.cc.columbia.edu AJLUS@CUVMB.BITNET > --- lih@heathcliff.cs.columbia.edu ...rutgers!columbia!cunixc!lih > =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Hope this helps, -Eric -- Eric F. Johnson | Phone +1 612-894-0313 | Are we Prime Automation,Inc | UUCP: bungia!pai!erc | having 12201 Wood Lake Drive | UUCP: sun!tundra!pai!erc | fun Burnsville, MN 55337 USA | DOMAIN: erc@pai.mn.org | yet?