Skip to main content

Module telnet

Module telnet 

Source
Expand description

Telnet protocol (RFC 854/855, ECHO, SGA, NAWS, TTYPE) and a small readline-style line editor (cursor keys, history, Tab completion).

Re-exportsยง

use crate::out::ColorMode; ๐Ÿ”’
use crate::out::Out; ๐Ÿ”’
use crate::out::Style; ๐Ÿ”’
use crate::shell; ๐Ÿ”’
use crate::sys; ๐Ÿ”’
use alloc::string::String; ๐Ÿ”’
use alloc::vec::Vec; ๐Ÿ”’

Structsยง

Session
Term
What the remote terminal told us about itself.

Enumsยง

Parser ๐Ÿ”’

Constantsยง

DO ๐Ÿ”’
DONT ๐Ÿ”’
HISTORY_MAX ๐Ÿ”’
IAC ๐Ÿ”’
LINE_MAX ๐Ÿ”’
NEGOTIATION ๐Ÿ”’
Options offered to every new client.
OPT_ECHO ๐Ÿ”’
OPT_NAWS ๐Ÿ”’
OPT_SGA ๐Ÿ”’
OPT_TTYPE ๐Ÿ”’
SB ๐Ÿ”’
SE ๐Ÿ”’
TTYPE_IS ๐Ÿ”’
TTYPE_SEND ๐Ÿ”’
WILL ๐Ÿ”’
WONT ๐Ÿ”’

Functionsยง

chars_in ๐Ÿ”’
Number of Unicode scalar values (non-continuation bytes) in b.
color_from_term ๐Ÿ”’
Decide the color mode from a TERM string.
probe_connect
Detect a freshly accepted connection and send the negotiation if so.