RFC 653
Telnet output horizontal tabstops option
TELNET OUTPUT HORIZONTAL TABSTOPS OPTION π
okay bestie, this is RFC 653 (NIC 31156), dated Oct. 25, 1974, written by D. Crocker (UCLA-NMC) π It's a Telnet option all about who handles output horizontal tabstops, and the online copy lives at [ISI]<DCROCKER>NAOHTS.TXT π¦
1. Command name and code β¨
the option is NAOHTS 11 (Negotiate About Output Horizontal Tabstops) π
that's the whole ID, no cap πΈ
2. Command meanings π
okay so first, we're talking about a simplex connection, the same setup the NAOL and NAOP Telnet options describe π«Ά here's what each command means:
IAC DO NAOHTSπ₯ the data sender asks to negotiate about output horizontal tabstops with the data receiver, or says yes to negotiating. if they actually agree and nobody sends more subnegotiations, the data receiver is assumed to be handling output horizontal tabstops. literally iconic πIAC DON'T NAOHTSπ the data sender refuses to negotiate about output horizontal tabstops with the data receiver, or it demands a return to the unnegotiated default mode. not me being rejected πIAC WILL NAOHTSβ¨ the data receiver asks to negotiate, or agrees to. if they agree and there are no further subnegotiations, the data receiver alone is assumed to be handling output horizontal tabstops π§IAC WON'T NAOHTSπ the data receiver refuses to negotiate about output horizontal tabstops, or demands a return to the unnegotiated default mode. periodt πIAC SB NAOHTS DS <8-bit value> ... <8-bit value> IAC SEπ the data sender uses the 8-bit value(s) to say which party should handle output horizontal tabstop considerations and what the stops should be. the code for DS is1πIAC SB NAOHTS DR <8-bit value> ... <8-bit value> IAC SEπ¦ the data receiver uses the 8-bit value(s) to say which party should handle output horizontal tabstop considerations and what the stops should be. the code for DR is0π
3. Default πΈ
the default is DON'T NAOHTS/WON'T NAOHTS π so if nobody's negotiated who's handling output horizontal tabstops, neither party is required to handle them, and neither party is prohibited from handling them. but it's appropriate if at least the data receiver handles horizontal tabstops, even if it's primitive about it π«Ά
4. Motivation for the Option π§
for the why, check out section 4 of the NAOL and NAOP Telnet option descriptions π the reasoning is over there, bestie π
5. Description of the Option π
the data sender and data receiver use the 8-bit value(s) together with the DS and DR SB subcommands like this. multiple 8-bit values are only allowed if each one is greater than zero and less than 251 β¨
8-bit value : Meaning :
0 Command sender suggests that he alone will handle
tabstops, for the connection.
1 to 250 Command sender suggests that the other party alone
should handle tabstop considerations, but suggests
that the indicated value(s) be used. The value(s)
are the column numbers, relative to the physical
left side of the printer page or terminal screen,
that are to be set.
251 to 254 Not allowed, in order to be compatible with
related Telnet options.
255 Command sender suggests that the other party alone
should handle output tabstops and suggests nothing
about how it should be done.
okay the guiding rules are:
- if neither the data receiver nor the data sender wants to handle output horizontal tabstops, the data receiver must do it, and
- if both the data receiver and the data sender want to handle output horizontal tabstops, the data sender gets to do it.
the reasoning for rule (1) is that if neither wants to do it, the default in the NAOHTS option wins π and for rule (2), the sender is presumed to have special knowledge about the data, so they should be allowed to do it, while still taking into account any suggestions the receiver makes π«Ά
same as with all option negotiations: neither party should suggest a state that's already in effect, except to refuse to negotiate. changes should be acknowledged, and once something's been refused, the option shouldn't be suggested again until "something changes" (for example, another process starts) π
and at any time, either party can turn off further negotiation by sending the appropriate WON'T NAOHTS or DON'T NAOHTS command π that's the tea, bestie β¨
π¦ where this page comes from
- ietf: rfc653 1974-10
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms