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

Replace control sequence RIS by DECSTR #6

Open
Schwefelholz opened this issue Oct 3, 2024 · 1 comment
Open

Replace control sequence RIS by DECSTR #6

Schwefelholz opened this issue Oct 3, 2024 · 1 comment

Comments

@Schwefelholz
Copy link

Seems you're using the RIS signal (ESC c) to reset the terminal (clear screen).
You should consider to replace this sequence by the DECSTR signal instead.

If you refer to https://vt100.net/docs/vt510-rm/RIS

The RIS control sequence is a full terminal reset.

The page says:

It is recommended that you not use RIS to reset the terminal. You should use a soft terminal reset (DECSTR) instead. RIS usually causes a communication line disconnect and may change the current baud rate settings. When performing a RIS, the terminal sends XOFF to the host to stop communication. When the RIS is complete, the terminal sends XON to resume communication.

@Schwefelholz
Copy link
Author

Schwefelholz commented Oct 3, 2024

I found that using DECSTR doesn't seem to be such a good idea as well, because it apparently has got issues with the WebUI Terminal.

I found a working ESC sequence to clear the screen that is actually working on all three different terminals I have at my disposal: The WebUI Terminal on the IMSAIesp, the S-132 by TheHighNibble and a VT-100 Terminal by LegacyPixels:

^[[2J ^[[f

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

No branches or pull requests

1 participant