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ยง
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.