Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!think.com!mintaka!ai-lab!life.ai.mit.edu!mycroft From: mycroft@goldman.gnu.ai.mit.edu (Charles Hannum) Newsgroups: comp.std.c Subject: Re: How to write Trigraph like character sequences in a string (was:Re: to "OR" or not to "OR") Message-ID: Date: 31 May 91 06:19:20 GMT References: <1991May28.231253.5226@csrd.uiuc.edu> Sender: news@ai.mit.edu Organization: /home/fsf/mycroft/.organization Lines: 21 In-reply-to: minar@reed.edu's message of 31 May 91 02:58:02 GMT In article minar@reed.edu writes: the Gnu compiler specifically requires you to turn trigraphs ON (I think - that might have changed) Not if you use '-ansi -pedantic' by default. B-) (Okay! So I'm a pedant!) and Borland doesn't even have trigraphs in its compiler anymore, there's a program called trigraph.com that does the translation for you, so just don't execute it! This is sloppy programming on Borland's part. (Not surprising! Borland has been going steadily downhill for a while now.) Oh, I guess its not conforming code, but does anyone really use trigraphs? Really, anyone? Yes. I, for one, used them rather recently on an IBM 3090, with WATCOM C/370 (which purports to be ANSI-compliant). The main reason for this is that IBM 3178 and 3179G terminals have no keys for square brackets. As a C programmer, I consider this extremely annoying. B-/