timo@cwi.nl (Timo Krijnen) (10/03/90)
I am extending a program that allows the user of our ABC system (a programming language embedded in an editor that "understands" the language) to redefine her key bindings easily. One of the editor operations is the [mouse] operation: after a mouse click it should change the "focus" (the standing out part of the program text that other operations, like [delete] work on) to the position where the mouse points at. I implemented a scheme, that understands mouse clicks sending parameterized strings a la termcap(5), where the row and column must have the %d, %2, %3, %+x or %-x formats, possibly combined with %i and %r. (E.g. our VT100 emulation under Xterm sends "\033[M %r%+!%+!" when the left button is pressed). Does anyone know whether there are machines/terminals that send the position of a mouse click in some other way? Are there machines/terminals where you must sense the terminal or screen AFTER a mouse click to get the position returned? (E.g. like the good old HP 2640b terminal, where the arrow keys work locally at the terminal only, and you must sense the terminal for the correct cursor position). Does anybody know what the various mice for MS-DOS machines send? Thanksvance for your reply by mail to timo@cwi.nl. -- Timo Krijnen CWI (Center for Math. & Comp. Science), Amsterdam Internet, EARN/BITNET: timo@lambiek.cwi.nl UUCP: mcvax!timo