Magic Mailing List |
|
From: R. Timothy Edwards (tim AT stravinsky DOT jhuapl.edu) Date: Tue Jul 17 2001 - 14:22:13 EDT
Dear Prof. Sharma, You may need to make adjustments for working with a 2-button mouse. I do this on my laptop, where I don't have the choice of getting a 3-button mouse. Generally speaking, X11 and magic should not be confused by the combination of left- and right-mouse buttons used to emulate the middle button. The situation described in the tutorial, however, requires that the left and right buttons be pressed simultaneously, which will be interpreted incorrectly by a 2-button mouse driver. One solution is simply not to use that feature; I have drawn magic VLSI layouts for ten years without using it. The left-mouse button and right-mouse button will do everything that you need to do. The left+drag+right combination is a convenience only. That being said, working on a 0.1um grid (which I'm doing more often these days) can be frustrating, trying to get the cursor box positioned exactly where I want it. If anyone can think of a "natural" way the left+drag+right feature can be implemented in a 2-button-mouse-independent way, I'll try to add it to the source code. One way would be to use (now that we have added X11-style key macros) mouse-button + Keypad(1, 3, 7, or 9). However, maybe something simpler like mouse-button + Space or mouse-button + Shift where each keypress rotates through the choice of corners to move, would be slightly more intuitive. Meanwhile, the most I can do is to add a note to the tutorial suggesting that the technique mentioned will not work with a 2-button mouse. Regards, Tim
|
|