357518 |
04-Feb-2020 |
dim |
MFC r357269:
Merge r357267 from the clang1000-import branch:
Fix the following -Werror warning from clang 10.0.0 in tip:
usr.bin/tip/tip/tip.c:428:4: error: misleading indentation; statement is not part of the previous 'if' [-Werror,-Wmisleading-indentation] if (gch == EOF) ^ usr.bin/tip/tip/tip.c:426:5: note: previous statement is here } else if (!cumode && gch == character(value(FORCE))) ^
The intent was to have the EOF check grouped with the getchar() call just above it. This was accidentally introduced in r354624. |
256281 |
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
244040 |
08-Dec-2012 |
eadler |
A number of places in the source tree still reference cuad.* after sio(4) was deprecated by uart(4).
s/cuad/cuau/g/
PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks
|
230654 |
28-Jan-2012 |
phk |
Make tip exit if the device disappears, for instance when unplugging or resetting USB serial devices.
Somebody[tm] should rewrite tip(1) to use two thread instead of two processes or maybe even use that new-fangled "select(2)" or positively futuristic "poll(2)" system call.
|
228992 |
30-Dec-2011 |
uqs |
Spelling fixes for usr.bin/
|
221727 |
10-May-2011 |
phk |
Flush the scriptfile whenever we see a non-graphical character to get more real-time logging, without forcing a write(2) on every single character.
|
218965 |
23-Feb-2011 |
brucec |
Fix typos - remove duplicate "is".
PR: docs/154934 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
|
178736 |
03-May-2008 |
bms |
Relinquish exclusive TTY access when tip(1) or cu(1) exit. Previously they would have left TIOCEXCL enabled, requiring either a reboot or use of tip/cu as the root user.
Observed when running QEMU with character devices redirected to pty instances.
MFC after: 2 weeks
|
173716 |
18-Nov-2007 |
jb |
Reduce the WARNS levels in a couple of places so that we can enable -Werror at higher WARNS levels like we did before gcc4 was imported.
|
169514 |
12-May-2007 |
pav |
Replace rev. 1.9 with patch from OpenBSD.
Submitted by: Ray Lai <ray@cyth.net> Obtained from: http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/tip/acu.c.diff?r1=1.13&r2=1.14 MFC after: 1 week
|
169504 |
12-May-2007 |
pav |
Fix crash when using 'du' capability: NULL return of strpbrk was not handled
PR: bin/108368 Reported by: Ivo Hazmuk <ivo@vutbr.cz> Submitted by: rdivacky MFC after: 2 weeks
|
166911 |
23-Feb-2007 |
jls |
Make cu/tip handle when $HOME is not set in the environment.
Approved by: philip Submitted by: ale PR: bin/108775
|
162124 |
07-Sep-2006 |
ru |
Fixed the -# option to work as documented in a manpage.
|
161826 |
01-Sep-2006 |
ru |
Bump WARNS level to 3.
OK'ed by: make universe
|
161784 |
31-Aug-2006 |
ru |
Fix markup (in the same way as it was fixed in tip.1) and thus make the diffs against tip.1 minimal (as in OpenBSD).
|
161781 |
31-Aug-2006 |
ru |
Fix compilation warnings (up to level 3).
|
161763 |
31-Aug-2006 |
ru |
Document the undocumented change in OpenBSD: the ${raisechar} is no longer set to ^A by default, it's unset.
Reported by: imp, sam
|
161762 |
31-Aug-2006 |
ru |
Actually merge OpenBSD changes and local changes (a diff should be viewed relative to revision 1.24).
|
161754 |
31-Aug-2006 |
ru |
Resolve merge conflicts.
|
161752 |
31-Aug-2006 |
ru |
This commit was generated by cvs2svn to compensate for changes in r161751, which included commits to RCS files with non-trunk default branches.
|
151962 |
02-Nov-2005 |
jdp |
Fix an erroneous description of the file descriptor assignments for the "~C" command.
MFC After: 1 week
|
148011 |
14-Jul-2005 |
brueffer |
- Remove MLINKS to nonexistant manpages - Change some section numbers to match reality - For MLINKS to manpages from ports, mention which port installs them
MFC after: 3 days
|
129004 |
06-May-2004 |
stefanf |
Use a proper protoype to declare interp() and move it to tip.h. Fix an invocation with a wrong number of arguments.
Approved by: das (mentor)
|
126961 |
14-Mar-2004 |
bde |
Fixed misspellings of 0 as NULL. Fixed some nearby style bugs.
|
119808 |
06-Sep-2003 |
hmp |
Baud rate capability is `br', not `ba'.
PR: docs/56426 Submitted by: FUJISHIMA Satsuki <sf@FreeBSD.ORG>
|
113163 |
06-Apr-2003 |
imp |
make prototpyes match functions, and declare things static as needed
|
108257 |
24-Dec-2002 |
ru |
mdoc(7) police: Deal with self-xrefs.
|
107788 |
12-Dec-2002 |
ru |
Uniformly refer to a file system as "file system".
Approved by: re
|
107306 |
27-Nov-2002 |
ru |
tip(1) no longer uses modems(5).
Reviewed by: markm Approved by: re
|
107305 |
27-Nov-2002 |
ru |
Really merge from OpenBSD import (should have been done a year ago).
Reviewed by: markm Approved by: re
|
100358 |
19-Jul-2002 |
markm |
Merge from import. The import was done ages ago, and this diff has been carried since then.
|
99874 |
12-Jul-2002 |
ru |
Make dirty, rotten hack really work. As of rev. 1.16, ${BINDIR} is only defined after <bsd.prog.mk> is included, and .if make(1) conditionals are evaluted on the first pass.
Spotted by: Michael Bretterklieber <mbretter@jawa.at>
|
96704 |
16-May-2002 |
trhodes |
More consistancy. file system > filesystem
|
95124 |
20-Apr-2002 |
charnier |
Use `The .Nm utility'
|
94933 |
17-Apr-2002 |
ru |
Don't attempt to chflags(1) non-existent executable.
|
92922 |
22-Mar-2002 |
imp |
remove __P
|
88276 |
20-Dec-2001 |
markm |
Fix merge conflicts, and because this still has a zillion warnings, protect the build with a WARNS=2.
Fix the build.
|
88275 |
20-Dec-2001 |
markm |
Bring files back from the dead prior to remote commit to fix import conflicts.
|
86952 |
27-Nov-2001 |
ru |
${BINDIR} already has the leading slash.
|
86924 |
26-Nov-2001 |
markm |
After some CVS surgery to remove an unwise commit, restore some post-UUCP-removal stuff:
1) Link cu(1) to tip(1). 2) Force removal of system immutable bit. (Was needed by UUCP's insecure cu(1).
|
83367 |
12-Sep-2001 |
ru |
Fixed some of style bugs.
|
83238 |
09-Sep-2001 |
dillon |
Make sure that all non-root-owned binaries in standard system paths are chflaged 'schg' to prevent exploit vectors when run by cron, by a root user, or by a user other then the one owning the binary. This applies to most of the uucp binaries, cu, tip, and man (man was already installed properly).
MFC will occur when approved.
|
81449 |
10-Aug-2001 |
ru |
mdoc(7) police: protect trailing full stops of abbreviations with a trailing zero-width space: `e.g.\&'.
|
80381 |
26-Jul-2001 |
sheldonh |
Use STD{ERR,IN,OUT}_FILENO instead of their numeric values. The definitions are more readable, and it's possible that they're more portable to pathalogical platforms.
Submitted by: David Hill <david@phobia.ms>
|
79755 |
15-Jul-2001 |
dd |
Remove whitespace at EOL.
|
79535 |
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
79452 |
09-Jul-2001 |
brian |
Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
|
77120 |
24-May-2001 |
phk |
If the user exists abruptly, tip's "tipout" child can hang around forever. Since the lock file doesn't get cleaned up, this prevents other users from accessing the target device.
(phk adds: Man, this has been bugging me for YEARS!)
PR: 12528 Submitted by: Craig Leres leres@ee.lbl.gov MFC after: 1 week
|
74848 |
27-Mar-2001 |
ru |
MAN[1-9] -> MAN.
|
71895 |
01-Feb-2001 |
ru |
mdoc(7) police: split punctuation characters + misc fixes.
|
70197 |
19-Dec-2000 |
ru |
Prepare for mdoc(7)NG.
|
70026 |
14-Dec-2000 |
phantom |
Fix typo reported by Rich Morin <rdm@cfcl.com> on -doc mailing list. Correct .Xr macro usage. Also fix few more typos while I'm here.
|
68963 |
20-Nov-2000 |
ru |
mdoc(7) police: use the new features of the Nm macro.
|
68575 |
10-Nov-2000 |
ru |
Avoid use of direct troff requests in mdoc(7) manual pages.
|
59217 |
14-Apr-2000 |
imp |
#include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
|
58095 |
15-Mar-2000 |
bsd |
Resurrect the 'cdelay' and 'ldelay' features of /usr/bin/tip.
|
57670 |
01-Mar-2000 |
sheldonh |
Remove single-space hard sentence breaks. These degrade the quality of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
|
57386 |
22-Feb-2000 |
bsd |
Fix a 'tip' core dump caused by a null pointer dereference when sending a file to the remote system.
PR: bin/15660 Reviewed by: jkh Approved by: jkh
|
51287 |
15-Sep-1999 |
peter |
Fix warning: return type of `main' is not `int'
|
50477 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
48792 |
12-Jul-1999 |
nik |
Add $Id$, to make it simpler for members of the translation teams to track.
The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so;
.\" $Id$ .\"
If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted.
Approved by: bde
|
45314 |
04-Apr-1999 |
dt |
Rename a function to avoid conflict with the new syscall 'pwrite'.
|
39915 |
03-Oct-1998 |
dfr |
Some 64bit portability fixes.
|
39539 |
21-Sep-1998 |
obrien |
Makefile.inc was conditionally setting vars already set by bsd.own.mk which is read before tip's own Makefile is. Move those varables here where they will do some good.
|
37262 |
29-Jun-1998 |
bde |
Don't assume that time_t is long.
|
37202 |
27-Jun-1998 |
steve |
Fix a few typos.
PR: 7092 Submitted by: Kauzo Horikawa <h-horik@yk.rim.or.jp>
|
36815 |
09-Jun-1998 |
imp |
sizeof(foo - 1) isn't the same as sizeof(foo) - 1.
Pointed out by: Theo De Raadt.
|
36791 |
09-Jun-1998 |
imp |
o Use snprintf rather than sprintf. o Revert gid to caller before a shell so we can run setgid. o minor style nits to make bruce happy :-) o use strncpy correctly.
|
29574 |
18-Sep-1997 |
phk |
Many places in the code NULL is used in integer context, where plain 0 should be used. This happens to work because we #define NULL to 0, but is stylistically wrong and can cause problems for people trying to port bits of code to other environments.
PR: 2752 Submitted by: Arne Henrik Juul <arnej@imf.unit.no>
|
28788 |
26-Aug-1997 |
eivind |
Removed a buffer overflow in args().
While I'm here, fix a bug with 'register' in conjunction with setjmp(), staticize and do some -Wall cleaning.
|
28686 |
25-Aug-1997 |
imp |
Change from using sys/param.h and MAXPATHLEN to using limits.h and PATH_MAX to avoid the NOFILE problem. Back out NOFILE kludge. Fix unexploitable buffer overflow in tipout.c. Reviewed by: millert@openbsd.org (tipout.c) Submitted by: millert@openbsd.org (rest of idea)
|
28606 |
22-Aug-1997 |
imp |
Fix buffer overflow. prompt didn't get a size for its buffer, so it could overflow it. Also made some filenames MAXPATHLEN long rather than 80 long.
|
28365 |
18-Aug-1997 |
charnier |
Add prototypes, usage(). Use err(3).
|
26654 |
14-Jun-1997 |
max |
Typo fix. PR: 3869 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>
|
25697 |
11-May-1997 |
jkh |
Include types.h before libutil.h
|
24475 |
01-Apr-1997 |
bde |
Fixed DPADD.
|
24461 |
31-Mar-1997 |
brian |
Remove the syslog stuff, and allow various return values in uu_lock(). Add uu_lockerr() for turning the results of uu_lock into something printable. Remove bogus section in man page about race conditions allowing both processes to get the lock. Include libutil.h and use uu_lock() correctly where it should.
Suggested by: ache@freebsd.org
|
24417 |
30-Mar-1997 |
brian |
Move uucplock into libutil and create a manual page.
|
21748 |
15-Jan-1997 |
wosch |
Sort cross references.
|
18371 |
19-Sep-1996 |
peter |
Do not claim that tip is also called cu.
Submitted by: "Ph. Charnier" <charnier@xp11.frmug.org>, PR#1639
|
18050 |
05-Sep-1996 |
bde |
Fixed DPADD.
|
16663 |
24-Jun-1996 |
jkh |
Bring in my changes for removing the pestilent obj links (unless you really want them) from /usr/src. This is the final version of the patches, incorporating the feedback I've received from -current.
|
15135 |
08-Apr-1996 |
mpp |
Correct some man page xrefs, and some other minor changes to bring some man pages up to mdoc guidelines and fix some minor formatting glitches. Also fixed a number of man pages to not abuse the .Xr macro to display functions and path names and a lot of other junk.
|
14370 |
04-Mar-1996 |
ache |
Eliminate multiply uucplock.c copies
|
12491 |
26-Nov-1995 |
phk |
Make tip recognize EOF in more cases.
|
11370 |
09-Oct-1995 |
phk |
We wouldn't want to kill init if our parent died...
Spotted by: davidg
|
11281 |
06-Oct-1995 |
phk |
Die if we get errors from the tty.
|
10976 |
23-Sep-1995 |
ache |
Rename PATH_LOCK to PATH_UUCPLOCK
|
10927 |
20-Sep-1995 |
ache |
Use new _PATH_LOCK Fix bug: pid was not assigned
|
8874 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
7547 |
01-Apr-1995 |
jkh |
Greatly clean up the Makefiles and add a Makefile.inc to more obviously advertise tip's choice of location and perms.
|
7527 |
31-Mar-1995 |
jkh |
Tom Gray's new tip changes to support a modem capabilities database and fixes to many assorted bugs and misfeatures. Submitted by: Tom Gray - DCA <dcasba@rain.org>
|