🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3088

Re: How to write Trigraph like character sequences in a string (was: Re: to "OR" or not to "OR")

#3088
From: P E Smee
Date: Fri, 31 May 1991 14:11
19 lines
1652 bytes
In article <m0jizgb-0001OzC@dharma.reed.edu> minar@reed.edu writes:
> Oh, I guess its not conforming code, but does anyone really use
>trigraphs? Really, anyone? If I had a keyboard that wasn't fully C
>capable, I'd certainly use something, but it wouldn't be trigraphs,
>unless I had to ship the code elsewhere..

Well, if you are forced (as I was a year or two ago) to use C on big
IBM iron (3090 running VM/CMS) you find yourself more or less forced
into using trigraphs.  A large number of the characters which are
important to C {}[]| and probably a few I've forgotten are not,
pragmatically, useable, because the EBCDIC codes for them are not well
defined.  (There are somthing like 9 possible 8-bit values for each of
these chars, which in some cases overlap -- i.e. [ in one encoding will
be the same as ] in another.  Different sub-models of 3270 keyboards
use different encodings, and different programs ditto.

-- 
Paul Smee, Computing Service, University of Bristol, Bristol BS8 1UD, UK
 P.Smee@bristol.ac.uk - ..!uunet!ukc!bsmail!p.smee - Tel +44 272 303132
Technical Details
Message-ID: <1991May31.141138.11147@gdr.bath.ac.uk>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!dcl-cs!gdt!exspes
References: <RICHARD.91May29092137 <1157@mwtech.UUCP> <m0jizgb-0001OzC@dharma.reed.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!mcsun!ukc!dcl-cs!gdt!exspes
From: exspes@gdr.bath.ac.uk (P E Smee)
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: <1991May31.141138.11147@gdr.bath.ac.uk>
Date: 31 May 91 14:11:38 GMT
References: <RICHARD.91May29092137 <1157@mwtech.UUCP> <m0jizgb-0001OzC@dharma.reed.edu>
Reply-To: P.Smee@bristol.ac.uk (Paul Smee)
Organization: University of Bristol c/o University of Bath
Lines: 19