Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

A year spent in artificial intelligence is enough to make one believe in God.


computers / comp.os.vms / Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

SubjectAuthor
* Howto can I call the undocumented "set watch/class=dir" in an ownEberhard Heuser
+- Re: Howto can I call the undocumented "set watch/class=dir" in an ownArne Vajhøj
`* Re: Howto can I call the undocumented "set watch/class=dir" in an own program aBrian Schenkenberger
 `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownEberhard Heuser
  `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownJohn Reagan
   `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownEberhard Heuser
    `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownVolker Halle
     +* Re: Howto can I call the undocumented "set watch/class=dir" in anvaxinf@gmail.com
     |+- Re: Howto can I call the undocumented "set watch/class=dir" in an ownChris Townley
     |`* Re: Howto can I call the undocumented "set watch/class=dir" in an ownIan Miller
     | `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownArne Vajhøj
     |  +* Re: Howto can I call the undocumented "set watch/class=dir" in an ownArne Vajhøj
     |  |`* Re: Howto can I call the undocumented "set watch/class=dir" in an ownChris Townley
     |  | +- Re: Howto can I call the undocumented "set watch/class=dir" in an ownArne Vajhøj
     |  | `- Re: Howto can I call the undocumented "set watch/class=dir" in an ownIan Miller
     |  `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownIan Miller
     |   `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownArne Vajhøj
     |    `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownArne Vajhøj
     |     `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownVolker Halle
     |      `- Re: Howto can I call the undocumented "set watch/class=dir" in an ownArne Vajhøj
     `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownArne Vajhøj
      `* Re: Howto can I call the undocumented "set watch/class=dir" in an ownIan Miller
       `- Re: Howto can I call the undocumented "set watch/class=dir" in an ownVolker Halle

1
Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ad4:4e21:0:b0:656:262c:6928 with SMTP id dm1-20020ad44e21000000b00656262c6928mr91849qvb.2.1695366537606;
Fri, 22 Sep 2023 00:08:57 -0700 (PDT)
X-Received: by 2002:a05:6808:138e:b0:3a9:cd23:9853 with SMTP id
c14-20020a056808138e00b003a9cd239853mr3923640oiw.10.1695366537331; Fri, 22
Sep 2023 00:08:57 -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, 22 Sep 2023 00:08:56 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2a02:8071:8680:db00:f925:8e38:1ee2:f325;
posting-account=3xH67woAAACrBC3EyXAKnY_LeuLlsg74
NNTP-Posting-Host: 2a02:8071:8680:db00:f925:8e38:1ee2:f325
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
Subject: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: vax...@googlemail.com (Eberhard Heuser)
Injection-Date: Fri, 22 Sep 2023 07:08:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1859
 by: Eberhard Heuser - Fri, 22 Sep 2023 07:08 UTC

Hi,

for my project a need the information, what file operation (i.e. crea/dir or remove file) is been issued from an interactive terminal process.
I've seen that the "undocumented" dcl-command "set watch" just broadcasts this information to the terminal I need. I did look into the source and found that this program only modifies a system parameter called PIO$GW_DFPROT and CLASS_FLAGS[x], where x = XQP$_MAJOR_FUNC, XQP$_CNTRL_FUNC, XQP$_ATTRIBUTE,XQP$_DIR_OPS, XQP$_DUMP, XQP$_QUOTA or XQP$_PROTECTION are accessed.
It is unclear for me if it is possible to get access to these infos in an own written program. So I'm thankful for any ideas where to look at.

Eberhard

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<uek0a9$7dp2$1@dont-email.me>

  copy mid

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

  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: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
Date: Fri, 22 Sep 2023 08:11:54 -0400
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <uek0a9$7dp2$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 22 Sep 2023 12:11:53 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="3ee00c18b9b3d7ac8be29eb687c6df0b";
logging-data="243490"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+8mhFG00++lZE+HQhSiW7ANR3oY8S1flA="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:xi2NtOz1gNo4qmXSOpZ1HdBKYDs=
In-Reply-To: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
Content-Language: en-US
 by: Arne Vajhøj - Fri, 22 Sep 2023 12:11 UTC

On 9/22/2023 3:08 AM, Eberhard Heuser wrote:
> for my project a need the information, what file operation (i.e.
> crea/dir or remove file) is been issued from an interactive terminal
> process. I've seen that the "undocumented" dcl-command "set watch"
> just broadcasts this information to the terminal I need. I did look
> into the source and found that this program only modifies a system
> parameter called PIO$GW_DFPROT and CLASS_FLAGS[x], where x =
> XQP$_MAJOR_FUNC, XQP$_CNTRL_FUNC, XQP$_ATTRIBUTE,XQP$_DIR_OPS,
> XQP$_DUMP, XQP$_QUOTA or XQP$_PROTECTION are accessed. It is unclear
> for me if it is possible to get access to these infos in an own
> written program. So I'm thankful for any ideas where to look at.

WIthout having seen any VMS source or know anything specific,
then it sounds like a program that:
* flip the bits that will triggers those unso messages to be sent
* trap all unso messages
would work.

The second part does not even require privs.

Arne

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<ueq6jl$1gncr$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mai...@SendSpamHere.ORG (Brian Schenkenberger)
Newsgroups: comp.os.vms
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?
Date: Sun, 24 Sep 2023 16:36:05 -0400
Organization: Tmesis Software
Lines: 20
Message-ID: <ueq6jl$1gncr$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: dont-email.me; posting-host="4ff78d50d238d8eb6f8d09976781b523";
logging-data="1596827"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19FTEx0BmN3LZbsfUzRgxGR"
User-Agent: Unison/2.2
Cancel-Lock: sha1:rzcIBLPVNcMf3ns6LxSI5Uik8DQ=
 by: Brian Schenkenberger - Sun, 24 Sep 2023 20:36 UTC

On 2023-09-22 07:08:56 +0000, Eberhard Heuser said:

> Hi,
>
> for my project a need the information, what file operation (i.e.
> crea/dir or remove file) is been issued from an interactive terminal
> process.
> I've seen that the "undocumented" dcl-command "set watch" just
> broadcasts this information to the terminal I need. I did look into the
> source and found that this program only modifies a system parameter
> called PIO$GW_DFPROT and CLASS_FLAGS[x], where x = XQP$_MAJOR_FUNC,
> XQP$_CNTRL_FUNC, XQP$_ATTRIBUTE,XQP$_DIR_OPS, XQP$_DUMP, XQP$_QUOTA or
> XQP$_PROTECTION are accessed.
> It is unclear for me if it is possible to get access to these infos in
> an own written program. So I'm thankful for any ideas where to look at.
>
> Eberhard

Sounds like something interesting I need to hack!

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1f94:b0:411:fe24:ab9d with SMTP id cb20-20020a05622a1f9400b00411fe24ab9dmr142565qtb.3.1695648398034;
Mon, 25 Sep 2023 06:26:38 -0700 (PDT)
X-Received: by 2002:a05:6870:988d:b0:1dc:dbb0:60aa with SMTP id
eg13-20020a056870988d00b001dcdbb060aamr2861334oab.6.1695648397696; Mon, 25
Sep 2023 06:26:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.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: Mon, 25 Sep 2023 06:26:37 -0700 (PDT)
In-Reply-To: <ueq6jl$1gncr$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=176.154.214.224; posting-account=3xH67woAAACrBC3EyXAKnY_LeuLlsg74
NNTP-Posting-Host: 176.154.214.224
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com> <ueq6jl$1gncr$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: vax...@googlemail.com (Eberhard Heuser)
Injection-Date: Mon, 25 Sep 2023 13:26:38 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 11
 by: Eberhard Heuser - Mon, 25 Sep 2023 13:26 UTC

Brian Schenkenberger schrieb am Sonntag, 24. September 2023 um 22:36:09 UTC+2:
>> Sounds like something interesting I need to hack!

If you're willing to produce some code, that will be great!

My problem is that I cannot find an hook, that helps me to get the information, which
file operation (i.e. create/remove file / create/remove directory / copy file)
been isssued via a DCL-command. The drivers only care about I/O of records so
my hook must lay between the command layer and the driver I/O. I assume that F11ACP
is the part that might give this info back.

Eberhard

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:144a:b0:417:ba09:8b98 with SMTP id v10-20020a05622a144a00b00417ba098b98mr79780qtx.11.1695690168559;
Mon, 25 Sep 2023 18:02:48 -0700 (PDT)
X-Received: by 2002:a05:6870:c795:b0:1bf:51f7:b5b4 with SMTP id
dy21-20020a056870c79500b001bf51f7b5b4mr3340573oab.7.1695690168217; Mon, 25
Sep 2023 18:02:48 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!border-2.nntp.ord.giganews.com!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: Mon, 25 Sep 2023 18:02:47 -0700 (PDT)
In-Reply-To: <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2601:191:200:fa0:ac42:edbc:b8f8:b25a;
posting-account=M3IgSwoAAADJd6EnOmsrCCfB6_OyTOkv
NNTP-Posting-Host: 2601:191:200:fa0:ac42:edbc:b8f8:b25a
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me> <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: xyzzy1...@gmail.com (John Reagan)
Injection-Date: Tue, 26 Sep 2023 01:02:48 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 56
 by: John Reagan - Tue, 26 Sep 2023 01:02 UTC

On Monday, September 25, 2023 at 9:26:39 AM UTC-4, Eberhard Heuser wrote:
> Brian Schenkenberger schrieb am Sonntag, 24. September 2023 um 22:36:09 UTC+2:
> >> Sounds like something interesting I need to hack!
> If you're willing to produce some code, that will be great!
>
> My problem is that I cannot find an hook, that helps me to get the information, which
> file operation (i.e. create/remove file / create/remove directory / copy file)
> been isssued via a DCL-command. The drivers only care about I/O of records so
> my hook must lay between the command layer and the driver I/O. I assume that F11ACP
> is the part that might give this info back.
>
> Eberhard
Here's the code to turn on the bits. The code in the XQP writes to SYS$OUTPUT so you should be able to
easily redirect it to a file, etc.

/*
$ search XGI5_RESD$:[F11X.SRC]FCPDEF.REQ xqp$_

XQP$_MAJOR_FUNC = 0, ! Notify about major events
XQP$_CNTRL_FUNC = 1, ! Notify about control functions
XQP$_ATTRIBUTE = 2, ! Notify about attribute modifications
XQP$_DIR_OPS = 3, ! Notify about directory operations
XQP$_DUMP = 4, ! Notify about misc things
XQP$_QUOTA = 5, ! Notify about quota functions
XQP$_PROTECTION = 6; ! Notify about protection checks
*/

extern short PIO$GW_DFPROT;
#include <stdio.h>
#include <starlet.h>

int flip() {
PIO$GW_DFPROT = PIO$GW_DFPROT | 1; // turn on XQP$_MAJOR_FUNC
return 1;
}

int main() {
int s;
printf("DFPROT = %hx\n",PIO$GW_DFPROT);
s = SYS$CMKRNL(&flip,0);
printf("CMKRNL returned %08x\n",s);
printf("DFPROT = %hx\n",PIO$GW_DFPROT);
}

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:1826:b0:412:1e76:f3e1 with SMTP id t38-20020a05622a182600b004121e76f3e1mr88104qtc.3.1695736873516;
Tue, 26 Sep 2023 07:01:13 -0700 (PDT)
X-Received: by 2002:a05:6870:5a86:b0:1c0:e7d3:3b2d with SMTP id
dt6-20020a0568705a8600b001c0e7d33b2dmr4248781oab.7.1695736872678; Tue, 26 Sep
2023 07:01:12 -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: Tue, 26 Sep 2023 07:01:12 -0700 (PDT)
In-Reply-To: <684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=176.154.214.224; posting-account=3xH67woAAACrBC3EyXAKnY_LeuLlsg74
NNTP-Posting-Host: 176.154.214.224
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me> <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: vax...@googlemail.com (Eberhard Heuser)
Injection-Date: Tue, 26 Sep 2023 14:01:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3671
 by: Eberhard Heuser - Tue, 26 Sep 2023 14:01 UTC

John Reagan schrieb am Dienstag, 26. September 2023 um 03:02:50 UTC+2:
> On Monday, September 25, 2023 at 9:26:39 AM UTC-4, Eberhard Heuser wrote:
> > Brian Schenkenberger schrieb am Sonntag, 24. September 2023 um 22:36:09 UTC+2:
> > >> Sounds like something interesting I need to hack!
> > If you're willing to produce some code, that will be great!
> >
> > My problem is that I cannot find an hook, that helps me to get the information, which
> > file operation (i.e. create/remove file / create/remove directory / copy file)
> > been isssued via a DCL-command. The drivers only care about I/O of records so
> > my hook must lay between the command layer and the driver I/O. I assume that F11ACP
> > is the part that might give this info back.
> >
> > Eberhard
> Here's the code to turn on the bits. The code in the XQP writes to SYS$OUTPUT so you should be able to
> easily redirect it to a file, etc.
>
> /*
> $ search XGI5_RESD$:[F11X.SRC]FCPDEF.REQ xqp$_
>
> XQP$_MAJOR_FUNC = 0, ! Notify about major events
> XQP$_CNTRL_FUNC = 1, ! Notify about control functions
> XQP$_ATTRIBUTE = 2, ! Notify about attribute modifications
> XQP$_DIR_OPS = 3, ! Notify about directory operations
> XQP$_DUMP = 4, ! Notify about misc things
> XQP$_QUOTA = 5, ! Notify about quota functions
> XQP$_PROTECTION = 6; ! Notify about protection checks
> */
>
> extern short PIO$GW_DFPROT;
> #include <stdio.h>
> #include <starlet.h>
>
> int flip() {
> PIO$GW_DFPROT = PIO$GW_DFPROT | 1; // turn on XQP$_MAJOR_FUNC
> return 1;
> }
>
> int main() {
> int s;
> printf("DFPROT = %hx\n",PIO$GW_DFPROT);
> s = SYS$CMKRNL(&flip,0);
> printf("CMKRNL returned %08x\n",s);
> printf("DFPROT = %hx\n",PIO$GW_DFPROT);
> }

I'm sorry, but the redirection from sys$output has no effect. The XQP output
still appears on the terminal screen. I've tried several options

define/sys sys$output t.dat
define/sys/exe sys$output t.dat
define/proc sys$output t.dat

The same behavior with sys$error

So the question is what output channel is been used by QXP?

Eberhard

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5796:0:b0:407:2c52:2861 with SMTP id v22-20020ac85796000000b004072c522861mr104013qta.8.1695743608658;
Tue, 26 Sep 2023 08:53:28 -0700 (PDT)
X-Received: by 2002:a9d:7d87:0:b0:6bf:12:518b with SMTP id j7-20020a9d7d87000000b006bf0012518bmr3064931otn.3.1695743608321;
Tue, 26 Sep 2023 08:53:28 -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: Tue, 26 Sep 2023 08:53:27 -0700 (PDT)
In-Reply-To: <3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=62.91.89.206; posting-account=cHmS7AoAAACMYAFH9kP9m4l8qjrXLvte
NNTP-Posting-Host: 62.91.89.206
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me> <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com> <3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: volker_h...@hotmail.com (Volker Halle)
Injection-Date: Tue, 26 Sep 2023 15:53:28 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1857
 by: Volker Halle - Tue, 26 Sep 2023 15:53 UTC

Eberhard Heuser schrieb am Dienstag, 26. September 2023 um 16:01:15 UTC+2:

> So the question is what output channel is been used by QXP?

Eberhard,

the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a supervisor mode AST) writes the output to SYS$OUTPUT using a RMS $PUT call.

By default SYS$OUTPUT is a supervisor mode confined logical name, which points to the 'terminal device'.

Question: can this be re-directed ?

Volker.

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!kishost2.serverpowered.net!not-for-mail
From: vax...@googlemail.com (vaxinf@gmail.com)
Newsgroups: comp.os.vms
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an
own program and fetch the output in my program?
Date: Tue, 26 Sep 2023 19:28:54 +0200
Lines: 22
Message-ID: <mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: solani.org;
logging-data="688096"; mail-complaints-to="abuse@news.solani.org"
User-Agent: Mozilla Thunderbird
To: info-vax@rbnsn.com
Cancel-Lock: sha1:t+rhZb2VGwIEWfzq5I9mshj7cck=
X-Spam-Flag: NO
X-Mailman-Version: 2.1.39
X-Gm-Message-State: AOJu0Yy3udgUSxxO3wkbcWDKRryhd9UeyJ1gBjhQ842yeJQXYM5ELgx/
NKnyFHjwpAcrjfPODVIDE4oPBQbyDQxkbg==
X-Spam-Score: 28
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlemail.com; s=20230601; t=1695749336; x=1696354136; darn=rbnsn.com;
h=content-transfer-encoding:in-reply-to:content-language:references
:to:subject:user-agent:mime-version:date:message-id:from:from:to:cc
:subject:date:message-id:reply-to;
bh=mCT3z+DuiQlRVNTCQj8eu7s0tpDhlEoktVACB3Pag04=;
b=IubOSAF1uff1i0qCmDdLOrYYxVDwcdvvgJri/buOoaxRCnuWMZehbFu6x9NF04hWpd
5SwPX9mRXsveFPVPiDXfLLqi/d1qbINgx3OtS7MvSwdSzuSXgGf8Yofppp9pk5m5kGm+
Nn3JCHbXuz/6oLWy3uuVsDQarnro5hhLoXd7uJOEb2x2IVH19Lls024gFvoSEp6qLxfM
HQ1lqPXRc6ewz0MQ8qmcGrUENCIon6saF0VCBCDRq+CFlHrdVU+4VH8mZvFfTDxmOVF+
feU/yrIBo20Mi2SJIBkQMAUsfPONvjesWpVE6wqbtwqhmhKk2cREduVTfTpQTAbLpplV
GRgQ==
List-Subscribe: <http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com>,
<mailto:info-vax-request@rbnsn.com?subject=subscribe>
List-Unsubscribe: <http://rbnsn.com/mailman/options/info-vax_rbnsn.com>,
<mailto:info-vax-request@rbnsn.com?subject=unsubscribe>
List-Help: <mailto:info-vax-request@rbnsn.com?subject=help>
X-Google-Original-From: "vaxinf@gmail.com" <vaxinf@gmail.com>
X-Received: by 2002:a5d:4f89:0:b0:31f:fae3:7629 with SMTP id
d9-20020a5d4f89000000b0031ffae37629mr10448553wru.13.1695749335726;
Tue, 26 Sep 2023 10:28:55 -0700 (PDT)
X-Mailman-Original-Message-ID: <517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
X-Ham-Report: Spam detection software,
running on the system "kishost2.serverpowered.net",
has NOT identified this incoming email as spam. The original
message has been attached to this so you can view it or label
similar future email. If you have any questions, see
root\@localhost for details. Content preview: Yes,
"define/super" redirects the output to a file. Am 26.09.2023
um 17:53 schrieb Volker Halle via Info-vax: > Eberhard Heuser schrieb am
Dienstag, 26. September 2023 um 16:01:15 UTC+2: > >> So the question is what
output channel is been used by QXP? [...]
Content analysis details: (2.8 points, 5.0 required)
pts rule name description
---- ---------------------- --------------------------------------------------
3.0 BAYES_50 BODY: Bayes spam probability is 40 to 60%
[score: 0.5011]
-0.0 SPF_PASS SPF: sender matches SPF record
0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail
provider [vaxinf[at]googlemail.com]
0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily
valid
-0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from
envelope-from domain
-0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from
author's domain
-0.1 DKIM_VALID Message has at least one valid DKIM or DK signature
X-Google-Smtp-Source: AGHT+IEQSByetr2iBL8TfO/rbk641qLRfxdld/8yKEnCq3KYA0szBDLUV6nu5Wvsr4HkEf6V2Ix0bg==
Content-Language: de-DE
X-Spam-Bar: ++
X-Mailman-Original-References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
In-Reply-To: <bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
X-User-ID: eJwFwQkBACAIA8BMDhgYR77+Ebwz4WG50qi2trwZjZQcOCLf4LUzcIoUSIyjnNjmmszNDxywERE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1695749336; x=1696354136;
h=content-transfer-encoding:in-reply-to:content-language:references
:to:subject:user-agent:mime-version:date:message-id:from
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=mCT3z+DuiQlRVNTCQj8eu7s0tpDhlEoktVACB3Pag04=;
b=X1hHzoxGC52ayAiI6qsJtlrpjrRan0th+MnKJbHJOZHmpXgDnwAnx7rBPX+jaYYYsj
zSnvuKnukzyr0JsMOx74XL1MNemmooCn2KGr+HzOFN3+Cp8waV1OBPilOb7uiihlmtF8
THh+2AiI2/N5F7luJEuNNnSGGavE9QW0tpi3WASLGgGMRJcIZp7+E71/xvPz6kMYjSuc
gX225T68ELSc70/CFDDgc5g5TCf7qhkrqefd6/e5V0ILNMTy59iU0XEh3vDnDayjBT5F
/9xVqhx/qtyLQsfg874+57YqpY5fthb4MqdcjFq7zmJKUBSu/jjfaB4Xa7mlJ2b6KBPl
xF5Q==
X-Spam-Status: No, score=2.8
Precedence: list
List-Post: <mailto:info-vax@rbnsn.com>
List-Id: "comp.os.vms to email gateway" <info-vax.rbnsn.com>
X-BeenThere: info-vax@rbnsn.com
List-Archive: <http://rbnsn.com/pipermail/info-vax_rbnsn.com/>
 by: vaxinf@gmail.com - Tue, 26 Sep 2023 17:28 UTC

Yes, "define/super" redirects the output to a file.

Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um 16:01:15 UTC+2:
>
>> So the question is what output channel is been used by QXP?
> Eberhard,
>
> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a supervisor mode AST) writes the output to SYS$OUTPUT using a RMS $PUT call.
>
> By default SYS$OUTPUT is a supervisor mode confined logical name, which points to the 'terminal device'.
>
> Question: can this be re-directed ?
>
> Volker.
> _______________________________________________
> Info-vax mailing list
> Info-vax@rbnsn.com
> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<uevanb$2etjg$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
Date: Tue, 26 Sep 2023 20:16:59 +0100
Organization: A noiseless patient Spider
Lines: 32
Message-ID: <uevanb$2etjg$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Sep 2023 19:16:59 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="74b8607b3f00e746c45b016a5a01e494";
logging-data="2586224"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/DwzM8YHLU352BR+/4UTRVF71COndw8uE="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:c87GftWB+ogDidlPxxha0Vk3aSs=
In-Reply-To: <mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
Content-Language: en-GB
 by: Chris Townley - Tue, 26 Sep 2023 19:16 UTC

On 26/09/2023 18:28, vaxinf@gmail.com wrote:
> Yes, "define/super" redirects the output to a file.
>
> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
>> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um 16:01:15
>> UTC+2:
>>
>>> So the question is what output channel is been used by QXP?
>> Eberhard,
>>
>> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
>> supervisor mode AST) writes the output to SYS$OUTPUT using a RMS $PUT
>> call.
>>
>> By default SYS$OUTPUT is a supervisor mode confined logical name,
>> which points to the 'terminal device'.
>>
>> Question: can this be re-directed ?
>>
>> Volker.
>> _______________________________________________
>> Info-vax mailing list
>> Info-vax@rbnsn.com
>> http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
>>
>
>
I thought that was the default

--
Chris

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<uevmr0$2nadf$1@dont-email.me>

  copy mid

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

  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: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
Date: Tue, 26 Sep 2023 18:43:46 -0400
Organization: A noiseless patient Spider
Lines: 20
Message-ID: <uevmr0$2nadf$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 26 Sep 2023 22:43:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f31fffdbad8dd567a1803a73d8ee2e44";
logging-data="2861487"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX193fL7n4/7Gb6chX2lXOnG3soRP1fg11Ag="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:+IeawC3nnLjDz/0fFcAhHZ/bvic=
In-Reply-To: <bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
Content-Language: en-US
 by: Arne Vajhøj - Tue, 26 Sep 2023 22:43 UTC

On 9/26/2023 11:53 AM, Volker Halle wrote:
> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um 16:01:15
> UTC+2:
>> So the question is what output channel is been used by QXP?
>
> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
> supervisor mode AST) writes the output to SYS$OUTPUT using a RMS $PUT
> call.
>
> By default SYS$OUTPUT is a supervisor mode confined logical name,
> which points to the 'terminal device'.
>
> Question: can this be re-directed ?

Another question: is SET WATCH smart enough not to notify about
disk IO triggered by its own notifications if they are redirected
to disk file.

Arne

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:620a:8c03:b0:76f:d16:59eb with SMTP id qz3-20020a05620a8c0300b0076f0d1659ebmr14240qkn.11.1695811557312;
Wed, 27 Sep 2023 03:45:57 -0700 (PDT)
X-Received: by 2002:a05:6870:c787:b0:1d4:f4a8:9828 with SMTP id
dy7-20020a056870c78700b001d4f4a89828mr479170oab.3.1695811556978; Wed, 27 Sep
2023 03:45:56 -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: Wed, 27 Sep 2023 03:45:56 -0700 (PDT)
In-Reply-To: <mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
Injection-Info: google-groups.googlegroups.com; posting-host=92.12.168.231; posting-account=xnH4mQkAAADgGjKHSw0dMDzsXknFp5II
NNTP-Posting-Host: 92.12.168.231
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me> <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com> <3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com> <bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: gxy...@uk2.net (Ian Miller)
Injection-Date: Wed, 27 Sep 2023 10:45:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Ian Miller - Wed, 27 Sep 2023 10:45 UTC

On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1, vax...@googlemail.com wrote:
> Yes, "define/super" redirects the output to a file.
> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
> > Eberhard Heuser schrieb am Dienstag, 26. September 2023 um 16:01:15 UTC+2:
> >
> >> So the question is what output channel is been used by QXP?
> > Eberhard,
> >
> > the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a supervisor mode AST) writes the output to SYS$OUTPUT using a RMS $PUT call.
> >
> > By default SYS$OUTPUT is a supervisor mode confined logical name, which points to the 'terminal device'.
> >
> > Question: can this be re-directed ?
> >
> > Volker.
> > _______________________________________________
> > Info-vax mailing list
> > Info...@rbnsn.com
> > http://rbnsn.com/mailman/listinfo/info-vax_rbnsn.com
> >

You can create a mailbox, define SYS$OUTPUT to that mailbox then read the mailbox to see the file watch messages from the XQP. Of course you see everything that is sent to SYS$OUTPUT but the XQP File Watch messages all start with %XQP so can be detected.

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<38099fe3-25f1-4cf4-81d8-ce751fb82d87n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:622a:6a8b:b0:405:4ef2:b3b1 with SMTP id ih11-20020a05622a6a8b00b004054ef2b3b1mr55566qtb.0.1695811586511;
Wed, 27 Sep 2023 03:46:26 -0700 (PDT)
X-Received: by 2002:a05:6870:9544:b0:1d1:40c5:a531 with SMTP id
v4-20020a056870954400b001d140c5a531mr653382oal.3.1695811586348; Wed, 27 Sep
2023 03:46:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!2.eu.feeder.erje.net!feeder.erje.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: Wed, 27 Sep 2023 03:46:25 -0700 (PDT)
In-Reply-To: <uevmr0$2nadf$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=92.12.168.231; posting-account=xnH4mQkAAADgGjKHSw0dMDzsXknFp5II
NNTP-Posting-Host: 92.12.168.231
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me> <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com> <3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com> <uevmr0$2nadf$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <38099fe3-25f1-4cf4-81d8-ce751fb82d87n@googlegroups.com>
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: gxy...@uk2.net (Ian Miller)
Injection-Date: Wed, 27 Sep 2023 10:46:26 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Ian Miller - Wed, 27 Sep 2023 10:46 UTC

On Tuesday, September 26, 2023 at 11:43:49 PM UTC+1, Arne Vajhøj wrote:
> On 9/26/2023 11:53 AM, Volker Halle wrote:
> > Eberhard Heuser schrieb am Dienstag, 26. September 2023 um 16:01:15
> > UTC+2:
> >> So the question is what output channel is been used by QXP?
> >
> > the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
> > supervisor mode AST) writes the output to SYS$OUTPUT using a RMS $PUT
> > call.
> >
> > By default SYS$OUTPUT is a supervisor mode confined logical name,
> > which points to the 'terminal device'.
> >
> > Question: can this be re-directed ?
> Another question: is SET WATCH smart enough not to notify about
> disk IO triggered by its own notifications if they are redirected
> to disk file.
>
> Arne

I expect not

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<714c0e10-4361-46c0-94a8-4ae4f2dbcb00n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:1765:b0:65b:2660:f586 with SMTP id et5-20020a056214176500b0065b2660f586mr35889qvb.1.1695837945073;
Wed, 27 Sep 2023 11:05:45 -0700 (PDT)
X-Received: by 2002:a05:6870:5a8d:b0:1dc:8366:56ea with SMTP id
dt13-20020a0568705a8d00b001dc836656eamr1294836oab.1.1695837944837; Wed, 27
Sep 2023 11:05:44 -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: Wed, 27 Sep 2023 11:05:44 -0700 (PDT)
In-Reply-To: <38099fe3-25f1-4cf4-81d8-ce751fb82d87n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:e7:2720:6bbb:4c6d:6686:34d2:6a1e;
posting-account=cHmS7AoAAACMYAFH9kP9m4l8qjrXLvte
NNTP-Posting-Host: 2003:e7:2720:6bbb:4c6d:6686:34d2:6a1e
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me> <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com> <3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com> <uevmr0$2nadf$1@dont-email.me>
<38099fe3-25f1-4cf4-81d8-ce751fb82d87n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <714c0e10-4361-46c0-94a8-4ae4f2dbcb00n@googlegroups.com>
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: volker_h...@hotmail.com (Volker Halle)
Injection-Date: Wed, 27 Sep 2023 18:05:45 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2669
 by: Volker Halle - Wed, 27 Sep 2023 18:05 UTC

Here is an example:

AXPVMS $ define/super sys$output xqp.txt
AXPVMS $ set watch file/class=major
AXPVMS $ dir xqp.txt
AXPVMS $ set watch file/class=nomajor
AXPVMS $ deass/super sys$output
AXPVMS $ ty xqp.txt

%XQP, Thread #0, Access (0,0,0) Status: 00000910
%XQP, Thread #0, Access SETWATCH.EXE;1 (1110,3,0) Status: 00000001
%XQP, Thread #0, Control function (1110,3,0) Status: 00000001
%XQP, Thread #0, Modify XQP.TXT;1 (39415,72,0) Status: 00000001
%XQP, Thread #0, Deaccess (1110,3,0) Reads: 6, Writes: 0, Status: 00000001
%XQP, Thread #0, Control function (39415,72,0) Status: 00000001
%XQP, Thread #0, Access HALLE.DIR;1 (2955,45459,0) Status: 00000001
%XQP, Thread #0, Final status: A6000001
%XQP, Thread #0, Deaccess (2955,45459,0) Reads: 1, Writes: 0, Status: 00000001

Directory USERDISK1:[HALLE]

XQP.TXT;1

Total of 1 file.
%XQP, Thread #0, Access (0,0,0) Status: 00000910
%XQP, Thread #0, Access SETWATCH.EXE;1 (1110,3,0) Status: 00000001
%XQP, Thread #0, Control function (1110,3,0) Status: 00000001

Volker.

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<uf99qr$tkdi$1@dont-email.me>

  copy mid

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

  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: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
Date: Sat, 30 Sep 2023 10:03:06 -0400
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <uf99qr$tkdi$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
<d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 30 Sep 2023 14:03:07 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7f8ca02f6f524b0a6118538bce67bfe0";
logging-data="971186"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ppApiYj+SeaCWWAzWnv0LYsy0bx1iTKk="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:76mbpN1LLwhnFskO0pfo2qWpIew=
Content-Language: en-US
In-Reply-To: <d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
 by: Arne Vajhøj - Sat, 30 Sep 2023 14:03 UTC

On 9/27/2023 6:45 AM, Ian Miller wrote:
> On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1,
> vax...@googlemail.com wrote:
>> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
>>> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um
>>> 16:01:15 UTC+2:
>>>> So the question is what output channel is been used by QXP?
>>>
>>> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
>>> supervisor mode AST) writes the output to SYS$OUTPUT using a RMS
>>> $PUT call.
>>>
>>> By default SYS$OUTPUT is a supervisor mode confined logical name,
>>> which points to the 'terminal device'.
>>>
>>> Question: can this be re-directed ?
>>
>> Yes, "define/super" redirects the output to a file.
>
> You can create a mailbox, define SYS$OUTPUT to that mailbox then read
> the mailbox to see the file watch messages from the XQP. Of course
> you see everything that is sent to SYS$OUTPUT but the XQP File Watch
> messages all start with %XQP so can be detected.

Yes. But it looks like the define need to be done by DCL.

I did a little test trying to create the mailbox and defining
the logical from code and I don't think XQP does a SYS$OPEN
on whatever SYS$OUTPUT points to - I think it uses the
the first 4 bytes of the SYS$OUTPUT logical value to find a
reference to the file DCL already opened and just
SYS$PUT to that.

And I don't know how to stuff a reference to a newly
created mailbox in there programmatically.

Arne

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<uf9f32$vd6f$1@dont-email.me>

  copy mid

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

  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: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
Date: Sat, 30 Sep 2023 11:32:48 -0400
Organization: A noiseless patient Spider
Lines: 45
Message-ID: <uf9f32$vd6f$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
<d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
<uf99qr$tkdi$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 30 Sep 2023 15:32:50 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7f8ca02f6f524b0a6118538bce67bfe0";
logging-data="1029327"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18DysHAdn32ao2StWgY6WwAyN+cezrNzqw="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:5Bj2nouNI56SCY4IDKFAn4HEeu8=
Content-Language: en-US
In-Reply-To: <uf99qr$tkdi$1@dont-email.me>
 by: Arne Vajhøj - Sat, 30 Sep 2023 15:32 UTC

On 9/30/2023 10:03 AM, Arne Vajhøj wrote:
> On 9/27/2023 6:45 AM, Ian Miller wrote:
>> On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1,
>> vax...@googlemail.com wrote:
>>> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
>>>> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um
>>>> 16:01:15 UTC+2:
>>>>> So the question is what output channel is been used by QXP?
>>>>
>>>> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
>>>> supervisor mode AST) writes the output to SYS$OUTPUT using a RMS
>>>> $PUT call.
>>>>
>>>> By default SYS$OUTPUT is a supervisor mode confined logical name,
>>>> which points to the 'terminal device'.
>>>>
>>>> Question: can this be re-directed ?
> >>
> >> Yes, "define/super" redirects the output to a file.
>>
>> You can create a mailbox, define SYS$OUTPUT to that mailbox then read
>> the mailbox to see the file watch messages from the XQP.  Of course
>> you see everything that is sent to SYS$OUTPUT but the XQP File Watch
>> messages all start with %XQP so can be detected.
>
> Yes. But it looks like the define need to be done by DCL.
>
> I did a little test trying to create the mailbox and defining
> the logical from code and I don't think XQP does a SYS$OPEN
> on whatever SYS$OUTPUT points to - I think it uses the
> the first 4 bytes of the SYS$OUTPUT logical value to find a
> reference to the file DCL already opened and just
> SYS$PUT to that.
>
> And I don't know how to stuff a reference to a newly
> created mailbox in there programmatically.

Or to rephrase - I can not find:
LIB$OPEN_PROCESS_PERMANENT_FILE

:-)

Arne

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<uf9m6t$pjl6$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
Date: Sat, 30 Sep 2023 18:34:19 +0100
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <uf9m6t$pjl6$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
<d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
<uf99qr$tkdi$1@dont-email.me> <uf9f32$vd6f$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 30 Sep 2023 17:34:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="94b03a518ea5aff0696be6bbd02ae1b3";
logging-data="839334"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19SPrVrA9IzoWnvWMGXZWx8bWnucj5DDfE="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Cancel-Lock: sha1:Ogqc78RroPphpBivd1Y3Ov9OMXQ=
Content-Language: en-GB
In-Reply-To: <uf9f32$vd6f$1@dont-email.me>
 by: Chris Townley - Sat, 30 Sep 2023 17:34 UTC

On 30/09/2023 16:32, Arne Vajhøj wrote:
> On 9/30/2023 10:03 AM, Arne Vajhøj wrote:
>> On 9/27/2023 6:45 AM, Ian Miller wrote:
>>> On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1,
>>> vax...@googlemail.com wrote:
>>>> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
>>>>> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um
>>>>> 16:01:15 UTC+2:
>>>>>> So the question is what output channel is been used by QXP?
>>>>>
>>>>> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
>>>>> supervisor mode AST) writes the output to SYS$OUTPUT using a RMS
>>>>> $PUT call.
>>>>>
>>>>> By default SYS$OUTPUT is a supervisor mode confined logical name,
>>>>> which points to the 'terminal device'.
>>>>>
>>>>> Question: can this be re-directed ?
>>  >>
>>  >> Yes, "define/super" redirects the output to a file.
>>>
>>> You can create a mailbox, define SYS$OUTPUT to that mailbox then read
>>> the mailbox to see the file watch messages from the XQP.  Of course
>>> you see everything that is sent to SYS$OUTPUT but the XQP File Watch
>>> messages all start with %XQP so can be detected.
>>
>> Yes. But it looks like the define need to be done by DCL.
>>
>> I did a little test trying to create the mailbox and defining
>> the logical from code and I don't think XQP does a SYS$OPEN
>> on whatever SYS$OUTPUT points to - I think it uses the
>> the first 4 bytes of the SYS$OUTPUT logical value to find a
>> reference to the file DCL already opened and just
>> SYS$PUT to that.
>>
>> And I don't know how to stuff a reference to a newly
>> created mailbox in there programmatically.
>
> Or to rephrase - I can not find:
>    LIB$OPEN_PROCESS_PERMANENT_FILE
>
> :-)
>
> Arne
>

You could presumably set the logical with LIB$SET_LOGICAL

--
Chris

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<uf9or1$12eao$1@dont-email.me>

  copy mid

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

  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: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
Date: Sat, 30 Sep 2023 14:19:13 -0400
Organization: A noiseless patient Spider
Lines: 53
Message-ID: <uf9or1$12eao$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
<d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
<uf99qr$tkdi$1@dont-email.me> <uf9f32$vd6f$1@dont-email.me>
<uf9m6t$pjl6$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 30 Sep 2023 18:19:13 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="7f8ca02f6f524b0a6118538bce67bfe0";
logging-data="1128792"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX190P0qJabx+i6ZRmXFpsUBguqiCfUaJp1M="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:lL/kb+BBMQsd1lDAW+StEFVZMyw=
In-Reply-To: <uf9m6t$pjl6$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Sat, 30 Sep 2023 18:19 UTC

On 9/30/2023 1:34 PM, Chris Townley wrote:
> On 30/09/2023 16:32, Arne Vajhøj wrote:
>> On 9/30/2023 10:03 AM, Arne Vajhøj wrote:
>>> On 9/27/2023 6:45 AM, Ian Miller wrote:
>>>> On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1,
>>>> vax...@googlemail.com wrote:
>>>>> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
>>>>>> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um
>>>>>> 16:01:15 UTC+2:
>>>>>>> So the question is what output channel is been used by QXP?
>>>>>>
>>>>>> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
>>>>>> supervisor mode AST) writes the output to SYS$OUTPUT using a RMS
>>>>>> $PUT call.
>>>>>>
>>>>>> By default SYS$OUTPUT is a supervisor mode confined logical name,
>>>>>> which points to the 'terminal device'.
>>>>>>
>>>>>> Question: can this be re-directed ?
>>>  >>
>>>  >> Yes, "define/super" redirects the output to a file.
>>>>
>>>> You can create a mailbox, define SYS$OUTPUT to that mailbox then read
>>>> the mailbox to see the file watch messages from the XQP.  Of course
>>>> you see everything that is sent to SYS$OUTPUT but the XQP File Watch
>>>> messages all start with %XQP so can be detected.
>>>
>>> Yes. But it looks like the define need to be done by DCL.
>>>
>>> I did a little test trying to create the mailbox and defining
>>> the logical from code and I don't think XQP does a SYS$OPEN
>>> on whatever SYS$OUTPUT points to - I think it uses the
>>> the first 4 bytes of the SYS$OUTPUT logical value to find a
>>> reference to the file DCL already opened and just
>>> SYS$PUT to that.
>>>
>>> And I don't know how to stuff a reference to a newly
>>> created mailbox in there programmatically.
>>
>> Or to rephrase - I can not find:
>>     LIB$OPEN_PROCESS_PERMANENT_FILE
>>
>> :-)
>
> You could presumably set the logical with LIB$SET_LOGICAL

That is not the problem.

The problem is to get a valid value to set.

Arne

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<3a68bbb7-5414-4653-a768-729d3395f33cn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:1849:b0:65b:8fe:147a with SMTP id d9-20020a056214184900b0065b08fe147amr163472qvy.5.1696254380005;
Mon, 02 Oct 2023 06:46:20 -0700 (PDT)
X-Received: by 2002:a05:6808:238f:b0:3a3:7087:bbfb with SMTP id
bp15-20020a056808238f00b003a37087bbfbmr5829947oib.6.1696254379856; Mon, 02
Oct 2023 06:46:19 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!usenet.blueworldhosting.com!diablo1.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, 2 Oct 2023 06:46:19 -0700 (PDT)
In-Reply-To: <uf9m6t$pjl6$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=92.12.168.195; posting-account=xnH4mQkAAADgGjKHSw0dMDzsXknFp5II
NNTP-Posting-Host: 92.12.168.195
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me> <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com> <3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com> <bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com> <d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
<uf99qr$tkdi$1@dont-email.me> <uf9f32$vd6f$1@dont-email.me> <uf9m6t$pjl6$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3a68bbb7-5414-4653-a768-729d3395f33cn@googlegroups.com>
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: gxy...@uk2.net (Ian Miller)
Injection-Date: Mon, 02 Oct 2023 13:46:19 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3992
 by: Ian Miller - Mon, 2 Oct 2023 13:46 UTC

On Saturday, September 30, 2023 at 6:34:25 PM UTC+1, Chris Townley wrote:
> On 30/09/2023 16:32, Arne Vajhøj wrote:
> > On 9/30/2023 10:03 AM, Arne Vajhøj wrote:
> >> On 9/27/2023 6:45 AM, Ian Miller wrote:
> >>> On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1,
> >>> vax...@googlemail.com wrote:
> >>>> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
> >>>>> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um
> >>>>> 16:01:15 UTC+2:
> >>>>>> So the question is what output channel is been used by QXP?
> >>>>>
> >>>>> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
> >>>>> supervisor mode AST) writes the output to SYS$OUTPUT using a RMS
> >>>>> $PUT call.
> >>>>>
> >>>>> By default SYS$OUTPUT is a supervisor mode confined logical name,
> >>>>> which points to the 'terminal device'.
> >>>>>
> >>>>> Question: can this be re-directed ?
> >> >>
> >> >> Yes, "define/super" redirects the output to a file.
> >>>
> >>> You can create a mailbox, define SYS$OUTPUT to that mailbox then read
> >>> the mailbox to see the file watch messages from the XQP. Of course
> >>> you see everything that is sent to SYS$OUTPUT but the XQP File Watch
> >>> messages all start with %XQP so can be detected.
> >>
> >> Yes. But it looks like the define need to be done by DCL.
> >>
> >> I did a little test trying to create the mailbox and defining
> >> the logical from code and I don't think XQP does a SYS$OPEN
> >> on whatever SYS$OUTPUT points to - I think it uses the
> >> the first 4 bytes of the SYS$OUTPUT logical value to find a
> >> reference to the file DCL already opened and just
> >> SYS$PUT to that.
> >>
> >> And I don't know how to stuff a reference to a newly
> >> created mailbox in there programmatically.
> >
> > Or to rephrase - I can not find:
> > LIB$OPEN_PROCESS_PERMANENT_FILE
> >
> > :-)
> >
> > Arne
> >
> You could presumably set the logical with LIB$SET_LOGICAL
>
> --
> Chris

yes in Super/exec/kernel mode specifying the mode of the logical name as Supervisor.

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<69eb6b42-f4c2-40b9-b06f-f5f5ae184c88n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:5ad1:0:b0:418:af7:3bec with SMTP id d17-20020ac85ad1000000b004180af73becmr185893qtd.13.1696254521739;
Mon, 02 Oct 2023 06:48:41 -0700 (PDT)
X-Received: by 2002:a05:6808:1304:b0:3a7:805:f419 with SMTP id
y4-20020a056808130400b003a70805f419mr5340975oiv.6.1696254521532; Mon, 02 Oct
2023 06:48:41 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.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, 2 Oct 2023 06:48:41 -0700 (PDT)
In-Reply-To: <uf99qr$tkdi$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=92.12.168.195; posting-account=xnH4mQkAAADgGjKHSw0dMDzsXknFp5II
NNTP-Posting-Host: 92.12.168.195
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me> <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com> <3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com> <bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com> <d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
<uf99qr$tkdi$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <69eb6b42-f4c2-40b9-b06f-f5f5ae184c88n@googlegroups.com>
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: gxy...@uk2.net (Ian Miller)
Injection-Date: Mon, 02 Oct 2023 13:48:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3558
 by: Ian Miller - Mon, 2 Oct 2023 13:48 UTC

On Saturday, September 30, 2023 at 3:03:11 PM UTC+1, Arne Vajhøj wrote:
> On 9/27/2023 6:45 AM, Ian Miller wrote:
> > On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1,
> > vax...@googlemail.com wrote:
> >> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
> >>> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um
> >>> 16:01:15 UTC+2:
> >>>> So the question is what output channel is been used by QXP?
> >>>
> >>> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
> >>> supervisor mode AST) writes the output to SYS$OUTPUT using a RMS
> >>> $PUT call.
> >>>
> >>> By default SYS$OUTPUT is a supervisor mode confined logical name,
> >>> which points to the 'terminal device'.
> >>>
> >>> Question: can this be re-directed ?
> >>
> >> Yes, "define/super" redirects the output to a file.
> >
> > You can create a mailbox, define SYS$OUTPUT to that mailbox then read
> > the mailbox to see the file watch messages from the XQP. Of course
> > you see everything that is sent to SYS$OUTPUT but the XQP File Watch
> > messages all start with %XQP so can be detected.
> Yes. But it looks like the define need to be done by DCL.
>
> I did a little test trying to create the mailbox and defining
> the logical from code and I don't think XQP does a SYS$OPEN
> on whatever SYS$OUTPUT points to - I think it uses the
> the first 4 bytes of the SYS$OUTPUT logical value to find a
> reference to the file DCL already opened and just
> SYS$PUT to that.
>
> And I don't know how to stuff a reference to a newly
> created mailbox in there programmatically.
>
> Arne

Call LNM$CRELNM in Super/exec/kernel mode specifying the mode of the logical name as Supervisor which would redefine SYS$OUTPUT to your mailbox.

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<uff845$33qh7$1@dont-email.me>

  copy mid

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

  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: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
Date: Mon, 2 Oct 2023 16:10:46 -0400
Organization: A noiseless patient Spider
Lines: 55
Message-ID: <uff845$33qh7$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
<d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
<uf99qr$tkdi$1@dont-email.me>
<69eb6b42-f4c2-40b9-b06f-f5f5ae184c88n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 Oct 2023 20:10:45 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="a077d7a38e1f364940b6c85bd2ab136c";
logging-data="3271207"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196dKpfV/XxU3yqb/Ko0RzRl1q89hoONvc="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:DDDrEpnWvFYf6tXtGCdKb1mC+RM=
Content-Language: en-US
In-Reply-To: <69eb6b42-f4c2-40b9-b06f-f5f5ae184c88n@googlegroups.com>
 by: Arne Vajhøj - Mon, 2 Oct 2023 20:10 UTC

On 10/2/2023 9:48 AM, Ian Miller wrote:
> On Saturday, September 30, 2023 at 3:03:11 PM UTC+1, Arne Vajhøj wrote:
>> On 9/27/2023 6:45 AM, Ian Miller wrote:
>>> On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1,
>>> vax...@googlemail.com wrote:
>>>> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
>>>>> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um
>>>>> 16:01:15 UTC+2:
>>>>>> So the question is what output channel is been used by QXP?
>>>>>
>>>>> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
>>>>> supervisor mode AST) writes the output to SYS$OUTPUT using a RMS
>>>>> $PUT call.
>>>>>
>>>>> By default SYS$OUTPUT is a supervisor mode confined logical name,
>>>>> which points to the 'terminal device'.
>>>>>
>>>>> Question: can this be re-directed ?
>>>>
>>>> Yes, "define/super" redirects the output to a file.
>>>
>>> You can create a mailbox, define SYS$OUTPUT to that mailbox then read
>>> the mailbox to see the file watch messages from the XQP. Of course
>>> you see everything that is sent to SYS$OUTPUT but the XQP File Watch
>>> messages all start with %XQP so can be detected.
>> Yes. But it looks like the define need to be done by DCL.
>>
>> I did a little test trying to create the mailbox and defining
>> the logical from code and I don't think XQP does a SYS$OPEN
>> on whatever SYS$OUTPUT points to - I think it uses the
>> the first 4 bytes of the SYS$OUTPUT logical value to find a
>> reference to the file DCL already opened and just
>> SYS$PUT to that.
>>
>> And I don't know how to stuff a reference to a newly
>> created mailbox in there programmatically.
>
> Call LNM$CRELNM in Super/exec/kernel mode specifying the mode of the
> logical name as Supervisor which would redefine SYS$OUTPUT to your
> mailbox.
The problem is not defining SYS$OUTPUT in supervisor
mode. That is easy.

But I cannot get it to use the value I define.

Either I am doing it wrong or that XQP code is doing
something funky.

I am suspecting that it uses the IFI in the logical
to find FAB & RAB in P1 space and use those instead of
just calling SYS$OPEN/SYS$CREATE and SYS$CONNECT
to setup new FAB & RAB.

Arne

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<uffkt1$368rn$1@dont-email.me>

  copy mid

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

  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: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
Date: Mon, 2 Oct 2023 19:48:49 -0400
Organization: A noiseless patient Spider
Lines: 70
Message-ID: <uffkt1$368rn$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
<d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
<uf99qr$tkdi$1@dont-email.me>
<69eb6b42-f4c2-40b9-b06f-f5f5ae184c88n@googlegroups.com>
<uff845$33qh7$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 2 Oct 2023 23:48:49 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="76e1dfe7fc674198070883679eba4fe5";
logging-data="3351415"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+zBprzpz4qK3rtk92wFtizbX81VBfoJSU="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:3EXQGfXjdfWHWRVXRzYH40k47/c=
In-Reply-To: <uff845$33qh7$1@dont-email.me>
Content-Language: en-US
 by: Arne Vajhøj - Mon, 2 Oct 2023 23:48 UTC

On 10/2/2023 4:10 PM, Arne Vajhøj wrote:
> On 10/2/2023 9:48 AM, Ian Miller wrote:
>> On Saturday, September 30, 2023 at 3:03:11 PM UTC+1, Arne Vajhøj wrote:
>>> On 9/27/2023 6:45 AM, Ian Miller wrote:
>>>> On Tuesday, September 26, 2023 at 6:30:06 PM UTC+1,
>>>> vax...@googlemail.com wrote:
>>>>> Am 26.09.2023 um 17:53 schrieb Volker Halle via Info-vax:
>>>>>> Eberhard Heuser schrieb am Dienstag, 26. September 2023 um
>>>>>> 16:01:15 UTC+2:
>>>>>>> So the question is what output channel is been used by QXP?
>>>>>>
>>>>>> the XQP (in module [F11X]DISPAT) in routine NOTIFY_AST (run as a
>>>>>> supervisor mode AST) writes the output to SYS$OUTPUT using a RMS
>>>>>> $PUT call.
>>>>>>
>>>>>> By default SYS$OUTPUT is a supervisor mode confined logical name,
>>>>>> which points to the 'terminal device'.
>>>>>>
>>>>>> Question: can this be re-directed ?
>>>>>
>>>>> Yes, "define/super" redirects the output to a file.
>>>>
>>>> You can create a mailbox, define SYS$OUTPUT to that mailbox then read
>>>> the mailbox to see the file watch messages from the XQP. Of course
>>>> you see everything that is sent to SYS$OUTPUT but the XQP File Watch
>>>> messages all start with %XQP so can be detected.
>>> Yes. But it looks like the define need to be done by DCL.
>>>
>>> I did a little test trying to create the mailbox and defining
>>> the logical from code and I don't think XQP does a SYS$OPEN
>>> on whatever SYS$OUTPUT points to - I think it uses the
>>> the first 4 bytes of the SYS$OUTPUT logical value to find a
>>> reference to the file DCL already opened and just
>>> SYS$PUT to that.
>>>
>>> And I don't know how to stuff a reference to a newly
>>> created mailbox in there programmatically.
>>
>> Call LNM$CRELNM in Super/exec/kernel mode specifying the mode of the
>> logical name as Supervisor which would redefine SYS$OUTPUT to your
>> mailbox.
> The problem is not defining SYS$OUTPUT in supervisor
> mode. That is easy.
>
> But I cannot get it to use the value I define.
>
> Either I am doing it wrong or that XQP code is doing
> something funky.
>
> I am suspecting that it uses the IFI in the logical
> to find FAB & RAB in P1 space and use those instead of
> just calling SYS$OPEN/SYS$CREATE and SYS$CONNECT
> to setup new FAB & RAB.

Or maybe something else.

I create a mailbox and define SYS$OUTPUT to
point to that, use Reagans code to flip bit
and what I observe is that:
- plain C IO end up fine in the mailbox
- if SET WATCH has not been used before by process
then the process hangs
- if SET WATCH has been used before with terminal
then the output goes to terminal ignoring the
define

Weird.

Arne

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<df2635bb-2d56-4f7c-a3ca-8afb4c9d5baen@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:a05:6214:5641:b0:65b:11fe:bda with SMTP id mh1-20020a056214564100b0065b11fe0bdamr189142qvb.11.1696318303328;
Tue, 03 Oct 2023 00:31:43 -0700 (PDT)
X-Received: by 2002:a05:6871:408b:b0:1e1:1e68:ba3d with SMTP id
kz11-20020a056871408b00b001e11e68ba3dmr4882256oab.7.1696318303022; Tue, 03
Oct 2023 00:31:43 -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: Tue, 3 Oct 2023 00:31:42 -0700 (PDT)
In-Reply-To: <uffkt1$368rn$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2003:e7:2720:6b8f:e1e6:7d5:1de9:3222;
posting-account=cHmS7AoAAACMYAFH9kP9m4l8qjrXLvte
NNTP-Posting-Host: 2003:e7:2720:6b8f:e1e6:7d5:1de9:3222
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me> <94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com> <3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com> <bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com> <d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
<uf99qr$tkdi$1@dont-email.me> <69eb6b42-f4c2-40b9-b06f-f5f5ae184c88n@googlegroups.com>
<uff845$33qh7$1@dont-email.me> <uffkt1$368rn$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <df2635bb-2d56-4f7c-a3ca-8afb4c9d5baen@googlegroups.com>
Subject: Re: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
From: volker_h...@hotmail.com (Volker Halle)
Injection-Date: Tue, 03 Oct 2023 07:31:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Volker Halle - Tue, 3 Oct 2023 07:31 UTC

Arne Vajhøj schrieb am Dienstag, 3. Oktober 2023 um 01:48:53 UTC+2:
> >
> > I am suspecting that it uses the IFI in the logical
> > to find FAB & RAB in P1 space and use those instead of
> > just calling SYS$OPEN/SYS$CREATE and SYS$CONNECT
> > to setup new FAB & RAB.
>
> I create a mailbox and define SYS$OUTPUT to
> point to that, use Reagans code to flip bit
> and what I observe is that:
> - plain C IO end up fine in the mailbox
> - if SET WATCH has not been used before by process
> then the process hangs
> - if SET WATCH has been used before with terminal
> then the output goes to terminal ignoring the
> define

Arne,

the NOTIFY_AST checks, if it's output file has already been opened (by checking it's internal IFI/ISI storage location) and opens the file pointed to by SYS$OUTPUT, if it has not already been opened by the XQP. It then remembers the IFI/ISI for the next invocation of the AST.

Do you have some code set up to READ the mailbox ? Otherwise the process trying to write to a full mailbox will hang...

Volker.

Re: Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?

<ufkvnl$j5as$1@dont-email.me>

  copy mid

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

  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: Howto can I call the undocumented "set watch/class=dir" in an own
program and fetch the output in my program?
Date: Wed, 4 Oct 2023 20:24:21 -0400
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <ufkvnl$j5as$1@dont-email.me>
References: <9f0f604f-5aad-442f-97bc-98ecfc64d754n@googlegroups.com>
<ueq6jl$1gncr$1@dont-email.me>
<94083a10-a208-4b89-a71d-8abe74d1862en@googlegroups.com>
<684e40e8-a090-40b7-a726-bd73de8d3807n@googlegroups.com>
<3823c8d7-72ed-4518-8d1b-11b0c08812d0n@googlegroups.com>
<517ce68a-3ec1-42d0-a198-ed5a54b56b79@gmail.com>
<bfdc1cd7-1796-49e1-8b4b-6513665130d7n@googlegroups.com>
<mailman.3.1695749380.16739.info-vax_rbnsn.com@rbnsn.com>
<d40c34bd-e300-46e8-b506-79f2cab4f862n@googlegroups.com>
<uf99qr$tkdi$1@dont-email.me>
<69eb6b42-f4c2-40b9-b06f-f5f5ae184c88n@googlegroups.com>
<uff845$33qh7$1@dont-email.me> <uffkt1$368rn$1@dont-email.me>
<df2635bb-2d56-4f7c-a3ca-8afb4c9d5baen@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 5 Oct 2023 00:24:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b237f1a92c7ecf18b15cf4c07e3ec1c1";
logging-data="628060"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+dOFx4p2xaj0lqKAca66bGkZ3/h2wK8z0="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:BDooXMuHbjivm2m9Fb2VGaPcnh0=
In-Reply-To: <df2635bb-2d56-4f7c-a3ca-8afb4c9d5baen@googlegroups.com>
Content-Language: en-US
 by: Arne Vajhøj - Thu, 5 Oct 2023 00:24 UTC

On 10/3/2023 3:31 AM, Volker Halle wrote:
> Arne Vajhøj schrieb am Dienstag, 3. Oktober 2023 um 01:48:53 UTC+2:
>>>
>>> I am suspecting that it uses the IFI in the logical to find FAB &
>>> RAB in P1 space and use those instead of just calling
>>> SYS$OPEN/SYS$CREATE and SYS$CONNECT to setup new FAB & RAB.
>>
>> I create a mailbox and define SYS$OUTPUT to point to that, use
>> Reagans code to flip bit and what I observe is that: - plain C IO
>> end up fine in the mailbox - if SET WATCH has not been used before
>> by process then the process hangs - if SET WATCH has been used
>> before with terminal then the output goes to terminal ignoring the
>> define

> the NOTIFY_AST checks, if it's output file has already been opened
> (by checking it's internal IFI/ISI storage location) and opens the
> file pointed to by SYS$OUTPUT, if it has not already been opened by
> the XQP. It then remembers the IFI/ISI for the next invocation of the
> AST.
>
> Do you have some code set up to READ the mailbox ? Otherwise the
> process trying to write to a full mailbox will hang...

Yes - I have a write attention AST doing reads.

But it sounds like there must be a problem in my code.

I will have to look at again, clean it up and if I am lost
post an illustrative example.

Arne

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor