[Info-vax] F6 and ctrl-C

Jan-Erik Söderholm jan-erik.soderholm at telia.com
Fri Jul 9 11:03:01 EDT 2021


Den 2021-07-09 kl. 14:59, skrev Arne Vajhøj:
> On 7/9/2021 2:35 AM, Joukj wrote:
>> Dave Froble wrote:
>>> On 7/8/2021 7:37 PM, Jan-Erik Söderholm wrote:
>>>> It seems as PF6 and PF10 are linked to Ctrl/C and Ctrl/Z.
>>>> At least as it says in the OpenVMS User Manual:
>>>>
>>>> Ctrl/Z and F10 Signals the end of the file for data entered from the
>>>> terminal.
>>>>
>>>> Ctrl/Y, Ctrl/C and F6 Interrupts command processing. You can disable
>>>> Ctrl/Y with the command SET NOCONTROL=Y.
>>>
>>> Basic allows ^C to be trapped and handled in a program.  Perhaps Cobol 
>>> also has this capability.
>>>
>>> As Steve sometimes mentions, terse questions beget terse answers.  Can 
>>> you be more specific on how you're handling the terminal I/O ?
>>>
>> All languages should be able to do it by a call to sys$qiow
> 
> lib$disable_ctrl and sys$qiow with IO$_SETMODE|IO$M_CTRLCAST|IO$M_CTRLYAST ?
> 
> Arne
> 

I think that we made a quick solution by running the application
from a short COM file where we do a few set term commands...
It works "good enough" for now...

Thanks everyone for your comments.

Jan-Erik.



More information about the Info-vax mailing list