Article View: comp.sys.amiga.tech
Article #9416ConUnit of current console device
From: Fred Walter
Date: Wed, 03 Aug 1988 04:16
Date: Wed, 03 Aug 1988 04:16
23 lines
1504 bytes
1504 bytes
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)
Technical Details
Message-ID:
<5403@watcgl.waterloo.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!watcgl!grwalterShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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