Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!think!snorkelwacker!spdcc!merk!alliant!linus!mbunix!duncant From: duncant@mbunix.mitre.org (Thomson) Newsgroups: comp.sys.amiga.tech Subject: Re: How do I find the size of the screen? Message-ID: <86114@linus.UUCP> Date: 9 Jan 90 05:57:31 GMT References: <0983.AA0983@noel> <129683@sun.Eng.Sun.COM> Sender: news@linus.UUCP Reply-To: duncant@mbunix.mitre.org (Thomson) Organization: The MITRE Corp. Bedford, MA Lines: 10 If i remember correctly, if you set the console handler into RAW mode (which you do by sending a IO request to the handler) you can then just write a certain ANSI sequence to the handler (by just doing a printf) the console will (since it acts like an ANSI terminal) send back a text string which tells you the width and height (in characters) of the console. I have code which does all this, but I don't have it with me now on this machine. Let me know if you really want it and I can send it to you.. (although I have problems with file transfers - but I can give it a try if you want.) Duncan Thomson