Browse Prior Art Database

Telnet Environment Option (RFC1572)

IP.com Disclosure Number: IPCOM000002406D
Original Publication Date: 1994-Jan-01
Included in the Prior Art Database: 2000-Sep-12
Document File: 6 page(s) / 14K

Publishing Venue

Internet Society Requests For Comment (RFCs)

Related People

S. Alexander: AUTHOR

Abstract

This document specifies a mechanism for passing environment information between a telnet client and server. Use of this mechanism enables a telnet user to propagate configuration information to a remote host when connecting.

This text was extracted from a ASCII Text document.
This is the abbreviated version, containing approximately 22% of the total text.

Network Working Group S. Alexander, Editor

Request for Comments: 1572 Lachman Technology, Inc.

Category: Standards Track January 1994

Telnet Environment Option

Status of this Memo

This document specifies an Internet standards track protocol for the

Internet community, and requests discussion and suggestions for

improvements. Please refer to the current edition of the "Internet

Official Protocol Standards" (STD 1) for the standardization state

and status of this protocol. Distribution of this memo is unlimited.

Abstract

This document specifies a mechanism for passing environment

information between a telnet client and server. Use of this

mechanism enables a telnet user to propagate configuration

information to a remote host when connecting.

This document corrects some errors in [1].

1. Command Names and Codes

NEW-ENVIRON 39

IS 0

SEND 1

INFO 2

VAR 0

VALUE 1

ESC 2

USERVAR 3

2. Command Meanings

IAC WILL NEW-ENVIRON

The sender of this command is willing to send environment

variables.

IAC WONT NEW-ENVIRON

The sender of this command refuses to send environment variables.

IAC DO NEW-ENVIRON

The sender of this command is willing to receive environment

variables.

IAC DONT NEW-ENVIRON

The sender of this command refuses to accept environment

variables.

IAC SB NEW-ENVIRON SEND [ type ... [ type ... [ ... ] ] ] IAC SE

The sender of this command requests that the remote side send its

environment variables. The "type" may be either VAR or USERVAR,

to indicate either well known or user variable names. Only the

side that is DO NEW-ENVIRON may initiate a SEND command. If a

list of variables is specified, then only those variables should

be sent. If no list is specified, then the default environment,

of both well known and user defined variables, should be sent. If

one of the variables has no name, then all the variables of that

type (well known or user defined) in the default environment

should be sent.

IAC SB NEW-ENVIRON IS type ... [ VALUE ... ] [ type ... [ VALUE ... ]

[ ... ] ] IAC SE

The sender of this command is sending environment variables. This

command is sent in response to a SEND request. Only the side that

is WILL NEW-ENVIRON may send an IS command. The "type"/VALUE

pairs must be returned in the same order as the SEND request

specified them, and there must be a response for each "type ..."

explicitly requested. The "type" will be VAR or USERVAR.

Multiple environment variables may be sent. The characters

following a "type" up to the next "type" or VALUE specify the

variable name. The characters following a VALUE up to the ne...