1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
|
Network Working Group J. Davidson
Request for Comments: 563 University of Hawaii
NIC: 18775 28 August 1973
References: RFC 357, RFC 560
Comments on the RCTE TELNET Option
RFC 560 describes a Remote Controlled Transmission and Echoing TELNET
option. Its authors provide a framework wherein a serving host may
control two aspects of TELNET communication over the (simplex) user-
to-server path.
Commands are introduced which govern
1. when (and which) characters shall be echoed by the user, and
2. when (and which) characters shall be transmitted by the
user.
Motivation for the option was based on two considerations:
1. the latency between striking and printing of a character
which is to be echoed by a remote server is disconcerting to
the human typist, and
2. character-at-a-time transmission introduces processing
inefficiencies (for IMPS, for servers, for users) and
decreases effective channel thruputs over the net.
The author feels that the RCTE description is in error (or at least
unclear [1]) in its treatment of when characters are to be
transmitted. However, discussion of the subject in the RCTE
specification is incomplete, so it is difficult to point to a
statement which is "wrong." Rather, the present objections are based
on inferences drawn from the sample TENEX interaction
Perhaps there is some misunderstanding of the original issues to
which RCTE now addresses itself.
Original Motivation for Remote Controlled Echoing (RCE)
RFC 357 (An Echoing Strategy for Satellite Links) introduced a need
for RCE for users who are separated from a service host by a
satellite link. The motivation was to lessen human frustration and
confusion; no consideration was given to resulting processing
inefficiencies or channel thruputs.
(In the remainder of this RFC, we consider character transmission
apart from echoing considerations.)
Davidson [Page 1]
^L
RFC 563 Comments on the RCTE TELNET Option 28 August 1973
It was recognized that the human's best interests could be served if
user-to-server transmission were performed on a character-by-
character basis, (the implicit assumption being that this insured
the most rapid server response possible). This scheme allowed for
the classic overlap of (network) I/O and computation, and was thus
efficient as far as the (human) user was concerned.
Concessions were made in the transmission strategy when it was
accepted that the serving process could not in fact do any
significant processing until a completed command was available.
Ideally then, users should be able to buffer characters until they
have a completed command and then fire off the entire command in a
single "packet," with the resultant savings in channel usage and a
greater per-packet data efficiency. The characters which delimited
commands were called wakeup characters, in 357, for their effect on
the serving process. RCTE calls them transmission characters for the
effect they have at the User TELNET.
The key here is that it is quite possible for a human, separated by
a satellite link from his remote host, to type several completed
commands - and to therefore initiate several packet transmissions-
all the while awaiting the server's response to his first command.
Again we see the overlap of I/O and computation, and again we
achieve maximum efficiency from the human's viewpoint.
The problem, however, is that wakeup (transmission) character sets
change. And there will always be a finite amount of time [the one-
way transmission time] during which the set definitions will differ
between server and user. This says that during such times the user
will be sending off packets which do not contain completed commands,
(or contain more than a single completed command), or he will be
buffering characters beyond the end of a completed command. (A
fourth alternative is that he may actually still be doing the right
thing by chance). Buffering beyond the end of a command is the only
case which lessens processing efficiency for the human, however.
Dissatisfaction With RCTE
Here is the author's complaint: RCTE [at least the sample
interaction which allowed transmission (by default) only at break
characters] would have the TELNET user wait until he knows exactly
the wakeup (transmission) character set being used by the server !
Ideal channel utilization might be achieved, since no "unnecessary"
packets are sent (and, strangely, no extra characters are allowed in
the current packet) but the overlap of I/O and computation has been
eliminated, and the human has an extra round-trip time added to the
server's processing time. This is wrong.
Davidson [Page 2]
^L
RFC 563 Comments on the RCTE TELNET Option 28 August 1973
An Alternative Implementation
Unless a round-trip time penalty is to be paid by the human at every
break interaction, the user TELNET must transmit characters based on
the transmission character set in effect at the moment the characters
are typed. And unless the step-by-step interaction developed in the
RCTE TENEX example was not a true representation of the relative
temporal occurances of events, RCTE did not do this.
The sample TENEX interaction showed the user typing
(T:) LOGIN ARPA <cr>
while the break set included <space> and <cr>. The only
transmission characters in effect were the break characters - by
default. The RCTE example showed that the LOGIN <space> phrase
was, properly, a completed command; it was transmitted. But
while the alternative transmission strategy of the current RFC
would "recognize" the ARPA <cr> phrase as a second completed
command, and thus initiate a second transmission, RCTE withholds
judgment until the server respecifies the transmission classes.
Response for the user suffers.
One might also ask what transmission strategy was to be undertaken
when two users were, say, linked thru a TENEX. Transmission
should obviously be at every character. RCTE would send the first
single character packet and then wait to be sure that a single
character did in fact delimit the next command also. It would
wait a long time it would seem, since no break interaction would
occur until the end of the line (<cr>). The user would be echoing
like a champ, but no characters would be transmitted for the
linked party's inspection.
If we adopt the convention that transmission decisions should be
based on the transmission set [and by default, the break set] in
effect at the time the character is typed, then the sample
interaction might in fact look like this:
P: TENEX 1.31.18, TENEX EXEC 1.50.2 <cr> <lf>@
T: LOGIN <space>
P: LOGIN <space> } >>>>>> NOTE: Typing and printing occurs simul-
U: LOGIN <space> taneously up to the <space> at
which point the human "types-ahead."
T: ARPA <cr>
U: ARPA <cr> <<key: the user transmits a second packet.
Davidson [Page 3]
^L
RFC 563 Comments on the RCTE TELNET Option 28 August 1973
S: <space> <IAC> <SB> <RCTE> <0>
P: <space> AR
S: <cr> <lf> (PASSWORD): <IAC> <SB> <RCTE> <7>
[the server sends while text is printing]
P: PA <cr> <lf> (PASSWORD):
T: WASHINGTON <space>
U: WASHINGTON <space>
T: 100
S: <space> <IAC> <SB> <RCTE> <3>
P: <space> 100
T: 0 [Again printing is
simultaneous to typing]
P: 0
T: <cr>
P: <cr>
U: 1000 <cr>
S: <cr> <lf> JOB ...
The interaction will not necessarily be the same each time. It
depends on the typing speed of the user and response time of the
server. For this example, both channel utilization and performance
for the human are perfect, since the transmission set [even though
it was only the default break set] did not change.
Unsolicited Output
The question of unsolicited output arise again. The treatment in 560
was simplified over that of 357 only because of the RCTE transmission
strategy. No output could possibly be returning for a command which
hasn't been sent yet (!), so the message must be "SYSTEM GOING
DOWN."
Davidson [Page 4]
^L
RFC 563 Comments on the RCTE TELNET Option 28 August 1973
RFC 357 outlines when unsolicited output can be recognized and when
it should be printed, in line with the alternate transmission scheme
proposed. The requirement that such system alerts be terminated by
RCTE commands is of course the proper way to handle such interrupts;
this clarification of the unsatisfactory solution in 357 is
appreciated.
TIP Buffering
RCTE as defined cannot allow a user to transmit when his buffer is
full, else he might send a break character. [presumably the buffer
fills because we are waiting for break (transmission) redefinition].
The response to the command delimited by the break character could
return before the characters, of the command were "echoed." RCTE
would thus demand that it be printed first, and the listing would be
out of order.
The alternative transmission strategy eliminates this problem since
transmission of a full buffer is no worse than guessing incorrectly
that the last character in the buffer is a transmission character.
A further suggestion
All server-to-user echoing could be eliminated if control bytes were
sent to indicate which break sets should be echoed and which
shouldn't.
Endnotes
[1] for example: statement 2E2F does not properly distinguish
between the "occurrence" of a break character and the "occurrence" of
a Transmission character. The present RFC shows that they are
fundamentally different.
Davidson [Page 5]
^L
|