Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-sem.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!cmcl2!seismo!brl-tgr!brl-sem!ron From: ron@brl-sem.ARPA (Ron Natalie ) Newsgroups: net.lang.c Subject: Re: ANSI 'C'. Message-ID: <538@brl-sem.ARPA> Date: Mon, 18-Nov-85 12:42:10 EST Article-I.D.: brl-sem.538 Posted: Mon Nov 18 12:42:10 1985 Date-Received: Wed, 20-Nov-85 00:57:42 EST References: <447@graffiti.UUCP> Organization: Ballistic Research Lab Lines: 34 > I finally got hold of a copy of the new proposed standard (thanks Stanley!), > and would like to point out a problem with it: it's a prescriptive rather > than a descriptive standard. Now I know ANSI has acquired a habit of making > prescriptive standards lately, but at least there had been a pre-existing > descriptive standard to work from. Oh well. Crapola, ANSI standards are almost always based on some existing work. But anything that's done by committee is likely to get riddled with a lot of self interests. > I would also like to point out that there are several UNIX-like functions in > the library that are inappropriate for most non-UNIX implementations of 'C'. > In particular, the time functions (ctime(3) in the UPM) are unimplementable > in many systems, due to the lack of a daylight savings flag in the O/S. Would > it be acceptable to seperate O/S and language library functions so that non > UNIX environments can support ANSI-C? Eh? The timezone never belonged in the operating system! Unix time is GMT. Most versions of UNIX these days use an environment variable to convey timezone information to the user process. All the C environment needs to know is how to convert from GMT and LOCAL time to whatever the system uses for time and back. If you can't do this, it's likely to be impossible to use times in C at all, regardless of how CTIME is specified. > > Finally, if \v is to produce a vertical tab, does that require the I/O library > to include termcap so that the various output devices that implement this > function in various ways can be accomodated? Vertical TAB is an ASCII character. If the terminal doesn't support it, who cares. Some terminals don't do horizontal tab either, you want to pull \t? My model37 won't do \r either. -Ron