History log of /freebsd-10.0-release/usr.bin/tip/tip/tipout.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 259065 07-Dec-2013 gjb

- Copy stable/10 (r259064) to releng/10.0 as part of the
10.0-RELEASE cycle.
- Update __FreeBSD_version [1]
- Set branch name to -RC1

[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so
start releng/10.0 at '100' so the branch is started with
a value ending in zero.

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

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

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


# 230654 28-Jan-2012 phk

Make tip exit if the device disappears, for instance when unplugging
or resetting USB serial devices.

Somebody[tm] should rewrite tip(1) to use two thread instead of two
processes or maybe even use that new-fangled "select(2)" or positively
futuristic "poll(2)" system call.


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