Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

core error - bus dumped


computers / comp.os.vms / Re: VMS process communication

SubjectAuthor
* VMS process communicationArne Vajhøj
+* Re: VMS process communicationJohn Forkosh
|`- Re: VMS process communicationArne Vajhøj
+* Re: VMS process communicationDave Froble
|+* Re: VMS process communicationSingle Stage to Orbit
||`* Re: VMS process communicationCraig A. Berry
|| `* Re: VMS process communicationArne Vajhøj
||  +- Re: VMS process communicationDave Froble
||  +* Re: VMS process communicationArne Vajhøj
||  |`* Re: VMS process communicationJan-Erik Söderholm
||  | `* Re: VMS process communicationSingle Stage to Orbit
||  |  `* Re: VMS process communicationArne Vajhøj
||  |   `* Re: VMS process communicationJan-Erik Söderholm
||  |    +* Re: VMS process communicationArne Vajhøj
||  |    |`- Re: VMS process communicationArne Vajhøj
||  |    `- Re: VMS process communicationStephen Hoffman
||  `* Re: VMS process communicationArne Vajhøj
||   `* Re: VMS process communicationIan Miller
||    `* Re: VMS process communicationJohn Reagan
||     `* Re: VMS process communicationArne Vajhøj
||      `- Re: VMS process communicationArne Vajhøj
|+* Re: VMS process communicationMarc Van Dyck
||`- Re: VMS process communicationSingle Stage to Orbit
|`* Re: VMS process communicationLee Gleason
| +* Re: VMS process communicationDave Froble
| |`* Re: VMS process communicationRobert A. Brooks
| | +- Re: VMS process communicationDave Froble
| | `- Re: VMS process communicationRichard Maher
| `* Re: VMS process communicationArne Vajhøj
|  `* Re: VMS process communicationDave Froble
|   `* Re: VMS process communicationArne Vajhøj
|    +- Re: VMS process communicationStephen Hoffman
|    +- Re: VMS process communicationRichard Maher
|    `- Re: VMS process communicationDave Froble
+* Re: VMS process communicationBob Gezelter
|+* Re: VMS process communicationSimon Clubley
||`* Re: VMS process communicationBob Gezelter
|| `* Re: VMS process communicationDave Froble
||  `* Re: VMS process communicationStephen Hoffman
||   `* Re: VMS process communicationDave Froble
||    `* Re: VMS process communicationStephen Hoffman
||     `* Re: VMS process communicationDave Froble
||      `* Re: VMS process communicationSimon Clubley
||       `* Re: VMS process communicationDave Froble
||        `- Re: VMS process communicationFred. Zwarts
|+- Re: VMS process communicationStephen Hoffman
|`- Re: VMS process communicationArne Vajhøj
+* Re: VMS process communicationMarc Van Dyck
|`* Re: VMS process communicationArne Vajhøj
| +- Re: VMS process communicationCraig A. Berry
| `* Re: VMS process communicationDave Froble
|  +- Re: VMS process communicationArne Vajhøj
|  `* Re: VMS process communicationJan-Erik Söderholm
|   `* Re: VMS process communicationRichard Maher
|    +* Re: VMS process communicationDave Froble
|    |`- Re: VMS process communicationRichard Maher
|    +* Re: VMS process communicationArne Vajhøj
|    |`* Re: VMS process communicationArne Vajhøj
|    | `* Re: VMS process communicationSimon Clubley
|    |  `- Re: VMS process communicationArne Vajhøj
|    `* Re: VMS process communicationStephen Hoffman
|     `* Re: VMS process communicationRichard Maher
|      `- Re: VMS process communicationStephen Hoffman
`* Re: VMS process communicationArne Vajhøj
 +* Re: VMS process communicationSimon Clubley
 |`* Re: VMS process communicationArne Vajhøj
 | `* Re: VMS process communicationArne Vajhøj
 |  +* Re: VMS process communicationCraig A. Berry
 |  |+* Re: VMS process communicationArne Vajhøj
 |  ||`* Re: VMS process communicationSimon Clubley
 |  || `* Re: VMS process communicationArne Vajhøj
 |  ||  `* Re: VMS process communicationSimon Clubley
 |  ||   +* Re: VMS process communicationArne Vajhøj
 |  ||   |`* Re: VMS process communicationDave Froble
 |  ||   | +- Re: VMS process communicationArne Vajhøj
 |  ||   | `* Re: VMS process communicationSimon Clubley
 |  ||   |  `* Re: VMS process communicationDave Froble
 |  ||   |   `* Re: VMS process communicationArne Vajhøj
 |  ||   |    +* Re: VMS process communicationArne Vajhøj
 |  ||   |    |`* Re: VMS process communicationSimon Clubley
 |  ||   |    | `* Re: VMS process communicationArne Vajhøj
 |  ||   |    |  `- Re: VMS process communicationSimon Clubley
 |  ||   |    `* Re: VMS process communicationbill
 |  ||   |     +* Re: VMS process communicationArne Vajhøj
 |  ||   |     |`* Re: VMS process communicationSteven Schweda
 |  ||   |     | `* Re: VMS process communicationArne Vajhøj
 |  ||   |     |  +* Re: VMS process communicationSteven Schweda
 |  ||   |     |  |+* Re: VMS process communicationScott Dorsey
 |  ||   |     |  ||+* Re: VMS process communicationSteven Schweda
 |  ||   |     |  |||`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |  ||`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |  |`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |  `* Re: VMS process communicationDave Froble
 |  ||   |     |   +- Re: VMS process communicationSteven Schweda
 |  ||   |     |   `* Re: VMS process communicationArne Vajhøj
 |  ||   |     |    +- Re: VMS process communicationDave Froble
 |  ||   |     |    +* Re: VMS process communicationSteven Schweda
 |  ||   |     |    |`- Re: VMS process communicationArne Vajhøj
 |  ||   |     |    `* Re: VMS process communicationJohnny Billquist
 |  ||   |     |     +* Re: VMS process communicationSteven Schweda
 |  ||   |     |     |`* Re: VMS process communicationJohnny Billquist
 |  ||   |     |     +* Re: VMS process communicationScott Dorsey
 |  ||   |     |     `* Re: VMS process communicationArne Vajhøj
 |  ||   |     `- Re: VMS process communicationDave Froble
 |  ||   `- Re: VMS process communicationJohnny Billquist
 |  |`* Re: VMS process communicationCraig A. Berry
 |  +* Re: VMS process communicationAndreas Gruhl
 |  +* Re: VMS process communicationJOUKJ
 |  +- Re: VMS process communicationSimon Clubley
 |  `* Re: VMS process communicationArne Vajhøj
 `- Re: VMS process communicationArne Vajhøj

Pages:123456789
Re: VMS process communication

<tgap4t$18emt$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 20 Sep 2022 00:06:21 +0200
Organization: A noiseless patient Spider
Lines: 36
Message-ID: <tgap4t$18emt$2@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
<tfpueg$2j5a4$1@dont-email.me> <63212194$0$698$14726298@news.sunsite.dk>
<tg8bbk$k9c$1@gioia.aioe.org> <tg9cns$10t1f$1@dont-email.me>
<d692f19c294600d2fc2224baa89dbd312fe7e12d.camel@munted.eu>
<tgak64$13qb$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 19 Sep 2022 22:06:21 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="e90cd4ad94798564a6050ae33b331dee";
logging-data="1325789"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18wbriv8V1cPesb/OWUJDwg"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.1.1
Cancel-Lock: sha1:S1KkNset/UwygIIYLOt3Ji1dlh0=
Content-Language: sv
In-Reply-To: <tgak64$13qb$1@gioia.aioe.org>
 by: Jan-Erik Söderholm - Mon, 19 Sep 2022 22:06 UTC

Den 2022-09-19 kl. 22:41, skrev Arne Vajhøj:
> On 9/19/2022 2:21 PM, Single Stage to Orbit wrote:
>> On Mon, 2022-09-19 at 11:28 +0200, Jan-Erik Söderholm wrote:
>>> Den 2022-09-19 kl. 01:58, skrev Arne Vajhøj:
>>>
>>> Interesting! Now, what was that link now... :-)
>>
>> I bookmarked it some time ago:
>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>
> Yep. Sorry for not include the link.
>
> Arne
>
>

No problem... :-)

In the part about mailboxes, I miss one language, DCL.

$ create/mailbox/perm abc

$ open/write abc
$ write abc "Hello".
$ close abc

$ open/read abc
$ read abc inline
$ write sys$output 'inline'

Very short example, and it might not work...

Re: VMS process communication

<tgarpf$1lj5$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 19 Sep 2022 18:51:27 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tgarpf$1lj5$1@gioia.aioe.org>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
<tfpueg$2j5a4$1@dont-email.me> <63212194$0$698$14726298@news.sunsite.dk>
<tg8bbk$k9c$1@gioia.aioe.org> <tg9cns$10t1f$1@dont-email.me>
<d692f19c294600d2fc2224baa89dbd312fe7e12d.camel@munted.eu>
<tgak64$13qb$1@gioia.aioe.org> <tgap4t$18emt$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="54885"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Mon, 19 Sep 2022 22:51 UTC

On 9/19/2022 6:06 PM, Jan-Erik Söderholm wrote:
> Den 2022-09-19 kl. 22:41, skrev Arne Vajhøj:
>> On 9/19/2022 2:21 PM, Single Stage to Orbit wrote:
>>> On Mon, 2022-09-19 at 11:28 +0200, Jan-Erik Söderholm wrote:
>>>> Den 2022-09-19 kl. 01:58, skrev Arne Vajhøj:
>>>>
>>>> Interesting! Now, what was that link now... :-)
>>>
>>> I bookmarked it some time ago:
>>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>>
>> Yep. Sorry for not include the link.
>
> No problem... :-)
>
> In the part about mailboxes, I miss one language, DCL.
>
> $ create/mailbox/perm abc
>
>
> $ open/write abc
> $ write abc "Hello".
> $ close abc
>
> $ open/read abc
> $ read abc inline
> $ write sys$output 'inline'
>
> Very short example, and it might not work...

It should be possible to make it work.

Thinking about it - index-sequential files are
also accessible from DCL.

More to go on the TODO list.

Arne

Re: VMS process communication

<tgdf5e$1k4mt$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: seaoh...@hoffmanlabs.invalid (Stephen Hoffman)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 20 Sep 2022 18:34:22 -0400
Organization: HoffmanLabs LLC
Lines: 21
Message-ID: <tgdf5e$1k4mt$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <tfot3m$2gasd$1@dont-email.me> <80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu> <tfpueg$2j5a4$1@dont-email.me> <63212194$0$698$14726298@news.sunsite.dk> <tg8bbk$k9c$1@gioia.aioe.org> <tg9cns$10t1f$1@dont-email.me> <d692f19c294600d2fc2224baa89dbd312fe7e12d.camel@munted.eu> <tgak64$13qb$1@gioia.aioe.org> <tgap4t$18emt$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: reader01.eternal-september.org; posting-host="176e90e5ee0c6ae9245c62cfe10bd178";
logging-data="1708765"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19sINVWcdf3CkEYv2HwlVm1PiEHozxxbdY="
User-Agent: Unison/2.2
Cancel-Lock: sha1:t+uj9sJoqcTQSz5NzKI/ihWAqMw=
 by: Stephen Hoffman - Tue, 20 Sep 2022 22:34 UTC

On 2022-09-19 22:06:21 +0000, Jan-Erik Sderholm said:

> In the part about mailboxes, I miss one language, DCL.
> ...

Here's DCL DECnet task-to-task:

https://www.digiater.nl/openvms/freeware/v80/hoffman_examples/xqtype.com

Wouldn't suggest using any of this for anything particularly relevent
or sensitive, and it's dicy even on a trusted network.

Unfortunately, DCL lacks TCP, TLS, and ssh connectivity support, and
lacks async / full duplex support.

--
Pure Personal Opinion | HoffmanLabs LLC

Re: VMS process communication

<tgdkb6$15e4$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 20 Sep 2022 20:02:47 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tgdkb6$15e4$1@gioia.aioe.org>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
<tfpueg$2j5a4$1@dont-email.me> <63212194$0$698$14726298@news.sunsite.dk>
<tg8bbk$k9c$1@gioia.aioe.org> <tg9cns$10t1f$1@dont-email.me>
<d692f19c294600d2fc2224baa89dbd312fe7e12d.camel@munted.eu>
<tgak64$13qb$1@gioia.aioe.org> <tgap4t$18emt$2@dont-email.me>
<tgarpf$1lj5$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="38340"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.2.2
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Wed, 21 Sep 2022 00:02 UTC

On 9/19/2022 6:51 PM, Arne Vajhøj wrote:
> On 9/19/2022 6:06 PM, Jan-Erik Söderholm wrote:
>> Den 2022-09-19 kl. 22:41, skrev Arne Vajhøj:
>>> On 9/19/2022 2:21 PM, Single Stage to Orbit wrote:
>>>> On Mon, 2022-09-19 at 11:28 +0200, Jan-Erik Söderholm wrote:
>>>>> Den 2022-09-19 kl. 01:58, skrev Arne Vajhøj:
>>>>>
>>>>> Interesting! Now, what was that link now... :-)
>>>>
>>>> I bookmarked it some time ago:
>>>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>>>
>>> Yep. Sorry for not include the link.
>>
>> No problem... :-)
>>
>> In the part about mailboxes, I miss one language, DCL.
>>
>> $ create/mailbox/perm abc
>>
>>
>> $ open/write abc
>> $ write abc "Hello".
>> $ close abc
>>
>> $ open/read abc
>> $ read abc inline
>> $ write sys$output 'inline'
>>
>> Very short example, and it might not work...
>
> It should be possible to make it work.
>
> Thinking about it - index-sequential files are
> also accessible from DCL.
>
> More to go on the TODO list.

Added:
* mailboxes / DCL
* socket / PHP
* index-sequential file / DCL
* SQLite / PHP

Arne

Re: VMS process communication

<tgg5pf$3hl$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Wed, 21 Sep 2022 19:12:46 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tgg5pf$3hl$1@gioia.aioe.org>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfoqbq$t77$1@reader2.panix.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="3637"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Wed, 21 Sep 2022 23:12 UTC

On 9/12/2022 10:36 PM, John Forkosh wrote:
> Arne Vajh??j <arne@vajhoej.dk> wrote:
>> I did a little writeup:
>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>> Content:
...
> Thanks so much. That's really terrific. And ditto for your other
> articles https://www.vajhoej.dk/arne/articles.html which I hadn't
> even been aware of.

Thank you.

> Maybe you might arrange/aggregate them into one
> or more books along the lines of Stallman's just released C tutorial
> and reference https://git.savannah.gnu.org/git/c-intro-and-ref.git

I have actually at occasions played with the idea.

But it would require some effort.

Maybe.

Arne

Re: VMS process communication

<th2nb8$3o3$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Wed, 28 Sep 2022 20:02:46 -0400
Organization: Aioe.org NNTP Server
Message-ID: <th2nb8$3o3$1@gioia.aioe.org>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<mn.72a17e69837c76c4.104627@invalid.skynet.be>
<63224691$0$701$14726298@news.sunsite.dk> <tftkli$33rdj$1@dont-email.me>
<tfuhkc$38lkg$1@dont-email.me> <tfuiea$1rlc$1@gioia.aioe.org>
<tg025a$f9v$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="3843"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Thu, 29 Sep 2022 00:02 UTC

On 9/15/2022 4:32 PM, Arne Vajhøj wrote:
> On 9/15/2022 2:58 AM, Richard Maher wrote:
>> Not necessarily. Show me VMS/Redis Cache, VMS GitHub, something to
>> load my VMS Tier3 ASCII files to GitHub
>
> Redis should be available:
>
> https://vmssoftware.com/products/redis/
>
> BTW, Redis would fit quite nicely into this article, so I will put that
> on the TODO list.

Done.

https://www.vajhoej.dk/arne/articles/vmsipc.html#redis

Redis Cache
Concept
Demo
Hiredis (C)
Official VMS wrapper hiredis (Fortran, Pascal, Cobol, Basic)
Custom VMS wrapper hiredis (Fortran, Pascal, Cobol, Basic)
Jedis (Java, Jython)
Python module (Python)

And just to be clear: this is Redis server running on VMS and client
applications running on VMS.

Arne

Re: VMS process communication

<th44n9$lk3e$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Thu, 29 Sep 2022 12:57:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <th44n9$lk3e$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <mn.72a17e69837c76c4.104627@invalid.skynet.be> <63224691$0$701$14726298@news.sunsite.dk> <tftkli$33rdj$1@dont-email.me> <tfuhkc$38lkg$1@dont-email.me> <tfuiea$1rlc$1@gioia.aioe.org> <tg025a$f9v$1@gioia.aioe.org> <th2nb8$3o3$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 29 Sep 2022 12:57:13 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="1afb22c9900e4b44ccb03382318c1009";
logging-data="708718"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JjinBf3TdleBXHn30KJYQ98VhOnOwnc0="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:s7gq9JGvSmpx/wgPKyWEIDgxKfY=
 by: Simon Clubley - Thu, 29 Sep 2022 12:57 UTC

On 2022-09-28, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 9/15/2022 4:32 PM, Arne Vajhøj wrote:
>> On 9/15/2022 2:58 AM, Richard Maher wrote:
>>> Not necessarily. Show me VMS/Redis Cache, VMS GitHub, something to
>>> load my VMS Tier3 ASCII files to GitHub
>>
>> Redis should be available:
>>
>> https://vmssoftware.com/products/redis/
>>
>> BTW, Redis would fit quite nicely into this article, so I will put that
>> on the TODO list.
>
> Done.
>
> https://www.vajhoej.dk/arne/articles/vmsipc.html#redis
>

$ set response/mode=good_natured

This is just a guess Arne, but have you by any chance currently got
a lot of spare time on your hands ?

:-)

Simon.

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

Re: VMS process communication

<th5cdl$9p5$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Thu, 29 Sep 2022 20:14:42 -0400
Organization: Aioe.org NNTP Server
Message-ID: <th5cdl$9p5$1@gioia.aioe.org>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<mn.72a17e69837c76c4.104627@invalid.skynet.be>
<63224691$0$701$14726298@news.sunsite.dk> <tftkli$33rdj$1@dont-email.me>
<tfuhkc$38lkg$1@dont-email.me> <tfuiea$1rlc$1@gioia.aioe.org>
<tg025a$f9v$1@gioia.aioe.org> <th2nb8$3o3$1@gioia.aioe.org>
<th44n9$lk3e$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="10021"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Fri, 30 Sep 2022 00:14 UTC

On 9/29/2022 8:57 AM, Simon Clubley wrote:
> On 2022-09-28, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 9/15/2022 4:32 PM, Arne Vajhøj wrote:
>>> On 9/15/2022 2:58 AM, Richard Maher wrote:
>>>> Not necessarily. Show me VMS/Redis Cache, VMS GitHub, something to
>>>> load my VMS Tier3 ASCII files to GitHub
>>>
>>> Redis should be available:
>>>
>>> https://vmssoftware.com/products/redis/
>>>
>>> BTW, Redis would fit quite nicely into this article, so I will put that
>>> on the TODO list.
>>
>> Done.
>>
>> https://www.vajhoej.dk/arne/articles/vmsipc.html#redis
>
> $ set response/mode=good_natured
>
> This is just a guess Arne, but have you by any chance currently got
> a lot of spare time on your hands ?
>
> :-)

Not really.

I started writing stuff in 2004.

Recently I have just written a lot about VMS.

And even though is is obviously some work, then I reuse
stuff - for Redis I had most of the API's covered from
when I wrote about cache servers in general back in 2020 - all
the tests back then was done on Windows but the C, Java and
Python API's are the same on on VMS, so I did not have to
start from scratch.

Arne

Re: VMS process communication

<thieis$fr4$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Tue, 4 Oct 2022 19:11:24 -0400
Organization: Aioe.org NNTP Server
Message-ID: <thieis$fr4$1@gioia.aioe.org>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
<tfpueg$2j5a4$1@dont-email.me> <63212194$0$698$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="16228"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Tue, 4 Oct 2022 23:11 UTC

On 9/13/2022 8:34 PM, Arne Vajhøj wrote:
> I do not have any experience wth sys$icc_* so that will
> need a little research.

Done.

https://www.vajhoej.dk/arne/articles/vmsipc.html#icc

ICC
Concept
Demo
System Service (C, Fortran, Pascal)

Arne

Re: VMS process communication

<5c46852b-ff71-47b8-80f7-8afbad4aff00n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:ac4:b0:4af:b60f:5c7a with SMTP id g4-20020a0562140ac400b004afb60f5c7amr19885694qvi.60.1664962094719;
Wed, 05 Oct 2022 02:28:14 -0700 (PDT)
X-Received: by 2002:a05:622a:345:b0:35d:5374:ef95 with SMTP id
r5-20020a05622a034500b0035d5374ef95mr22620512qtw.492.1664962094526; Wed, 05
Oct 2022 02:28:14 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 5 Oct 2022 02:28:14 -0700 (PDT)
In-Reply-To: <thieis$fr4$1@gioia.aioe.org>
Injection-Info: google-groups.googlegroups.com; posting-host=92.19.2.101; posting-account=xnH4mQkAAADgGjKHSw0dMDzsXknFp5II
NNTP-Posting-Host: 92.19.2.101
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
<tfpueg$2j5a4$1@dont-email.me> <63212194$0$698$14726298@news.sunsite.dk> <thieis$fr4$1@gioia.aioe.org>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5c46852b-ff71-47b8-80f7-8afbad4aff00n@googlegroups.com>
Subject: Re: VMS process communication
From: gxy...@uk2.net (Ian Miller)
Injection-Date: Wed, 05 Oct 2022 09:28:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1807
 by: Ian Miller - Wed, 5 Oct 2022 09:28 UTC

On Wednesday, October 5, 2022 at 12:11:32 AM UTC+1, Arne Vajhøj wrote:
> On 9/13/2022 8:34 PM, Arne Vajhøj wrote:
> > I do not have any experience wth sys$icc_* so that will
> > need a little research.
> Done.
>
> https://www.vajhoej.dk/arne/articles/vmsipc.html#icc
>
> ICC
> Concept
> Demo
> System Service (C, Fortran, Pascal)
>
> Arne
the ICC routines are intriguing. Good to see an example. Did you report the issue with Pascal to VSI?

Re: VMS process communication

<cf84dcf7-8a7a-4551-b555-73f13591d0d7n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:28ce:b0:6cf:933c:40d3 with SMTP id l14-20020a05620a28ce00b006cf933c40d3mr780115qkp.258.1664997460769;
Wed, 05 Oct 2022 12:17:40 -0700 (PDT)
X-Received: by 2002:ad4:5bc5:0:b0:4af:b21d:2ad7 with SMTP id
t5-20020ad45bc5000000b004afb21d2ad7mr981774qvt.112.1664997460504; Wed, 05 Oct
2022 12:17:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Wed, 5 Oct 2022 12:17:40 -0700 (PDT)
In-Reply-To: <5c46852b-ff71-47b8-80f7-8afbad4aff00n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.166.138.36; posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 80.166.138.36
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
<tfpueg$2j5a4$1@dont-email.me> <63212194$0$698$14726298@news.sunsite.dk>
<thieis$fr4$1@gioia.aioe.org> <5c46852b-ff71-47b8-80f7-8afbad4aff00n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cf84dcf7-8a7a-4551-b555-73f13591d0d7n@googlegroups.com>
Subject: Re: VMS process communication
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Wed, 05 Oct 2022 19:17:40 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2542
 by: John Reagan - Wed, 5 Oct 2022 19:17 UTC

On Wednesday, October 5, 2022 at 11:28:16 AM UTC+2, Ian Miller wrote:
> On Wednesday, October 5, 2022 at 12:11:32 AM UTC+1, Arne Vajhøj wrote:
> > On 9/13/2022 8:34 PM, Arne Vajhøj wrote:
> > > I do not have any experience wth sys$icc_* so that will
> > > need a little research.
> > Done.
> >
> > https://www.vajhoej.dk/arne/articles/vmsipc.html#icc
> >
> > ICC
> > Concept
> > Demo
> > System Service (C, Fortran, Pascal)
> >
> > Arne
> the ICC routines are intriguing. Good to see an example. Did you report the issue with Pascal to VSI?

I have not heard about any issues with the ICC definitions being Pascal "unfriendly".

If you ever want to override/bypass the type checking between the actual parameter and the formal parameter, you can use an explicit %IMMED, %REF, or %STDESCR as appropriate on the actual parameter. In that case, the compiler will skip the check and just pass what you specified. You can even provide more arguments than in the format definition by just using explicit argument mechanisms on the "extra" arguments.

Re: VMS process communication

<thl2kr$6j1$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Wed, 5 Oct 2022 19:06:02 -0400
Organization: Aioe.org NNTP Server
Message-ID: <thl2kr$6j1$1@gioia.aioe.org>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
<tfpueg$2j5a4$1@dont-email.me> <63212194$0$698$14726298@news.sunsite.dk>
<thieis$fr4$1@gioia.aioe.org>
<5c46852b-ff71-47b8-80f7-8afbad4aff00n@googlegroups.com>
<cf84dcf7-8a7a-4551-b555-73f13591d0d7n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="6753"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Wed, 5 Oct 2022 23:06 UTC

On 10/5/2022 3:17 PM, John Reagan wrote:
> On Wednesday, October 5, 2022 at 11:28:16 AM UTC+2, Ian Miller wrote:
>> On Wednesday, October 5, 2022 at 12:11:32 AM UTC+1, Arne Vajhøj wrote:
>>> On 9/13/2022 8:34 PM, Arne Vajhøj wrote:
>>>> I do not have any experience wth sys$icc_* so that will
>>>> need a little research.
>>> Done.
>>>
>>> https://www.vajhoej.dk/arne/articles/vmsipc.html#icc
>>>
>>> ICC
>>> Concept
>>> Demo
>>> System Service (C, Fortran, Pascal)

>> the ICC routines are intriguing. Good to see an example. Did you report the issue with Pascal to VSI?
>
> I have not heard about any issues with the ICC definitions being Pascal "unfriendly".

I think only a small fraction of VMS sites use the ICC stuff and only a
small fraction of those use Pascal as language (the ICC stuff is new
enough to C being most common language).

But the fact that I could not get it working does not prove there
is a problem in SYS$LIBRARY:STARLET.PAS - maybe the problem is 40 cm
(16 inches) in front of the screen.

:-)

But some things puzzles me.

The client programs all use:
sys$icc_connectw
sys$icc_transmitw
sys$icc_receivew
sys$icc_disconnectw

All of them have an IOSB argument.

Per the documentation those are:
8 byte IOSB
8 byte IOSB
16 byte IOSB
8 byte IOSB

C has a:
struct _ios_icc

And defines the arguments for the 4 system services as as:
struct _ios_icc *ios_icc
struct _ios_icc *ios_icc
struct _ios_icc *ios_icc
struct _iosb *iosb

Which works fine. It is not obvious to me why the the last one is
different, but no problem.

Pascal has a record IOS_ICC$TYPE and it works fine for me, so that is
all good.

But the argument to the functions are defined as:
VAR IOS_ICC : [VOLATILE] $DEFPTR;
VAR IOS_ICC : [VOLATILE] $UQUAD;
VAR IOS_ICC : [VOLATILE] $DEFPTR;
VAR IOSB : [VOLATILE] $UQUAD;

With:
$DEFPTR = [UNSAFE] ^$DEFTYP;
$DEFTYP = [UNSAFE] INTEGER;
$UQUAD = [QUAD,UNSAFE] RECORD L0,L1:UNSIGNED; END;

Which seems inconsistent and hard/impossible to use for me
($DEFPTR really gave me a hard time).

So I simply used other declarations with arguments:
VAR IOS_ICC : [VOLATILE] IOS_ICC$TYPE;
VAR IOS_ICC : [VOLATILE] IOS_ICC$TYPE;
VAR IOS_ICC : [VOLATILE] IOS_ICC$TYPE;
VAR IOSB : [VOLATILE] IOS_ICC$TYPE;

It works fine and seems a lot more logical to me.

I also had problems with the buffers. $ICC_TRANSMITW
has a SEND_BUF and $ICC_RECEIVEW has a RECV_BUF but they
are declared as $DEFPTR and UNSIGNED. That gave my problems with
transmit so I changed SEND_BUF to also be UNSIGNED.

Arne

Re: VMS process communication

<thl3r6$i53$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Wed, 5 Oct 2022 19:26:29 -0400
Organization: Aioe.org NNTP Server
Message-ID: <thl3r6$i53$1@gioia.aioe.org>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tfot3m$2gasd$1@dont-email.me>
<80aa96b40e53e89a1dedf23e224a263ced6b27e7.camel@munted.eu>
<tfpueg$2j5a4$1@dont-email.me> <63212194$0$698$14726298@news.sunsite.dk>
<thieis$fr4$1@gioia.aioe.org>
<5c46852b-ff71-47b8-80f7-8afbad4aff00n@googlegroups.com>
<cf84dcf7-8a7a-4551-b555-73f13591d0d7n@googlegroups.com>
<thl2kr$6j1$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="18595"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.3.0
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Wed, 5 Oct 2022 23:26 UTC

On 10/5/2022 7:06 PM, Arne Vajhøj wrote:
> I also had problems with the buffers. $ICC_TRANSMITW
> has a SEND_BUF and $ICC_RECEIVEW has a RECV_BUF but they
> are declared as $DEFPTR and UNSIGNED. That gave my problems with
> transmit so I changed SEND_BUF to also be UNSIGNED.

Let me elaborate on this.

The sys$libary:starlet.pas definition is:
SEND_BUF : $DEFPTR;

And I cannot get that to work.

I am probably missing something very basic, but ...

Demo:

$ type zb.c
#include <stdio.h>

void f(unsigned char *s)
{ printf("%02X %02X %02X %02X %02X %02X %02X %02X\n", s[0], s[1],
s[2], s[3], s[4], s[5], s[6], s[7]);
} $ cc zb
$ type za.pas
program za(input,output);

type
$DEFTYP = [UNSAFE] INTEGER;
$DEFPTR = [UNSAFE] ^$DEFTYP;

[external('F')] procedure f1(%IMMED s : unsigned); external;
[external('F')] procedure f2(s : $DEFPTR); external;
[external('F')] procedure f3(%IMMED s : $DEFPTR); external;

var
s : varying [255] of char;

begin
s := 'ABCDEF' + chr(0);
f1(iaddress(s.body));
f2(s.body);
f2(iaddress(s.body));
f3(s.body);
f3(iaddress(s.body));
end.
$ pas za
$ link za + zb
$ run za
41 42 43 44 45 46 00 00
41 42 43 44 00 00 00 00
CA 79 E2 7A 00 00 00 00
00 00 00 00 00 00 00 00
41 42 43 44 45 46 00 00

Especially:
f2(s.body);
output puzzles me.

Arne

Re: VMS process communication

<tjmvjp$159q$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Sun, 30 Oct 2022 18:59:05 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tjmvjp$159q$1@gioia.aioe.org>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="38202"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.4.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Sun, 30 Oct 2022 22:59 UTC

On 9/12/2022 6:58 PM, Arne Vajhøj wrote:
> I did a little writeup:
>
> https://www.vajhoej.dk/arne/articles/vmsipc.html

>     TCP/IP Socket
>         Concept
>         Demo
>         Java API (Java)
>         C API (C)
>         Python API (Python, Jython)
>         Wrapper C API (Fortran, Pascal, Cobol, Basic)

Just added:

HTTP
Concept
Demo
Embedded server (Java, Python)
Java API (Java)
urllib3 (Python)
Curl (C, PHP)
Direct socket (C)
Wrapper direct socket (Fortran, Pascal, Cobol, Basic)

Arne

Re: VMS process communication

<tjohvn$ghkg$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 31 Oct 2022 13:18:47 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 42
Message-ID: <tjohvn$ghkg$2@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <tjmvjp$159q$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 31 Oct 2022 13:18:47 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a9265c58902673a5101896d12e4f3806";
logging-data="542352"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Xx4bpwku/WoQPAmLtEpp3o3YnH3tNFwA="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:94h8ks666DgZ2cXqzlqPrwD4JvA=
 by: Simon Clubley - Mon, 31 Oct 2022 13:18 UTC

On 2022-10-30, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 9/12/2022 6:58 PM, Arne Vajhøj wrote:
>> I did a little writeup:
>>
>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>

A suggestion: you should add a link back to the main entry point on your
website to the top of each of these pages. There's no immediate obvious
way to get to all of your website when you go in at a specific page such
as this one.

>>     TCP/IP Socket
>>         Concept
>>         Demo
>>         Java API (Java)
>>         C API (C)
>>         Python API (Python, Jython)
>>         Wrapper C API (Fortran, Pascal, Cobol, Basic)
>
> Just added:
>
> HTTP
> Concept
> Demo
> Embedded server (Java, Python)
> Java API (Java)
> urllib3 (Python)
> Curl (C, PHP)
> Direct socket (C)
> Wrapper direct socket (Fortran, Pascal, Cobol, Basic)
>

Have you considered adding articles about 64-bit memory access programming
on VMS and its limits ? Or is everyone already (painfully :-)) aware of
the issues involved here ?

Simon.

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

Re: VMS process communication

<tjprdq$srd$1@gioia.aioe.org>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 31 Oct 2022 21:06:02 -0400
Organization: Aioe.org NNTP Server
Message-ID: <tjprdq$srd$1@gioia.aioe.org>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tjmvjp$159q$1@gioia.aioe.org> <tjohvn$ghkg$2@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="29549"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.4.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Tue, 1 Nov 2022 01:06 UTC

On 10/31/2022 9:18 AM, Simon Clubley wrote:
> On 2022-10-30, Arne Vajhøj <arne@vajhoej.dk> wrote:
>> On 9/12/2022 6:58 PM, Arne Vajhøj wrote:
>>> I did a little writeup:
>>>
>>> https://www.vajhoej.dk/arne/articles/vmsipc.html
>
> A suggestion: you should add a link back to the main entry point on your
> website to the top of each of these pages. There's no immediate obvious
> way to get to all of your website when you go in at a specific page such
> as this one.

There is a link at the bottom.

>>>     TCP/IP Socket
>>>         Concept
>>>         Demo
>>>         Java API (Java)
>>>         C API (C)
>>>         Python API (Python, Jython)
>>>         Wrapper C API (Fortran, Pascal, Cobol, Basic)
>>
>> Just added:
>>
>> HTTP
>> Concept
>> Demo
>> Embedded server (Java, Python)
>> Java API (Java)
>> urllib3 (Python)
>> Curl (C, PHP)
>> Direct socket (C)
>> Wrapper direct socket (Fortran, Pascal, Cobol, Basic)
>>
>
> Have you considered adding articles about 64-bit memory access programming
> on VMS and its limits ? Or is everyone already (painfully :-)) aware of
> the issues involved here ?

I have not considered that.

Long opinionated writing about what DEC decided 30 years ago,
why, consequences of that and, discussions about whether DEC
made the right decision and discussions about what VSI should do
now are out of scope for the series.

And from the more practical perspective I don't think there
is enough to write about. One page with background,
one page with all the stuff one can do in C and one
page about the fun of Java calling C via JNI. That
must be about it.

Arne

Re: VMS process communication

<tug5rg$245tn$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Fri, 10 Mar 2023 16:01:35 -0500
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <tug5rg$245tn$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tjmvjp$159q$1@gioia.aioe.org> <tjohvn$ghkg$2@dont-email.me>
<tjprdq$srd$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 10 Mar 2023 21:01:36 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="5f6bcaf0ef53b8d32031a11368a4c9bc";
logging-data="2234295"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+gx7hTiYma41feb5pqk34Yl5J+9Fzs120="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:ff+BQpPOqNlFMxcbOWvi/px4qw0=
Content-Language: en-US
In-Reply-To: <tjprdq$srd$1@gioia.aioe.org>
 by: Arne Vajhøj - Fri, 10 Mar 2023 21:01 UTC

On 10/31/2022 9:06 PM, Arne Vajhøj wrote:
> On 10/31/2022 9:18 AM, Simon Clubley wrote:
>> Have you considered adding articles about 64-bit memory access
>> programming
>> on VMS and its limits ? Or is everyone already (painfully :-)) aware of
>> the issues involved here ?
>
> I have not considered that.
>
> Long opinionated writing about what DEC decided 30 years ago,
> why, consequences of that and, discussions about whether DEC
> made the right decision and discussions about what VSI should do
> now are out of scope for the series.
>
> And from the more practical perspective I don't think there
> is enough to write about. One page with background,
> one page with all the stuff one can do in C and one
> page about the fun of Java calling C via JNI. That
> must be about it.

I decided to do it anyway.

And it turned out to be more than 3 pages to write.

Pre-release for comments:

https://www.vajhoej.dk/arne/articles/vms64.html

Arne

Re: VMS process communication

<tugdbo$25f5e$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: craigbe...@nospam.mac.com (Craig A. Berry)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Fri, 10 Mar 2023 17:09:44 -0600
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <tugdbo$25f5e$1@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 10 Mar 2023 23:09:45 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="47a850e4de3befe8f8bdaad108869984";
logging-data="2276526"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181gGSYmCYx9MlYuHWkOeBt+EuKrf0Laiw="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.8.0
Cancel-Lock: sha1:c/kI2b540Y5GwuVLg/v9h5FfE4M=
In-Reply-To: <tug5rg$245tn$1@dont-email.me>
X-Forwarded-Message-Id: <tug5rg$245tn$1@dont-email.me>
Content-Language: en-US
 by: Craig A. Berry - Fri, 10 Mar 2023 23:09 UTC

On 10/31/2022 9:06 PM, Arne Vajhøj wrote:
> On 10/31/2022 9:18 AM, Simon Clubley wrote:
>> Have you considered adding articles about 64-bit memory access
>> programming
>> on VMS and its limits ? Or is everyone already (painfully :-)) aware

> I decided to do it anyway.
>
> And it turned out to be more than 3 pages to write.
>
> Pre-release for comments:
>
> https://www.vajhoej.dk/arne/articles/vms64.html

Looks good. Thanks for doing that. You may be interested in the
following tidbits that showed up in the release notes for the new
clang++ compiler:

1.3 Differences Between C++ on OpenVMS Itanium and OpenVMS x86

The datatypes 'long', 'size_t', 'nullptr_t', 'ptrdiff_t' are 64-bits
wide on OpenVMS x86 but only 32-bits wide on OpenVMS Itanium.

The default size for pointers is 64-bits on OpenVMS x86 but only 32-bits
on OpenVMS Itanium.

Re: VMS process communication

<tugga9$25q5s$3@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Fri, 10 Mar 2023 19:00:08 -0500
Organization: A noiseless patient Spider
Lines: 49
Message-ID: <tugga9$25q5s$3@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 11 Mar 2023 00:00:09 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="80e9c50672ca2b6ced4265dd5e7ec232";
logging-data="2287804"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/16S05luk+ClVo5thVy1hZHXIlmy706lY="
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:Psj6KQ6MWYgyrClHGxEyC1kNQFs=
In-Reply-To: <tugdbo$25f5e$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Sat, 11 Mar 2023 00:00 UTC

On 3/10/2023 6:09 PM, Craig A. Berry wrote:
>
> On 10/31/2022 9:06 PM, Arne Vajhøj wrote:
>> On 10/31/2022 9:18 AM, Simon Clubley wrote:
>>> Have you considered adding articles about 64-bit memory access
>>> programming
>>> on VMS and its limits ? Or is everyone already (painfully :-)) aware
>
>> I decided to do it anyway.
>>
>> And it turned out to be more than 3 pages to write.
>>
>> Pre-release for comments:
>>
>> https://www.vajhoej.dk/arne/articles/vms64.html
>
>
> Looks good.  Thanks for doing that.  You may be interested in the
> following tidbits that showed up in the release notes for the new
> clang++ compiler:
>
> 1.3 Differences Between C++ on OpenVMS Itanium and OpenVMS x86
>
> The datatypes 'long', 'size_t', 'nullptr_t', 'ptrdiff_t' are 64-bits
> wide on OpenVMS x86 but only 32-bits wide on OpenVMS Itanium.
>
> The default size for pointers is 64-bits on OpenVMS x86 but only 32-bits
> on OpenVMS Itanium.

So /POINTER=64 is default. I should make a note about that.

Curious about long being 64 bit.

So:
Alpha & Itanium x86-64
short 16 16
int 32 32
long 32 64
long long 64 ?

?

I guess it is way overdue to always use intxx_t!

:-)

Arne

Re: VMS process communication

<8636cc3e-df45-4e69-855c-dd87ec4593d6n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:e11:b0:73b:9bb4:1f68 with SMTP id y17-20020a05620a0e1100b0073b9bb41f68mr3037032qkm.9.1678701388225;
Mon, 13 Mar 2023 02:56:28 -0700 (PDT)
X-Received: by 2002:ac8:4592:0:b0:3c0:40c1:e5ac with SMTP id
l18-20020ac84592000000b003c040c1e5acmr5240294qtn.6.1678701387980; Mon, 13 Mar
2023 02:56:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Mon, 13 Mar 2023 02:56:27 -0700 (PDT)
In-Reply-To: <tug5rg$245tn$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=217.91.122.53; posting-account=rjF0WAoAAAC39hl8XmA2ge39LAbz78Ru
NNTP-Posting-Host: 217.91.122.53
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <tjmvjp$159q$1@gioia.aioe.org>
<tjohvn$ghkg$2@dont-email.me> <tjprdq$srd$1@gioia.aioe.org> <tug5rg$245tn$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8636cc3e-df45-4e69-855c-dd87ec4593d6n@googlegroups.com>
Subject: Re: VMS process communication
From: gru...@isidata.de (Andreas Gruhl)
Injection-Date: Mon, 13 Mar 2023 09:56:28 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3602
 by: Andreas Gruhl - Mon, 13 Mar 2023 09:56 UTC

Arne Vajhøj schrieb am Freitag, 10. März 2023 um 22:01:40 UTC+1:
> On 10/31/2022 9:06 PM, Arne Vajhøj wrote:
> > On 10/31/2022 9:18 AM, Simon Clubley wrote:
> >> Have you considered adding articles about 64-bit memory access
> >> programming
> >> on VMS and its limits ? Or is everyone already (painfully :-)) aware of
> >> the issues involved here ?
> >
> > I have not considered that.
> >
> > Long opinionated writing about what DEC decided 30 years ago,
> > why, consequences of that and, discussions about whether DEC
> > made the right decision and discussions about what VSI should do
> > now are out of scope for the series.
> >
> > And from the more practical perspective I don't think there
> > is enough to write about. One page with background,
> > one page with all the stuff one can do in C and one
> > page about the fun of Java calling C via JNI. That
> > must be about it.
> I decided to do it anyway.
>
> And it turned out to be more than 3 pages to write.
>
> Pre-release for comments:
>
> https://www.vajhoej.dk/arne/articles/vms64.html
>
> Arne

Thanks for your effort.

I like to add, that you can successfully access the lower 2 GB of P2
(%X00000000 80000000..%X00000000 FFFFFFFF) with 32 bit
pointers and descriptors.
You only have to treat the pointers as unsigned instead of signed
avoiding them to be interpreted as S0/S1 addresses.
We successfully use this in Pascal, which is missing 64-Bit descriptors.
The caller of a routine can then simply pass a structure in lower P2
without any special adaptions (except having to use the compiler
qualifier /USAGE=64BIT_TO_DESCR).
The routine itself has to do some additional work. It must extract the
structure's address from the descriptor and copy it to a 64-Bit Pointer
WITHOUT sign extension.
This makes the structure directly accessible although it resides in P2.

I wished treating descriptor pointers as unsigned would be the default
behaviour. The reason is simple: You will find extremely few application
programmers who ever needed to access an S0 or S1 structure via
descriptor - but many who would like to access P2 data.

Treating 32-bit pointers as unsigned is probably possible in any language
available under VMS.

Andreas

Re: VMS process communication

<tumth6$25eh$1@news.cyber23.de>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.cyber23.de!.POSTED!not-for-mail
From: jou...@hrem.nano.tudelft.nl (JOUKJ)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 11:22:29 +0100
Organization: Cyber23 news
Message-ID: <tumth6$25eh$1@news.cyber23.de>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <tjmvjp$159q$1@gioia.aioe.org> <tjohvn$ghkg$2@dont-email.me> <tjprdq$srd$1@gioia.aioe.org> <tug5rg$245tn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 10:22:30 -0000 (UTC)
Injection-Info: news.cyber23.de;
logging-data="71121"; mail-complaints-to="abuse@cyber23.de"
User-Agent: Mozilla/5.0 (X11; U; OpenVMS COMPAQ_Professional_Workstation; en-US; rv:1.8.1.17) Gecko/20081029 SeaMonkey/1.1.12
In-Reply-To: <tug5rg$245tn$1@dont-email.me>
 by: JOUKJ - Mon, 13 Mar 2023 10:22 UTC

Arne Vajhøj wrote:
> On 10/31/2022 9:06 PM, Arne Vajhøj wrote:
>> On 10/31/2022 9:18 AM, Simon Clubley wrote:
>>> Have you considered adding articles about 64-bit memory access
>>> programming
>>> on VMS and its limits ? Or is everyone already (painfully :-)) aware of
>>> the issues involved here ?
>>
>> I have not considered that.
>>
>> Long opinionated writing about what DEC decided 30 years ago,
>> why, consequences of that and, discussions about whether DEC
>> made the right decision and discussions about what VSI should do
>> now are out of scope for the series.
>>
>> And from the more practical perspective I don't think there
>> is enough to write about. One page with background,
>> one page with all the stuff one can do in C and one
>> page about the fun of Java calling C via JNI. That
>> must be about it.
>
> I decided to do it anyway.
>
> And it turned out to be more than 3 pages to write.
>
> Pre-release for comments:
>
> https://www.vajhoej.dk/arne/articles/vms64.html
>
> Arne
>
>
>
I maintain a web-page on 64-bit pointers when using VSI-Fortran. The
site contains many problems you can encounter and what the work-arounds are.

Jouk

Re: VMS process communication

<tumtkf$25eh$2@news.cyber23.de>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.cyber23.de!.POSTED!not-for-mail
From: jou...@hrem.nano.tudelft.nl (JOUKJ)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 11:24:15 +0100
Organization: Cyber23 news
Message-ID: <tumtkf$25eh$2@news.cyber23.de>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <tjmvjp$159q$1@gioia.aioe.org> <tjohvn$ghkg$2@dont-email.me> <tjprdq$srd$1@gioia.aioe.org> <tug5rg$245tn$1@dont-email.me> <tumth6$25eh$1@news.cyber23.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 13 Mar 2023 10:24:15 -0000 (UTC)
Injection-Info: news.cyber23.de;
logging-data="71121"; mail-complaints-to="abuse@cyber23.de"
User-Agent: Mozilla/5.0 (X11; U; OpenVMS COMPAQ_Professional_Workstation; en-US; rv:1.8.1.17) Gecko/20081029 SeaMonkey/1.1.12
In-Reply-To: <tumth6$25eh$1@news.cyber23.de>
 by: JOUKJ - Mon, 13 Mar 2023 10:24 UTC

JOUKJ wrote:
> I maintain a web-page on 64-bit pointers when using VSI-Fortran. The
> site contains many problems you can encounter and what the work-arounds
> are.

I forgot to copy the link:

http://nchrem.tnw.tudelft.nl/openvms/fortran64.html

Re: VMS process communication

<tun5hl$3oae8$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jan-erik...@telia.com (Jan-Erik Söderholm)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 13:39:17 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <tun5hl$3oae8$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk>
<tjmvjp$159q$1@gioia.aioe.org> <tjohvn$ghkg$2@dont-email.me>
<tjprdq$srd$1@gioia.aioe.org> <tug5rg$245tn$1@dont-email.me>
<tumth6$25eh$1@news.cyber23.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 12:39:17 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="cbe686dc5a3100595407ce0c866de2cf";
logging-data="3942856"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18Xt4qBMiyftw7zc2rFKTnH"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Cancel-Lock: sha1:7tE8JSLRsmxRC/XibUHzrJNwq8o=
Content-Language: sv
In-Reply-To: <tumth6$25eh$1@news.cyber23.de>
 by: Jan-Erik Söderholm - Mon, 13 Mar 2023 12:39 UTC

Den 2023-03-13 kl. 11:22, skrev JOUKJ:
> Arne Vajhøj wrote:
>>
>> Pre-release for comments:
>>
>> https://www.vajhoej.dk/arne/articles/vms64.html
>>
>> Arne

A bit pre-dated also... :-)

Article history:
Version Date Description
0.9 March 10th 20223 Pre-release

Re: VMS process communication

<tun8dc$3pcth$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 13:28:12 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <tun8dc$3pcth$1@dont-email.me>
References: <631fb9a1$0$703$14726298@news.sunsite.dk> <tjmvjp$159q$1@gioia.aioe.org> <tjohvn$ghkg$2@dont-email.me> <tjprdq$srd$1@gioia.aioe.org> <tug5rg$245tn$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 13:28:12 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6d7a3112608519bf4be3df7383d075af";
logging-data="3978161"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19PCsYaE8nSzADS8g1I8l8GmUInExugO9g="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:EOAbKlh01RtUN6N6sYuHDXPbwOw=
 by: Simon Clubley - Mon, 13 Mar 2023 13:28 UTC

On 2023-03-10, Arne Vajhøj <arne@vajhoej.dk> wrote:
> On 10/31/2022 9:06 PM, Arne Vajhøj wrote:
>> On 10/31/2022 9:18 AM, Simon Clubley wrote:
>>> Have you considered adding articles about 64-bit memory access
>>> programming
>>> on VMS and its limits ? Or is everyone already (painfully :-)) aware of
>>> the issues involved here ?
>>
>> I have not considered that.
>>
>> Long opinionated writing about what DEC decided 30 years ago,
>> why, consequences of that and, discussions about whether DEC
>> made the right decision and discussions about what VSI should do
>> now are out of scope for the series.
>>
>> And from the more practical perspective I don't think there
>> is enough to write about. One page with background,
>> one page with all the stuff one can do in C and one
>> page about the fun of Java calling C via JNI. That
>> must be about it.
>
> I decided to do it anyway.
>
> And it turned out to be more than 3 pages to write.
>
> Pre-release for comments:
>
> https://www.vajhoej.dk/arne/articles/vms64.html
>

Typo:

"reduce memoy usage"

Generally, a well-written article.

One comment is to consider what the average person used to other operating
systems may ask and that is "why wasn't the operating system and the RTLs
simply recompiled to use 64-bit pointers instead of 32-bit pointers" ?

You have done some work at explaining this, but it doesn't state clearly
enough the real answer, which is that on VMS, pointers in the languages
and structures used to implement VMS are not hidden behind an abstracted
pointer type (ie: unsigned char *ptr), but are really just directly visible
integers (ie: uint32_t ptr).

Simon.

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

Re: VMS process communication

<tun8lr$3pcth$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: club...@remove_me.eisner.decus.org-Earth.UFP (Simon Clubley)
Newsgroups: comp.os.vms
Subject: Re: VMS process communication
Date: Mon, 13 Mar 2023 13:32:43 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <tun8lr$3pcth$2@dont-email.me>
References: <tug5rg$245tn$1@dont-email.me> <tugdbo$25f5e$1@dont-email.me> <tugga9$25q5s$3@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Mar 2023 13:32:43 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6d7a3112608519bf4be3df7383d075af";
logging-data="3978161"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18EO/vMRO3zVGPWGGPOs/zn2v3UbRfo54o="
User-Agent: slrn/0.9.8.1 (VMS/Multinet)
Cancel-Lock: sha1:cayXHB8C0kS2b0+emQwfghnsqOs=
 by: Simon Clubley - Mon, 13 Mar 2023 13:32 UTC

On 2023-03-10, Arne Vajhøj <arne@vajhoej.dk> wrote:
>
> So /POINTER=64 is default. I should make a note about that.
>
> Curious about long being 64 bit.
>
> So:
> Alpha & Itanium x86-64
> short 16 16
> int 32 32
> long 32 64
> long long 64 ?
>
> ?
>
> I guess it is way overdue to always use intxx_t!
>
>:-)
>

Even better is to use uintXX_t unless you really want a signed integer. :-)

A big mistake languages made (IMHO) was to make their integers signed
by default, instead of you needing to ask for a signed integer if you
really needed one.

Simon.

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

Pages:123456789
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor