History log of /freebsd-current/usr.bin/tip/tip/cmds.c
Revision Date Author Comments
# 5e3934b1 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# bdcbfde3 23-Nov-2023 Warner Losh <imp@FreeBSD.org>

usr.bin: Remove ancient SCCS tags.

Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by: Netflix


# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 8a16b7a1 20-Nov-2017 Pedro F. Giffuni <pfg@FreeBSD.org>

General further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.


# 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.


# a0ad4c4d 02-May-2008 Bruce M Simpson <bms@FreeBSD.org>

Relinquish exclusive TTY access when tip(1) or cu(1) exit.
Previously they would have left TIOCEXCL enabled, requiring
either a reboot or use of tip/cu as the root user.

Observed when running QEMU with character devices redirected to pty instances.

MFC after: 2 weeks


# 07bb01e3 31-Aug-2006 Ruslan Ermilov <ru@FreeBSD.org>

Fix compilation warnings (up to level 3).


# fa92e883 31-Aug-2006 Ruslan Ermilov <ru@FreeBSD.org>

Resolve merge conflicts.


# d391708c 31-Aug-2006 Ruslan Ermilov <ru@FreeBSD.org>

Import OpenBSD's tip(1) as of today


# 229c0017 06-Apr-2003 Warner Losh <imp@FreeBSD.org>

make prototpyes match functions, and declare things static as needed


# 0f3bdf5d 20-Dec-2001 Mark Murray <markm@FreeBSD.org>

Import of OpenBSD's tip (which was the tip code of a month ago, modulo
OpenBSD commits).


# 7bc6d015 09-Jul-2001 Brian Somers <brian@FreeBSD.org>

Fix the type of the NULL arg to execl()

Idea from: Theo de Raadt <deraadt@openbsd.org>


# 0e7f0658 14-Apr-2000 Warner Losh <imp@FreeBSD.org>

#include <errno.h> where needed. Kill extern int errno;.

Minor warnings in tip corrected.


# dcb3b3ca 15-Mar-2000 Brian S. Dean <bsd@FreeBSD.org>

Resurrect the 'cdelay' and 'ldelay' features of /usr/bin/tip.


# b75ebc05 21-Feb-2000 Brian S. Dean <bsd@FreeBSD.org>

Fix a 'tip' core dump caused by a null pointer dereference when
sending a file to the remote system.

PR: bin/15660
Reviewed by: jkh
Approved by: jkh


# c3aac50f 27-Aug-1999 Peter Wemm <peter@FreeBSD.org>

$Id$ -> $FreeBSD$


# 64edd876 04-Apr-1999 Dmitrij Tejblum <dt@FreeBSD.org>

Rename a function to avoid conflict with the new syscall 'pwrite'.


# 7fb2045a 03-Oct-1998 Doug Rabson <dfr@FreeBSD.org>

Some 64bit portability fixes.


# f34c49eb 08-Jun-1998 Warner Losh <imp@FreeBSD.org>

o Use snprintf rather than sprintf.
o Revert gid to caller before a shell so we can run setgid.
o minor style nits to make bruce happy :-)
o use strncpy correctly.


# a8b28da0 26-Aug-1997 Eivind Eklund <eivind@FreeBSD.org>

Removed a buffer overflow in args().

While I'm here, fix a bug with 'register' in conjunction with setjmp(),
staticize and do some -Wall cleaning.


# daca8650 24-Aug-1997 Warner Losh <imp@FreeBSD.org>

Change from using sys/param.h and MAXPATHLEN to using limits.h and PATH_MAX
to avoid the NOFILE problem. Back out NOFILE kludge. Fix unexploitable
buffer overflow in tipout.c.
Reviewed by: millert@openbsd.org (tipout.c)
Submitted by: millert@openbsd.org (rest of idea)


# 29ae2e93 22-Aug-1997 Warner Losh <imp@FreeBSD.org>

Fix buffer overflow. prompt didn't get a size for its buffer,
so it could overflow it. Also made some filenames MAXPATHLEN long rather
than 80 long.


# 804d2dab 18-Aug-1997 Philippe Charnier <charnier@FreeBSD.org>

Add prototypes, usage(). Use err(3).


# 7799f52a 30-May-1995 Rodney W. Grimes <rgrimes@FreeBSD.org>

Remove trailing whitespace.


# 18cc36fb 31-Mar-1995 Jordan K. Hubbard <jkh@FreeBSD.org>

Tom Gray's new tip changes to support a modem capabilities database and
fixes to many assorted bugs and misfeatures.
Submitted by: Tom Gray - DCA <dcasba@rain.org>