The Unix Heritage Society mailing list
 help / color / mirror / Atom feed
From: jgevaryahu@hotmail.com (Jonathan Gevaryahu)
Subject: [TUHS] dead bstj unix link on wikipedia
Date: Thu, 5 Apr 2018 21:17:48 +0000	[thread overview]
Message-ID: <BL2PR04MB2001F27B05D6BA93FBF3C6C9C7BB0@BL2PR04MB2001.namprd04.prod.outlook.com> (raw)
In-Reply-To: <CAP6exYLYyd7RytCbeq7nTNd4COu4zv_tZYzoXy0-G2Ffw+Dg5Q@mail.gmail.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1590 bytes --]

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<mailto: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<http://cm.bell-labs.com>" with "9p.io<http://9p.io>".

--
David du Colombier


--
Jonathan Gevaryahu AKA Lord Nightmare
jgevaryahu at gmail.com<mailto:jgevaryahu at gmail.com>
jgevaryahu at hotmail.com<mailto:jgevaryahu at hotmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20180405/cfa43318/attachment.html>


  parent reply	other threads:[~2018-04-05 21:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-02 16:11 ron minnich
2018-04-02 16:24 ` Leonardo Taccari
2018-04-02 17:36 ` David du Colombier
2018-04-02 22:53   ` ron minnich
2018-04-03  5:11     ` David du Colombier
2018-04-05 21:17     ` Jonathan Gevaryahu [this message]
2018-04-05 21:37 ` Jonathan Gevaryahu
2018-04-02 17:34 Noel Chiappa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BL2PR04MB2001F27B05D6BA93FBF3C6C9C7BB0@BL2PR04MB2001.namprd04.prod.outlook.com \
    --to=jgevaryahu@hotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).