Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A woman should have compassion. -- Kirk, "Catspaw", stardate 3018.2


computers / comp.os.vms / Re: OS Ancestry

SubjectAuthor
* OS AncestryBill Gunshannon
+* Re: OS AncestryArne Vajhøj
|`* Re: OS AncestryBill Gunshannon
| +* Re: OS AncestryDave Froble
| |+* Re: OS AncestryArne Vajhøj
| ||+* Re: OS AncestryRich Alderson
| |||`* Re: OS AncestryArne Vajhøj
| ||| +* Re: OS AncestryRich Alderson
| ||| |`* Re: OS AncestryArne Vajhøj
| ||| | `- Re: OS AncestryRich Alderson
| ||| `- Re: OS AncestryDave Froble
| ||`* Re: OS Ancestryni...@desmith.net
| || `- Re: OS AncestryHenry Crun
| |+- Re: OS AncestryJeffrey H. Coffield
| |`* Re: OS AncestrJonathan
| | `- Re: OS AncestrDave Froble
| +* Re: OS AncestryBob Eager
| |`* Re: OS AncestryDavid Jones
| | `- Re: OS AncestryBob Eager
| `- Re: OS AncestrySimon Clubley
+- Re: OS AncestryChris Scheers
+- Re: OS Ancestry<kemain.nospam
`* Re: OS Ancestry<kemain.nospam
 `* Re: OS AncestrySimon Clubley
  +* Re: OS AncestryArne Vajhøj
  |`* Re: OS AncestryChris Townley
  | +- Re: OS AncestryBill Gunshannon
  | `- Re: OS AncestryArne Vajhøj
  `* Re: OS AncestryDave Froble
   +- Re: OS AncestryArne Vajhøj
   +* A portable VMS, was: Re: OS AncestrySimon Clubley
   |+* Re: A portable VMS, was: Re: OS AncestryArne Vajhøj
   ||`* Re: A portable VMS, was: Re: OS AncestrySimon Clubley
   || +* Re: A portable VMS, was: Re: OS AncestryArne Vajhøj
   || |`* Re: A portable VMS, was: Re: OS AncestrySimon Clubley
   || | `* Re: A portable VMS, was: Re: OS AncestryArne Vajhøj
   || |  `* Re: A portable VMS, was: Re: OS AncestrySimon Clubley
   || |   `- Re: A portable VMS, was: Re: OS AncestryArne Vajhøj
   || +* Re: A portable VMS, was: Re: OS AncestryBill Gunshannon
   || |+- Re: A portable VMS, was: Re: OS AncestryArne Vajhøj
   || |`- Re: A portable VMS, was: Re: OS AncestrySimon Clubley
   || `* misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]Rich Alderson
   ||  `* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]Simon Clubley
   ||   +- Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSBob Eager
   ||   `* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSJohn Wallace
   ||    +* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSBill Gunshannon
   ||    |`* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re:chris
   ||    | `* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSBill Gunshannon
   ||    |  `- Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSArne Vajhøj
   ||    `* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]Simon Clubley
   ||     `* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSDave Froble
   ||      +* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re:chris
   ||      |`- Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSArne Vajhøj
   ||      +* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSArne Vajhøj
   ||      |`- Re: misstatement of Unix origin [was Re: A portable VMS, was: Re:chris
   ||      `* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSBill Gunshannon
   ||       `* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSArne Vajhøj
   ||        +* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSBill Gunshannon
   ||        |`* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSArne Vajhøj
   ||        | +* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]Simon Clubley
   ||        | |`- Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSArne Vajhøj
   ||        | `- Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSBob Eager
   ||        `* Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]Dennis Boone
   ||         `- Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OSArne Vajhøj
   |+* Re: A portable VMS, was: Re: OS AncestryJohn Dallman
   ||`* Re: A portable VMS, was: Re: OS AncestrySimon Clubley
   || `- Re: A portable VMS, was: Re: OS AncestryArne Vajhøj
   |`* Re: A portable VMS, was: Re: OS AncestryStephen Hoffman
   | `* Re: A portable VMS, was: Re: OS AncestrySimon Clubley
   |  `- Re: A portable VMS, was: Re: OS AncestryStephen Hoffman
   `- Re: OS AncestryBill Gunshannon

Pages:123
Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<ih1pqdF2sr0U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15030&group=comp.os.vms#15030

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Mon, 24 May 2021 09:59:40 -0400
Lines: 46
Message-ID: <ih1pqdF2sr0U1@mid.individual.net>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net Nda7RgYK7F/gNvHdBntq6wlagDQOM0lSl2esS214swDWwDb+LU
Cancel-Lock: sha1:k+toM9B7Hjrq2Zm08EBcHgNiWOg=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
In-Reply-To: <s8g9dv$6pe$1@dont-email.me>
Content-Language: en-US
 by: Bill Gunshannon - Mon, 24 May 2021 13:59 UTC

On 5/24/21 9:24 AM, John Wallace wrote:
> On 24/05/2021 13:28, Simon Clubley wrote:
>> On 2021-05-21, Rich Alderson <news@alderson.users.panix.com> wrote:
>>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>>
>>>> VAX. Which is where VMS started (and 32-bit processors are where Unix
>>>> and Linux started). It was a lot easier to get 32-bit Unix/Linux
>>>> working
>>>> on 64-bit architectures than it was VMS.
>>>
>>> NB:  For the purposes of this discussion, Unix started on a *16*-bit
>>> architecture.  (We'll ignore the fact that it actually started on an
>>> 18-bit
>>> word addressed architecture.)
>>>
>>
>> Yes, oops. :-) Somebody already reminded me about this a few days ago
>> and as I pointed out in response this just shows how much more portable
>> things are when you are using an implemention language not tied to the
>> architecture.
>>
>> Simon.
>>
>
> Yeah sure, UNIX code was so portable that back in the 1980s anything
> much more complex than "Hello World" had little chance of being portable
> between (e.g.) BSD and System V even on the very same hardware.
>
> When the two main camps can't even agree on the basics of opening a file
> from C,
> as in fd = open(...),
> it's no wonder there was a customer/vendor need for a Single UNIX
> Specification.
>
> Fortunately times have moved on since then.

That had a lot more to do with deliberate proprietariness than
anything else. AT&T saw itself losing what little bit of the
market they had grabbed and decided making theirs different and
incompatible was good business. Eventually SYSV versions ended
out including BSD compatibility libraries because it was obvious
which way was better. I don't remember seeing any BSD product
coming with a SYSV compatibility library.

bill

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8gptl$cu$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15037&group=comp.os.vms#15037

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]
Date: Mon, 24 May 2021 18:05:42 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 37
Message-ID: <s8gptl$cu$1@dont-email.me>
References: <ig4jtiFd5a2U1@mid.individual.net> <000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com> <mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com> <s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me> <s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org> <s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com> <s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
Injection-Date: Mon, 24 May 2021 18:05:42 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="9b811ff180b547ff8febabf92cd34147";
logging-data="414"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19eno/7CkY8ua24KioPwE4p9LdpVhLQy98="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:+CrxyZsRJF5lPSsb3GSIXOlPBI0=
 by: Simon Clubley - Mon, 24 May 2021 18:05 UTC

On 2021-05-24, John Wallace <johnwallace4@yahoo.co.uk> wrote:
> On 24/05/2021 13:28, Simon Clubley wrote:
>>
>> Yes, oops. :-) Somebody already reminded me about this a few days ago
>> and as I pointed out in response this just shows how much more portable
>> things are when you are using an implemention language not tied to the
>> architecture.
>>
>
> Yeah sure, UNIX code was so portable that back in the 1980s anything
> much more complex than "Hello World" had little chance of being portable
> between (e.g.) BSD and System V even on the very same hardware.
>
> When the two main camps can't even agree on the basics of opening a file
> from C,
> as in fd = open(...),
> it's no wonder there was a customer/vendor need for a Single UNIX
> Specification.
>
> Fortunately times have moved on since then.

You are confusing functionality of an operating system with the
portability of an operating system between architectures.

Your comments above talk about functionality within an operating
system. I am talking about the ease of porting an operating system
from one architecture to another.

The choice of implementation language does not decide the functionality
of an operating system. It is however a major factor in how easy or not
it is to port that operating system to another architecture.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8hefr$3e3$3@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15042&group=comp.os.vms#15042

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: dav...@tsoft-inc.com (Dave Froble)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Mon, 24 May 2021 19:58:23 -0400
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <s8hefr$3e3$3@dont-email.me>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<s8gptl$cu$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 24 May 2021 23:56:43 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="0035b7481ae100695a169e38f0a21073";
logging-data="3523"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19MvJbXf8a1rBkvoaTuET8MAfONG/BeozI="
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:U95fIlQxVXW9YhoPuJpKT5K3ngs=
In-Reply-To: <s8gptl$cu$1@dont-email.me>
 by: Dave Froble - Mon, 24 May 2021 23:58 UTC

On 5/24/2021 2:05 PM, Simon Clubley wrote:
> On 2021-05-24, John Wallace <johnwallace4@yahoo.co.uk> wrote:
>> On 24/05/2021 13:28, Simon Clubley wrote:
>>>
>>> Yes, oops. :-) Somebody already reminded me about this a few days ago
>>> and as I pointed out in response this just shows how much more portable
>>> things are when you are using an implemention language not tied to the
>>> architecture.
>>>
>>
>> Yeah sure, UNIX code was so portable that back in the 1980s anything
>> much more complex than "Hello World" had little chance of being portable
>> between (e.g.) BSD and System V even on the very same hardware.
>>
>> When the two main camps can't even agree on the basics of opening a file
>> from C,
>> as in fd = open(...),
>> it's no wonder there was a customer/vendor need for a Single UNIX
>> Specification.
>>
>> Fortunately times have moved on since then.
>
> You are confusing functionality of an operating system with the
> portability of an operating system between architectures.
>
> Your comments above talk about functionality within an operating
> system. I am talking about the ease of porting an operating system
> from one architecture to another.
>
> The choice of implementation language does not decide the functionality
> of an operating system. It is however a major factor in how easy or not
> it is to port that operating system to another architecture.

Even when (hawk, spit, gag) C doesn't work the same on different
architectures?

--
David Froble Tel: 724-529-0450
Dave Froble Enterprises, Inc. E-Mail: davef@tsoft-inc.com
DFE Ultralights, Inc.
170 Grimplin Road
Vanderbilt, PA 15486

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8hek8$18mv$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15043&group=comp.os.vms#15043

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!WFgAfjdMCLK7ItoF6n4UQQ.user.gioia.aioe.org.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re:
OS Ancestry]
Date: Tue, 25 May 2021 00:59:06 +0100
Organization: Aioe.org NNTP Server
Lines: 56
Message-ID: <s8hek8$18mv$1@gioia.aioe.org>
References: <ig4jtiFd5a2U1@mid.individual.net> <000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com> <mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com> <s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me> <s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org> <s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com> <s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me> <ih1pqdF2sr0U1@mid.individual.net>
NNTP-Posting-Host: WFgAfjdMCLK7ItoF6n4UQQ.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Mon, 24 May 2021 23:59 UTC

On 05/24/21 14:59, Bill Gunshannon wrote:
> On 5/24/21 9:24 AM, John Wallace wrote:
>> On 24/05/2021 13:28, Simon Clubley wrote:
>>> On 2021-05-21, Rich Alderson <news@alderson.users.panix.com> wrote:
>>>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>>>
>>>>> VAX. Which is where VMS started (and 32-bit processors are where Unix
>>>>> and Linux started). It was a lot easier to get 32-bit Unix/Linux
>>>>> working
>>>>> on 64-bit architectures than it was VMS.
>>>>
>>>> NB: For the purposes of this discussion, Unix started on a *16*-bit
>>>> architecture. (We'll ignore the fact that it actually started on an
>>>> 18-bit
>>>> word addressed architecture.)
>>>>
>>>
>>> Yes, oops. :-) Somebody already reminded me about this a few days ago
>>> and as I pointed out in response this just shows how much more portable
>>> things are when you are using an implemention language not tied to the
>>> architecture.
>>>
>>> Simon.
>>>
>>
>> Yeah sure, UNIX code was so portable that back in the 1980s anything
>> much more complex than "Hello World" had little chance of being
>> portable between (e.g.) BSD and System V even on the very same hardware.
>>
>> When the two main camps can't even agree on the basics of opening a
>> file from C,
>> as in fd = open(...),
>> it's no wonder there was a customer/vendor need for a Single UNIX
>> Specification.
>>
>> Fortunately times have moved on since then.
>
> That had a lot more to do with deliberate proprietariness than
> anything else. AT&T saw itself losing what little bit of the
> market they had grabbed and decided making theirs different and
> incompatible was good business. Eventually SYSV versions ended
> out including BSD compatibility libraries because it was obvious
> which way was better. I don't remember seeing any BSD product
> coming with a SYSV compatibility library.
>
> bill
>

That's quite true, though Sun started off with a BSD flavour unix,
(SunOs) then incorporated the more useful bits of SysV when later
editions of Solaris were released. Streams being one such idea, but
there were others as well. Quite a bit of cross fertilisation...

Chris

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8hep8$18mv$2@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15044&group=comp.os.vms#15044

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!WFgAfjdMCLK7ItoF6n4UQQ.user.gioia.aioe.org.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re:
OS Ancestry]
Date: Tue, 25 May 2021 01:01:47 +0100
Organization: Aioe.org NNTP Server
Lines: 44
Message-ID: <s8hep8$18mv$2@gioia.aioe.org>
References: <ig4jtiFd5a2U1@mid.individual.net> <000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com> <mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com> <s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me> <s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org> <s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com> <s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me> <s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me>
NNTP-Posting-Host: WFgAfjdMCLK7ItoF6n4UQQ.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Tue, 25 May 2021 00:01 UTC

On 05/25/21 00:58, Dave Froble wrote:
> On 5/24/2021 2:05 PM, Simon Clubley wrote:
>> On 2021-05-24, John Wallace <johnwallace4@yahoo.co.uk> wrote:
>>> On 24/05/2021 13:28, Simon Clubley wrote:
>>>>
>>>> Yes, oops. :-) Somebody already reminded me about this a few days ago
>>>> and as I pointed out in response this just shows how much more portable
>>>> things are when you are using an implemention language not tied to the
>>>> architecture.
>>>>
>>>
>>> Yeah sure, UNIX code was so portable that back in the 1980s anything
>>> much more complex than "Hello World" had little chance of being portable
>>> between (e.g.) BSD and System V even on the very same hardware.
>>>
>>> When the two main camps can't even agree on the basics of opening a file
>>> from C,
>>> as in fd = open(...),
>>> it's no wonder there was a customer/vendor need for a Single UNIX
>>> Specification.
>>>
>>> Fortunately times have moved on since then.
>>
>> You are confusing functionality of an operating system with the
>> portability of an operating system between architectures.
>>
>> Your comments above talk about functionality within an operating
>> system. I am talking about the ease of porting an operating system
>> from one architecture to another.
>>
>> The choice of implementation language does not decide the functionality
>> of an operating system. It is however a major factor in how easy or not
>> it is to port that operating system to another architecture.
>
> Even when (hawk, spit, gag) C doesn't work the same on different
> architectures?
>

No problem if you write portable code and don't rely on invisible
underlying architecture or OS differences. Code I wrote decades ago
is still usable now...

Chris

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8hfbe$1gg8$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15046&group=comp.os.vms#15046

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Mon, 24 May 2021 20:11:30 -0400
Organization: Aioe.org NNTP Server
Lines: 57
Message-ID: <s8hfbe$1gg8$1@gioia.aioe.org>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me>
NNTP-Posting-Host: 5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Tue, 25 May 2021 00:11 UTC

On 5/24/2021 7:58 PM, Dave Froble wrote:
> On 5/24/2021 2:05 PM, Simon Clubley wrote:
>> On 2021-05-24, John Wallace <johnwallace4@yahoo.co.uk> wrote:
>>> On 24/05/2021 13:28, Simon Clubley wrote:
>>>>
>>>> Yes, oops. :-) Somebody already reminded me about this a few days ago
>>>> and as I pointed out in response this just shows how much more portable
>>>> things are when you are using an implemention language not tied to the
>>>> architecture.
>>>>
>>>
>>> Yeah sure, UNIX code was so portable that back in the 1980s anything
>>> much more complex than "Hello World" had little chance of being portable
>>> between (e.g.) BSD and System V even on the very same hardware.
>>>
>>> When the two main camps can't even agree on the basics of opening a file
>>> from C,
>>> as in fd = open(...),
>>> it's no wonder there was a customer/vendor need for a Single UNIX
>>> Specification.
>>>
>>> Fortunately times have moved on since then.
>>
>> You are confusing functionality of an operating system with the
>> portability of an operating system between architectures.
>>
>> Your comments above talk about functionality within an operating
>> system. I am talking about the ease of porting an operating system
>> from one architecture to another.
>>
>> The choice of implementation language does not decide the functionality
>> of an operating system. It is however a major factor in how easy or not
>> it is to port that operating system to another architecture.
>
> Even when (hawk, spit, gag) C doesn't work the same on different
> architectures?

I think the answer depends on the question.

Can you just compile an OS written in C for a different
platform and it will run?

No. There may be differences in C implementation. And there
will also be some code that has to be platform specific.

Is it easier to port an OS written in to another platform
than to port an OS written in assembler to another
platform?

Yes. A lot of code will just work. And some careful
ifdef'ing can minimize the impact from the remaining
problems.

Arne

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8hfkn$1jnq$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15047&group=comp.os.vms#15047

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Mon, 24 May 2021 20:16:26 -0400
Organization: Aioe.org NNTP Server
Lines: 53
Message-ID: <s8hfkn$1jnq$1@gioia.aioe.org>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me>
<s8hep8$18mv$2@gioia.aioe.org>
NNTP-Posting-Host: 5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Tue, 25 May 2021 00:16 UTC

On 5/24/2021 8:01 PM, chris wrote:
> On 05/25/21 00:58, Dave Froble wrote:
>> On 5/24/2021 2:05 PM, Simon Clubley wrote:
>>> On 2021-05-24, John Wallace <johnwallace4@yahoo.co.uk> wrote:
>>>> On 24/05/2021 13:28, Simon Clubley wrote:
>>>>> Yes, oops. :-) Somebody already reminded me about this a few days ago
>>>>> and as I pointed out in response this just shows how much more
>>>>> portable
>>>>> things are when you are using an implemention language not tied to the
>>>>> architecture.
>>>>>
>>>>
>>>> Yeah sure, UNIX code was so portable that back in the 1980s anything
>>>> much more complex than "Hello World" had little chance of being
>>>> portable
>>>> between (e.g.) BSD and System V even on the very same hardware.
>>>>
>>>> When the two main camps can't even agree on the basics of opening a
>>>> file
>>>> from C,
>>>> as in fd = open(...),
>>>> it's no wonder there was a customer/vendor need for a Single UNIX
>>>> Specification.
>>>>
>>>> Fortunately times have moved on since then.
>>>
>>> You are confusing functionality of an operating system with the
>>> portability of an operating system between architectures.
>>>
>>> Your comments above talk about functionality within an operating
>>> system. I am talking about the ease of porting an operating system
>>> from one architecture to another.
>>>
>>> The choice of implementation language does not decide the functionality
>>> of an operating system. It is however a major factor in how easy or not
>>> it is to port that operating system to another architecture.
>>
>> Even when (hawk, spit, gag) C doesn't work the same on different
>> architectures?
>
> No problem if you write portable code and don't rely on invisible
> underlying architecture or OS differences. Code I wrote decades ago
> is still usable now...

It is certainly possible to write portable C code.

But it is not trivial to write portable C code. Usage
of implementation specific behavior, assumptions
about various sizes etc..

Arne

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<ih30skFa4k7U1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15048&group=comp.os.vms#15048

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Mon, 24 May 2021 21:06:28 -0400
Lines: 43
Message-ID: <ih30skFa4k7U1@mid.individual.net>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: individual.net OalQsWSxSyFyJiaZPSuaqQqeO3giUU+NLkO9BnlHoFp6vK4EH0
Cancel-Lock: sha1:CmWupmOE6Kxy9rOflH+1G3i6Dqk=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
In-Reply-To: <s8hefr$3e3$3@dont-email.me>
Content-Language: en-US
 by: Bill Gunshannon - Tue, 25 May 2021 01:06 UTC

On 5/24/21 7:58 PM, Dave Froble wrote:
> On 5/24/2021 2:05 PM, Simon Clubley wrote:
>> On 2021-05-24, John Wallace <johnwallace4@yahoo.co.uk> wrote:
>>> On 24/05/2021 13:28, Simon Clubley wrote:
>>>>
>>>> Yes, oops. :-) Somebody already reminded me about this a few days ago
>>>> and as I pointed out in response this just shows how much more portable
>>>> things are when you are using an implemention language not tied to the
>>>> architecture.
>>>>
>>>
>>> Yeah sure, UNIX code was so portable that back in the 1980s anything
>>> much more complex than "Hello World" had little chance of being portable
>>> between (e.g.) BSD and System V even on the very same hardware.
>>>
>>> When the two main camps can't even agree on the basics of opening a file
>>> from C,
>>> as in fd = open(...),
>>> it's no wonder there was a customer/vendor need for a Single UNIX
>>> Specification.
>>>
>>> Fortunately times have moved on since then.
>>
>> You are confusing functionality of an operating system with the
>> portability of an operating system between architectures.
>>
>> Your comments above talk about functionality within an operating
>> system. I am talking about the ease of porting an operating system
>> from one architecture to another.
>>
>> The choice of implementation language does not decide the functionality
>> of an operating system. It is however a major factor in how easy or not
>> it is to port that operating system to another architecture.
>
> Even when (hawk, spit, gag) C doesn't work the same on different
> architectures?
>

Got any good examples? Are you sure it wasn't just a bad
implementation?

bill

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<ih31b1Fa7dlU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15049&group=comp.os.vms#15049

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Mon, 24 May 2021 21:14:09 -0400
Lines: 66
Message-ID: <ih31b1Fa7dlU1@mid.individual.net>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<ih1pqdF2sr0U1@mid.individual.net> <s8hek8$18mv$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 4+hHUCJPgV6fEjlAkYUR5AIp0U0IQVeamJOXFwG6eCWgYRicTy
Cancel-Lock: sha1:OkErxNBFCRiAvlRqfHx7U1SYWNA=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
In-Reply-To: <s8hek8$18mv$1@gioia.aioe.org>
Content-Language: en-US
 by: Bill Gunshannon - Tue, 25 May 2021 01:14 UTC

On 5/24/21 7:59 PM, chris wrote:
> On 05/24/21 14:59, Bill Gunshannon wrote:
>> On 5/24/21 9:24 AM, John Wallace wrote:
>>> On 24/05/2021 13:28, Simon Clubley wrote:
>>>> On 2021-05-21, Rich Alderson <news@alderson.users.panix.com> wrote:
>>>>> Simon Clubley <clubley@remove_me.eisner.decus.org-Earth.UFP> writes:
>>>>>
>>>>>> VAX. Which is where VMS started (and 32-bit processors are where Unix
>>>>>> and Linux started). It was a lot easier to get 32-bit Unix/Linux
>>>>>> working
>>>>>> on 64-bit architectures than it was VMS.
>>>>>
>>>>> NB:  For the purposes of this discussion, Unix started on a *16*-bit
>>>>> architecture.  (We'll ignore the fact that it actually started on an
>>>>> 18-bit
>>>>> word addressed architecture.)
>>>>>
>>>>
>>>> Yes, oops. :-) Somebody already reminded me about this a few days ago
>>>> and as I pointed out in response this just shows how much more portable
>>>> things are when you are using an implemention language not tied to the
>>>> architecture.
>>>>
>>>> Simon.
>>>>
>>>
>>> Yeah sure, UNIX code was so portable that back in the 1980s anything
>>> much more complex than "Hello World" had little chance of being
>>> portable between (e.g.) BSD and System V even on the very same hardware.
>>>
>>> When the two main camps can't even agree on the basics of opening a
>>> file from C,
>>> as in fd = open(...),
>>> it's no wonder there was a customer/vendor need for a Single UNIX
>>> Specification.
>>>
>>> Fortunately times have moved on since then.
>>
>> That had a lot more to do with deliberate proprietariness than
>> anything else. AT&T saw itself losing what little bit of the
>> market they had grabbed and decided making theirs different and
>> incompatible was good business. Eventually SYSV versions ended
>> out including BSD compatibility libraries because it was obvious
>> which way was better. I don't remember seeing any BSD product
>> coming with a SYSV compatibility library.
>>
>> bill
>>
>
> That's quite true, though Sun started off with a BSD flavour unix,
> (SunOs) then incorporated the more useful bits of SysV when later
> editions of Solaris were released. Streams being one such idea, but
> there were others as well. Quite a bit of cross fertilisation...

I don't remember any SYSVisms in SunOS. Certainly not STREAMS.
And Solaris was Suns attempt to abandon BSD in favor of SYSV.
For those of us who had been with SUN since M68000 days this
was pretty disastrous. Early Solaris performed badly and as you
might expect existing SunOS code could not be compiled to run
on Solaris without heavy modification. Even with all of the
BSD compatibility stuff included. It resulted in the University
I was working at beginning its migration away from SUN. I
expect the same happened elsewhere as well.

bill

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8hjnk$10ca$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15050&group=comp.os.vms#15050

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Mon, 24 May 2021 21:26:16 -0400
Organization: Aioe.org NNTP Server
Lines: 35
Message-ID: <s8hjnk$10ca$1@gioia.aioe.org>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<ih1pqdF2sr0U1@mid.individual.net> <s8hek8$18mv$1@gioia.aioe.org>
<ih31b1Fa7dlU1@mid.individual.net>
NNTP-Posting-Host: 5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Tue, 25 May 2021 01:26 UTC

On 5/24/2021 9:14 PM, Bill Gunshannon wrote:
> On 5/24/21 7:59 PM, chris wrote:
>> On 05/24/21 14:59, Bill Gunshannon wrote:
>>> That had a lot more to do with deliberate proprietariness than
>>> anything else. AT&T saw itself losing what little bit of the
>>> market they had grabbed and decided making theirs different and
>>> incompatible was good business. Eventually SYSV versions ended
>>> out including BSD compatibility libraries because it was obvious
>>> which way was better. I don't remember seeing any BSD product
>>> coming with a SYSV compatibility library.
>>
>> That's quite true, though Sun started off with a BSD flavour unix,
>> (SunOs) then incorporated the more useful bits of SysV when later
>> editions of Solaris were released. Streams being one such idea, but
>> there were others as well. Quite a bit of cross fertilisation...
>
> I don't remember any SYSVisms in SunOS.  Certainly not STREAMS.
> And Solaris was Suns attempt to abandon BSD in favor of SYSV.
> For those of us who had been with SUN since M68000 days this
> was pretty disastrous. Early Solaris performed badly and as you
> might expect existing SunOS code could not be compiled to run
> on Solaris without heavy modification.  Even with all of the
> BSD compatibility stuff included.  It resulted in the University
> I was working at beginning its migration away from SUN.  I
> expect the same happened elsewhere as well.

SunOS 1.x - 4.x was BSD (wiki claims some SysV stuff from
3.0 specifically IPC).

SunOS 5.x was SysV.

SunOS 4.x = Solaris 1.x and SunOS 5.x = Solaris 2.x.

Arne

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8irj4$apf$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15054&group=comp.os.vms#15054

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Tue, 25 May 2021 08:46:28 -0400
Organization: Aioe.org NNTP Server
Lines: 31
Message-ID: <s8irj4$apf$1@gioia.aioe.org>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me>
<ih30skFa4k7U1@mid.individual.net>
NNTP-Posting-Host: 5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Tue, 25 May 2021 12:46 UTC

On 5/24/2021 9:06 PM, Bill Gunshannon wrote:
> On 5/24/21 7:58 PM, Dave Froble wrote:
>> On 5/24/2021 2:05 PM, Simon Clubley wrote:
>>> The choice of implementation language does not decide the functionality
>>> of an operating system. It is however a major factor in how easy or not
>>> it is to port that operating system to another architecture.
>>
>> Even when (hawk, spit, gag) C doesn't work the same on different
>> architectures?
>
> Got any good examples?  Are you sure it wasn't just a bad
> implementation?

C compiler bugs are getting relative rare today.

But the C standard leaves a lot to the implementation.

Character set, actual size of basic data types, ones vs
twos complement, FP format, data alignment, actual size of
size_t, a lot around volatile etc.etc..

This makes it possible to write a "hardware close"
C compiler on any platform.

But it also makes it a bit tricky to write a C
program with guaranteed behavior on all
standard compliant C compilers.

Arne

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<ih4chrFi81oU1@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15055&group=comp.os.vms#15055

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: bill.gun...@gmail.com (Bill Gunshannon)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Tue, 25 May 2021 09:31:38 -0400
Lines: 52
Message-ID: <ih4chrFi81oU1@mid.individual.net>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me>
<ih30skFa4k7U1@mid.individual.net> <s8irj4$apf$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net fKAKcFEQfs9KKQLShnHiDAeprJGdsL+FsQjUQPip1eqTIwSEqR
Cancel-Lock: sha1:/NhLIZ9TWNCFfzbfJ1pQeCjVvDE=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
In-Reply-To: <s8irj4$apf$1@gioia.aioe.org>
Content-Language: en-US
 by: Bill Gunshannon - Tue, 25 May 2021 13:31 UTC

On 5/25/21 8:46 AM, Arne Vajhøj wrote:
> On 5/24/2021 9:06 PM, Bill Gunshannon wrote:
>> On 5/24/21 7:58 PM, Dave Froble wrote:
>>> On 5/24/2021 2:05 PM, Simon Clubley wrote:
>>>> The choice of implementation language does not decide the functionality
>>>> of an operating system. It is however a major factor in how easy or not
>>>> it is to port that operating system to another architecture.
>>>
>>> Even when (hawk, spit, gag) C doesn't work the same on different
>>> architectures?
>>
>> Got any good examples?  Are you sure it wasn't just a bad
>> implementation?
>
> C compiler bugs are getting relative rare today.
>
> But the C standard leaves a lot to the implementation.
>
> Character set, actual size of basic data types, ones vs
> twos complement, FP format, data alignment, actual size of
> size_t, a lot around volatile etc.etc..

Except6 for "volatile" all of this is architecturally or OS
dependent and not a part of the C language.

>
> This makes it possible to write a "hardware close"
> C compiler on any platform.

Probably a deliberate decision.

>
> But it also makes it a bit tricky to write a C
> program with guaranteed behavior on all
> standard compliant C compilers.

The parts that are C will behave the same under any non-broken
C compiler. But stuff that is not a part of the C language is
obviously going to be a crap shoot.

The same being true of pretty much every other language. Where
does Fortran define size_t? Where does Pascal define floating
point format? Where does Python define data alignment? COBOL
does let you select character set but it, too, is limited to
what is supported by the architecture or OS. Can't select
Fielddata on a PC using Ryan/McFarland COBOL. :-)

There was a company once that made a car that also functioned
as a boat. Can we now say that all other cars are deficient
because they don't float?

bill

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8j201$1k27$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15057&group=comp.os.vms#15057

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Tue, 25 May 2021 10:35:45 -0400
Organization: Aioe.org NNTP Server
Lines: 116
Message-ID: <s8j201$1k27$1@gioia.aioe.org>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me>
<ih30skFa4k7U1@mid.individual.net> <s8irj4$apf$1@gioia.aioe.org>
<ih4chrFi81oU1@mid.individual.net>
NNTP-Posting-Host: 5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Tue, 25 May 2021 14:35 UTC

On 5/25/2021 9:31 AM, Bill Gunshannon wrote:
> On 5/25/21 8:46 AM, Arne Vajhøj wrote:
>> On 5/24/2021 9:06 PM, Bill Gunshannon wrote:
>>> On 5/24/21 7:58 PM, Dave Froble wrote:
>>>> On 5/24/2021 2:05 PM, Simon Clubley wrote:
>>>>> The choice of implementation language does not decide the
>>>>> functionality
>>>>> of an operating system. It is however a major factor in how easy or
>>>>> not
>>>>> it is to port that operating system to another architecture.
>>>>
>>>> Even when (hawk, spit, gag) C doesn't work the same on different
>>>> architectures?
>>>
>>> Got any good examples?  Are you sure it wasn't just a bad
>>> implementation?
>>
>> C compiler bugs are getting relative rare today.
>>
>> But the C standard leaves a lot to the implementation.
>>
>> Character set, actual size of basic data types, ones vs
>> twos complement, FP format, data alignment, actual size of
>> size_t, a lot around volatile etc.etc..
>
> Except6 for "volatile" all of this is architecturally or OS
> dependent and not a part of the C language.

All these items are explicit listed as implementation
defined in the C standard.

And defined in other more high level
languages standard.

>> This makes it possible to write a "hardware close"
>> C compiler on any platform.
>
> Probably a deliberate decision.

Yes.

>> But it also makes it a bit tricky to write a C
>> program with guaranteed behavior on all
>> standard compliant C compilers.
>
> The parts that are C will behave the same under any non-broken
> C compiler.  But stuff that is not a part of the C language is
> obviously going to be a crap shoot.

Not true.

Implementation defined behavior is features that exist in
all implementations of the language but behave differently.

Let us take the example of int. Most C programs will have
a lot of variables of that type.

But the C standard only guarantees that it can keep values
from -32767 to +32767. Any C program that relies on an
int variable keeping a value outside of that range is not
guaranteed to produce same result everywhere.

Doing an >> on it? Better be sure that it is positive. The
result of right shifting a negative int is also implementation
defined.

> The same being true of pretty  much every other language.

No. It may be true of many languages more than 40 years old,
but it is not generally true of newer languages.

Most newer languages define integers that are 16/32/64 bit
two's complement, FP's that are 32/64 bit IEEE, sizes/lengths that
are fixed bit size, memory models that define volatile
behavior etc.. And in memory alignment is typical made
irrelevant because it has to be specified explicit as part
of marshalling and unmarshalling.

>   Where
> does Fortran define size_t?  Where does Pascal define floating
> point format?  Where does Python define data alignment?  COBOL
> does let you select character set but it, too, is limited to
> what is supported by the architecture or OS.  Can't select
> Fielddata on a PC using Ryan/McFarland COBOL.  :-)

Fortran 1957
Cobol 1959
Pascal 1970

Python does not define alignment for ctypes Structure. But we can blame
that on C.

Documentation states:

<quote>
By default, Structure and Union fields are aligned in the same way the C
compiler does it. It is possible to override this behavior by specifying
a _pack_ class attribute in the subclass definition. This must be set to
a positive integer and specifies the maximum alignment for the fields.
This is what #pragma pack(n) also does in MSVC.
</quote>

So if C got it then Python would get it.

> There was a company once that made a car that also functioned
> as a boat.  Can we now say that all other cars are deficient
> because they don't float?

No.

But one can say that both floating and non-floating are not
guaranteed characteristics of a car.

Arne

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8j2sm$360$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15058&group=comp.os.vms#15058

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!WFgAfjdMCLK7ItoF6n4UQQ.user.gioia.aioe.org.POSTED!not-for-mail
From: chris-no...@tridac.net (chris)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re:
OS Ancestry]
Date: Tue, 25 May 2021 15:51:03 +0100
Organization: Aioe.org NNTP Server
Lines: 73
Message-ID: <s8j2sm$360$1@gioia.aioe.org>
References: <ig4jtiFd5a2U1@mid.individual.net> <000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com> <mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com> <s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me> <s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org> <s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com> <s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me> <s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me> <s8hfbe$1gg8$1@gioia.aioe.org>
NNTP-Posting-Host: WFgAfjdMCLK7ItoF6n4UQQ.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (X11; SunOS sun4u; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2
X-Notice: Filtered by postfilter v. 0.9.2
 by: chris - Tue, 25 May 2021 14:51 UTC

On 05/25/21 01:11, Arne Vajhøj wrote:
> On 5/24/2021 7:58 PM, Dave Froble wrote:
>> On 5/24/2021 2:05 PM, Simon Clubley wrote:
>>> On 2021-05-24, John Wallace <johnwallace4@yahoo.co.uk> wrote:
>>>> On 24/05/2021 13:28, Simon Clubley wrote:
>>>>>
>>>>> Yes, oops. :-) Somebody already reminded me about this a few days ago
>>>>> and as I pointed out in response this just shows how much more
>>>>> portable
>>>>> things are when you are using an implemention language not tied to the
>>>>> architecture.
>>>>>
>>>>
>>>> Yeah sure, UNIX code was so portable that back in the 1980s anything
>>>> much more complex than "Hello World" had little chance of being
>>>> portable
>>>> between (e.g.) BSD and System V even on the very same hardware.
>>>>
>>>> When the two main camps can't even agree on the basics of opening a
>>>> file
>>>> from C,
>>>> as in fd = open(...),
>>>> it's no wonder there was a customer/vendor need for a Single UNIX
>>>> Specification.
>>>>
>>>> Fortunately times have moved on since then.
>>>
>>> You are confusing functionality of an operating system with the
>>> portability of an operating system between architectures.
>>>
>>> Your comments above talk about functionality within an operating
>>> system. I am talking about the ease of porting an operating system
>>> from one architecture to another.
>>>
>>> The choice of implementation language does not decide the functionality
>>> of an operating system. It is however a major factor in how easy or not
>>> it is to port that operating system to another architecture.
>>
>> Even when (hawk, spit, gag) C doesn't work the same on different
>> architectures?
>
> I think the answer depends on the question.
>
> Can you just compile an OS written in C for a different
> platform and it will run?
>
> No. There may be differences in C implementation. And there
> will also be some code that has to be platform specific.

C has been standardised for decades, but the C library can
cause problems between os's because of the required header
files, which vary between, say, Linux and FreeBSD.

The real problem is where the OS interfaces with the hardware.
That is taken care of in modern OS's with a hardware
abstraction layer, but some assembler will always be required
at low level, to deal with differing architectures, memory
management etc.

>
> Is it easier to port an OS written in to another platform
> than to port an OS written in assembler to another
> platform?
>
> Yes. A lot of code will just work. And some careful
> ifdef'ing can minimize the impact from the remaining
> problems.
>
> Arne
>
>
>

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8jecm$air$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15061&group=comp.os.vms#15061

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]
Date: Tue, 25 May 2021 18:07:18 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 66
Message-ID: <s8jecm$air$1@dont-email.me>
References: <ig4jtiFd5a2U1@mid.individual.net> <000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com> <mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com> <s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me> <s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org> <s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com> <s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me> <s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me> <ih30skFa4k7U1@mid.individual.net> <s8irj4$apf$1@gioia.aioe.org> <ih4chrFi81oU1@mid.individual.net> <s8j201$1k27$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 25 May 2021 18:07:18 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="c2135e939bc8867f9175e380e02b512e";
logging-data="10843"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+AZKZ6gcQLSYdYAODR1DYU+gPakxmhnOo="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:tvQz+0H6dYy5Lc5/CJdj8bJW65Q=
 by: Simon Clubley - Tue, 25 May 2021 18:07 UTC

On 2021-05-25, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 5/25/2021 9:31 AM, Bill Gunshannon wrote:
>> On 5/25/21 8:46 AM, Arne Vajhøj wrote:
>>> But it also makes it a bit tricky to write a C
>>> program with guaranteed behavior on all
>>> standard compliant C compilers.
>>
>> The parts that are C will behave the same under any non-broken
>> C compiler.  But stuff that is not a part of the C language is
>> obviously going to be a crap shoot.
>
> Not true.
>
> Implementation defined behavior is features that exist in
> all implementations of the language but behave differently.
>
> Let us take the example of int. Most C programs will have
> a lot of variables of that type.
>

Even when they should be using unsigned integers but that's no
different to any other languages that make signed integers the default.

> But the C standard only guarantees that it can keep values
> from -32767 to +32767. Any C program that relies on an
> int variable keeping a value outside of that range is not
> guaranteed to produce same result everywhere.
>

As you should well know Arne, that has been irrelevant for any new code
for at least a couple of decades due to the introduction of data types
whose size (and signed/unsigned attribute) _are_ guaranteed as part of
the standard.

I am of course talking about (for example) uint8_t, int16_t, uint32_t, etc.

If you need a guaranteed integer size in your code, use one of the
above or one of the various other similar data types instead of an int.

>
>> The same being true of pretty  much every other language.
>
> No. It may be true of many languages more than 40 years old,
> but it is not generally true of newer languages.
>
> Most newer languages define integers that are 16/32/64 bit
> two's complement, FP's that are 32/64 bit IEEE, sizes/lengths that
> are fixed bit size, memory models that define volatile
> behavior etc.. And in memory alignment is typical made
> irrelevant because it has to be specified explicit as part
> of marshalling and unmarshalling.
>

C also has rules about the scope of volatile statements and what
reordering of statements is and is not allowed by the standard
between volatile points.

Beyond that, you have to know your architecture for the small bits
of your code that need volatile attributes and that level of detail
does not depend on the programming language.

Simon.

--
Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP
Walking destinations on a map are further away than they appear.

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8jha1$1588$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15064&group=comp.os.vms#15064

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Tue, 25 May 2021 14:57:06 -0400
Organization: Aioe.org NNTP Server
Lines: 86
Message-ID: <s8jha1$1588$1@gioia.aioe.org>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me>
<ih30skFa4k7U1@mid.individual.net> <s8irj4$apf$1@gioia.aioe.org>
<ih4chrFi81oU1@mid.individual.net> <s8j201$1k27$1@gioia.aioe.org>
<s8jecm$air$1@dont-email.me>
NNTP-Posting-Host: 5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Tue, 25 May 2021 18:57 UTC

On 5/25/2021 2:07 PM, Simon Clubley wrote:
> On 2021-05-25, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 5/25/2021 9:31 AM, Bill Gunshannon wrote:
>>> On 5/25/21 8:46 AM, Arne Vajhøj wrote:
>>>> But it also makes it a bit tricky to write a C
>>>> program with guaranteed behavior on all
>>>> standard compliant C compilers.
>>>
>>> The parts that are C will behave the same under any non-broken
>>> C compiler.  But stuff that is not a part of the C language is
>>> obviously going to be a crap shoot.
>>
>> Not true.
>>
>> Implementation defined behavior is features that exist in
>> all implementations of the language but behave differently.
>>
>> Let us take the example of int. Most C programs will have
>> a lot of variables of that type.
>
> Even when they should be using unsigned integers but that's no
> different to any other languages that make signed integers the default.

Sometimes signed is needed.

But there are certainly a lot that should be unsigned.

>> But the C standard only guarantees that it can keep values
>> from -32767 to +32767. Any C program that relies on an
>> int variable keeping a value outside of that range is not
>> guaranteed to produce same result everywhere.
>
> As you should well know Arne, that has been irrelevant for any new code
> for at least a couple of decades due to the introduction of data types
> whose size (and signed/unsigned attribute) _are_ guaranteed as part of
> the standard.
>
> I am of course talking about (for example) uint8_t, int16_t, uint32_t, etc.
>
> If you need a guaranteed integer size in your code, use one of the
> above or one of the various other similar data types instead of an int.

Then you know that your code will either work or not compile.

But there is no guarantee that it will work.

These types are optional in the standard.

int_leastn_t and uint_leastn_t are not optional but they are not
exactly widely used.

>>> The same being true of pretty  much every other language.
>>
>> No. It may be true of many languages more than 40 years old,
>> but it is not generally true of newer languages.
>>
>> Most newer languages define integers that are 16/32/64 bit
>> two's complement, FP's that are 32/64 bit IEEE, sizes/lengths that
>> are fixed bit size, memory models that define volatile
>> behavior etc.. And in memory alignment is typical made
>> irrelevant because it has to be specified explicit as part
>> of marshalling and unmarshalling.
>
> C also has rules about the scope of volatile statements and what
> reordering of statements is and is not allowed by the standard
> between volatile points.

C volatile guarantees that access is not optimized away and that
volatile accesses are not reordered.

Which may be fine when used for direct HW access, but it totally
insufficient for multi-threaded programming.

A bunch of atomic stuff has been added to C 11 to try and solve that.

> Beyond that, you have to know your architecture for the small bits
> of your code that need volatile attributes and that level of detail
> does not depend on the programming language.

For many languages the behavior of volatile is defined in the
languages memory model. The generated code and runtime has to
ensure compliant behavior.

Arne

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<ih56c5F8ph3U3@mid.individual.net>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15070&group=comp.os.vms#15070

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: news0...@eager.cx (Bob Eager)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: 25 May 2021 20:52:21 GMT
Lines: 12
Message-ID: <ih56c5F8ph3U3@mid.individual.net>
References: <ig4jtiFd5a2U1@mid.individual.net>
<000c01d749dc$fa3aa8a0$eeaff9e0$@gmail.com>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me>
<ih30skFa4k7U1@mid.individual.net> <s8irj4$apf$1@gioia.aioe.org>
<ih4chrFi81oU1@mid.individual.net> <s8j201$1k27$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net W96dUhoQEJ//x/QU5u2dMQPewTx9pom0baym9V5MsS3IvSYrLx
Cancel-Lock: sha1:CzKnDnQEeJqdFK6Bne/1hi2n2OY=
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
 by: Bob Eager - Tue, 25 May 2021 20:52 UTC

On Tue, 25 May 2021 10:35:45 -0400, Arne Vajhøj wrote:

> Doing an >> on it? Better be sure that it is positive. The result of
> right shifting a negative int is also implementation defined.

Which is why one uses unsigned ints.

--
My posts are my copyright and if @diy_forums or Home Owners' Hub
wish to copy them they can pay me £1 a message.
Use the BIG mirror service in the UK: http://www.mirrorservice.org
*lightning surge protection* - a w_tom conductor

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<lJGdnc15L8FK4jD9nZ2dnUU7-dednZ2d@giganews.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15078&group=comp.os.vms#15078

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!buffer1.nntp.dca1.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Tue, 25 May 2021 17:53:10 -0500
Sender: Dennis Boone <drb@yagi.h-net.org>
From: drb...@ihatespam.msu.edu (Dennis Boone)
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]
Newsgroups: comp.os.vms
References: <ig4jtiFd5a2U1@mid.individual.net> <mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com> <s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me> <s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org> <s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com> <s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me> <s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me> <ih30skFa4k7U1@mid.individual.net> <s8irj4$apf$1@gioia.aioe.org>
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (FreeBSD/12.2-RELEASE-p4 (amd64))
Message-ID: <lJGdnc15L8FK4jD9nZ2dnUU7-dednZ2d@giganews.com>
Date: Tue, 25 May 2021 17:53:11 -0500
Lines: 7
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-0oeaO3PsjPaNk45Q4Cob6HbvfsUrDEL+tVhYU0LCziaG5yDj4fm72QfqfEncyc3ZEX6ppQAn9QUcBe6!eiiZwUuBGgJP4e6kB8G1SVWTHTH/4/lOu3fFk1/ET1At49cuEioJM6b/+S/oU5S/Kri7Xtc=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Original-Bytes: 1679
X-Received-Bytes: 1891
 by: Dennis Boone - Tue, 25 May 2021 22:53 UTC

> C compiler bugs are getting relative rare today.

Hah! 95 gcc bugs reported in the last week.

https://gcc.gnu.org/bugzilla/buglist.cgi?chfield=%5BBug%20creation%5D&chfieldfrom=7d

De

Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS Ancestry]

<s8k5vu$17e9$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=15084&group=comp.os.vms#15084

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: misstatement of Unix origin [was Re: A portable VMS, was: Re: OS
Ancestry]
Date: Tue, 25 May 2021 20:50:08 -0400
Organization: Aioe.org NNTP Server
Lines: 22
Message-ID: <s8k5vu$17e9$1@gioia.aioe.org>
References: <ig4jtiFd5a2U1@mid.individual.net>
<mailman.12.1621119189.3831.info-vax_rbnsn.com@rbnsn.com>
<s7tmtp$oih$1@dont-email.me> <s7tqgs$qou$1@dont-email.me>
<s7uf6n$l2m$1@dont-email.me> <s7ugnb$1qed$1@gioia.aioe.org>
<s81197$3lu$1@dont-email.me> <mdd1r9za5er.fsf_-_@panix5.panix.com>
<s8g65g$edv$1@dont-email.me> <s8g9dv$6pe$1@dont-email.me>
<s8gptl$cu$1@dont-email.me> <s8hefr$3e3$3@dont-email.me>
<ih30skFa4k7U1@mid.individual.net> <s8irj4$apf$1@gioia.aioe.org>
<lJGdnc15L8FK4jD9nZ2dnUU7-dednZ2d@giganews.com>
NNTP-Posting-Host: 5Avcpu9drOe6MAssky6/+Q.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: abuse@aioe.org
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Wed, 26 May 2021 00:50 UTC

On 5/25/2021 6:53 PM, Dennis Boone wrote:
> > C compiler bugs are getting relative rare today.
>
> Hah! 95 gcc bugs reported in the last week.
>
> https://gcc.gnu.org/bugzilla/buglist.cgi?chfield=%5BBug%20creation%5D&chfieldfrom=7d

Maybe it would be better to say that C compilers have plenty of bugs
today, but rarely impacts the ability to comply with the C standard.

The list above contains for C:
* problem with -Woverride-init
* problem with __builtin_cpu_init()
* problem with __attribute__((unused))
* problem with -Wformat-extra-args
* problem with -Wvla-parameter

Arne

Re: OS Ancestry

<4e50a41b-8d1d-47c6-b0f5-4dad303b0df9n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21369&group=comp.os.vms#21369

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:181:b0:2e1:e70a:ec2a with SMTP id s1-20020a05622a018100b002e1e70aec2amr277907qtw.42.1647340328065;
Tue, 15 Mar 2022 03:32:08 -0700 (PDT)
X-Received: by 2002:a37:946:0:b0:67d:9d27:3c1 with SMTP id 67-20020a370946000000b0067d9d2703c1mr9240285qkj.476.1647340327869;
Tue, 15 Mar 2022 03:32:07 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Tue, 15 Mar 2022 03:32:07 -0700 (PDT)
In-Reply-To: <s7jen9$1eon$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=86.177.147.51; posting-account=L3wJegoAAAAaoFOYynFX6NyQR9Ek7mZ5
NNTP-Posting-Host: 86.177.147.51
References: <ig4jtiFd5a2U1@mid.individual.net> <s7j7dv$1ff7$1@gioia.aioe.org>
<ig4miqFdmg6U1@mid.individual.net> <s7jcoi$l67$1@dont-email.me> <s7jen9$1eon$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4e50a41b-8d1d-47c6-b0f5-4dad303b0df9n@googlegroups.com>
Subject: Re: OS Ancestry
From: nic...@desmith.net (ni...@desmith.net)
Injection-Date: Tue, 15 Mar 2022 10:32:08 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 144
 by: ni...@desmith.net - Tue, 15 Mar 2022 10:32 UTC

Nice to get a mention in that. It was 40 years ago and the first bit of commercial s/w I wrote!

Nick
On Thursday, 13 May 2021 at 15:56:48 UTC+1, Arne Vajhøj wrote:

> https://en.wikipedia.org/wiki/RSTS/E
>
> <quote>
> RSTS (/ˈrɪstɪs/) is a multi-user time-sharing operating system,
> initially developed by Evans Griffiths & Hart of Boston, and acquired by
> Digital Equipment Corporation (DEC, now part of Hewlett Packard) for the
> PDP-11 series of 16-bit minicomputers. The first version of RSTS
> (RSTS-11, Version 1) was implemented in 1970 by DEC software engineers
> that developed the TSS-8 time-sharing operating system for the PDP-8.
>
> ...
>
> 1970s
>
> The kernel of RSTS was programmed in the assembly language MACRO-11,
> compiled and installed to a disk using the CILUS program, running on a
> DOS-11 operating system. RSTS booted into an extended version of the
> BASIC programming language which DEC called "BASIC-PLUS". All of the
> system software CUSPS for the operating system, including the programs
> for resource accounting, login, logout, and managing the system, were
> written in BASIC-PLUS. From 1970 to 1973, RSTS ran in only 56K bytes of
> magnetic core memory (64 kilobytes including the memory-mapped I/O
> space). This would allow a system to have up to 16 terminals with a
> maximum of 17 jobs. The maximum program size was 16K bytes. By the end
> of 1973 DEC estimated there were 150 licensed systems running RSTS.
>
> In 1973 memory management support was included in RSTS (now RSTS/E) for
> the newer DEC PDP-11/40 and PDP-11/45 minicomputers (the PDP-11/20 was
> only supported under RSTS-11). The introduction of memory management in
> the newer PDP-11 computers not only meant these machines were able to
> address four times the amount of memory (18-bit addressing, 256K bytes),
> it also paved the way for the developers to separate user mode processes
> from the core of the kernel.
>
> In 1975 memory management support was again updated for the newer 22-bit
> addressable PDP-11/70. RSTS systems could now be expanded to use as much
> as two megabytes of memory running up to 63 jobs. The RTS and CCL
> concepts were introduced although they had to be compiled in during
> "SYSGEN". Multi-terminal service was introduced which would allow a
> single job the ability to control multiple terminals (128 total).
> Large-message send/receive and interprocess communication became very
> sophisticated and efficient. By August there are 1,200 licensed systems.
>
> In 1977 the installation process for RSTS was no longer dependent on
> DOS-11. The RSTS kernel could now be compiled under the RT-11 RTS,
> formatted as a kernel file with RT-11 SILUS, and copied to the system or
> other disks, while the computer was time-sharing. The BASIC-PLUS RTS (as
> well as RT-11, RSX-11, TECO and third party RTSs) all ran as user mode
> processes, independent of the RSTS kernel. A systems manager could now
> decide during the bootstrap phase which RTS to run as the systems
> default KBM. By now, there were some 3,100 licensed systems.
>
> In 1978 the final memory management update was included for all machines
> that could support 22bit addressing. RSTS could now use the maximum
> amount of memory available to a PDP-11 (4 megabytes). Support was also
> included for SUPERVISORY mode which made RSTS the first DEC operating
> system with this capability. DECnet was also supported as well as remote
> diagnostics from field service technicians at the RDC in Colorado
> Springs, Colorado (a DEC subscription service). By the end of the
> decade, there are over 5,000 licensed systems.
>
> ...
>
> BASIC-PLUS
> Programs written in BASIC-PLUS ran under the BASIC RTS, which allowed
> them up to 32K bytes of memory (out of 64K total). The language was
> interpreted, each different keyword being internally converted to a
> unique byte code and the variables and data being indexed and stored
> separately within the memory space. The internal byte-code format was
> known as PCODE - when the interactive SAVE command was issued, the BASIC
> Plus RTS simply saved the working memory area to a disk file with a
> ".BAC" extension. Although this format was undocumented, two Electronic
> Engineering undergraduates from Southampton University in the UK (Nick
> de Smith and David Garrod) developed a decompiler that could reverse
> engineer BAC files into their original BASIC Plus source, complete with
> original line numbers and variable names (both subsequently worked for
> DEC). The rest of the memory was used by the BASIC RTS itself. If one
> wrote programs in a language that permitted true binary executables such
> as BASIC-Plus-2, FORTRAN-IV, or Macro Assembler, then the amount of
> memory available would be 56K (8K allocated to the RTS).
> </quote>
>
> https://en.wikipedia.org/wiki/BASIC-PLUS
>
> <quote>
> BASIC-PLUS is an extended dialect of the BASIC programming language that
> was developed by Digital Equipment Corporation (DEC) for use on its
> RSTS/E time-sharing operating system for the PDP-11 series of 16-bit
> minicomputers in the early 1970s through the 1980s.
>
> BASIC-PLUS was based on BASIC-8 for the TSS/8, itself based very closely
> on the original Dartmouth BASIC. BASIC-PLUS added a number of new
> structures, as well as features from JOSS concerning conditional
> statements and formatting. In turn, BASIC-PLUS was the version on which
> the original Microsoft BASIC was patterned.
>
> The language was later rewritten as a true compiler as BASIC-Plus-2, and
> was ported to the VAX-11 platform as that machine's native BASIC
> implementation. This version survived several platform changes, and is
> today known as VSI BASIC for OpenVMS.
>
> ...
>
> Syntax and features
>
> BASIC-PLUS is patterned closely on later versions of Dartmouth BASIC,
> including its powerful MAT commands. On top of this, DEC added a number
> of unique flow-control structures.
>
> Line numbers were positive integers from 1 to 32767.
> </quote>
>
> Again way before my time.
>
> Arne

Re: OS Ancestry

<f2c6gi-cnh13.ln1@alpha.mike-r.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=21370&group=comp.os.vms#21370

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: mik...@rechtman.com (Henry Crun)
Newsgroups: comp.os.vms
Subject: Re: OS Ancestry
Date: Tue, 15 Mar 2022 14:06:07 +0200
Lines: 141
Message-ID: <f2c6gi-cnh13.ln1@alpha.mike-r.com>
References: <ig4jtiFd5a2U1@mid.individual.net> <s7j7dv$1ff7$1@gioia.aioe.org>
<ig4miqFdmg6U1@mid.individual.net> <s7jcoi$l67$1@dont-email.me>
<s7jen9$1eon$1@gioia.aioe.org>
<4e50a41b-8d1d-47c6-b0f5-4dad303b0df9n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: individual.net zb0bDrpQZ8Xwt/6DDK0ftAjRVLz/IuwYaXoUCLdxH8ooeZgcMU
X-Orig-Path: alpha.mike-r.com!not-for-mail
Cancel-Lock: sha1:JyagnneVzQ9GZX7MA7zOqeVL44A=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-US
In-Reply-To: <4e50a41b-8d1d-47c6-b0f5-4dad303b0df9n@googlegroups.com>
 by: Henry Crun - Tue, 15 Mar 2022 12:06 UTC

On 15/03/2022 12:32, ni...@desmith.net wrote:
> Nice to get a mention in that. It was 40 years ago and the first bit of commercial s/w I wrote!
>
> Nick
> On Thursday, 13 May 2021 at 15:56:48 UTC+1, Arne Vajhøj wrote:
>
>> https://en.wikipedia.org/wiki/RSTS/E
>>
>> <quote>
>> RSTS (/ˈrɪstɪs/) is a multi-user time-sharing operating system,
>> initially developed by Evans Griffiths & Hart of Boston, and acquired by
>> Digital Equipment Corporation (DEC, now part of Hewlett Packard) for the
>> PDP-11 series of 16-bit minicomputers. The first version of RSTS
>> (RSTS-11, Version 1) was implemented in 1970 by DEC software engineers
>> that developed the TSS-8 time-sharing operating system for the PDP-8.
>>
>> ...
>>
>> 1970s
>>
>> The kernel of RSTS was programmed in the assembly language MACRO-11,
>> compiled and installed to a disk using the CILUS program, running on a
>> DOS-11 operating system. RSTS booted into an extended version of the
>> BASIC programming language which DEC called "BASIC-PLUS". All of the
>> system software CUSPS for the operating system, including the programs
>> for resource accounting, login, logout, and managing the system, were
>> written in BASIC-PLUS. From 1970 to 1973, RSTS ran in only 56K bytes of
>> magnetic core memory (64 kilobytes including the memory-mapped I/O
>> space). This would allow a system to have up to 16 terminals with a
>> maximum of 17 jobs. The maximum program size was 16K bytes. By the end
>> of 1973 DEC estimated there were 150 licensed systems running RSTS.
>>
>> In 1973 memory management support was included in RSTS (now RSTS/E) for
>> the newer DEC PDP-11/40 and PDP-11/45 minicomputers (the PDP-11/20 was
>> only supported under RSTS-11). The introduction of memory management in
>> the newer PDP-11 computers not only meant these machines were able to
>> address four times the amount of memory (18-bit addressing, 256K bytes),
>> it also paved the way for the developers to separate user mode processes
>> from the core of the kernel.
>>
>> In 1975 memory management support was again updated for the newer 22-bit
>> addressable PDP-11/70. RSTS systems could now be expanded to use as much
>> as two megabytes of memory running up to 63 jobs. The RTS and CCL
>> concepts were introduced although they had to be compiled in during
>> "SYSGEN". Multi-terminal service was introduced which would allow a
>> single job the ability to control multiple terminals (128 total).
>> Large-message send/receive and interprocess communication became very
>> sophisticated and efficient. By August there are 1,200 licensed systems.
>>
>> In 1977 the installation process for RSTS was no longer dependent on
>> DOS-11. The RSTS kernel could now be compiled under the RT-11 RTS,
>> formatted as a kernel file with RT-11 SILUS, and copied to the system or
>> other disks, while the computer was time-sharing. The BASIC-PLUS RTS (as
>> well as RT-11, RSX-11, TECO and third party RTSs) all ran as user mode
>> processes, independent of the RSTS kernel. A systems manager could now
>> decide during the bootstrap phase which RTS to run as the systems
>> default KBM. By now, there were some 3,100 licensed systems.
>>
>> In 1978 the final memory management update was included for all machines
>> that could support 22bit addressing. RSTS could now use the maximum
>> amount of memory available to a PDP-11 (4 megabytes). Support was also
>> included for SUPERVISORY mode which made RSTS the first DEC operating
>> system with this capability. DECnet was also supported as well as remote
>> diagnostics from field service technicians at the RDC in Colorado
>> Springs, Colorado (a DEC subscription service). By the end of the
>> decade, there are over 5,000 licensed systems.
>>
>> ...
>>
>> BASIC-PLUS
>> Programs written in BASIC-PLUS ran under the BASIC RTS, which allowed
>> them up to 32K bytes of memory (out of 64K total). The language was
>> interpreted, each different keyword being internally converted to a
>> unique byte code and the variables and data being indexed and stored
>> separately within the memory space. The internal byte-code format was
>> known as PCODE - when the interactive SAVE command was issued, the BASIC
>> Plus RTS simply saved the working memory area to a disk file with a
>> ".BAC" extension. Although this format was undocumented, two Electronic
>> Engineering undergraduates from Southampton University in the UK (Nick
>> de Smith and David Garrod) developed a decompiler that could reverse
>> engineer BAC files into their original BASIC Plus source, complete with
>> original line numbers and variable names (both subsequently worked for
>> DEC). The rest of the memory was used by the BASIC RTS itself. If one
>> wrote programs in a language that permitted true binary executables such
>> as BASIC-Plus-2, FORTRAN-IV, or Macro Assembler, then the amount of
>> memory available would be 56K (8K allocated to the RTS).
>> </quote>
>>
>> https://en.wikipedia.org/wiki/BASIC-PLUS
>>
>> <quote>
>> BASIC-PLUS is an extended dialect of the BASIC programming language that
>> was developed by Digital Equipment Corporation (DEC) for use on its
>> RSTS/E time-sharing operating system for the PDP-11 series of 16-bit
>> minicomputers in the early 1970s through the 1980s.
>>
>> BASIC-PLUS was based on BASIC-8 for the TSS/8, itself based very closely
>> on the original Dartmouth BASIC. BASIC-PLUS added a number of new
>> structures, as well as features from JOSS concerning conditional
>> statements and formatting. In turn, BASIC-PLUS was the version on which
>> the original Microsoft BASIC was patterned.
>>
>> The language was later rewritten as a true compiler as BASIC-Plus-2, and
>> was ported to the VAX-11 platform as that machine's native BASIC
>> implementation. This version survived several platform changes, and is
>> today known as VSI BASIC for OpenVMS.
>>
>> ...
>>
>> Syntax and features
>>
>> BASIC-PLUS is patterned closely on later versions of Dartmouth BASIC,
>> including its powerful MAT commands. On top of this, DEC added a number
>> of unique flow-control structures.
>>
>> Line numbers were positive integers from 1 to 32767.
>> </quote>
>>
>> Again way before my time.
>>
>> Arne

Story goes:

Programmer entered a BASIC program
1! PROGRAM NAME
32767 end

and could then report to his manager:
"Program is ready, just a few lines missing in the middle..."

--
Mike R.
Home: http://alpha.mike-r.com/
QOTD: http://alpha.mike-r.com/qotd.php
No Micro$oft products were used in the URLs above, or in preparing this message.
Recommended reading: http://www.catb.org/~esr/faqs/smart-questions.html#before
and: http://alpha.mike-r.com/jargon/T/top-post.html
Missile address: N31.7624/E34.9691

Pages:123
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor