telnet
-d
Enable debug mode
-has
Attempt automatic connection
-n tracefile
Open tracefile to take the corresponding information (see also set tracefile)
-l user
If the host supports environ, one logs in as the specified user
-e escape char
Set an escape character
-E
No character is recognized as an escape character
-x
Attempt to enable encryption
fashion
character
Disable LINEMODE
Line
Enable LINEMODE
isig/-isig
Enables/disables TRAPSIG mode of LINEMODE
edit/-edit
Enables/disables LINEMODE EDIT mode
softtabs/-softtabs
Enables/disables SOFT_TABS mode of LINEMODE
litecho/-litecho
Enables/disables LIT_ECHO mode of LINEMODE
send
abort
Sends the sequence “Abort process”
ao
Sends the sequence “Abort output”; host forwards output from itself to client
have
Sends the sequence “Are you there”; the host can confirm with a reply
brk
Sends the “Break” sequence
ec
Sends the sequence “Erase character”; the host erases the last character entered
he
Sends the sequence “Erase line”; the host deletes the line just entered
oof
Sends the sequence “End of file”
or
Sends the “End of record” sequence
esc
Send the current escape character (see also telnet -e)
ga
Sends the “Go ahead” sequence
getstatus
Asks the host to drop all entries that have not yet been processed
?
Provides information about the send command
set/unset
echo value
Determines whether typed characters should also be displayed
(value can be TRUE/FALSE or a special character
eof-value
Activates the “End of file” character (see also send eof)
erase value
Activates the “Erase character” character (see also send ec); only works in localchars mode (see also toggle localchars)
escape-value
Enable escape character (see also telnet -e)
flushoutput value
Activates the “Abort output” character (see also send ao); works only in localchars mode (see also toggle localchars)
lnext value
Activate the « lnext » character
quit value
Activates the “break” character (see also send brk); works only in localchars mode (see also toggle localchars)
reprint value
Activate the « reprint » character
start-value
Activates the “start” character; only if TOGGLE-FLOW-CONTROL is enabled
stop value
Activates the “stop” character; only if TOGGLE-FLOW-CONTROL is enabled
worderase value
Activate the « worderase » character
approximately
define variable value
Assigns a value to a variable; values can be enclosed in single or double quotes
variable
Deletes the specified variable
variable export
Exports the specified variable
unexport variable
Specifies that the specified variable can only be exported if Telnet specifically requests it
list
Lists all variables; the * character indicates if the variable is exported automatically
?
Provides information about the send command
toggle
auto-synch
If autosynch and localchars are both active, a « synch » sequence is also sent when sending the quit character (see also set quit)
(the initial state is TRUE)
binary
Enable/disable « binary » option for input and output
inbinary
Enable/disable « binary » option on input
outbinary
Enable/disable « binary » option on exit
crlf
TRUE: carriage return is at
crmod
Changes the state of the « carriage return » mode
debug
Changes the state of « Socket debug » mode (FALSE is the normal state here)
localchars
Certain characters defined with set are then recognized and the corresponding sequences are triggered