summaryrefslogtreecommitdiff
path: root/usr.bin/telnet/commands.c
AgeCommit message (Expand)Author
2004-01-05Homogenize usage messages: make the 'usage' word all lowercase, as this seemsjmmv
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-14more unifdefitojun
2003-07-14more unifdefitojun
2003-07-14remove unneeded #ifdef. (confirmed that same *.o is generated)itojun
2003-07-12use bounded copy opsitojun
2003-07-12strlcpyitojun
2003-06-18Ansify.christos
2003-04-27one <sys/cdefs.h> include is enoughjdolecek
2002-08-23- Support -4 and -6. Approved by itojun.kanaoka
2002-06-14De-register, de-__P. Remove #ifndef __STDC__ parts.wiz
2002-01-06Make telnet escape work in tn3270sjg
2001-09-03just to be sure, set telnetport to 0.itojun
2001-01-16comment or delete text after CPP directives.cgd
2001-01-03Fix possible buffer overruns. From OpenBSD, but without breaking stuff.mjl
2000-06-22Bring the telnet situation back into better shape. Specifically,thorpej
2000-05-25add missing #ifdef INET6, to compile without -DINET6.itojun
2000-05-25Convert telnet and top to the new termcap interface. This stops someblymn
2000-05-13recover old error message on unknown service ("telnet localhost foo"itojun
2000-02-29sync comment for sourceroute() to realityitojun
2000-02-05use getnameinfo for "Trying ::1..." message, to enable printing ofitojun
2000-01-31sync with latest libipsec/kernel.itojun
2000-01-27clarify reverse lookup and -N.itojun
1999-12-13remove setuid(getuid()). they are unnecessary as noone is going toitojun
1999-12-03clarify getaddrinfo() loop. try to contact all possible addressesitojun
1999-12-03clarify reverse address lookup (-N). AI_NUMERICHOST is for forward lookup.itojun
1999-09-30Remove extraneous colons and newlines from perror(3) arguments.soren
1999-07-28Add -N option (numeric host address) - idea taken from FreeBSD.abs
1999-07-21fix handling of port number preceded by minus sign to restore documented beha...jtk
1999-07-14clarify socket-connect trial loop. fix freeaddrinfo().itojun
1999-07-12Whitespace cleanup.thorpej
1999-07-02bark if mismatched address families are found on source route.itojun
1999-07-02IPv6-ready telnet.itojun
1998-11-06- synchronize with the domestic versionchristos
1998-07-26const poisoning.mycroft
1998-07-09Declare ints, too, don't default them.msaitoh
1998-07-07Fix pasto in previous.fvdl
1998-07-06- use an array MAXHOSTNAMELEN+1 size to hold hostnamesmrg
1998-03-30use static int instead of staticmrg
1998-03-05Avoid GCC warning on m68k.thorpej
1998-03-04Adjust for tn3270 cleanup.christos
1998-03-03Add a cast to make the compiler happy on the Alpha.thorpej
1998-02-28Fix compile error of tn3270/tn3270; getpgrp() takes no argument.enami
1998-02-27WARNSify and fix problems passing int * -> long *christos
1996-03-24sync up with domestic fixesjtk
1996-02-28RCS id cosmetics.thorpej
1996-02-24restore last of the lost local changes.jtk
1996-02-24replace another lost change: "help" is a valid hostname.jtk
1996-02-24update to 95.10.23 version of telnetjtk
1996-01-05contrary to unpopular opinion, 'help' is a perfectly valid hostname.tls