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

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