History log of /freebsd-9.3-release/usr.bin/tip/tip/tipout.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 267654 19-Jun-2014 gjb

Copy stable/9 to releng/9.3 as part of the 9.3-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 225736 22-Sep-2011 kensmith

Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)


# 221727 10-May-2011 phk

Flush the scriptfile whenever we see a non-graphical character to get
more real-time logging, without forcing a write(2) on every single
character.


# 161781 31-Aug-2006 ru

Fix compilation warnings (up to level 3).


# 161754 31-Aug-2006 ru

Resolve merge conflicts.


# 88276 20-Dec-2001 markm

Fix merge conflicts, and because this still has a zillion warnings,
protect the build with a WARNS=2.

Fix the build.


# 80381 26-Jul-2001 sheldonh

Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The
definitions are more readable, and it's possible that they're
more portable to pathalogical platforms.

Submitted by: David Hill <david@phobia.ms>


# 77120 24-May-2001 phk

If the user exists abruptly, tip's "tipout" child can hang around
forever. Since the lock file doesn't get cleaned up, this prevents
other users from accessing the target device.

(phk adds: Man, this has been bugging me for YEARS!)

PR: 12528
Submitted by: Craig Leres leres@ee.lbl.gov
MFC after: 1 week


# 59217 14-Apr-2000 imp

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

Minor warnings in tip corrected.


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 28686 25-Aug-1997 imp

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)


# 28365 18-Aug-1997 charnier

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


# 11370 09-Oct-1995 phk

We wouldn't want to kill init if our parent died...

Spotted by: davidg


# 11281 06-Oct-1995 phk

Die if we get errors from the tty.


# 7527 31-Mar-1995 jkh

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>