Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!gem.mps.ohio-state.edu!ginosko!uunet!mcsun!ukc!dcl-cs!aber-cs!pcg From: pcg@aber-cs.UUCP (Piercarlo Grandi) Newsgroups: comp.unix.i386 Subject: Re: Help with Interactive and news Summary: #undef TIOCGWINSZ Message-ID: <1101@aber-cs.UUCP> Date: 29 Aug 89 10:09:11 GMT Reply-To: pcg@cs.aber.ac.uk (Piercarlo Grandi) Organization: Dept of CS, UCW Aberystwyth (Disclaimer: my statements are purely personal) Lines: 28 In article <1086@virtech.UUCP> cpcahil@virtech.UUCP (Conor P. Cahill) writes: In article <2069@kodak.UUCP>, mark@kodak.UUCP (Mark Hilliard) writes: > Has anyone gotten news to compile properly on Interactives 2.02? > I have been trying all day and keep getting the following error messages. > Does anyone have any idea what might be wrong? David Raines posted the following to the net a while back------- I got the source for bnews-2.11 from UUNET. Other than the standard localize.sh changes for USG/SysV, the only thing that wouldn,t compile was virtterm.c. Add the following includes: #include #include The 'winsize' structure is defined in ptem.h, which is dependent on stream.h. Apparently this is a change from earlier versions. Actually the better course is to do a '#undef TIOCGWINSZ'; on a stock 386/ix the window size is fixed... Actually I don't like the idea of including into user level programs headers, like , that contain kernel level declarations. AT&T ought to be less sloppy and surround the kernel only parts of such headers with a nice #ifdef KERNEL. Name space pollution? No thanks! -- Piercarlo "Peter" Grandi | ARPA: pcg%cs.aber.ac.uk@nsfnet-relay.ac.uk Dept of CS, UCW Aberystwyth | UUCP: ...!mcvax!ukc!aber-cs!pcg Penglais, Aberystwyth SY23 3BZ, UK | INET: pcg@cs.aber.ac.uk