Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!haven!ncifcrf!nlm-mcs!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?
Message-ID: <9042@smoke.BRL.MIL>
Date: 2 Dec 88 15:18:23 GMT
References: <2081@vedge.UUCP> <6766@spool.cs.wisc.edu>
Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) )
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 16

In article <6766@spool.cs.wisc.edu> dave@cs.wisc.edu (Dave Cohrs) writes:
>There doesn't appear to be such functionality in SystemV (they have
>a different philosophy about what a window is, I think).

It is true that a layer is rather different from other systems' notions
of what a window is, but UNIX System V does have window size information
set/get ioctls.  See .

>The TERMCAP variable won't automatically change.

It shouldn't.  If the terminal handler size information is set, any
termcap-using utility should use that information in place of whatever
default is provided by the termcap entry for the terminal.  Note that
for this to work correctly, the termcap entry must not have any
wired-in assumptions about window size (for example, "ll" normally has
the vertical size wired into it).