info-mac@uw-beaver (01/25/85)
From: Paul R. Johnson <PRJohnson@MIT-XX.ARPA> I have been useing MacTerminal 1.1 for a while now, but just noticed that the cursor changes when you press option. A little experimentation shows that some kind of escape sequence is sent when you press the mouse button with option held down. The escape sequence seems to depend on where the mouse cursor is relative to the blinking terminal cursor. I don't yet have the updated manual for MacTerminal and the one that came with it mentions nothing about this. Does anyone know what the escape sequences are? Could I really use them to do editor cursor positioning with the mouse? ---Paul Johnson -------
info-mac@uw-beaver (01/25/85)
From: Christopher A Kent <cak@Purdue.ARPA> Using command-mouse in MacTerminal causes the program to send the vt100 arrow-key sequences needed to move you from the current cursor position to where the mouse is currently pointing. The sequence sent moves you from "here" to the left margin, up or down to the "there" line, then right to "there". It's far from optimal, and if your editor wraps lines that extend beyond the right margin, this will not work correctly (since it counts display lines, not text lines). It's a start, but only that. chris ----------
info-mac@uw-beaver (01/26/85)
From: Steven B. Munson <sbm@Purdue.ARPA> My MacTerminal manual (the cheap one without the spiral binder) says on page 79 under "Using a Full-Screen Application": In addition to the cursor keys on the numeric keypad, you can use the mouse to position the cursor; position the pointer where you want the cursor to move, and hold down the Option key and click the mouse button. Actually, this is not as useful as I would like; it sends the arrow-key escape sequences to move the cursor up or down and then across to the place where the pointer is. For emacs, I would like it simply to spit out an escape sequence indicating that the mouse clicked and two characters indicating where the mouse is on the screen. Then I could use move-dot-to-x-y to go to that position. I have ESC-[ bound to something else, so that the arrow key sequences do not work, and, in any case, they wouldn't be able to cross window boundaries anyway. Good Luck, Steve Munson sbm@purdue ----------