Home | History | Annotate | Download | only in tip
History log of /src/usr.bin/tip/cu.c
RevisionDateAuthorComments
 1.25  03-Nov-2024  rillig sbin, usr.bin, usr.sbin: remove redundant getopt declarations

No binary change, except for assertion line numbers in tprof.
 1.24  18-Aug-2019  christos check speed argument conversion (Thierry Laronde)
 1.23  03-Jan-2016  christos branches: 1.23.16;
Put back -n
 1.22  27-Jul-2014  dholland Remove broken snprintf usage (noted in PR 47976) and replace with
something simpler.
 1.21  06-Sep-2011  joerg branches: 1.21.8; 1.21.18;
Use __dead. Make a bunch of local functions static.
 1.20  14-Dec-2006  christos pass lint; from Anon Ymous
 1.19  29-Nov-2006  jdc Add Taylor cu compatibility: -f and "dir"
 1.18  05-Apr-2006  yamt cuhelp: fix a typo in usage.
 1.17  03-Apr-2006  christos Pass a little lint.
 1.16  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.15  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.14  03-Apr-2006  tls If we're not given a phone number or system name to dial, use "direct
connect" mode -- in other words, set CLOCAL so the user can talk to the
device before CD.
 1.13  03-Apr-2006  perry ANSIfy decls, de-__P, clean trailing whitespace
 1.12  02-Apr-2006  tls Add another Taylor compat option, --nostop to disable software flow control
(a.k.a. "tandem" mode). While we're here, fix a buglet with --halfduplex,
and add --flow {hard, soft, none}. Note that you can't get *both* hard and
soft flow control using the command-line option; if you want that, you
have to set the variables in tiprc or with ~s once tip is running.

Move all setting of vars.c named variables to *after* the call to vinit().
 1.11  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.10  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.9  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.8  16-Mar-2006  christos warns=4
 1.7  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.6  22-Nov-1997  lukem WARNSify, KNFify, using ANSI string functions, cleanup .Nm usage
 1.5  11-Feb-1997  mrg give buffers lengths; use strdup.
 1.4  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.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.21.18.1  10-Aug-2014  tls Rebase.
 1.21.8.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.23.16.1  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411

RSS XML Feed