Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ucbvax!CORY.BERKELEY.EDU!dillon From: dillon@CORY.BERKELEY.EDU.UUCP Newsgroups: comp.sys.amiga Subject: Re: CURSOR POSITION REPORT Message-ID: <8702040802.AA03872@cory.Berkeley.EDU> Date: Wed, 4-Feb-87 03:02:32 EST Article-I.D.: cory.8702040802.AA03872 Posted: Wed Feb 4 03:02:32 1987 Date-Received: Thu, 5-Feb-87 03:14:53 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: University of California at Berkeley Lines: 29 RKM V-I. Send a DEVICE-STATUS-REPORT to the console device ( 0x9B 0x6E or ESC [ 0x6E ). The cursor position report is returned on the input stream as: ;R example, if cursor is at column 40 and row 12: 0x9B 0x34 0x30 0x3B 0x31 0x32 0x52 To get the current window bounds, Send a WINDOW-STATUS-REPORT to the console device ( 0x9B 0x71 or ESC [ 0x71 ). The bounds report comes in as: 1;1;;r (top and left margins are always 11). For a window that holds 20 lines and 60 columns, you get: 0x9B 0x31 0x3B 0x31 0x3B 0x32 0x30 0x3B 0x36 0x30 0x73 -Matt