home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 800s / rfc885.txt < prev    next >
Text File  |  1992-09-22  |  3KB  |  115 lines

  1.  
  2.  
  3. Network Working Group                                          J. Postel
  4. Request for Comments: 885                                            ISI
  5.                                                            December 1983
  6.  
  7.                       TELNET END OF RECORD OPTION
  8.  
  9.  
  10. This RFC specifies a standard for the ARPA Internet community.  Hosts on
  11. the ARPA Internet that need to mark record boundaries within Telnet
  12. protocol data are expected to adopt and implement this standard.
  13.  
  14. 1.  Command Name and Code
  15.  
  16.    END-OF-RECORD     25
  17.  
  18. 2.  Command Meanings
  19.  
  20.    IAC WILL END-OF-RECORD
  21.  
  22.       The sender of this command requests permission to begin
  23.       transmission of the Telnet END-OF-RECORD (EOR) code when
  24.       transmitting data characters, or the sender of this command
  25.       confirms it will now begin transmission of EORs with transmitted
  26.       data characters.
  27.  
  28.    IAC WON'T END-OF-RECORD
  29.  
  30.       The sender of this command demands to stop transmitting, or to
  31.       refuses to begin transmitting, the EOR code when transmitting data
  32.       characters.
  33.  
  34.    IAC DO END-OF-RECORD
  35.  
  36.       The sender of this command requests that the sender of data start
  37.       transmitting the EOR code when transmitting data, or the sender of
  38.       this command confirms that the sender of data is expected to
  39.       transmit EORs.
  40.  
  41.    IAC DON'T END-OF-RECORD
  42.  
  43.       The sender of this command demands that the receiver of the
  44.       command stop or not start transmitting EORs when transmitting
  45.       data.
  46.  
  47. 3.  Default
  48.  
  49.    WON'T END-OF-RECORD
  50.  
  51.    DON'T END-OF-RECORD
  52.  
  53.    END-OF-RECORD is not transmitted.
  54.  
  55.  
  56. Postel                                                          [Page 1]
  57.  
  58.  
  59.  
  60. RFC 885                                                    December 1983
  61.  
  62.  
  63. 4. Motivation for the Option
  64.  
  65.    Many interactive systems use one (or more) of the normal data
  66.    characters to indicate the end of an effective unit of data (i.e., a
  67.    record), for example, carriage-return (or line-feed, or escape).
  68.    Some systems, however, have some special means of indicating the end
  69.    of an effective data unit, for example, a special key.  This Telnet
  70.    option provides a means of communicating the end of data unit in a
  71.    standard way.
  72.  
  73. 5.  Description of the Option
  74.  
  75.    When the END-OF-RECORD option is in effect on the connection between
  76.    a sender of data and the receiver of the data, the sender transmits
  77.    EORs.
  78.  
  79.    It seems probable that the parties to the Telnet connection will
  80.    transmit EORs in both directions of the Telnet connection if EORs are
  81.    used at all;  however, the use of EORs must be negotiated
  82.    independently for each direction.
  83.  
  84.    When the END-OF-RECORD option is not in effect, the IAC EOR command
  85.    should be treated as a NOP if received, although IAC EOR should not
  86.    normally be sent in this mode.
  87.  
  88. 6.  Implementation Considerations
  89.  
  90.    As the EOR code indicates the end of an effective data unit, Telnet
  91.    should attempt to send the data up to and including the EOR code
  92.    together to promote communication efficiency.
  93.  
  94.    The end of record is indicated by the IAC EOR 2-octet sequence.  The
  95.    code for EOR is 239 (decimal).
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113. Postel                                                          [Page 2]
  114.  
  115.