muta...@gmail.com
2021-06-11 04:38:06 UTC
When my application, e.g. micro-emacs, is printing
something on the screen, and then does a calculation,
only micro-emacs knows whether it has finished
writing or not. The OS and the user need to wait.
On some terminals, like a 3270, the screen would
actually be locked while this is happening.
Then, micro-emacs switches to read. It is only at that
point that the OS knows that the writing has finished.
I'm not so much interested in the 3270 at this point,
but a user/app/OS at the other end of a COM port
using a terminal emulator, maybe ANSI.
The OS my end needs to send something down the
COM port to let the user know that they can start
typing, and that the OS my end is now in read mode.
I guess an ANSI sequence could be sent, if one exists.
But it may be a line mode terminal, so I don't think
that is the right level.
I think there should be a control character to say that
the mode has just switched. Does one exist?
Thanks. Paul.
something on the screen, and then does a calculation,
only micro-emacs knows whether it has finished
writing or not. The OS and the user need to wait.
On some terminals, like a 3270, the screen would
actually be locked while this is happening.
Then, micro-emacs switches to read. It is only at that
point that the OS knows that the writing has finished.
I'm not so much interested in the 3270 at this point,
but a user/app/OS at the other end of a COM port
using a terminal emulator, maybe ANSI.
The OS my end needs to send something down the
COM port to let the user know that they can start
typing, and that the OS my end is now in read mode.
I guess an ANSI sequence could be sent, if one exists.
But it may be a line mode terminal, so I don't think
that is the right level.
I think there should be a control character to say that
the mode has just switched. Does one exist?
Thanks. Paul.