/
nerfur
/
openbsd-src
ОбзорДокументацияВойти
/
nerfur
/
openbsd-src
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
ДокументацияПоддержка
Политика конфиденциальностиПользовательское соглашениеПолитика использования «cookies»Согласие субъекта персональных данных
2026 ©
openbsd-src/
usr.bin/telnet/
..
Makefile

remove skey support ok millert

11 лет назад
README

spelling fixes; from paul tagliamonte amendments to his diff are noted on tech

4 года назад
commands.c

replace hand-rolled number parser with strtonum

2 года назад
defines.h

Flense the telnet code base of unwanted ifdefs: authentication/encryption tn3270, sgtty, pre-POSIX and other ancient system support, etc. Brings up to date the manpage with what we support.

12 лет назад
externs.h

remove prototypes with no matching function and externs with no var partly checked by millert@

2 года назад
genget.c

I visited telnet to find and fix some monster bug, and within 20 minutes rediscovered that telnet has more more signal race conditions and trashing of global state than all the rest of the openbsd source tree (where signal races have either been fixed or marked with "XXX signal race". I don't feel like being a hero here today, so I'm fixing a whitespace error in an unrelated file.

7 лет назад
main.c

userspace: remove vestigial '?' cases from top-level getopt(3) loops

4 года назад
network.c

use ansi style function declarations with suggestions from and ok guenther@

12 лет назад
ring.c

use ansi style function declarations with suggestions from and ok guenther@

12 лет назад
ring.h

More encryption tentacles: intr_happened and intr_waiting vanish Push more includes into .c files Make ring.c only need ring.h

12 лет назад
sys_bsd.c

telnet: fix prototypes for two signal handlers to make clang 15 happy

4 года назад
telnet.1

Usually, -width Fl (which is 10n) is too wide and hence ugly. Change several instances, most of them to the usual -width Ds.

7 лет назад
telnet.c

correct indentation; no functional change ok tb@

2 года назад
telnet_locl.h

More encryption tentacles: intr_happened and intr_waiting vanish Push more includes into .c files Make ring.c only need ring.h

12 лет назад
terminal.c

Remove unnecessary #ifdefs in telnet. No binary change.

9 лет назад
utilities.c

Use a boolean variable to remember the quotation level instead of doing string pointer arithmetic. Fixes a clang warning. OK otto@ tom@

9 лет назад
README
$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.