Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!mcsun!hp4nl!ctisbv!pim From: pim@cti-software.nl (Pim Zandbergen) Newsgroups: comp.unix.i386 Subject: Re: termio question Keywords: termio TIOCGWINSZ winsize Message-ID: <1371@ctisbv.cti-software.nl> Date: 27 Aug 89 19:05:28 GMT References: <413@inebriae.UUCP> Organization: CTI Software BV, The Hague, the Netherlands Lines: 16 al@inebriae.UUCP (Al Evans) writes: |Some pieces of software (specifically, bnews and Nethack 3.0f) depend |upon the existence of the TIOCGWINSZ ioctl call in determining their |strategies for getting the number of rows and columns the current terminal |supports. In these two case, at least, the software assumes that |#ifdef TIOCGWINSZ, there is also a defined structure winsize. My |copy of /usr/lib/sys/termio.h does not define this structure, nor does Just #include and , in that order. -- Pim Zandbergen internet : pim@cti-software.nl CTI Software BV uucp : ..!uunet!ctisbv!pim Laan Copes van Cattenburch 70 phone : +31 70 542302 2585 GD The Hague, The Netherlands fax : +31 70 512837