🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #8986

Re: RAW: windows

#8986
From: Robert R. Burns
Date: Fri, 27 May 1988 16:58
18 lines
1433 bytes
In article <3881@cbmvax.UUCP> carolyn@cbmvax.UUCP (Carolyn Scheppner CATS) writes:
>In article <1162@pur-phy> ng@newton.physics.purdue.edu.UUCP (Nicholas J. Giordano) writes:
>>
>>I am working on a program which opens a raw: window for input and
>>output.  Even though I make it a certain size when I open it, it is possible
>>for the user to change the size later.  How can my program determine the
>>actual size? 
>
>Check out the ConUnit stuff in this example.

But if you just want to know the character bounds, write "\233 q" or "\033[ q"
to the console, and read back and parse something that looks like
"\2331;1;24;77 r" where the four numbers 1;1;24;77 are the row/col one-based
indices of the upper right and lower left corners.  Currently, the upper left
is always 1;1, and the lower right varies depending on the window size
(in this example 24 rows by 77 columns).

- Kodiak
Technical Details
Message-ID: <2198@amiga.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!oliveb!amiga!kodiak
References: <5997@well.UUCP> <1162@pur-phy> <3881@cbmvax.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!oliveb!amiga!kodiak
From: kodiak@amiga.UUCP (Robert R. Burns)
Newsgroups: comp.sys.amiga.tech
Subject: Re: RAW: windows
Summary: There's an escape sequence for character bounds
Keywords: RAW: window size
Message-ID: <2198@amiga.UUCP>
Date: 27 May 88 16:58:28 GMT
References: <5997@well.UUCP> <1162@pur-phy> <3881@cbmvax.UUCP>
Reply-To: kodiak@tooter.UUCP (Robert Burns)
Organization: Commodore-Amiga Inc, Los Gatos CA
Lines: 18