From mboxrd@z Thu Jan 1 00:00:00 1970 From: jgevaryahu@hotmail.com (Jonathan Gevaryahu) Date: Thu, 5 Apr 2018 21:17:48 +0000 Subject: [TUHS] dead bstj unix link on wikipedia In-Reply-To: References: Message-ID: That reminds me of the multicharacter constant vs 'byte' index used in speak.c, I didn't realize this was an intended 'feature' for faking tuples (and allowing to index by either the first or second element) in early C, it seemed a bit of a hack to me. I was hoping there was some elegant way to achieve nearly the same thing in modern C, but I didn't find anything obvious short of string comparisons and an array with a byte and a pointer to a string. On 4/2/2018 6:53 PM, ron minnich wrote: That turned out to be the wrong paper. I'm looking for a paper that describes the (early) dialect of C that let you do stuff like this: struct w { char lo, hi; }; int x; char b = x.lo; I can't find my hardcopy so was looking for a pdf. ron On Mon, Apr 2, 2018 at 10:36 AM David du Colombier <0intro at gmail.com> wrote: > anyone got a fix? > > https://en.wikipedia.org/wiki/Bell_System_Technical_Journal > > see this text > > Ritchie, D.M.; K. Thompson (July–August 1978). "The UNIX Time-Sharing > System". Bell System Technical Journal. 57 (6). Retrieved 2010-10-22 https://9p.io/cm/cs/who/dmr/cacm.html More generally, just replace "cm.bell-labs.com" with "9p.io". -- David du Colombier -- Jonathan Gevaryahu AKA Lord Nightmare jgevaryahu at gmail.com jgevaryahu at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: