Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utcs!mnetor!seismo!gatech!cbosgd!mark From: mark@cbosgd.UUCP Newsgroups: net.sources.d Subject: Re: Another question re: "grotwin" Message-ID: <2305@cbosgd.UUCP> Date: Sun, 20-Jul-86 00:19:46 EDT Article-I.D.: cbosgd.2305 Posted: Sun Jul 20 00:19:46 1986 Date-Received: Sun, 20-Jul-86 10:19:25 EDT References: <277@cirl.UUCP> <346@infinet.UUCP> Organization: AT&T Bell Laboratories, Columbus, Oh Lines: 21 In article <346@infinet.UUCP> barnes@infinet.UUCP (Jim Barnes) writes: >I tried compiling grotwin on our Ultrix 1.2 system and got the >following errors in manager.c. Does anyone have any ideas where >'ttysize' and 'TIOCSSIZE' are defined? These are Sun specific features to get and set the window size. TIOCSSIZE is the ioctl to set the screen size (which a window manager must do) and in termlib, the corresponding ioctl TIOCGSIZE is used to find out the size for vi and curses. ttysize is the structure passed to these ioctls. There is no corresponding feature in vanilla 4.2BSD, which lacks a window manager and the concept of a window size. It is not heard to add such a feature to the pty driver, however. It has been added in the AT&T 5620 window manager, for example, using the JWINSIZE and JSWINSIZE ioctls. Presumably X has yet a third incompatible set of ioctls. Sure would be nice if P.1003 would standardize this. Fortunately, only window managers and termlib/curses care, it's transparent to ordinary applications. Mark