[Info-vax] disabling a CTRL/Y ast
Stephen Hoffman
seaohveh at hoffmanlabs.invalid
Wed Jan 6 10:54:17 EST 2016
On 2016-01-06 15:15:09 +0000, Tom Adams said:
> Section 5.4.3.2 here:
>
> http://www2.hmc.edu/www_common/OVMS072-OLD/72final/6136/6136pro_019.html
>
> explains how to enable a ctrl/y ast using IO$M_CTRLYAST. It also says:
>
> "This function code is also used to disable the AST."
>
> but I cannot figure out the arguments of the QIOW call that would
> disable the AST.
>
> How does one disable the AST?
That doesn't do what you want.
That disables the AST that was set — by specifying 0 as the AST routine
address — but in the case you're still working toward, you want no ^Y.
"P1---Address of the AST service or 0 if the corresponding AST is disabled"
See the lib$enable_ctrl and lib$disable_ctrl calls to enable and
disable the associated CLI-level handling — which is what you want and
need here, if you're not going to segment the code to avoid the problem
— and also see replies to your previous postings here.
--
Pure Personal Opinion | HoffmanLabs LLC
More information about the Info-vax
mailing list