summaryrefslogtreecommitdiff
path: root/usr.bin/telnet
AgeCommit message (Collapse)Author
2015-03-13remove the first comma from constructs like ", and," and ", or,": you can useJason McIntyre
"and" and "or" to join sentence clauses, and you can use commas, but both hinders reading;
2015-02-12Don't clear ICRNL when editing mode is off, so that character local echoPhilip Guenther
mode don't echo ^M locally analysis and patch from Stanislav Brabec (sbrabec (at) suse.cz)
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@
2014-09-09Eliminate a pile of casts that were superfluous or wrong, or that werePhilip Guenther
the result of bad type choices, particularly (unsigned char *) vs (const char *). Also, use reallocarray().
2014-08-10Add Xr to skey and sttyPhilip Guenther
2014-07-22use ansi style function declarationsJonathan Gray
with suggestions from and ok guenther@
2014-07-20Eliminate silly call() routine that fakes up internal calls as ifPhilip Guenther
the user typed in undocumented arguments by splitting two functions and doing normal (shock!) C calls. Move extern declarations to externs.h Eliminate another function cast
2014-07-20Fix array overflow in command line handlingPhilip Guenther
2014-07-20Mark a slurry of functions as staticPhilip Guenther
Eliminate two more trivial wrappers
2014-07-20use NULL instead of 0 when dealing with pointersJonathan Gray
ok guenther@
2014-07-20Kill lint comments; mark ExitString() as __deadPhilip Guenther
2014-07-20Switch from memmove() to memcpy() where appropriate; simplify addressPhilip Guenther
parsing logic; eliminate an inefficient use of MIN() macro
2014-07-20VSUSP and SIGTSTP are required by POSIXPhilip Guenther
2014-07-20Delete an insane chunk of code for handling broken poll() emulation.Philip Guenther
Pass poll() INFTIM instead of -1
2014-07-20Add prototypes to some function callbacks and fix the type errors thatPhilip Guenther
this reveals. Make NetTrace static to utilities.c
2014-07-20More encryption tentacles: intr_happened and intr_waiting vanishPhilip Guenther
Push more includes into .c files Make ring.c only need ring.h
2014-07-20Eliminate trivial wrappers TerminalWrite() and TerminalRead()Philip Guenther
Replace TerminalFlushOutput() with tcflush(). Replace TerminalAutoFlush() with check of tty's NOFLSH flag as documented in the manpage. Push <netdb.h> into .c files
2014-07-20Don't depend on <sys/param.h> for MAXPATHLENPhilip Guenther
2014-07-20Correctly cast to unsigned char for ctype functions/macrosPhilip Guenther
Push <ctype.h> and <unistd.h> into the .c files
2014-07-20ring_init() can't failPhilip Guenther
KNF ring.h
2014-07-20-8 is the defaultPhilip Guenther
2014-07-20Don't need -I${.CURDIR}Philip Guenther
2014-07-20Simplify #includes, start pushing them into the .c files, eliminatePhilip Guenther
extern declarations from .c files that duplicate those in .h files, start marking functions with __dead
2014-07-20tweak -W optionsPhilip Guenther
2014-07-20Ooops, verbose_encrypt option is gone too.Philip Guenther
Also stop assuming that csh is the only shell with job control
2014-07-20The manpage claims the -a option uses getlogin(2), so do so. Also,Philip Guenther
ignore its value if it returns a user that doesn't exit
2014-07-20The only authentication info now is the login namePhilip Guenther
2014-07-20remove a variable called wantencryption.Theo de Raadt
hahahahahahahahahha. OK, I'm done.
2014-07-19Flense the telnet code base of unwanted ifdefs: authentication/encryptionPhilip Guenther
tn3270, sgtty, pre-POSIX and other ancient system support, etc. Brings up to date the manpage with what we support. ok matthieu@ beck@ jmc@ millert@ deraadt@ okan@
2014-05-09my previous attempt to fix the renaming of the inet(3) pages was wrong;Jason McIntyre
this fixes those by referencing the correct page, and cleans up the netintro/ inet entries; all this on the advice (and ok) of guenther!
2014-05-08inet(3) -> inet_net(3);Jason McIntyre
2014-04-22Remove KERBEROS5 from the Makefiles (except ssh for now, where it isReyk Floeter
already manually disabled). ok deraadt@
2014-04-16des_cblock -> DES_cblockJonathan Gray
2014-04-15Remove workarounds for ld reaching MAXDSIZ on vax, now that MAXDSIZ isMiod Vallat
more comfortable. Reminded by brad@
2014-02-26Once more, the default routing table id is inherited from the processClaudio Jeker
like for any other process as well. OK by many
2014-01-19Usually, you don't want macros in the .Nd line, so remove instances of .TnIngo Schwarze
marking up words that are not trademarks (ASCII, I/O, NFS, TCP, TELNET). While here, remove .Tn markup from the same words in the body of these pages, too.
2013-10-26Only use setsockopt(..SO_RTABLE..) if the -V flag is given to nc/telnet,Stuart Henderson
same style as traceroute6 (change to int and use -1 as a flag, so rtable 0 can still be used as an explicit parameter).
2013-10-21Oups, a little bit overzealous. If we "route -T4 exec telnet foo", thenPeter Hessler
make sure telnet runs in rdomain 4 as expected. Same for nc.
2013-10-21Allow a user to switch to rdomain zeroPeter Hessler
2013-08-06Switch vax to gcc 3.3.6.Miod Vallat
2013-06-21Stop using deprecated Kerberos functions.Antoine Jacoutot
ok millert@
2013-06-19don't link to hx509, pthread and ntlm related librariesRobert Nagy
2013-06-18Shuffle library link order to appease the static arch deities.Miod Vallat
2013-06-17link to the new kerberos librariesRobert Nagy
2013-04-21Convert select() to poll(). OK deraadt@Todd C. Miller
2013-01-17remove uesless Pp;Jason McIntyre
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-03-01Add ssh(1) to SEE ALSO.lum
ok jmc@
2011-12-28As pointed out by Dan Rosenberg our telnet client has the sameJonathan Gray
overflow when using encryption as the recent FreeBSD advisory. Use the same approach taken in FreeBSD to protect against malicious servers. ok miod@