#
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.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.34 |
|
23-Apr-2020 |
joerg |
Avoid using common symbol definitions.
|
Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.33 |
|
21-Oct-2013 |
christos |
get rid of equal(), use {s,g}etprogname().
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.32 |
|
06-Sep-2011 |
joerg |
branches: 1.32.2; 1.32.8; Use __dead. Make a bunch of local functions static.
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.31 |
|
28-Jan-2010 |
mbalmer |
fix language
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
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
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base chap-midi-nbase chap-midi-base
|
#
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.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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-base
|
#
1.16 |
|
23-Apr-2004 |
christos |
constify and warns = 3
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
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.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.14 |
|
08-Jul-2001 |
wiz |
synchron*, not sychron*
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
#
1.13 |
|
16-Aug-1999 |
simonb |
Spell "privilege" correctly (correct spelling from Jonathan Stone).
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
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
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
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.)
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.4 |
|
29-Oct-1995 |
pk |
Convert to termios (from Scott Reynolds; PR#1621). 8-bit patches (from Matthieu Herrb; PR#1384).
|
Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.3 |
|
08-Dec-1994 |
jtc |
Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
#
1.2 |
|
01-Aug-1993 |
mycroft |
Add RCS identifiers.
|
#
1.1 |
|
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|
#
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.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.34 |
|
23-Apr-2020 |
joerg |
Avoid using common symbol definitions.
|
Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.33 |
|
21-Oct-2013 |
christos |
get rid of equal(), use {s,g}etprogname().
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.32 |
|
06-Sep-2011 |
joerg |
branches: 1.32.2; 1.32.8; Use __dead. Make a bunch of local functions static.
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.31 |
|
28-Jan-2010 |
mbalmer |
fix language
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
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
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base chap-midi-nbase chap-midi-base
|
#
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.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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-base
|
#
1.16 |
|
23-Apr-2004 |
christos |
constify and warns = 3
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
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.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.14 |
|
08-Jul-2001 |
wiz |
synchron*, not sychron*
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
#
1.13 |
|
16-Aug-1999 |
simonb |
Spell "privilege" correctly (correct spelling from Jonathan Stone).
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
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
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
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.)
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.4 |
|
29-Oct-1995 |
pk |
Convert to termios (from Scott Reynolds; PR#1621). 8-bit patches (from Matthieu Herrb; PR#1384).
|
Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.3 |
|
08-Dec-1994 |
jtc |
Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
#
1.2 |
|
01-Aug-1993 |
mycroft |
Add RCS identifiers.
|
#
1.1 |
|
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|
#
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.
|
Revision tags: cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
|
#
1.34 |
|
23-Apr-2020 |
joerg |
Avoid using common symbol definitions.
|
Revision tags: netbsd-9-2-RELEASE netbsd-9-1-RELEASE phil-wifi-20200421 phil-wifi-20200411 is-mlppp-base phil-wifi-20200406 netbsd-8-2-RELEASE netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609 netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 netbsd-7-2-RELEASE pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 netbsd-7-1-2-RELEASE pgoyette-compat-base netbsd-7-1-1-RELEASE matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 bouyer-socketcan-base pgoyette-localcount-20170107 netbsd-7-1-RC1 pgoyette-localcount-20161104 netbsd-7-0-2-RELEASE localcount-20160914 netbsd-7-nhusb-base pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
|
#
1.33 |
|
21-Oct-2013 |
christos |
get rid of equal(), use {s,g}etprogname().
|
Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 agc-symver-base netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
|
#
1.32 |
|
06-Sep-2011 |
joerg |
branches: 1.32.2; 1.32.8; Use __dead. Make a bunch of local functions static.
|
Revision tags: cherry-xenmp-base bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
|
#
1.31 |
|
28-Jan-2010 |
mbalmer |
fix language
|
Revision tags: netbsd-5-2-3-RELEASE netbsd-5-1-5-RELEASE netbsd-5-2-2-RELEASE netbsd-5-1-4-RELEASE netbsd-5-2-1-RELEASE netbsd-5-1-3-RELEASE netbsd-5-2-RELEASE netbsd-5-2-RC1 netbsd-5-1-2-RELEASE netbsd-5-1-1-RELEASE matt-nb5-mips64-premerge-20101231 matt-nb5-pq3-base netbsd-5-1-RELEASE netbsd-5-1-RC4 matt-nb5-mips64-k15 netbsd-5-1-RC3 netbsd-5-1-RC2 netbsd-5-1-RC1 netbsd-5-0-2-RELEASE matt-nb5-mips64-premerge-20091211 matt-premerge-20091211 matt-nb5-mips64-u2-k2-k4-k7-k8-k9 matt-nb4-mips64-k7-u2a-k9b matt-nb5-mips64-u1-k1-k5 netbsd-5-0-1-RELEASE jym-xensuspend-nbase netbsd-5-0-RELEASE netbsd-5-0-RC4 netbsd-5-0-RC3 netbsd-5-0-RC2 jym-xensuspend-base netbsd-5-0-RC1 netbsd-5-base matt-mips64-base2 mjf-devfs2-base wrstuden-revivesa-base-3 wrstuden-revivesa-base-2 wrstuden-revivesa-base-1 yamt-pf42-base4 yamt-pf42-base3 hpcarm-cleanup-nbase yamt-pf42-baseX yamt-pf42-base2 wrstuden-revivesa-base yamt-pf42-base keiichi-mipv6-nbase keiichi-mipv6-base matt-armv6-nbase matt-armv6-prevmlocking cube-autoconf-base matt-armv6-base matt-mips64-base hpcarm-cleanup-base
|
#
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
|
Revision tags: netbsd-4-0-1-RELEASE wrstuden-fixsa-newbase wrstuden-fixsa-base-1 netbsd-4-0-RELEASE netbsd-4-0-RC5 netbsd-4-0-RC4 netbsd-4-0-RC3 netbsd-4-0-RC2 netbsd-4-0-RC1 wrstuden-fixsa-base abandoned-netbsd-4-base netbsd-4-base chap-midi-nbase chap-midi-base
|
#
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.
|
Revision tags: netbsd-3-1-1-RELEASE netbsd-3-0-3-RELEASE netbsd-3-1-RELEASE netbsd-3-0-2-RELEASE netbsd-3-1-RC4 netbsd-3-1-RC3 netbsd-3-1-RC2 netbsd-3-1-RC1 netbsd-3-0-1-RELEASE 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-base
|
#
1.16 |
|
23-Apr-2004 |
christos |
constify and warns = 3
|
Revision tags: netbsd-2-0-3-RELEASE 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-0-2-RELEASE netbsd-2-0-1-RELEASE netbsd-2-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-base
|
#
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.
|
Revision tags: netbsd-1-6-PATCH002-RELEASE netbsd-1-6-PATCH002 netbsd-1-6-PATCH002-RC4 netbsd-1-6-PATCH002-RC3 netbsd-1-6-PATCH002-RC2 netbsd-1-6-PATCH002-RC1 netbsd-1-6-PATCH001 netbsd-1-6-PATCH001-RELEASE netbsd-1-6-PATCH001-RC3 netbsd-1-6-PATCH001-RC2 netbsd-1-6-PATCH001-RC1 fvdl_fs64_base netbsd-1-6-RELEASE netbsd-1-6-RC3 netbsd-1-6-RC2 netbsd-1-6-RC1 netbsd-1-6-base
|
#
1.14 |
|
08-Jul-2001 |
wiz |
synchron*, not sychron*
|
Revision tags: netbsd-1-5-PATCH003 netbsd-1-5-PATCH002 netbsd-1-5-PATCH001 netbsd-1-5-RELEASE netbsd-1-5-BETA2 netbsd-1-5-BETA netbsd-1-5-ALPHA2 netbsd-1-5-base minoura-xpg4dl-base wrstuden-devbsize-19991221 wrstuden-devbsize-base comdex-fall-1999-base
|
#
1.13 |
|
16-Aug-1999 |
simonb |
Spell "privilege" correctly (correct spelling from Jonathan Stone).
|
Revision tags: netbsd-1-4-PATCH003 netbsd-1-4-PATCH002 netbsd-1-4-PATCH001 netbsd-1-4-RELEASE netbsd-1-4-base
|
#
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
|
Revision tags: netbsd-1-3-PATCH003 netbsd-1-3-PATCH003-CANDIDATE2 netbsd-1-3-PATCH003-CANDIDATE1 netbsd-1-3-PATCH003-CANDIDATE0 netbsd-1-3-PATCH002 netbsd-1-3-PATCH001 netbsd-1-3-RELEASE netbsd-1-3-BETA netbsd-1-3-base
|
#
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.)
|
Revision tags: netbsd-1-2-PATCH001 netbsd-1-2-RELEASE netbsd-1-2-BETA netbsd-1-2-base
|
#
1.4 |
|
29-Oct-1995 |
pk |
Convert to termios (from Scott Reynolds; PR#1621). 8-bit patches (from Matthieu Herrb; PR#1384).
|
Revision tags: netbsd-1-1-PATCH001 netbsd-1-1-RELEASE netbsd-1-1-base
|
#
1.3 |
|
08-Dec-1994 |
jtc |
Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
Revision tags: netbsd-1-0-PATCH06 netbsd-1-0-PATCH05 netbsd-1-0-PATCH04 netbsd-1-0-PATCH03 netbsd-1-0-PATCH02 netbsd-1-0-PATCH1 netbsd-1-0-PATCH0 netbsd-1-0-RELEASE netbsd-1-0-base
|
#
1.2 |
|
01-Aug-1993 |
mycroft |
Add RCS identifiers.
|
#
1.1 |
|
21-Mar-1993 |
cgd |
branches: 1.1.1; Initial revision
|