[Coco] window surprise
Bob Devries
devries.bob at gmail.com
Mon Jan 16 19:35:20 EST 2012
Willard,
if you're using a window, then there's a system call (in C) to find the size
of the window.
However, on looking at the docs, there seems to be some confusion. The call
_gs_scsiz is on page 10-50 of the MultiVue manual, and the heading is "Get
the Size of the Window". The description, however, says: "Sets the
horizontal and vertical sizes of a screen window"
I guess you'd need to try it and see.
Regards, Bob Devries
27º10'26"S,151º16'30"E
----- Original Message -----
From: "Willard Goosey" <goosey at virgo.sdc.org>
To: <coco at maltedmedia.com>
Sent: Tuesday, January 17, 2012 10:14 AM
Subject: [Coco] window surprise
> I've been playing around with termcap & curses, and made an
> interesting and annoying discovery. (well, it's news to me!)
>
> A window's (/wX) COL, PAG, and ROW descriptor settings are not updated
> when the window is redefined!
>
> With people telnetting into CoCos with arbitrarily sized xterms curses
> needs to be able to find out what the screen size is. I thought it
> would be in the descriptor but windint's behavior suggests not.
>
> So, does (nitr)OS-9 have a cannonical place that the terminal's screen
> size is stored? Rather that terminal be a window, a serial port, or a
> Drivewire Network port.
>
> Willard
> --
> Willard Goosey goosey at sdc.org
> Socorro, New Mexico, USA
> I search my heart and find Cimmeria, land of Darkness and the Night.
> -- R.E. Howard
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco
More information about the Coco
mailing list