Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!uunet!smosjc!johncon!john From: john@johncon.UUCP (John Conover) Newsgroups: comp.unix.questions Subject: TIOCGWINSZ in news sources Keywords: TIOCGWINSZ news Message-ID: <106@johncon.UUCP> Date: 29 Jan 89 08:08:09 GMT Distribution: usa Organization: Campbell, Ca., USA Lines: 14 I am compiling the news sources (rnews,inews, etc.) using Bell Tech's version 3.2. Everything compiled fine under 3.1, but in 3.2, termio.h #defines TIOCGWINSZ. visual.c and virtterm.c have conditional compiles on TIOCGWINSZ, that presume a struct winsize to be typedef'ed, with elements ws_row, ws_col, ect. Version 3.2 typedef's winsize in /usr/include/sys/xt.h to be struct jwinsize. jwinsize is declared as a struct in jioctl.h, with elements bytesx, bytesy, bitsx, bitsy, ie, no ws_row, ws_col, ect. ... Does anybody know whats going on? Any help or comments would be greatly appreciated, John ..uunet!smosjc!enterprise!john