muta...@gmail.com
2021-12-27 04:22:28 UTC
I think the difference between Unix and MVS, as
operating systems - from a file processing API
perspective - is that MVS deals with blocks while
Unix deals with characters.
I'm interested in block mode terminals. When you
read data from a terminal, I think the OS/application
should receive an interrupt when one of the following
(set by the application) happens:
1. CR/LF/NL received.
2. XON received.
3. Any data at all received.
When a terminal is in fullscreen mode, what I expect
is that the server, when doing a read, sends an XON
to let the terminal know that it is it's turn. And then
when the terminal sends a character or sequence,
it should terminate with XON to let the server know
it is finished and started a read.
But if a zmodem file transfer is being done across
the line, we are only expecting data. Or maybe it should
be part of the zmodem (or zmodem+) protocol to send
an XON after each block. The trouble is that XON normally
implies that the terminal is about to go into read mode,
but during a zmodem transfer there is simply more data
transmitted.
I'm still trying to figure out zmodem should ideally work
on the mainframe.
BFN. Paul.
operating systems - from a file processing API
perspective - is that MVS deals with blocks while
Unix deals with characters.
I'm interested in block mode terminals. When you
read data from a terminal, I think the OS/application
should receive an interrupt when one of the following
(set by the application) happens:
1. CR/LF/NL received.
2. XON received.
3. Any data at all received.
When a terminal is in fullscreen mode, what I expect
is that the server, when doing a read, sends an XON
to let the terminal know that it is it's turn. And then
when the terminal sends a character or sequence,
it should terminate with XON to let the server know
it is finished and started a read.
But if a zmodem file transfer is being done across
the line, we are only expecting data. Or maybe it should
be part of the zmodem (or zmodem+) protocol to send
an XON after each block. The trouble is that XON normally
implies that the terminal is about to go into read mode,
but during a zmodem transfer there is simply more data
transmitted.
I'm still trying to figure out zmodem should ideally work
on the mainframe.
BFN. Paul.