[Info-vax] F6 and ctrl-C

Stephen Hoffman seaohveh at hoffmanlabs.invalid
Thu Jul 8 20:12:57 EDT 2021


On 2021-07-08 23:37:08 +0000, Jan-Erik Sderholm said:

> I want to have PF6 available as a function key in the application...

F6 sends its expected function key control sequence, and the terminal 
driver intercepts and converts that to ^C, and SET TERMINAL 
/NOLINE_EDIT is one way to disable that driver conversion.

I don't recall if there's a (more) targeted means to disable (just) F6 
conversion within the terminal driver itself, short of patching the 
driver or such, and, yes, /NOLINE_EDIT is a fairly large hammer.

Or tweak the terminal emulator to send something other than (in eight 
bit) CSI 1 7.

> And also, I do not seem to get the ESC codes 11~ to 14~ through.
> They comes from the F1-F4 och the PC keyboard...

VT terminals treat the first clump of DEC OpenVMS LK-layout function 
keys as local, so most of OpenVMS tends not to expect to ever see F1, 
F2, F3, F4, or F5.

> Any ideas?

For some of the usual code for fielding ^C and ^Y, see: 
https://www.digiater.nl/openvms/freeware/v80/hoffman_examples/lib$xxable_ctrl.c 




-- 
Pure Personal Opinion | HoffmanLabs LLC 




More information about the Info-vax mailing list