Tek4010 icon indicating copy to clipboard operation
Tek4010 copied to clipboard

Break Key

Open turgu1 opened this issue 1 year ago • 7 comments

Hello,

First, thanks for this emulator. Very interesting!!

Is there any provision to be able to send a break with it, as per the Break Key available with the Tektronix keyboards? Needed to have a emulated system to ask for login.

Thanks!

Guy

turgu1 avatar Jan 13 '24 20:01 turgu1

This needs some further research to work together with rs232-console.

rricharz avatar Jan 18 '24 08:01 rricharz

Are you using rs232-console to hook up tek4010? If not, please describe exactly what tek4010 needs to do, and what combination of keys you propose to simulate the break key.

rricharz avatar Jan 20 '24 08:01 rricharz

I’m using the telnet sub-process with Tek4010 through the telnet parameter. As a keyboard key, I thought that the Pause/Break (key code 0xFF13] key would be a good choice for that. When using telnet alone, there is a command that is available when escaping to the telnet prompt: ‘send break’. It then send two byte through the socket: 0xFF 0xF3 (found that from the telnet spec). Their maybe another way to do it, but I’m not enough familiar with dealing with telnet as a subprocess.

turgu1 avatar Jan 20 '24 11:01 turgu1

Maybe control j will do the job, but I cannot test it.

rricharz avatar Feb 01 '24 06:02 rricharz

Just tested it. Didn't work. Was expected as ctrl-j is normally a line-feed character.

turgu1 avatar Feb 01 '24 13:02 turgu1

I have modified tek4010 to send 0xFF 0xF3 if alt-b is used. I think that alt-b has the same code on all keyboards.

Can you please check it, because I have no system to check it. You should also get a message in the terminal window that a break code was sent. The change is in main.c line 166-173.

rricharz avatar Feb 01 '24 17:02 rricharz

No feedback received up to now.

rricharz avatar Mar 01 '24 05:03 rricharz