Path: utzoo!attcan!uunet!bfmny0!tneff From: tneff@bfmny0.UU.NET (Tom Neff) Newsgroups: comp.sources.d Subject: Re: Stevie looking for ascii.h Message-ID: <15257@bfmny0.UU.NET> Date: 15 Mar 90 14:36:25 GMT References: <1990Mar14.002121.3636@actrix.co.nz> <2983@uudell.dell.com> Reply-To: tneff@bfmny0.UU.NET (Tom Neff) Lines: 32 In article <2983@uudell.dell.com> jrh@mustang.dell.com (James R. Howard) writes: >In article <1990Mar14.002121.3636@actrix.co.nz>, paul@actrix.co.nz (Paul >Gillingwater) writes: >> I pulled stevie off the net, but when i tried to compile under 386/ix, >> it choked because it couldn't find: >> ascii.h > >It is in fact in ISC 386/ix, in /usr/include/sys/ascii.h. The problem is >the file has A_NUL, A_SOH, etc. You need to make a copy in the build >directory, then go in and edit out all of the A_ strings from the file. Any relation between the two is coincidental. The UNIX/386 ascii.h defines A_HT for horizontal tab. Stevie wants TAB instead of HT. Stevie also wants a CTRL('x') macro, which UNIX/386's ascii.h doesn't have. I think the real answer is that ascii.h was just inadvertantly omitted from this release. It *was present* in a previous release. However you can roll your own on UNIX/386 by editing sys/ascii.h to create "ascii.h" as follows: s/A_// s/HT/TAB/ #define CTRL(x) ((x) - '@') -- Perestroika: could \O\ Tom Neff it happen here? \O\ uunet.uu.net!bfmny0!tneff