From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199602261019.FAA05805@postman.osf.org> Date: Mon, 26 Feb 96 11:19:54 +0100 From: Fred Roy Subject: Re: ircII & more fixes. In-Reply-To: <199602250408.FAA18555@father.ludd.luth.se> >>>>> On Sun, 25 Feb 1996 05:08:56 +0100 (MET), Mikael Nykvist >>>>> says: Mikael >The more patch is just a "quickhack" which Mikael>replaces termio->termios, TCGETA->TCGETS,TCSETA->TCSETS... Mikael> Howdy! As I promised one week ago, I should clean up my Mikael> patches and make 'em availble.. Ofcourse, maybe the best Mikael> solution still is a kernel solution... >>>>> On the same day, David Mosberger-Tang replies: David> No, since there is nothing wrong with the kernel, I don't think it David> will change w.r.t. termio handling. Best thing to do is probably to David> use termios and termios only. (See my earlier mail and Dave Miller's David> follow up as to why the kernel isn't broken.) Sorry to insist David, there is probably no need for kernel changes, but perhaps some in system header files: if the modern (e.g. RedHat) Linux/Alpha still includes , it does not fit with a source which includes both and ... since with Linux/Alpha the uses of and of are incompatible [cf. the `_IS_TERMIO' setting in and its testing in ]. So, for example, one could change as follow: + #ifdef __alpha__ + #ifdef _IS_TERMIO #include + #endif /* _IS_TERMIO */ + #else /* ! __alpha__ */ #include + #endif /* __alpha__ */ But this does not solve anything unless is included *before* ; so I suggest a harder fix in : + #ifndef __alpha__ #include + #endif /* !__alpha__ */ (Anyway I agree with Mikael & David to forget as much as possible and rewrite things using instead.) fred