The NetBSD Project

CVS log for src/usr.bin/tip/cu.c

[BACK] Up to [cvs.netbsd.org] / src / usr.bin / tip

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.21 / (download) - annotate - [select for diffs], Tue Sep 6 18:33:01 2011 UTC (8 months, 2 weeks ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, netbsd-6-base, netbsd-6, HEAD
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

Use __dead. Make a bunch of local functions static.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Dec 14 17:09:43 2006 UTC (5 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.19: +13 -13 lines
Diff to previous 1.19 (colored)

pass lint; from Anon Ymous

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 29 14:44:45 2006 UTC (5 years, 5 months ago) by jdc
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4
Changes since 1.18: +15 -6 lines
Diff to previous 1.18 (colored)

Add Taylor cu compatibility: -f and "dir"

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 5 23:30:57 2006 UTC (6 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

cuhelp: fix a typo in usage.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 3 04:53:58 2006 UTC (6 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.16: +8 -8 lines
Diff to previous 1.16 (colored)

Pass a little lint.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 3 02:25:27 2006 UTC (6 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.15: +2 -5 lines
Diff to previous 1.15 (colored)

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.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 3 02:01:28 2006 UTC (6 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.14: +6 -18 lines
Diff to previous 1.14 (colored)

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

Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 3 01:48:22 2006 UTC (6 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.13: +8 -3 lines
Diff to previous 1.13 (colored)

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.

Revision 1.13 / (download) - annotate - [select for diffs], Mon Apr 3 00:51:13 2006 UTC (6 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.12: +5 -7 lines
Diff to previous 1.12 (colored)

ANSIfy decls, de-__P, clean trailing whitespace

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 2 22:19:26 2006 UTC (6 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.11: +54 -9 lines
Diff to previous 1.11 (colored)

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().

Revision 1.11 / (download) - annotate - [select for diffs], Sun Apr 2 19:16:22 2006 UTC (6 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.10: +2 -0 lines
Diff to previous 1.10 (colored)

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.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 2 19:04:24 2006 UTC (6 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.9: +168 -45 lines
Diff to previous 1.9 (colored)

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).

Revision 1.9 / (download) - annotate - [select for diffs], Sun Apr 2 06:11:45 2006 UTC (6 years, 1 month ago) by tls
Branch: MAIN
Changes since 1.8: +3 -5 lines
Diff to previous 1.8 (colored)

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?).

Revision 1.8 / (download) - annotate - [select for diffs], Thu Mar 16 23:25:17 2006 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

warns=4

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 7 11:16:17 2003 UTC (8 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2
Changes since 1.6: +3 -7 lines
Diff to previous 1.6 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22365, verified by myself.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Nov 22 07:28:42 1997 UTC (14 years, 6 months ago) by lukem
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, minoura-xpg4dl-base, minoura-xpg4dl, fvdl_fs64_base, comdex-fall-1999-base, comdex-fall-1999
Changes since 1.5: +10 -8 lines
Diff to previous 1.5 (colored)

WARNSify, KNFify, using ANSI string functions, cleanup .Nm usage

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 11 09:24:05 1997 UTC (15 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

give buffers lengths; use strdup.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Dec 29 10:34:07 1996 UTC (15 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

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.)

Revision 1.3 / (download) - annotate - [select for diffs], Thu Dec 8 09:30:48 1994 UTC (17 years, 5 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.2: +8 -4 lines
Diff to previous 1.2 (colored)

Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Thu Dec 8 08:57:46 1994 UTC (17 years, 5 months ago) by jtc
Branch: WFJ-920714, CSRG
CVS Tags: lite-2, lite-1
Changes since 1.1.1.1: +3 -3 lines
Diff to previous 1.1.1.1 (colored)

imported from 4.4lite

Revision 1.2 / (download) - annotate - [select for diffs], Sun Aug 1 18:06:41 1993 UTC (18 years, 9 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Add RCS identifiers.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (19 years, 2 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>