Commit Graph

64 Commits

Author SHA1 Message Date
ru
49669ede8f Sync program's usage() with manpage's SYNOPSIS. 2005-02-10 09:19:34 +00:00
ru
502abf501f Sort sections. 2005-01-18 10:09:38 +00:00
rwatson
70a77549ea Remove cross reference to uustat(1), which is no longer in the base
tree.

MFC after:	3 days
Submitted by:	bkoenig at cs dot tu-berlin dot de
2005-01-02 12:40:40 +00:00
philip
3fc1358cf1 Reflect the cuaa->cuad namechange in documentation.
Might as well do them all while I'm at it :-)

Submitted by:	Steve Kargl <sgk@troutmask.apl.washington.edu>
2004-11-13 00:09:19 +00:00
ru
a80e8fe473 Mechanically kill hard sentence breaks. 2004-07-02 21:45:06 +00:00
markm
3382584a53 Remove advertising clause from University of California Regent's license,
per letter dated July 22, 1999.

Approved by: core, imp
2004-04-09 19:58:40 +00:00
johan
1a1602ce7d style.Makefile(5):
Use WARNS?= instead of WARNS=.
2004-02-23 20:25:27 +00:00
peter
fc28635eaf Change this:
#include <strings.h>
...
  foo = (char *)strdup(...);
To:
#include <string.h>
  foo = strdup(...);
because the former segfaults on an ia64 since there is no prototype
for strdup() in strings.h.  Converting an "int" to a pointer is fatal.
2003-01-08 06:43:27 +00:00
ru
24514a3504 Fixed the abuses of .Ql visible on stderr in troff mode.
PR:		docs/37176
2002-12-23 16:04:51 +00:00
charnier
52d13c5a78 The .Nm utility. 2002-07-06 19:35:14 +00:00
dd
4cdb5e4b9e s/demon/daemon/ 2002-05-12 00:22:38 +00:00
imp
a215ab7b12 o remove __P
o remove main prototype
2002-03-21 13:20:49 +00:00
obrien
a537f22ad4 Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
2001-12-04 02:19:58 +00:00
dd
c49a4e6620 Remove whitespace at EOL. 2001-07-15 07:53:42 +00:00
ru
cb3283b5da mdoc(7) police: removed HISTORY info from the .Os call. 2001-07-10 11:04:34 +00:00
dd
978810079e mdoc(7) police: remove extraneous .Pp before and/or after .Sh. 2001-07-09 09:54:33 +00:00
ru
e7c03cd6b0 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
e2a472a47a Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
ru
600ab1a94f Prepare for mdoc(7)NG. 2000-12-27 14:40:52 +00:00
ru
d16dd614f6 mdoc(7) police: use the new features of the Nm macro. 2000-11-20 16:52:27 +00:00
sheldonh
ad4c77c29e 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 11:27:47 +00:00
peter
e226894fa0 $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
kris
42c2f1da5a sprintf -> snprintf
Obtained from:	OpenBSD
1999-06-06 07:18:49 +00:00
kris
fe5b4b6aab $Header$ -> $Id$
Manpage formatting/grammatical fixes.
Check return value of malloc()
Add sccsid[], other minor source code cleanups

Submitted by:	Philippe Charnier
1999-05-29 08:16:34 +00:00
bde
2b7681ae86 Fixed printf format errors. 1998-08-02 16:06:35 +00:00
bde
9438bb416e Fixed printf format errors. 1998-06-28 20:33:36 +00:00
jb
513b7e746b Remove the casts on signal() returns and compare the returned value
with SIG_ERR to detect the error case.

Suggested by: bde.
1998-02-20 07:28:50 +00:00
jb
99613a0e1d signal() returns an pointer, so must be cast to long, not int before
comparing < 0.
1998-01-25 09:16:55 +00:00
eivind
03bd828027 Remove unused private include files from slattach.
Submitted by:	bde
1997-12-21 13:42:27 +00:00
charnier
9d34afb16e Use err(3). Add usage(). 1997-06-19 14:33:42 +00:00
danny
4cf859b225 Fix typo: "oder" -> "order". 1997-04-16 09:56:30 +00:00
brian
290dc20dec 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
1997-03-31 22:51:00 +00:00
brian
1e0f01eb52 Move uucplock into libutil and create a manual page. 1997-03-30 12:12:20 +00:00
imp
88b6081b7e compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 03:33:12 +00:00
peter
4997d39dce Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
jkh
9c0cd3f9df Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
wosch
e902881dbf Sort cross references. 1997-01-13 00:25:51 +00:00
wollman
38d624cc24 Update to match changes in <net/if.h>. 1997-01-03 20:19:50 +00:00
wollman
751b6ad1a6 Fix if.h lossage. I could have sworn I already fixed this one. 1996-12-10 21:25:42 +00:00
wollman
e518804de3 Fix up programs which expect <net/if.h> to include <sys/time.h> to instead
do it themselves.  (Some of these programs actually depended on this
beyond compiling the definition of struct ifinfo!)  Also fix up some
other #include messes while we're at it.
1996-12-10 17:11:53 +00:00
ache
4c1399a861 Properly distinguish 3 different cases:
No redial command. Empty redial command. Non-empty redial command.
Pointed-by: bde
1996-03-12 23:14:45 +00:00
ache
b44bd2eb03 Re-open line after hangup in any case 1996-03-12 12:56:27 +00:00
ache
5ce08f3fe2 Call unit-command -1 <new> first time connected, close PR 569 1996-02-17 19:21:41 +00:00
mpp
15edaba8d4 Fix a bunch of spelling errors. 1996-01-29 23:52:43 +00:00
peter
639da796bd recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
nate
6e40bcee46 Convert to proper English in the same manner as the sliplogin manpage. 1995-10-26 05:13:54 +00:00
joerg
71abf37b12 Call the -u UCMD command on exit. The command is called with the
current unit number, and the "new" unit number of -1.  This allows the
script to actually deconfigure the SLIP interface (e.g. by running
"ifconfig delete") which has been impossible previously.

This is most likely a candidate for 2.1, too.
1995-09-29 22:03:13 +00:00
ache
927344f5b9 From Bruce:
slattach always exited early because fd is not open in acquire_line().

Other (trivial) changes that I've been neglecting for some time:

- Turn off O_NONBLOCK so that `chat' doesn't need to worry about it
  (`chat' actually does worry about it).
- Really set speeds POSIXly :-).  cfsetspeed() isn't POSIX.
- Fix spelling error in comment.
- Gripe about bad programming of doing everything from signal handlers.
  slattach should be written to do everything from the sigsuspend() loop,
  but I don't want to do it :-).

From me:
Use .PATH to find uucplock.c

Submitted by: bde
1995-09-20 12:56:25 +00:00
ache
b8bf7585cc Make uucp-locking optional: -L option 1995-09-20 04:53:08 +00:00
ache
21374f84f8 Unlock device for redial_cmd, then lock again 1995-09-19 09:07:51 +00:00