Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Break Key #32

Open
turgu1 opened this issue Jan 13, 2024 · 7 comments
Open

Break Key #32

turgu1 opened this issue Jan 13, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@turgu1
Copy link

turgu1 commented Jan 13, 2024

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

@rricharz
Copy link
Owner

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

@rricharz
Copy link
Owner

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.

@turgu1
Copy link
Author

turgu1 commented Jan 20, 2024

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.

@rricharz
Copy link
Owner

rricharz commented Feb 1, 2024

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

@turgu1
Copy link
Author

turgu1 commented Feb 1, 2024

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

@rricharz
Copy link
Owner

rricharz commented Feb 1, 2024

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 rricharz added the enhancement New feature or request label Feb 2, 2024
@rricharz
Copy link
Owner

rricharz commented Mar 1, 2024

No feedback received up to now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants