[Info-vax] Howto can I call the undocumented "set watch/class=dir" in an own program and fetch the output in my program?
Brian Schenkenberger
mail at SendSpamHere.ORG
Sun Sep 24 16:36:05 EDT 2023
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!
More information about the Info-vax
mailing list