Home | History | Annotate | Download | only in tip
History log of /src/usr.bin/tip/cmds.c
RevisionDateAuthorComments
 1.37  12-Jul-2014  mlelstv don't enable IXANY.
 1.36  02-Jun-2013  christos branches: 1.36.4;
PR/47877: Michael van Elst: Disable and enable software flow control properly
 1.35  24-Feb-2012  joerg branches: 1.35.2;
Add explicit continue to empty loop body.
 1.34  23-Feb-2012  joerg while (...);
;
is really pointless, so remove the first semicolon.
 1.33  06-Sep-2011  joerg branches: 1.33.2;
Use __dead. Make a bunch of local functions static.
 1.32  14-Dec-2006  christos pass lint; from Anon Ymous
 1.31  14-Dec-2006  christos kill the (void)&foo; from Anon Ymous
 1.30  22-Oct-2006  christos sprinkle volatile.
 1.29  11-May-2006  mrg end the argument list to exec*(3) with a NULL instead of a bare '0', as
the latter isn't a pointer context in these varargs functions.
 1.28  03-Apr-2006  tls Use closefrom, don't iterate over file descriptors from 3 to 20.
 1.27  03-Apr-2006  tls Replace abuse of SIGIOT, SIGEMT, SIGSYS for communication between the
TIPIN and TIPOUT processes with a third "attention" pipe. While we're
here, fix a few other minor nits like the hardcoded use of fd 3 in
consh().

Now ~+/~C appear to work. This must have been broken for years.
 1.26  03-Apr-2006  christos Redo the previous in the tip sanctioned way :-)
 1.25  03-Apr-2006  he For the benefit of our 64-bit ports, we need to cast via intptr_t when
casting from pointer to unsigned int.
 1.24  03-Apr-2006  christos Pass a little lint.
 1.23  03-Apr-2006  perry delinting. more needed. (lint found some real bugs that I haven't fixed yet.)
 1.22  03-Apr-2006  tls The ~C / ~+ command is no longer optional.
 1.21  03-Apr-2006  perry Remove support for uucp style locking.

This means we can get rid of the suid/sgid parts of the code (which
have been removed). The program is now installed with normal permissions.

To prevent accidents, we now flock the tty line, attempting to get an
exclusive lock.

Reviewed by: tls
 1.20  03-Apr-2006  perry ANSIfy decls, de-__P, clean trailing whitespace
 1.19  02-Apr-2006  tls Oddly enough, smashing CRTSCTS into the terminal input flags doesn't do
much; it is a control flag.

Now toggling hardware flow control works.
 1.18  02-Apr-2006  tls If we might have two links, we'd better print our program name when we
emit an error -- and it would be nice if it were the *right* program name.
Since it's convenient, change most perror calls to warn, and a lot of
fprintf ... exit to errx. Fix at least one fprintf that could run off
the end of its arguments (%s but no argument, how did we never catch this?).
 1.17  29-Mar-2006  yamt pull the following change from OpenBSD
and bump date of the manpage.

date: 2003/09/20 18:15:32; author: millert; state: Exp; lines: +4 -2
Implement hardwareflow varable in tip(1) like Solaris and hf in /etc/remote.
Based on PR 3411 from Matthew Gream
Also document "tandem" variable (XON/XOFF) in tip man page.
 1.16  23-Apr-2004  christos constify and warns = 3
 1.15  11-Mar-2004  uebayasi getfl() and cu_take() write a file locally. Open a file with O_RDWR.
 1.14  07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.
 1.13  19-Dec-1998  christos creat->open O_CREAT
 1.12  25-Aug-1998  ross Add { and } to shut up egcs. Reformat the more questionable code.
 1.11  12-Jul-1998  mrg - KNF
- use snprintf
- be safe with buffers (change prompt() to take a size_t len arg for this)
 1.10  30-Jun-1998  thorpej Rename an internal function who's name collides w/ pwrite(2).
 1.9  22-Nov-1997  lukem * fix a long-term annoyance with tip: if raisechar or force are set to
"", (usually in .tiprc with lines like `raisechar='), don't activate
feature if NUL (\0) is the received character
* on a related note, don't barf if the following variables are defined
to "": disconnect, log, parity, record
 1.8  22-Nov-1997  lukem WARNSify, KNFify, using ANSI string functions, cleanup .Nm usage
 1.7  11-Feb-1997  mrg give buffers lengths; use strdup.
 1.6  29-Oct-1995  pk Convert to termios (from Scott Reynolds; PR#1621).
8-bit patches (from Matthieu Herrb; PR#1384).
 1.5  26-Sep-1995  jtc Fix crash with null eofwrite capabilityand lseek/off_t bug; PR #1346
 1.4  24-Dec-1994  cgd headers, casts, and use of time_t
 1.3  08-Dec-1994  jtc Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
 1.2  01-Aug-1993  mycroft Add RCS identifiers.
 1.1  21-Mar-1993  cgd branches: 1.1.1;
Initial revision
 1.1.1.2  08-Dec-1994  jtc imported from 4.4lite
 1.1.1.1  21-Mar-1993  cgd initial import of 386bsd-0.1 sources
 1.33.2.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.33.2.1  17-Apr-2012  yamt sync with head
 1.35.2.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.35.2.1  23-Jun-2013  tls resync from head
 1.36.4.1  10-Aug-2014  tls Rebase.

RSS XML Feed