Xref: utzoo comp.sys.amiga.tech:1393 comp.sys.amiga:21441 Path: utzoo!utgpu!water!watmath!watcgl!grwalter From: grwalter@watcgl.waterloo.edu (Fred Walter) Newsgroups: comp.sys.amiga.tech,comp.sys.amiga Subject: ConUnit of current console device Message-ID: <5403@watcgl.waterloo.edu> Date: 3 Aug 88 04:16:36 GMT Distribution: comp Organization: U of Waterloo, Ontario Lines: 23 Thanx to all the people who responded to my first question. I have STEVIE (a vi-clone) up and running on my Amiga. Before posting it I want to fix a few things (such as undo, which came broken :-() and I want to 'Amigize' it some more. So, how does one get a pointer to the ConUnit of the current console device ? I need this so that I can : a) get the current x/y position of the cursor b) get the current window size c) get at the window title (for the filename/etc) Now I can do a) and b) through reading and writing to the console, but getting the values from the ConUnit would be much quicker and simpler (not to mention it wouldn't cause problems with type-ahead). Advance Thanx, fred grwalter@watcgl.uwaterloo.ca (Canadian domain) grwalter@watcgl.waterloo.edu (US Internet, including CSNET) grwalter@watcgl.waterloo.cdn (CDNnet and some European nets) watmath!watcgl!grwalter (UUCP) uunet!watmath!watcgl!grwalter (another UUCP alternative) grwalter%watcgl.waterloo.edu@csnet-relay.arpa (ARPA)