Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.unix.wizards Subject: Re: how do I tell the size of a pseudoterm window? Keywords: window standards layers xt Message-ID: <9091@smoke.BRL.MIL> Date: 6 Dec 88 22:22:21 GMT References: <2081@vedge.UUCP> <6766@spool.cs.wisc.edu> <9042@smoke.BRL.MIL> <5444@cbmvax.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB)) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 16 In article <5444@cbmvax.UUCP> ditto@cbmvax.UUCP (Michael "Ford" Ditto) writes: >Do you think that a windowing system running on SysVr3 should support >the layers/xt ioctl for window size? (I don't mean whether it should >allow such a function, just whether it should use the same ioctl >command code and return the same data structure.) Sure. I emulate the jioctl window size stuff for the System V environment on 4.nBSD using the native TIOC[GS]WINSZ, for example. The numeric ioctl value is not important, but if other software on the system knows about the xt ioctls then you'd need to handle the emulation in the kernel instead of at the program/OS interface level. The really interesting question is, what should sort-of-UNIX-portable source code do to cope with the three major (and several minor) variations on this theme? It's made worse by the inability to test for the presence of header files such as .