Home | History | Annotate | Download | only in tip
History log of /src/usr.bin/tip/tip.h
RevisionDateAuthorComments
 1.37  22-May-2022  andvar fix various small typos, mainly in comments.
 1.36  24-Jan-2022  andvar s/begining/beginning/ in comments and messages.
 1.35  10-Sep-2021  rillig usr.bin: remove unnecessary lint comment CONSTCOND

Since 2021-01-31, lint no longer warns about 'do ... while (0)'.

No functional change.
 1.34  23-Apr-2020  joerg Avoid using common symbol definitions.
 1.33  21-Oct-2013  christos get rid of equal(), use {s,g}etprogname().
 1.32  06-Sep-2011  joerg branches: 1.32.2; 1.32.8;
Use __dead. Make a bunch of local functions static.
 1.31  28-Jan-2010  mbalmer fix language
 1.30  09-Mar-2007  hubertf Move #include <libgen.h> from tip.h to the place where it's really needed.
From: Slava Semushin <php-coder@altlinux.ru>
 1.29  16-Feb-2007  hubertf Moved ctype.h from header to source file in usr.bin/tip.
Also removed unused getopt header.

Patch contributed by Slava Semushin <slava.semushin@gmail.com>
in private mail.
 1.28  14-Dec-2006  christos pass lint; from Anon Ymous
 1.27  03-Apr-2006  tls Use closefrom, don't iterate over file descriptors from 3 to 20.
 1.26  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.25  03-Apr-2006  christos Pass a little lint.
 1.24  03-Apr-2006  perry delinting. more needed. (lint found some real bugs that I haven't fixed yet.)
 1.23  03-Apr-2006  tls Wwwwwwww! Do not remove variables from the vtable in vars.c without
changing the indices in tip.h -- what a terrible design.

Okay, "design". Fine. Whatever. ;-) Now we don't dump core all the time.
 1.22  03-Apr-2006  perry Remove vestiges of the ACULOG support. It depended on the suid support
(which is now gone) and it is woefully obsolete -- if something
analogous is ever needed in the future, syslog is the way to do it.
 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 Fix the conditional compilation on ACULOG so it actually works.
Turn it off by default -- it hardly saves any space, but it's
one of the reasons why the executable is installed setuid, and
other versions of tip/cu don't write a log file anyway. We can
add syslog support later if we ever really want this back, the
file-writing is all encapsulated in log.c.
 1.18  02-Apr-2006  tls New 'cu' command-line handling, derived from Todd Miller's in OpenBSD,
but with some long options added for Taylor 'cu' compatibility, and
with some bugs fixed (in particular, the handling of -# now works as
documented and does not overwrite argv).
 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  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.14  08-Jul-2001  wiz synchron*, not sychron*
 1.13  16-Aug-1999  simonb Spell "privilege" correctly (correct spelling from Jonathan Stone).
 1.12  19-Dec-1998  christos <sys/dir.h> -> <dirent.h>
<sys/file.h> -> <fcntl.h>
 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  02-Apr-1998  kleink Include <time.h>, needed for various definitions. Also, per KNF, don't include
both <sys/param.h> and <sys/types.h>; the former is sufficient.
 1.8  22-Nov-1997  lukem WARNSify, KNFify, using ANSI string functions, cleanup .Nm usage
 1.7  20-Apr-1997  mellon Add boolean for dc flag
 1.6  19-Apr-1997  thorpej Change booleans from char to int so that comparisons against negative
values work as expected on systems with unsigned chars.
 1.5  29-Dec-1996  cgd replace old zzhack structure (YUCK!) and number(), boolean(), character(),
and address() macros with new macros of the same names (to get values),
and macros with those names but with "set" prepended and which take a
second argument (to set values). The new macros use type casts to do
type conversion, which is much cleaner than using a union and making
endianness-related hacks to get the right 'short's and 'char's from
the right array indices. (YUCK! again, for good measure.)
 1.4  29-Oct-1995  pk Convert to termios (from Scott Reynolds; PR#1621).
8-bit patches (from Matthieu Herrb; PR#1384).
 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.32.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.32.2.1  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")

RSS XML Feed