Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

I do not fear computers. I fear the lack of them. -- Isaac Asimov


computers / comp.os.vms / Re: VSI roadmap

SubjectAuthor
* VSI roadmapArne Vajhøj
+* Re: VSI roadmapDave Froble
|+* Re: VSI roadmapArne Vajhøj
||`* Re: VSI roadmapbill
|| +- Re: VSI roadmapDave Froble
|| +- Re: VSI roadmapArne Vajhøj
|| `* Re: VSI roadmapultr...@gmail.com
||  +* Re: VSI roadmapArne Vajhøj
||  |`- Re: VSI roadmapArne Vajhøj
||  +- Re: VSI roadmapDave Froble
||  `* Re: VSI roadmapSimon Clubley
||   `* Re: VSI roadmapChris Townley
||    `* Re: VSI roadmapSimon Clubley
||     +- Re: VSI roadmapDave Froble
||     +* Re: VSI roadmapChris Townley
||     |+- Re: VSI roadmapArne Vajhøj
||     |`* Re: VSI roadmapbill
||     | `- Re: VSI roadmapArne Vajhøj
||     `* Re: VSI roadmapArne Vajhøj
||      `* Re: VSI roadmapSimon Clubley
||       +* Re: VSI roadmapbill
||       |`- Re: VSI roadmapSimon Clubley
||       `- Re: VSI roadmapArne Vajhøj
|`- Re: VSI roadmapSimon Clubley
`* Re: VSI roadmapMarc Van Dyck
 `* Re: VSI roadmapArne Vajhøj
  +- Re: VSI roadmapRobert A. Brooks
  `* Re: VSI roadmapdthi...@gmail.com
   +- Re: VSI roadmapRobert A. Brooks
   +- Re: VSI roadmapDan Cross
   +- Re: VSI roadmapArne Vajhøj
   `* Re: VSI roadmapDave Froble
    `* Re: VSI roadmapJan-Erik Söderholm
     `* Re: VSI roadmapDave Froble
      +* Re: VSI roadmapJan-Erik Söderholm
      |`* Re: VSI roadmapArne Vajhøj
      | `- Re: VSI roadmapChris Townley
      +- Re: VSI roadmapJan-Erik Söderholm
      +* Re: VSI roadmapArne Vajhøj
      |`- Re: VSI roadmapDave Froble
      +* Re: VSI roadmapChris Townley
      |`- Re: VSI roadmapbill
      +* Re: VSI roadmapJohnny Billquist
      |`* Re: VSI roadmapDave Froble
      | `* Re: VSI roadmapJohnny Billquist
      |  `* Re: VSI roadmapJan-Erik Söderholm
      |   `- Re: VSI roadmapJohnny Billquist
      `* Re: VSI roadmapSimon Clubley
       +* Re: VSI roadmapJohnny Billquist
       |`* Re: VSI roadmapArne Vajhøj
       | `- Re: VSI roadmapArne Vajhøj
       `* Re: VSI roadmapArne Vajhøj
        +* Re: VSI roadmapDave Froble
        |+- Re: VSI roadmapArne Vajhøj
        |`* Re: VSI roadmapterry-...@glaver.org
        | `- Re: VSI roadmapJohnny Billquist
        +* Re: VSI roadmapSimon Clubley
        |+* Re: VSI roadmapDavid Jones
        ||+* Re: VSI roadmapSimon Clubley
        |||+- Re: VSI roadmapDavid Jones
        |||+- Re: VSI roadmapArne Vajhøj
        |||+- Re: VSI roadmapDave Froble
        |||`* Re: VSI roadmapJohnny Billquist
        ||| `* Re: VSI roadmapDavid Jones
        |||  `* Re: VSI roadmapJan-Erik Söderholm
        |||   `* Re: VSI roadmapDavid Jones
        |||    `- Re: VSI roadmapArne Vajhøj
        ||`* Re: VSI roadmapterry-...@glaver.org
        || +* Re: VSI roadmapJohnny Billquist
        || |`* Re: VSI roadmapterry-...@glaver.org
        || | `* Re: VSI roadmapJohnny Billquist
        || |  `- Re: VSI roadmapterry-...@glaver.org
        || +- Re: VSI roadmapDavid Jones
        || `* Re: VSI roadmapArne Vajhøj
        ||  `- Re: VSI roadmapArne Vajhøj
        |+- Re: VSI roadmapArne Vajhøj
        |`* Re: VSI roadmapJohnny Billquist
        | `* Re: VSI roadmapDave Froble
        |  `* Re: VSI roadmapJohnny Billquist
        |   `- Re: VSI roadmapArne Vajhøj
        `* Re: VSI roadmapDavid Jones
         `* Re: VSI roadmapArne Vajhøj
          +- Re: VSI roadmapArne Vajhøj
          `* Re: VSI roadmapDavid Jones
           `- Re: VSI roadmapArne Vajhøj

Pages:1234
Re: VSI roadmap

<uc8dil$3k2k8$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VSI roadmap
Date: Thu, 24 Aug 2023 16:12:08 -0400
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <uc8dil$3k2k8$1@dont-email.me>
References: <ubjb57$3e2qk$1@dont-email.me>
<mn.8c117e78dac87fca.104627@invalid.skynet.be> <ubm9cj$3ulrh$1@dont-email.me>
<77fe801a-48fc-4c08-880c-01642ae50349n@googlegroups.com>
<ubo70e$b1am$1@dont-email.me> <ubobfg$bgl8$1@dont-email.me>
<ubokse$d0ca$1@dont-email.me> <ubvk7m$1su3r$1@dont-email.me>
<uc3ig2$2k0v9$1@dont-email.me> <uc4u0i$2ttvq$1@dont-email.me>
<uc79hm$g1c$2@news.misty.com> <uc7o43$3g9cs$2@dont-email.me>
<uc844r$gdi$1@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 24 Aug 2023 20:12:05 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="58515dbe5c53baebfbb419de6031a793";
logging-data="3803784"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HucGe/kmsOKs3GlJfZB2e4K1MWoV1Oa4="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:y9sfKlRz52jzxja1H1Ss7H/ykwc=
In-Reply-To: <uc844r$gdi$1@news.misty.com>
Content-Language: en-US
 by: Arne Vajhøj - Thu, 24 Aug 2023 20:12 UTC

On 8/24/2023 1:31 PM, Johnny Billquist wrote:
> On 2023-08-24 16:05, Dave Froble wrote:
>> RMS keys are defined as locations in a data record.  Not sure I'd
>> define that as "information about fields".  As far as I know, RMS
>> (other than key definitions) knows nothing about data
>> fields/columns/whatever.
>
> RMS keys have a type (obviously). You can also have some meta-data, even
> though I suspect it's mostly not used...

> Note both the name, and type information for each key. However, the name
> have no function as such within RMS. At least not under RSX. But you can
> put information there if you want to.

Pretty much same on VMS.

The manual for XABKEY lists among other fields:

XAB$B_DTP : key type and order
XAB$B_FLG : flags (incl. allowing duplicates or not)
XAB$L_KNM : name (only used for documentation)
XAB$W_POSn : position in record (only n=0 used if non segmented key)
XAB$B_SIZn : size (only n=0 used if non segmented key)
XAB$B_REF : key number (0 is primay key)

Arne

Re: VSI roadmap

<uc8e1n$3k2k8$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VSI roadmap
Date: Thu, 24 Aug 2023 16:20:07 -0400
Organization: A noiseless patient Spider
Lines: 19
Message-ID: <uc8e1n$3k2k8$2@dont-email.me>
References: <ubjb57$3e2qk$1@dont-email.me>
<mn.8c117e78dac87fca.104627@invalid.skynet.be> <ubm9cj$3ulrh$1@dont-email.me>
<77fe801a-48fc-4c08-880c-01642ae50349n@googlegroups.com>
<ubo70e$b1am$1@dont-email.me> <ubobfg$bgl8$1@dont-email.me>
<ubokse$d0ca$1@dont-email.me> <ubvk7m$1su3r$1@dont-email.me>
<uc3ig2$2k0v9$1@dont-email.me> <uc4u0i$2ttvq$1@dont-email.me>
<f3087f6d-13f3-4080-9cc9-380e81311075n@googlegroups.com>
<uc5egh$30nuh$1@dont-email.me> <uc79m6$g1c$3@news.misty.com>
<f977c9d7-bb99-4fe0-af87-a5311d351bccn@googlegroups.com>
<uc7hht$3f0ee$1@dont-email.me>
<edaa5387-f4cc-4946-82af-e93808d1f9b5n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 24 Aug 2023 20:20:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="58515dbe5c53baebfbb419de6031a793";
logging-data="3803784"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/CSLca1i7EWuvyWoF7mOHy+2M9cBKhXMg="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:CMpiwbKD4xAaD5AAfvIO3BBvePA=
Content-Language: en-US
In-Reply-To: <edaa5387-f4cc-4946-82af-e93808d1f9b5n@googlegroups.com>
 by: Arne Vajhøj - Thu, 24 Aug 2023 20:20 UTC

On 8/24/2023 9:04 AM, David Jones wrote:
> On Thursday, August 24, 2023 at 8:13:53 AM UTC-4, Jan-Erik Söderholm wrote:
>> $ help eoj
>>
>> EOJ
>>
>> Marks the end of a batch job submitted through a card reader.
>
> I got into the habit of using EOJ to logout as most sys admins that think
> it's useful to define a logout symbol aren't aware this alternative exists. It
> is a little cleaner than stop/id=0.

Same here.

It just got in my fingers a long time ago.

Arne

Re: VSI roadmap

<07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:8e9:b0:63c:e916:a2cf with SMTP id dr9-20020a05621408e900b0063ce916a2cfmr337855qvb.6.1692937079064;
Thu, 24 Aug 2023 21:17:59 -0700 (PDT)
X-Received: by 2002:a05:622a:188b:b0:410:840c:def6 with SMTP id
v11-20020a05622a188b00b00410840cdef6mr337596qtc.10.1692937078854; Thu, 24 Aug
2023 21:17:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.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: Thu, 24 Aug 2023 21:17:58 -0700 (PDT)
In-Reply-To: <f3087f6d-13f3-4080-9cc9-380e81311075n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=100.8.228.76; posting-account=2vnRtAoAAAAE0ap3uRDMDu6cngT6BrOO
NNTP-Posting-Host: 100.8.228.76
References: <ubjb57$3e2qk$1@dont-email.me> <mn.8c117e78dac87fca.104627@invalid.skynet.be>
<ubm9cj$3ulrh$1@dont-email.me> <77fe801a-48fc-4c08-880c-01642ae50349n@googlegroups.com>
<ubo70e$b1am$1@dont-email.me> <ubobfg$bgl8$1@dont-email.me>
<ubokse$d0ca$1@dont-email.me> <ubvk7m$1su3r$1@dont-email.me>
<uc3ig2$2k0v9$1@dont-email.me> <uc4u0i$2ttvq$1@dont-email.me> <f3087f6d-13f3-4080-9cc9-380e81311075n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>
Subject: Re: VSI roadmap
From: terry-gr...@glaver.org (terry-...@glaver.org)
Injection-Date: Fri, 25 Aug 2023 04:17:59 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2290
 by: terry-...@glaver.org - Fri, 25 Aug 2023 04:17 UTC

On Wednesday, August 23, 2023 at 10:47:38 AM UTC-4, David Jones wrote:
> To support any number of Unix applications reading of files, the C runtime
> includes fgets() to return what is logically a record. So what?

That fails woefully even on some text file formats. I probably sound like I'm beating a dead horse, but go look at ckvfio.c for an idea of what is really needed to get text lines out of RMS regardless of the file format. For those who say "RMS contains all of the necessary info", go look at how True BASIC stores the source code for user-written programs (hint: RMS undefined).

In addition to doing the C-Kermit work myself, I hit the Info-ZIP people with a clue-by-four to get rid of the abomination that was BILF.

Re: VSI roadmap

<uc9tau$lhn$3@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.80-218-16-84.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: VSI roadmap
Date: Fri, 25 Aug 2023 11:47:10 +0200
Organization: MGT Consulting
Message-ID: <uc9tau$lhn$3@news.misty.com>
References: <ubjb57$3e2qk$1@dont-email.me>
<mn.8c117e78dac87fca.104627@invalid.skynet.be> <ubm9cj$3ulrh$1@dont-email.me>
<77fe801a-48fc-4c08-880c-01642ae50349n@googlegroups.com>
<ubo70e$b1am$1@dont-email.me> <ubobfg$bgl8$1@dont-email.me>
<ubokse$d0ca$1@dont-email.me> <ubvk7m$1su3r$1@dont-email.me>
<uc3ig2$2k0v9$1@dont-email.me> <uc4u0i$2ttvq$1@dont-email.me>
<f3087f6d-13f3-4080-9cc9-380e81311075n@googlegroups.com>
<07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 25 Aug 2023 09:47:10 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="80-218-16-84.dclient.hispeed.ch:80.218.16.84";
logging-data="22071"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
In-Reply-To: <07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>
 by: Johnny Billquist - Fri, 25 Aug 2023 09:47 UTC

On 2023-08-25 06:17, terry-...@glaver.org wrote:
> On Wednesday, August 23, 2023 at 10:47:38 AM UTC-4, David Jones wrote:
>> To support any number of Unix applications reading of files, the C runtime
>> includes fgets() to return what is logically a record. So what?
>
> That fails woefully even on some text file formats. I probably sound like I'm beating a dead horse, but go look at ckvfio.c for an idea of what is really needed to get text lines out of RMS regardless of the file format. For those who say "RMS contains all of the necessary info", go look at how True BASIC stores the source code for user-written programs (hint: RMS undefined).

Well, to be fair - RMS undefined is hardly a "text file format". :-)
That's a very weird choice for any program to use for source code.

Johnny

Re: VSI roadmap

<508fc38c-ce26-44cb-b50d-185d8cbab1acn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:46a5:b0:76d:567a:42f0 with SMTP id bq37-20020a05620a46a500b0076d567a42f0mr560774qkb.3.1692977045880;
Fri, 25 Aug 2023 08:24:05 -0700 (PDT)
X-Received: by 2002:a05:620a:47a4:b0:76e:f942:b32d with SMTP id
dt36-20020a05620a47a400b0076ef942b32dmr209425qkb.0.1692977045617; Fri, 25 Aug
2023 08:24:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.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: Fri, 25 Aug 2023 08:24:05 -0700 (PDT)
In-Reply-To: <07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=104.231.150.181; posting-account=CO-_tAoAAACjjs2KLAw3xVKCy6Z_J3VK
NNTP-Posting-Host: 104.231.150.181
References: <ubjb57$3e2qk$1@dont-email.me> <mn.8c117e78dac87fca.104627@invalid.skynet.be>
<ubm9cj$3ulrh$1@dont-email.me> <77fe801a-48fc-4c08-880c-01642ae50349n@googlegroups.com>
<ubo70e$b1am$1@dont-email.me> <ubobfg$bgl8$1@dont-email.me>
<ubokse$d0ca$1@dont-email.me> <ubvk7m$1su3r$1@dont-email.me>
<uc3ig2$2k0v9$1@dont-email.me> <uc4u0i$2ttvq$1@dont-email.me>
<f3087f6d-13f3-4080-9cc9-380e81311075n@googlegroups.com> <07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <508fc38c-ce26-44cb-b50d-185d8cbab1acn@googlegroups.com>
Subject: Re: VSI roadmap
From: osuvma...@gmail.com (David Jones)
Injection-Date: Fri, 25 Aug 2023 15:24:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2421
 by: David Jones - Fri, 25 Aug 2023 15:24 UTC

On Friday, August 25, 2023 at 12:18:00 AM UTC-4, terry-...@glaver.org wrote:
> On Wednesday, August 23, 2023 at 10:47:38 AM UTC-4, David Jones wrote:
> > To support any number of Unix applications reading of files, the C runtime
> > includes fgets() to return what is logically a record. So what?
> That fails woefully even on some text file formats. I probably sound like I'm beating a dead horse, but go look at ckvfio.c for an idea of what is really needed to get text lines out of RMS regardless of the file format. For those who say "RMS contains all of the necessary info", go look at how True BASIC stores the source code for user-written programs (hint: RMS undefined).

That rant is orthogonal to the point I was making. Unix applications run anywhere use fgets(), not just on OpenVMS.

Re: VSI roadmap

<ucdco0$mf32$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VSI roadmap
Date: Sat, 26 Aug 2023 13:28:32 -0400
Organization: A noiseless patient Spider
Lines: 230
Message-ID: <ucdco0$mf32$1@dont-email.me>
References: <ubjb57$3e2qk$1@dont-email.me>
<mn.8c117e78dac87fca.104627@invalid.skynet.be> <ubm9cj$3ulrh$1@dont-email.me>
<77fe801a-48fc-4c08-880c-01642ae50349n@googlegroups.com>
<ubo70e$b1am$1@dont-email.me> <ubobfg$bgl8$1@dont-email.me>
<ubokse$d0ca$1@dont-email.me> <ubvk7m$1su3r$1@dont-email.me>
<uc3ig2$2k0v9$1@dont-email.me> <uc4u0i$2ttvq$1@dont-email.me>
<f3087f6d-13f3-4080-9cc9-380e81311075n@googlegroups.com>
<07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 26 Aug 2023 17:28:32 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="963d0b4c3a6b0f45160611def803fde9";
logging-data="736354"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19K5Wwk6ysnmV8USdv2Y26bYAejIi3wmsU="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:XmE2TInd7kkiMraV0nH3aPa9AdU=
In-Reply-To: <07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>
Content-Language: en-US
 by: Arne Vajhøj - Sat, 26 Aug 2023 17:28 UTC

On 8/25/2023 12:17 AM, terry-...@glaver.org wrote:
> On Wednesday, August 23, 2023 at 10:47:38 AM UTC-4, David Jones
> wrote:
>> To support any number of Unix applications reading of files, the C
>> runtime includes fgets() to return what is logically a record. So
>> what?
>
> That fails woefully even on some text file formats. I probably sound
> like I'm beating a dead horse, but go look at ckvfio.c for an idea of
> what is really needed to get text lines out of RMS regardless of the
> file format. For those who say "RMS contains all of the necessary
> info", go look at how True BASIC stores the source code for
> user-written programs (hint: RMS undefined).

RFM=UDF is not intended to be used for text files.

In general the VMS expectation is that operations
going through RMS should work transparently independent
of ORG and RFM to the extent that it makes logical
sense.

It seems to almost be the case.

Small test on VMS Alpha 8.4.

ffun.com:

$ type ffun_c.c
$ cc ffun_c
$ link ffun_c
$ type ffun_p.pas
$ pas ffun_p
$ link ffun_p
$ create ffun.txt
AA
BB
CC
$ $ call fcheck
$ convert/fdl="record; format stream_lf" ffun.txt ffun.txt
$ call fcheck
$ convert/fdl="record; format stream" ffun.txt ffun.txt
$ call fcheck
$ convert/fdl="record; format stream_cr" ffun.txt ffun.txt
$ call fcheck
$ convert/fdl="record; format vfc" ffun.txt ffun.txt
$ call fcheck
$ convert/fdl="record; format fixed; size 2" ffun.txt ffun.txt
$ call fcheck
$ convert/fdl="file; organization indexed; key 0; seg0_length 1;
seg0_position 0; type string" ffun.txt ffun.txt
$ call fcheck
$ exit
$!
$ fcheck: subroutine
$ write sys$output f$fao("org=!AS rfm=!AS eof=!UL ffb=!UL",
f$file("ffun.txt", "org"), f$file("ffun.txt", "rfm"), f$file("ffun.txt",
"eof"), f$file("ffun.txt", "ffb"))
$ on error then continue
$ write sys$output "C"
$ run ffun_c
$ write sys$output "Pascal"
$ run ffun_p
$ write sys$output "DCL"
$ open/read f ffun.txt
$ loop:
$ read/end=endloop f line
$ write sys$output "|" + line + "|"
$ goto loop
$ endloop:
$ close f
$ return
$ endsubroutine

output:

#include <stdio.h>
#include <string.h>

int main(int argc, char *argv[])
{ FILE *fp;
char line[32768];
fp = fopen("ffun.txt", "r");
line[0] = '|';
while(fgets(line + 1, sizeof(line) - 1, fp))
{
if(line[strlen(line) - 1] == '\n') line[strlen(line) - 1] = 0;
strcat(line, "|");
puts(line);
}
fclose(fp);
return 0;
} program ffun(input,output);

var
f : text;
line : varying [32767] of char;

begin
open(f, 'ffun.txt', old);
reset(f);
while not eof(f) do begin
readln(f, line);
writeln('|' + line + '|');
end;
close(f);
end.
org=SEQ rfm=VAR eof=1 ffb=12
C |AA|
|BB|
|CC|
Pascal
|AA|
|BB|
|CC|
DCL
|AA|
|BB|
|CC|
org=SEQ rfm=STMLF eof=1 ffb=9
C |AA|
|BB|
|CC|
Pascal
|AA|
|BB|
|CC|
DCL
|AA|
|BB|
|CC|
org=SEQ rfm=STM eof=1 ffb=12
C |AA|
|BB|
|CC|
Pascal
|AA|
|BB|
|CC|
DCL
|AA|
|BB|
|CC|
org=SEQ rfm=STMCR eof=1 ffb=9
C |AA|
|BB|
|CC|
Pascal
|AA|
|BB|
|CC|
DCL
|AA|
|BB|
|CC|
org=SEQ rfm=VFC eof=1 ffb=18
C ||
||
||
Pascal
|AA|
|BB|
|CC|
DCL
|AA|
|BB|
|CC|
org=SEQ rfm=FIX eof=1 ffb=6
C |AA|
|BB|
|CC|
Pascal
|AA|
|BB|
|CC|
DCL
|AA|
|BB|
|CC|
org=IDX rfm=VAR eof=16 ffb=0
C |AA|
|BB|
|CC|
Pascal
%PAS-F-TEXREQSEQ, textfiles require sequential organization and access
File "F" Filename "DISK2:[ARNE]ffun.txt;8"
%TRACE-F-TRACEBACK, symbolic stack dump follows
image module routine line rel PC abs PC
PAS$RTL 0 00000000000200BC
000000007BFE80BC
PAS$RTL 0 00000000000361C8
000000007BFFE1C8
PAS$RTL 0 00000000000228E8
000000007BFEA8E8
PAS$RTL 0 00000000000200BC
000000007BFE80BC
PAS$RTL 0 0000000000021584
000000007BFE9584
ffun_p FFUN FFUN 8 0000000000000074
0000000000020074
0 FFFFFFFF80340964
FFFFFFFF80340964
%TRACE-I-END, end of TRACE stack dump
DCL
|AA|
|BB|
|CC|

It looks like Pascal text files has an explicit test requiring
ORG=SEQ instead of just calling SYS$GET no matter what. There
is probably a good reason for that.

And then C fgets fail on VFC. It looks like it read the
control bytes as data. WTF? I believe it has been revealed that
C IO does not use SYS$GET to read records but SYS$READ to read
blocks, so there is a reason why C is different. But I would
still consider it a bug.

Arne

Re: VSI roadmap

<ucdcrd$mf32$2@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: VSI roadmap
Date: Sat, 26 Aug 2023 13:30:21 -0400
Organization: A noiseless patient Spider
Lines: 57
Message-ID: <ucdcrd$mf32$2@dont-email.me>
References: <ubjb57$3e2qk$1@dont-email.me>
<mn.8c117e78dac87fca.104627@invalid.skynet.be> <ubm9cj$3ulrh$1@dont-email.me>
<77fe801a-48fc-4c08-880c-01642ae50349n@googlegroups.com>
<ubo70e$b1am$1@dont-email.me> <ubobfg$bgl8$1@dont-email.me>
<ubokse$d0ca$1@dont-email.me> <ubvk7m$1su3r$1@dont-email.me>
<uc3ig2$2k0v9$1@dont-email.me> <uc4u0i$2ttvq$1@dont-email.me>
<f3087f6d-13f3-4080-9cc9-380e81311075n@googlegroups.com>
<07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>
<ucdco0$mf32$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 26 Aug 2023 17:30:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="963d0b4c3a6b0f45160611def803fde9";
logging-data="736354"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kHvfgFntg/xvUv1w5+Ufk1I0HntJ5bnE="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.0
Cancel-Lock: sha1:mrZ+lidyfGSI+9gYrOGYOfHlrTI=
Content-Language: en-US
In-Reply-To: <ucdco0$mf32$1@dont-email.me>
 by: Arne Vajhøj - Sat, 26 Aug 2023 17:30 UTC

On 8/26/2023 1:28 PM, Arne Vajhøj wrote:
> org=SEQ rfm=VFC eof=1 ffb=18
> C
> ||
> ||
> ||
> Pascal
> |AA|
> |BB|
> |CC|
> DCL
> |AA|
> |BB|
> |CC|

> org=IDX rfm=VAR eof=16 ffb=0
> C
> |AA|
> |BB|
> |CC|
> Pascal
> %PAS-F-TEXREQSEQ, textfiles require sequential organization and access
>   File "F"  Filename "DISK2:[ARNE]ffun.txt;8"
> %TRACE-F-TRACEBACK, symbolic stack dump follows
>   image    module    routine             line      rel PC           abs PC
>  PAS$RTL                                    0 00000000000200BC
> 000000007BFE80BC
>  PAS$RTL                                    0 00000000000361C8
> 000000007BFFE1C8
>  PAS$RTL                                    0 00000000000228E8
> 000000007BFEA8E8
>  PAS$RTL                                    0 00000000000200BC
> 000000007BFE80BC
>  PAS$RTL                                    0 0000000000021584
> 000000007BFE9584
>  ffun_p  FFUN  FFUN                         8 0000000000000074
> 0000000000020074
>                                             0 FFFFFFFF80340964
> FFFFFFFF80340964
> %TRACE-I-END, end of TRACE stack dump
> DCL
> |AA|
> |BB|
> |CC|

> And then C fgets fail on VFC. It looks like it read the
> control bytes as data. WTF? I believe it has been revealed that
> C IO does not use SYS$GET to read records but SYS$READ to read
> blocks, so there is a reason why C is different. But I would
> still consider it a bug.

But C IO must be using SYS$GET for ORG=IDX or that would have
failed as well.

Arne

Re: VSI roadmap

<e8b77663-252a-4f94-a8ce-8504036b651an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:248f:b0:76e:e881:5ed5 with SMTP id i15-20020a05620a248f00b0076ee8815ed5mr541156qkn.13.1693076259935;
Sat, 26 Aug 2023 11:57:39 -0700 (PDT)
X-Received: by 2002:ad4:559b:0:b0:63c:ef89:1a5e with SMTP id
f27-20020ad4559b000000b0063cef891a5emr666975qvx.0.1693076259759; Sat, 26 Aug
2023 11:57:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.os.vms
Date: Sat, 26 Aug 2023 11:57:39 -0700 (PDT)
In-Reply-To: <uc9tau$lhn$3@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=100.8.228.76; posting-account=2vnRtAoAAAAE0ap3uRDMDu6cngT6BrOO
NNTP-Posting-Host: 100.8.228.76
References: <ubjb57$3e2qk$1@dont-email.me> <mn.8c117e78dac87fca.104627@invalid.skynet.be>
<ubm9cj$3ulrh$1@dont-email.me> <77fe801a-48fc-4c08-880c-01642ae50349n@googlegroups.com>
<ubo70e$b1am$1@dont-email.me> <ubobfg$bgl8$1@dont-email.me>
<ubokse$d0ca$1@dont-email.me> <ubvk7m$1su3r$1@dont-email.me>
<uc3ig2$2k0v9$1@dont-email.me> <uc4u0i$2ttvq$1@dont-email.me>
<f3087f6d-13f3-4080-9cc9-380e81311075n@googlegroups.com> <07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>
<uc9tau$lhn$3@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e8b77663-252a-4f94-a8ce-8504036b651an@googlegroups.com>
Subject: Re: VSI roadmap
From: terry-gr...@glaver.org (terry-...@glaver.org)
Injection-Date: Sat, 26 Aug 2023 18:57:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: terry-...@glaver.org - Sat, 26 Aug 2023 18:57 UTC

On Friday, August 25, 2023 at 5:47:14 AM UTC-4, Johnny Billquist wrote:
> On 2023-08-25 06:17, terry-...@glaver.org wrote:
> > On Wednesday, August 23, 2023 at 10:47:38 AM UTC-4, David Jones wrote:
> >> To support any number of Unix applications reading of files, the C runtime
> >> includes fgets() to return what is logically a record. So what?
> >
> > That fails woefully even on some text file formats. I probably sound like I'm beating a dead horse, but go look at ckvfio.c for an idea of what is really needed to get text lines out of RMS regardless of the file format. For those who say "RMS contains all of the necessary info", go look at how True BASIC stores the source code for user-written programs (hint: RMS undefined).
> Well, to be fair - RMS undefined is hardly a "text file format". :-)
> That's a very weird choice for any program to use for source code.

I take it you've never encountered the religious fervor of latter-day
Kemeny & Kurtz 8-}

VMS C-Kermit had to support every possible file format users would
throw at it (VMS was WAY more common back then) and convert it to
either canonical ASCII or fixed-block binary. Frank da Cruz and I came
up with the new "Labeled" file type, which containerized arbitrary data
(in the VMS case, any and every possible RMS file type) for transport
with Kermit. The container could go through any system, including
ones with different character sets, and come out at the far end and be
reconstituted exactly. As I recall, the test was VAX -> DECsystem-20 ->
IBM VM/CMS -> MS-DOS -> VAX. There was also a standalone VMS
utility to reconstitute the file (for example, if it had been FTP'd back
to the VMS system).

There are all sorts of special cases, like Fortran carriage control, that
are converted by C-Kermit. My Kermit work was complicated enough
that it won me a DECUS award or two. 8-)

Re: VSI roadmap

<ucfn48$mo4$5@news.misty.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!.POSTED.80-218-16-84.dclient.hispeed.ch!not-for-mail
From: bqt...@softjar.se (Johnny Billquist)
Newsgroups: comp.os.vms
Subject: Re: VSI roadmap
Date: Sun, 27 Aug 2023 16:38:00 +0200
Organization: MGT Consulting
Message-ID: <ucfn48$mo4$5@news.misty.com>
References: <ubjb57$3e2qk$1@dont-email.me>
<mn.8c117e78dac87fca.104627@invalid.skynet.be> <ubm9cj$3ulrh$1@dont-email.me>
<77fe801a-48fc-4c08-880c-01642ae50349n@googlegroups.com>
<ubo70e$b1am$1@dont-email.me> <ubobfg$bgl8$1@dont-email.me>
<ubokse$d0ca$1@dont-email.me> <ubvk7m$1su3r$1@dont-email.me>
<uc3ig2$2k0v9$1@dont-email.me> <uc4u0i$2ttvq$1@dont-email.me>
<f3087f6d-13f3-4080-9cc9-380e81311075n@googlegroups.com>
<07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com>
<uc9tau$lhn$3@news.misty.com>
<e8b77663-252a-4f94-a8ce-8504036b651an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 27 Aug 2023 14:38:01 -0000 (UTC)
Injection-Info: news.misty.com; posting-host="80-218-16-84.dclient.hispeed.ch:80.218.16.84";
logging-data="23300"; mail-complaints-to="abuse@misty.com"
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0)
Gecko/20100101 Thunderbird/102.14.0
In-Reply-To: <e8b77663-252a-4f94-a8ce-8504036b651an@googlegroups.com>
 by: Johnny Billquist - Sun, 27 Aug 2023 14:38 UTC

On 2023-08-26 20:57, terry-...@glaver.org wrote:
> On Friday, August 25, 2023 at 5:47:14 AM UTC-4, Johnny Billquist wrote:
>> On 2023-08-25 06:17, terry-...@glaver.org wrote:
>>> On Wednesday, August 23, 2023 at 10:47:38 AM UTC-4, David Jones wrote:
>>>> To support any number of Unix applications reading of files, the C runtime
>>>> includes fgets() to return what is logically a record. So what?
>>>
>>> That fails woefully even on some text file formats. I probably sound like I'm beating a dead horse, but go look at ckvfio.c for an idea of what is really needed to get text lines out of RMS regardless of the file format. For those who say "RMS contains all of the necessary info", go look at how True BASIC stores the source code for user-written programs (hint: RMS undefined).
>> Well, to be fair - RMS undefined is hardly a "text file format". :-)
>> That's a very weird choice for any program to use for source code.
>
> I take it you've never encountered the religious fervor of latter-day
> Kemeny & Kurtz 8-}

Nope. I have not. Don't even know who they are.

> VMS C-Kermit had to support every possible file format users would
> throw at it (VMS was WAY more common back then) and convert it to
> either canonical ASCII or fixed-block binary. Frank da Cruz and I came
> up with the new "Labeled" file type, which containerized arbitrary data
> (in the VMS case, any and every possible RMS file type) for transport
> with Kermit. The container could go through any system, including
> ones with different character sets, and come out at the far end and be
> reconstituted exactly. As I recall, the test was VAX -> DECsystem-20 ->
> IBM VM/CMS -> MS-DOS -> VAX. There was also a standalone VMS
> utility to reconstitute the file (for example, if it had been FTP'd back
> to the VMS system).
>
> There are all sorts of special cases, like Fortran carriage control, that
> are converted by C-Kermit. My Kermit work was complicated enough
> that it won me a DECUS award or two. 8-)

Oh. I know a bunch about the different formats RMS have. Not that I
played *that* much with it in VMS, but a lot in RSX, where I had my ftp
client and server be able to deal with all of that as well. The problem
is that when travelling over some other systems, it becomes pretty much
impossible to retain a bunch of meta-information unless you store it in
two files, and then recreate the file back on VMS using both of them. Or
else write some encode/decode program that you use on the VMS side which
creates a file that contains all that is needed to restore the file
again, and then you can move that file around as you wish. (Of course,
you could also add the meta-information in the actual file transferred,
but then it looks like some different file on all other systems). Lots
of different choices and compromises, but none is perfect.

Johnny

Re: VSI roadmap

<639ec7e5-5a32-4b17-b4f9-5e3da4950892n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:b03:b0:64a:15a0:8c97 with SMTP id u3-20020a0562140b0300b0064a15a08c97mr779144qvj.11.1693195370656; Sun, 27 Aug 2023 21:02:50 -0700 (PDT)
X-Received: by 2002:a17:90b:d81:b0:26d:26eb:c577 with SMTP id bg1-20020a17090b0d8100b0026d26ebc577mr5674930pjb.6.1693195370139; Sun, 27 Aug 2023 21:02:50 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!69.80.99.15.MISMATCH!border-1.nntp.ord.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: Sun, 27 Aug 2023 21:02:49 -0700 (PDT)
In-Reply-To: <ucfn48$mo4$5@news.misty.com>
Injection-Info: google-groups.googlegroups.com; posting-host=100.8.228.76; posting-account=2vnRtAoAAAAE0ap3uRDMDu6cngT6BrOO
NNTP-Posting-Host: 100.8.228.76
References: <ubjb57$3e2qk$1@dont-email.me> <mn.8c117e78dac87fca.104627@invalid.skynet.be> <ubm9cj$3ulrh$1@dont-email.me> <77fe801a-48fc-4c08-880c-01642ae50349n@googlegroups.com> <ubo70e$b1am$1@dont-email.me> <ubobfg$bgl8$1@dont-email.me> <ubokse$d0ca$1@dont-email.me> <ubvk7m$1su3r$1@dont-email.me> <uc3ig2$2k0v9$1@dont-email.me> <uc4u0i$2ttvq$1@dont-email.me> <f3087f6d-13f3-4080-9cc9-380e81311075n@googlegroups.com> <07b61645-7e95-4ab2-855a-e770ec4e21d0n@googlegroups.com> <uc9tau$lhn$3@news.misty.com> <e8b77663-252a-4f94-a8ce-8504036b651an@googlegroups.com> <ucfn48$mo4$5@news.misty.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <639ec7e5-5a32-4b17-b4f9-5e3da4950892n@googlegroups.com>
Subject: Re: VSI roadmap
From: terry-gr...@glaver.org (terry-...@glaver.org)
Injection-Date: Mon, 28 Aug 2023 04:02:50 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 99
 by: terry-...@glaver.org - Mon, 28 Aug 2023 04:02 UTC

On Sunday, August 27, 2023 at 10:38:04 AM UTC-4, Johnny Billquist wrote:
> On 2023-08-26 20:57, terry-...@glaver.org wrote:
> > On Friday, August 25, 2023 at 5:47:14 AM UTC-4, Johnny Billquist wrote:
> >> On 2023-08-25 06:17, terry-...@glaver.org wrote:
> >>> On Wednesday, August 23, 2023 at 10:47:38 AM UTC-4, David Jones wrote:
> >>>> To support any number of Unix applications reading of files, the C runtime
> >>>> includes fgets() to return what is logically a record. So what?
> >>>
> >>> That fails woefully even on some text file formats. I probably sound like I'm beating a dead horse, but go look at ckvfio.c for an idea of what is really needed to get text lines out of RMS regardless of the file format.. For those who say "RMS contains all of the necessary info", go look at how True BASIC stores the source code for user-written programs (hint: RMS undefined).
> >> Well, to be fair - RMS undefined is hardly a "text file format". :-)
> >> That's a very weird choice for any program to use for source code.
> >
> > I take it you've never encountered the religious fervor of latter-day
> > Kemeny & Kurtz 8-}
> Nope. I have not. Don't even know who they are.

The original creators of Dartmouth BASIC. This probably explains it better than I can:
https://en.wikipedia.org/wiki/True_BASIC

> > VMS C-Kermit had to support every possible file format users would
> > throw at it (VMS was WAY more common back then) and convert it to
> > either canonical ASCII or fixed-block binary. Frank da Cruz and I came
> > up with the new "Labeled" file type, which containerized arbitrary data
> > (in the VMS case, any and every possible RMS file type) for transport
> > with Kermit. The container could go through any system, including
> > ones with different character sets, and come out at the far end and be
> > reconstituted exactly. As I recall, the test was VAX -> DECsystem-20 ->
> > IBM VM/CMS -> MS-DOS -> VAX. There was also a standalone VMS
> > utility to reconstitute the file (for example, if it had been FTP'd back
> > to the VMS system).
> >
> > There are all sorts of special cases, like Fortran carriage control, that
> > are converted by C-Kermit. My Kermit work was complicated enough
> > that it won me a DECUS award or two. 8-)
> Oh. I know a bunch about the different formats RMS have. Not that I
> played *that* much with it in VMS, but a lot in RSX, where I had my ftp
> client and server be able to deal with all of that as well. The problem
> is that when travelling over some other systems, it becomes pretty much
> impossible to retain a bunch of meta-information unless you store it in
> two files, and then recreate the file back on VMS using both of them. Or
> else write some encode/decode program that you use on the VMS side which
> creates a file that contains all that is needed to restore the file
> again, and then you can move that file around as you wish. (Of course,
> you could also add the meta-information in the actual file transferred,
> but then it looks like some different file on all other systems). Lots
> of different choices and compromises, but none is perfect.

Yup. I always disliked the idea of the Mac's Resource Fork. It is a concept
that hasn't been needed for years (OS X has been around for 25+ years at
this point). Yet I still encounter recent Zip archives (often containing
executables that will only run under Microsoft Windows) with resource
fork directories.

Grossly simplifying, files coming from VMS to another operating system
fall into 3 major types:

1) Text files
2) Binary files
3) Files that have no meaning outside of VMS

C-Kermit did a pretty good job of sorting them into those categories (after
quite a bit of development - VMS was popular enough back then that I got
a lot of "You don't support my oddball file format!" emails).

Those were handled with:

1) "set file type text"
2) "set file type binary"
3) "set file type labeled"

Other file transfer utilities implemented various other solutions, with more or
less user-transparency. I still get "STRU O VMS: command not understood."
from other FTP servers to this day.

Pages:1234
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor