John David Cavanaugh (firstname.lastname@example.org)
22 Apr 88 20:16:52 GMT
I wonder if anyone can help me with a protocol question. Suppose you have
a Telnet connection that has been put into 3270 mode either by the 3270 Regime
option or a la tn3270 (Terminal Type, Binary, and End of Record options).
When you get a 3270 data stream, you look for IAC EOR to mark the end of it.
The question is: What do you do when you find some other Telnet command
(e.g. IAC AO) before you find the EOR? I can imagine four choices:
1. Ignore the command (doesn't seem like a good idea).
2. Handle the command immediately (the problem with this is that a lot
of the Telnet commands don't have much meaning in 3270 mode).
3. Save the command and do it after you find the EOR (doesn't seem right).
4. Throw away the whole data stream and send an error message back to the
user (which hoplessly messes up some poor data entry clerk's session).
My understanding is that Telnet commands "shouldn't" appear in the middle
of the data stream. Is this correct? Does any implementation of tn3270 or
the 3270 Regime option put commands there?
Thanks in advance for your help. Reply to:
John Cavanaugh John.Cavanaugh@StPaul.NCR.COM
NCR Comten, Inc.
2700 Snelling Ave. N
St. Paul, MN 55113
(612) 638-2822 The opinions expressed ...
This archive was generated by hypermail 2.0b3 on Thu Mar 09 2000 - 14:41:56 GMT