home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 600s / rfc656.txt < prev    next >
Text File  |  1992-10-14  |  5KB  |  95 lines

  1. TELNET OUTPUT VERTICAL TABSTOPS OPTION
  2. RFC 656, NIC 31159 (Oct. 25, 1974)"
  3. D. Crocker (UCLA-NMC)
  4. Online file: [ISI]<DCROCKER>NAOVTS.TXT
  5.  
  6.                 TELNET OUTPUT VERTICAL TABSTOPS OPTION
  7.  
  8. 1. Command name and code
  9.    NAOVTS 14
  10.       (Negotiate About Vertcial Tabstops)
  11.  
  12. 2. Command meanings
  13.    In the following, we are discussing a simplex connection, as described in 
  14.    the NAOL and NAOP Telnet Options specifications.
  15.       IAC DO NAOVTS 
  16.          The data sender requests or agrees to negotiate about output
  17.          vertical tabstops with the data receiver.  In the case where
  18.          agreement has been reached and in the absence of further
  19.          subnegotiations, the data receiver is assumed to be handling output
  20.          vertical tabstop considerations.
  21.       IAC DON'T NAOVTS 
  22.          The data sender refuses to negotiate about output vertical tabstops 
  23.          with the data receiver, or demands a return to the unnegotiated 
  24.          default mode.
  25.       IAC WILL NAOVTS 
  26.          The data receiver requests or agrees to negotiate about output 
  27.          vertical tabstops with the sender.  In the case where agreement has 
  28.          been reached and in the absence of further subnegotiations, the data 
  29.          receiver alone is assumed to be handling output vertical tabstop 
  30.          considerations.
  31.       IAC WON'T NAOVTS 
  32.          The data receiver refuses to negotiate about output vertical
  33.          tabstops, or demands a return to the unnegotiated default mode.
  34.       IAC SB NAOVTS DS <8-bit value> ... <8-bit value> IAC SE
  35.          The data sender specifies, with the 8-bit value(s), which party
  36.          should handle output vertical tabstop considerations and what the
  37.          stops should be.  The code for DS is 1.
  38.       IAC SB NAOVTS DR <8-bit value> ... <8-bit value> IAC SE
  39.          The data receiver specifies, with the 8-bit value(s), which party 
  40.          should handle output vertical tabstop considerations and what the 
  41.          stops should be.  The code for DR is 0.
  42.  
  43. 3. Default
  44.    DON'T NAOVTS/WON'T NAOVTS.
  45.       In the default absence of negotiations concerning which party, data
  46.       sender or data receiver, is handling output vertical tabstop
  47.       considerations, neither party is required to handle vertical tabstops
  48.       and neither party is prohibited from handling them; but it is
  49.       appropriate if at least the data receiver handles vertical tabstop
  50.       considerations, albeit primitively.
  51.  
  52. 4. Motivation for the Option
  53.    Please refer to section 4 of the NAOL and of the NAOVTS Telnet option 
  54.    descriptions.
  55.  
  56. 5. Description of the Option
  57.    The data sender and the data receiver use the 8-bit value(s) along with
  58.    the DS and DR SB commands as follows (multiple 8-bit values are allowed
  59.    only if each is greater than zero and less than 251):
  60.  
  61.       8-bit value                      Meaning                      
  62.  
  63.       0            Command sender suggests that he alone will handle  
  64.                    the vertical tabstops, for the connection.         
  65.       1 to 250     Command sender suggests that the other party alone 
  66.                    should handle the stops, but suggests that the     
  67.                    indicated value(s) be used.  Each value is the line 
  68.                    number, relative to the top of the printer page or 
  69.                    terminal screen, that is to be set as a vertical   
  70.                    tabstop.                                           
  71.       251 to 254   Not allowed, in order to be compatible with        
  72.                    related Telnet options.                            
  73.       255          Command sender suggests that the other party alone 
  74.                    should handle output vertical tabstops and         
  75.                    suggests nothing about how it should be done.      
  76.  
  77.    The guiding rules are that:
  78.  
  79.       1) if neither data receiver nor data sender wants to handle output 
  80.       vertical tabstops, the data receiver must do it, and
  81.       2) if both data receiver and data sender want to handle output vertical 
  82.       tabstops, the data sender gets to do it.
  83.  
  84. The reasoning for the former rule is that if neither wants to do it, then 
  85. the default in the NAOVTS option dominates.  If both want to do it, the 
  86. sender, who is presumed to have special knowledge about the data, should be 
  87. allowed to do it, taking into account any suggestions the receiver may make.
  88. This is necessary due to the assynchrony of network transmissions.
  89. As with all option negotiations, neither party should suggest a state 
  90. already in effect except to refuse to negotiate; changes should be 
  91. acknowledged; and once refused, an option should not be resuggested until 
  92. "something changes" (e.g., another process starts).
  93. At any time, either party can disable further negotiation by giving the 
  94. appropriate WON'T NAOVTS or DON'T NAOVTS command.
  95.