1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-21 23:18:00 -08:00
openbsd-src/usr.bin/telnet
op 259ea3b8ea replace hand-rolled number parser with strtonum
original report by Collin Funk
ok bluhm, millert
2024-08-26 21:34:32 +00:00
..
commands.c replace hand-rolled number parser with strtonum 2024-08-26 21:34:32 +00:00
defines.h
externs.h remove prototypes with no matching function and externs with no var 2024-05-21 05:00:47 +00:00
genget.c I visited telnet to find and fix some monster bug, and within 20 minutes 2019-07-11 05:11:16 +00:00
main.c userspace: remove vestigial '?' cases from top-level getopt(3) loops 2022-12-04 23:50:45 +00:00
Makefile
network.c
README spelling fixes; from paul tagliamonte 2022-12-26 19:16:00 +00:00
ring.c
ring.h
sys_bsd.c telnet: fix prototypes for two signal handlers to make clang 15 happy 2023-02-08 08:22:44 +00:00
telnet_locl.h
telnet.1 Usually, -width Fl (which is 10n) is too wide and hence ugly. 2020-01-16 16:46:46 +00:00
telnet.c correct indentation; no functional change 2024-04-23 13:34:50 +00:00
terminal.c
utilities.c

	$OpenBSD: README,v 1.6 2022/12/26 19:16:03 jmc Exp $


The following TELNET options are supported:
	
	LINEMODE:
		The LINEMODE option is supported as per RFC1116.  The
		FORWARDMASK option is not currently supported.

	BINARY: The client has the ability to turn on/off the BINARY
		option in each direction.  Turning on BINARY from
		server to client causes the LITOUT bit to get set in
		the terminal driver on both ends,  turning on BINARY
		from the client to the server causes the PASS8 bit
		to get set in the terminal driver on both ends.

	TERMINAL-TYPE:
		This is supported as per RFC1091.  On the server side,
		when a terminal type is received, termcap/terminfo
		is consulted to determine if it is a known terminal
		type.  It keeps requesting terminal types until it
		gets one that it recognizes, or hits the end of the
		list.  The server side looks up the entry in the
		termcap/terminfo data base, and generates a list of
		names which it then passes one at a time to each
		request for a terminal type, duplicating the last
		entry in the list before cycling back to the beginning.

	NAWS:	The Negotiate about Window Size, as per RFC 1073.

	TERMINAL-SPEED:
		Implemented as per RFC 1079

	TOGGLE-FLOW-CONTROL:
		Implemented as per RFC 1080

	TIMING-MARK:
		As per RFC 860

	SGA:	As per RFC 858

	ECHO:	As per RFC 857

	LOGOUT: As per RFC 727

	STATUS:
		The server will send its current status upon
		request.  It does not ask for the clients status.
		The client will request the servers current status
		from the "send getstatus" command.

	ENVIRON:
		This option is currently being defined by the IETF
		Telnet Working Group, and an RFC has not yet been
		issued, but should be in the near future...

	X-DISPLAY-LOCATION:
		This functionality can be done through the ENVIRON
		option, it is added here for completeness.