summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc861.txt
blob: a353614174b25748829a380532c877fb6127372c (plain) (blame)
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
Network Working Group                                          J. Postel
Request for Comments: 861                                    J. Reynolds
                                                                     ISI
Obsoletes: NIC 16239                                            May 1983

                 TELNET EXTENDED OPTIONS - LIST OPTION


This RFC specifies a standard for the ARPA Internet community.  Hosts on
the ARPA Internet are expected to adopt and implement this standard.

1.  Command Name and Code

   EXTENDED-OPTIONS-LIST (EXOPL)     255

2.  Command Meanings

   IAC DO EXOPL

      The sender of this command REQUESTS that the receiver of this
      command begin negotiating, or confirms that the receiver of this
      command is expected to begin negotiating, TELNET options which are
      on the "Extended Options List".

   IAC WILL EXOPL

      The sender of this command requests permission to begin
      negotiating, or confirms that it will begin negotiating, TELNET
      options which are on the "Extended Options List".

   IAC WON'T EXOPL

      The sender of this command REFUSES to negotiate, or to continue
      negotiating, options on the "Extended Options List".

   IAC DON'T EXOPL

      The sender of this command DEMANDS that the receiver conduct no
      further negotiation of options on the "Extended Options List".

   IAC SB EXOPL <subcommand>

      The subcommand contains information required for the negotiation
      of an option of the "Extended Options List".  The format of the
      subcommand is discussed in section 5 below.

3.  Default

   WON'T EXOPL, DON'T EXOPL




Postel & Reynolds                                               [Page 1]
^L


RFC 861                                                         May 1983


      Negotiation of options on the "Extended Options List" is not
      permitted.


4.  Motivation for the Option

   Eventually, a 257th TELNET option will be needed.  This option will
   extend the option list for another 256 options in a manner which is
   easy to implement.  The option is proposed now, rather than later
   (probably much later), in order to reserve the option number (255).

5.  An Abstract Description of the Option

   The EXOPL option has five subcommand codes:  WILL, WON'T, DO, DON'T,
   and SB.  They have exactly the same meanings as the TELNET commands
   with the same names, and are used in exactly the same way.  For
   consistency, these subcommand codes will have the same values as the
   TELNET command codes (250-254).  Thus, the format for negotiating a
   specific option on the "Extended Options List" (once both parties
   have agreed to use it) is:

      IAC SB EXOPL DO/DON'T/WILL/WON'T/<option code> IAC SE

   Once both sides have agreed to use the specific option specified by
   <option code>, subnegotiation may be required.  In this case the
   format to be used is:

      IAC SB EXOPL SB <option code> <parameters> SE IAC SE





















Postel & Reynolds                                               [Page 2]
^L