Commit graph

101 commits

Author SHA1 Message Date
Jordan Sissel ee35eb7aa1 Make cu/tip handle when $HOME is not set in the environment.
Approved by: philip
Submitted by: ale
PR: bin/108775
2007-02-23 18:41:12 +00:00
Ruslan Ermilov 2aebb8bcb4 Fixed the -# option to work as documented in a manpage. 2006-09-07 19:48:52 +00:00
Ruslan Ermilov 934464be64 Bump WARNS level to 3.
OK'ed by:	make universe
2006-09-01 17:09:09 +00:00
Ruslan Ermilov 763e2b058d 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).
2006-08-31 20:44:59 +00:00
Ruslan Ermilov 07bb01e3d4 Fix compilation warnings (up to level 3). 2006-08-31 19:19:44 +00:00
Ruslan Ermilov bfad8c3c1c Document the undocumented change in OpenBSD: the ${raisechar}
is no longer set to ^A by default, it's unset.

Reported by:	imp, sam
2006-08-31 16:40:30 +00:00
Ruslan Ermilov a9f118adfd Actually merge OpenBSD changes and local changes (a diff should
be viewed relative to revision 1.24).
2006-08-31 16:26:50 +00:00
Ruslan Ermilov 2a98f027e5 Remove some dust. 2006-08-31 14:14:57 +00:00
Ruslan Ermilov fa92e8831d Resolve merge conflicts. 2006-08-31 14:14:30 +00:00
Ruslan Ermilov 24ede41b96 This commit was generated by cvs2svn to compensate for changes in r161751,
which included commits to RCS files with non-trunk default branches.
2006-08-31 14:12:22 +00:00
Ruslan Ermilov d391708c06 Import OpenBSD's tip(1) as of today 2006-08-31 14:12:22 +00:00
John Polstra dd6dea0974 Fix an erroneous description of the file descriptor assignments for
the "~C" command.

MFC After:	1 week
2005-11-02 05:47:49 +00:00
Christian Brueffer f0ea72a038 - 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
2005-07-14 20:29:08 +00:00
Stefan Farfeleder a2c1b13f5c 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)
2004-05-06 13:25:09 +00:00
Bruce Evans 9b987187ee Fixed misspellings of 0 as NULL. Fixed some nearby style bugs. 2004-03-14 05:55:16 +00:00
Hiten Pandya 74cd7c2b5a Baud rate capability is br', not ba'.
PR:		docs/56426
Submitted by:	FUJISHIMA Satsuki <sf@FreeBSD.ORG>
2003-09-06 18:36:51 +00:00
Warner Losh 229c00175c make prototpyes match functions, and declare things static as needed 2003-04-06 08:30:25 +00:00
Ruslan Ermilov facc67676f mdoc(7) police: Deal with self-xrefs. 2002-12-24 13:41:48 +00:00
Ruslan Ermilov 8d5d039f80 Uniformly refer to a file system as "file system".
Approved by:	re
2002-12-12 17:26:04 +00:00
Ruslan Ermilov c01521309b tip(1) no longer uses modems(5).
Reviewed by:	markm
Approved by:	re
2002-11-27 09:18:59 +00:00
Ruslan Ermilov c78b168048 Really merge from OpenBSD import (should have been done a year ago).
Reviewed by:	markm
Approved by:	re
2002-11-27 09:18:28 +00:00
Mark Murray d601abcf6c Merge from import. The import was done ages ago, and this diff has been
carried since then.
2002-07-19 14:10:35 +00:00
Ruslan Ermilov 7fe7d53b5c 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>
2002-07-12 14:49:25 +00:00
Tom Rhodes 46c2a2cfa4 More consistancy. file system > filesystem 2002-05-16 02:19:14 +00:00
Philippe Charnier e8937ba009 Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
Ruslan Ermilov 50c012bece Don't attempt to chflags(1) non-existent executable. 2002-04-17 12:15:02 +00:00
Warner Losh 3f330d7d1a remove __P 2002-03-22 01:42:45 +00:00
Mark Murray 65785b55c1 Fix merge conflicts, and because this still has a zillion warnings,
protect the build with a WARNS=2.

Fix the build.
2001-12-20 14:25:46 +00:00
Mark Murray cb6e1ca59f Bring files back from the dead prior to remote commit to fix import
conflicts.
2001-12-20 13:40:48 +00:00
Mark Murray 0f3bdf5df9 Import of OpenBSD's tip (which was the tip code of a month ago, modulo
OpenBSD commits).
2001-12-20 13:06:50 +00:00
Ruslan Ermilov 19cb87ad5a ${BINDIR} already has the leading slash. 2001-11-27 09:54:02 +00:00
Mark Murray 4398bb2f00 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).
2001-11-26 23:13:33 +00:00
Ruslan Ermilov 9de6241784 Fixed some of style bugs. 2001-09-12 10:04:42 +00:00
Matthew Dillon ea079e4650 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.
2001-09-09 04:54:10 +00:00
Ruslan Ermilov 57e4378bf6 mdoc(7) police: protect trailing full stops of abbreviations
with a trailing zero-width space: `e.g.\&'.
2001-08-10 13:45:36 +00:00
Sheldon Hearn e1b4d8d074 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>
2001-07-26 11:02:39 +00:00
Dima Dorfman f247324df7 Remove whitespace at EOL. 2001-07-15 08:06:20 +00:00
Ruslan Ermilov 625003720a mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 14:16:33 +00:00
Brian Somers 7bc6d0158f Fix the type of the NULL arg to execl()
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Poul-Henning Kamp 62f9fae610 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
2001-05-24 09:27:02 +00:00
Ruslan Ermilov dc12be5258 MAN[1-9] -> MAN. 2001-03-27 10:52:19 +00:00
Ruslan Ermilov d0353b836e mdoc(7) police: split punctuation characters + misc fixes. 2001-02-01 16:38:02 +00:00
Ruslan Ermilov 9b88faecd3 Prepare for mdoc(7)NG. 2000-12-19 16:00:12 +00:00
Alexey Zelkin d2e8567ab3 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.
2000-12-14 16:27:11 +00:00
Ruslan Ermilov 8fe908ef0c mdoc(7) police: use the new features of the Nm macro. 2000-11-20 19:21:22 +00:00
Ruslan Ermilov 726b61ab5f Avoid use of direct troff requests in mdoc(7) manual pages. 2000-11-10 17:46:15 +00:00
Warner Losh 0e7f0658ee #include <errno.h> where needed. Kill extern int errno;.
Minor warnings in tip corrected.
2000-04-14 06:39:19 +00:00
Brian S. Dean dcb3b3ca6b Resurrect the 'cdelay' and 'ldelay' features of /usr/bin/tip. 2000-03-15 15:01:04 +00:00
Sheldon Hearn 87faa07bec 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.
2000-03-01 12:20:22 +00:00
Brian S. Dean b75ebc058c 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
2000-02-22 02:01:17 +00:00