History log of /freebsd-current/contrib/telnet/telnet/main.c
Revision Date Author Comments
# a3c85800 27-Nov-2023 Brooks Davis <brooks@FreeBSD.org>

telnet: remove locally added __FBSDID

This partially reverts 77b7cdf1999ee965ad494fddd184b18f532ac91a.

Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D42704


# 224c772c 21-Jun-2021 Edward Tomasz Napierala <trasz@FreeBSD.org>

telnet(1): add quiet mode ("telnet -Q")

Reviewed By: imp, phk
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
X-NetApp-PR: #54
Differential Revision: https://reviews.freebsd.org/D30819


# 3db1b221 29-Dec-2020 Poul-Henning Kamp <phk@FreeBSD.org>

Set stdout & stderr unbuffered, so that the "telnet>" prompt
also shows up when output is redirected:

telnet |& tee _log


# 83129c0b 15-Aug-2019 Ed Maste <emaste@FreeBSD.org>

telnet: remove 3rd clause from Berkeley copyrights

Per the July 22, 1999 letter (in /COPYRIGHT) from
William Hoskins
Director, Office of Technology Licensing
University of California, Berkeley

MFC after: 1 week


# ad11def5 10-Nov-2014 Enji Cooper <ngie@FreeBSD.org>

Add baud rate support to telnet(1)

This implements part of RFC-2217

It's based off a patch originally written by Sujal Patel at Isilon, and
contributions from other Isilon employees.

PR: 173728
Phabric: D995
Reviewed by: markj, markm
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division


# a7d5f7eb 19-Oct-2010 Jamie Gritton <jamie@FreeBSD.org>

A new jail(8) with a configuration file, to replace the work currently done
by /etc/rc.d/jail.


# fe0506d7 09-Mar-2010 Marcel Moolenaar <marcel@FreeBSD.org>

Create the altix project branch. The altix project will add support
for the SGI Altix 350 to FreeBSD/ia64. The hardware used for porting
is a two-module system, consisting of a base compute module and a
CPU expansion module. SGI's NUMAFlex architecture can be an excellent
platform to test CPU affinity and NUMA-aware features in FreeBSD.


# d7f03759 19-Oct-2008 Ulf Lilleengen <lulf@FreeBSD.org>

- Import the HEAD csup code which is the basis for the cvsmode work.


# de93353d 09-Jan-2005 Maxim Konovalov <maxim@FreeBSD.org>

o Make telnet[d] -S (IP TOS) flag really work. We do not have
/etc/iptos implementation so only numeric values supported.

o telnetd.8: steal the -S flag description from telnet.1, bump
the date of the document.

MFC after: 6 weeks


# ab90852b 05-Jan-2005 Maxim Konovalov <maxim@FreeBSD.org>

o Remove -t flag from getopt(3), it was killed in rev. 1.15 three
years ago.


# 074e8e8e 11-May-2003 Mark Murray <markm@FreeBSD.org>

Fix up external variables named "debug" that have a horrible habit
of conflicting with other, similarly named functions in static
libraries. This is done mostly by renaming the var if it is shared
amongst modules, or making it static otherwise.

OK'ed by: re(scottl)


# 77b7cdf1 03-May-2003 David E. O'Brien <obrien@FreeBSD.org>

Use __FBSDID vs. rcsid[]. Also protect sccs[] and copyright[] from GCC 3.3.


# 86953b02 25-Sep-2002 Mark Murray <markm@FreeBSD.org>

Catch up with "base" telnet.

s/FALL THROUGH/FALLTHROUGH/ for lint(1).
s/Usage/usage/ for consistency.


# 8fa113e5 30-Nov-2001 Mark Murray <markm@FreeBSD.org>

Very large style makeover.

1) ANSIfy.
2) Clean up ifdefs so that
a) ones that never/always apply are appropriately either
fully removed, or just the #if junk is removed.
b) change #if defined(FOO) for appropiate values of FOO.
(currently AUTHENTICATION and ENCRYPTION)
3) WARNS=2 fixing
4) GC other unused stuff

This code can now be unifdef(1)ed to make non-crypto telnet.


# 6b022d00 29-Aug-2001 Mark Murray <markm@FreeBSD.org>

Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.


# 21f083c0 19-Aug-2001 Mark Murray <markm@FreeBSD.org>

Code merge and diff reduce with "base" telnet. This is the "later"
telnet, so it was treated as the reference code, except where later
commits were made to "base" telnet.


# a5493c1b 05-Jul-2001 Ruslan Ermilov <ru@FreeBSD.org>

MF non-crypto: 1.13: document -u in usage.


# 7a2254dc 23-May-2001 Matthew Dillon <dillon@FreeBSD.org>

Oops, forgot the 'u' in the getopt for the previous commit.


# e5c23e88 23-May-2001 Matthew Dillon <dillon@FreeBSD.org>

A feature to allow one to telnet to a unix domain socket. (MFC from
non-crypto version)

Also update the crypto telnet's man page to reflect other options
ported from the non-crypto version.

Obtained from: Lyndon Nerenberg <lyndon@orthanc.ab.ca>


# 64867478 16-May-2001 Peter Wemm <peter@FreeBSD.org>

Back out last commit. This was already fixed. This should never have
happened, this is why we have commit mail expressly delivered to
committers.


# 1848e3d4 16-May-2001 Nick Sayer <nsayer@FreeBSD.org>

Since the root-on-insecure-tty code was added to telnetd, a dependency
on char *line was added to libtelnet. Put a dummy one in to keep the
linker happy.


# 03679084 06-Apr-2001 Nick Sayer <nsayer@FreeBSD.org>

Clean up telnet's argument processing a bit. autologin and encryption is
now the default, so ignore the arguments that turn it on. Add a new -y
argument to turn off encryption in case someone wants to do that. Sync
these changes with the man page (including removing the now obsolete
statement about availability only in the US and Canada).


# bb330cd0 11-Mar-2001 Assar Westerlund <assar@FreeBSD.org>

enable auto-negotiation of encrypt and decrypt


# 4dd8b5ab 27-Jan-2000 Yoshinobu Inoue <shin@FreeBSD.org>

another tcp apps IPv6 updates.(should be make world safe)
ftp, telnet, ftpd, faithd
also telnet related sync with crypto, secure, kerberosIV

Obtained from: KAME project


# 42cf8219 17-Jun-1999 Ruslan Ermilov <ru@FreeBSD.org>

Merge from non-crypto version:
- "-N" option
- "-E" security fix
- "-s src_addr" option

Requested by: markm


# 04c426cc 07-Sep-1997 Mark Murray <markm@FreeBSD.org>

Bring the FreeBSD changes to the virgin sources.


# 81cb6ddc 04-Sep-1997 Mark Murray <markm@FreeBSD.org>

Initial import of BSD telnet. This will be used to build the kerberised
telnet, and after userland diffs have been merged in, will be used to
build the non-kerberised sources as well. (See unifdef(1) for details)