An array containing all the RFC 2877 environment options negotiated by the client. These are in the exact format that they were in when received from the client and specified by RFC 2877. The array in general consists of 1 or more pairs of environment variable names and associated values. The RFC specifies that each variable name is always be preceded by either an X'01' or X'03' depending on whether it is an RFC 2877 defined VAR, or an application specific defined USERVAR. If a value is associated with a VAR (or USERVAR),
that value will appear next in the array preceded by the RFC 1572 defined VALUE character - X'01'. This sequence of VAR/VALUE pairs is repeated up to a maximum of 1024 total bytes of negotiation data.
RFC 2877 and the more general Telnet negotiation RFCs also allow for control characters to appear within the VAR/USERVAR variable names or their associated values. This is allowed through the use of the ESC character X'02' and rules that apply when the ESC character itself or Telnet IAC control characters must appear in the negotiation sequence. Refer to RFC 1572 for a more complete description of control character escaping rules.
While the environment options buffer shows negotiations by the client, including passwords, Telnet always overlays any clear-text or encrypted password values in the buffer to avoid security exposures.