From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <0986eace3b6a2ce0b4f285135165e5de.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199602261019.FAA05805@postman.osf.org> Date: Mon, 26 Feb 1996 14:36:11 +0200 (EET) From: Linus Torvalds Subject: Re: ircII & more fixes. In-Reply-To: <199602261019.FAA05805@postman.osf.org> > > 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 You're certainly right: the header files do need to be changed on the alpha. On the x86 we don't see the problem, because the character defines are the same in both termios and termio, but on the alpha there is a large difference in whether you include or . Right now it works correctly only for termios. Linux/alpha probably needs something like this in sys/termio.h: /* * Get the termio structures */ #include /* * undefine the termioS numbers */ #undef VINTR #undef VQUIT #undef VERASE #undef VKILL #undef VEOF #undef VMIN #undef VEOL #undef VTIME #undef VEOL2 #undef VSWTC #undef VSTART #undef VSTOP #undef VLNEXT #undef VDISCARD #undef VWERASE #undef VREPRINT /* * ..and use the broken termio numbers instead */ #define VINTR _VINTR #define VQUIT _VQUIT #define VERASE _VERASE #define VKILL _VKILL #define VEOF _VEOF #define VMIN _VMIN #define VEOL _VEOL #define VTIME _VTIME #define VEOL2 _VEOL2 #define VSWTC _VSWTC Something like this should work. It's not pretty, but it's as pretty as it gets (the whole termio stuff is ugly because of old historical unix reasons: if everybody used only termios we wouldn't have these problems) Linus