As per Relevance of the word terminal, we have this rfc below:
Network Working Group R.
Request for Comments: 946 Carnegie-Mellon
May 1985
TELNET TERMINAL LOCATION NUMBER
Status of this
This RFC proposes a new option for Telnet for the ARPA-
community, and requests discussion and suggestions for improvements
Distribution of this memo is unlimited
In a community of users that share a large degree of
facilities, it is often advantageous to use some common feature
improve software performance and reduce initial implementation costs
In March of 1982, CMU designed and implemented based on the
CMU PUP-based network a terminal location database and
existing network software to handle a 64-bit number which some
the Terminal Location Number or TTYLOC for short. The number can
efficiently stored in operating systems tables and can be
between various levels of operating system and network layering
minimum modifications to existing software. An initial evaluation
changing software to communicate an unfixed or reasonable
terminal location string indicated it would be expensive
CMU now wishes to extend this mechanism into the TCP-based
support that is replacing the existing PUP-based software.
mechanism is not viewed as a replacement for the Telnet
Location (SEND-LOCATION) Option but as a shorthand mechansim
communicating hosts in the same community
TTYLOC
The TTYLOC number is a 64-bit number composed of two (2) 32-
numbers: The 32-bit official ARPA Internet host address (may be
one of the addresses for multi-homed hosts) and a 32-bit
representing the terminal on the specified host. The host address
[0.0.0.0] is defined to be "unknown", the terminal number of
(hex, r or-1 in decimal) is defined to be "unknown" and the
number of FFFFFFFE (hex, or -2 in decimal) is defined to
"detached" for processes that are not attached to a terminal
Nedved [Page 1]
RFC 946 May 1985
Telnet Terminal Location Number
1. Command Name and Option
TTYLOC 28
2. Command
IAC WILL
The sender offers to send the TTYLOC information or confirms
it can send the TTYLOC information
IAC WON'T
The sender refuses to send the TTYLOC information
IAC DO
The sender requests to receive the TTYLOC information or
that it will receive the TTYLOC information
IAC DON'T
The sender refuses to receive the TTYLOC information
IAC SB TTYLOC IAC
The sender is transmitting the TTYLOC information. The 64-
TTYLOC number has format 0. The first 32-bits is the Internet
number and the second 32-bits is the line on the
Internet host. The bytes are in most significant 8-bit byte
least significant byte order
3. Default
WON'T
TTYLOC information will not be sent
DON'T
TTYLOC information will not be received
Nedved [Page 2]
RFC 946 May 1985
Telnet Terminal Location Number
4.
Many systems provide a mechanism for finding out where a user
logged in from usually including information about
extension and office occupants names. The information is useful
physically locating people and/or calling them on the phone
For incoming network connections to a host, only the remote host'
name is available. This option and the Telnet Terminal
option (RFC-779) provide the information to the system so it in
can provide the information to the various mechanisms (FINGER, WHOIS
etc.).
5. Description of the
When the user Telnet connects to a remote host, it can attempt
send the terminal location number information by doing
IAC WILL TTYLOC command. If the Telnet server can use
information, it replies with a IAC DO TTYLOC command. The user
then sends the TTYLOC number in the subnegotiation
It is recommended that if sending the TTYLOC number is refused
the Telnet Terminal Location (SEND-LOCATION in RFC-779) should
attempted
The following are two example usage scenarios
User Side First
(User) Host1: IAC WILL
Host1 is asking if it can send the 64-bit terminal
number (I will send...).
(Server) Host2: IAC DO
Host2 indicates to Host1 that it will accept the 64-
terminal location number in a subnegotiation (You please
...).
(User) Host1: IAC SB TTYLOC 0 <64-bit number> IAC
Host1 is sending the location number to Host2 which
communicate the number to the operating system or
system components
Nedved [Page 3]
RFC 946 May 1985
Telnet Terminal Location Number
Server Side First
(Server) HostA: IAC DO
HostA indicates to HostB that it would like to know
64-bit terminal location number (You please do ...).
(User) HostB: IAC WILL
HostB agrees to send the 64-bit terminal location number
HostA in a subnegotiation (I will send...).
(User) HostB: IAC SB TTYLOC 0 <64-bit number> IAC
HostB is sending the location number to HostA which
communicate the number to the operating system or
system components
Nedved [Page 4]
if you see any problems within the linking, don't worry be happy,
this is version 0.1 of the Relevance System and you gotta expect some crappy subroutines sometimes,
just be content we did not write this in Java, which would have made this "bigger and better" HAHAHHA.
RFC documents can be found at I.E.T.F.
Relevance System Copyright © 2002 Spectrum WorldResearch
other technical nosh by ServerMasters Corporation
collaboration of BobX