Commit Graph

2143 Commits

Author SHA1 Message Date
charnier
1ef60125aa Use Id instead of Header. Change message 103, trailing \n is not needed
when using errx(3).
1998-01-12 07:52:15 +00:00
charnier
40915b07ba Use Id instead of Header. Sort #includes. Use err(3) and change exit(-1). 1998-01-12 07:51:07 +00:00
obrien
31e5129db6 changed 1st appeared in clause -- about to import into -stable 1998-01-12 05:02:57 +00:00
steve
e5a3b5d489 Update for new common calendar.
Submitted by:	Josef Grosch <jgrosch@superior.mooseriver.com>
1998-01-12 03:31:17 +00:00
steve
e790f0b455 Reword the synopsis line so that it makes sense. 1998-01-12 00:47:52 +00:00
peter
85d8c8dd51 Add an option (-M) to install to disable use of mmap(2). This is kinda
handy at the moment with -current's mmap+unlink interactions..  The
problems seem worst when using INSTALL="install -C" in /etc/make.conf.
This could well come in handy in the future too.
1998-01-11 11:43:36 +00:00
jb
76bf3c3e0e A partial frontal lobotomy for find if using the NetBSD libc which
doesn't know about getvfsbyname() and the vfsconf structure. This
disables the -fstype option if compiled with a pre-processor that
defines __NetBSD__. With the FreeBSD built pre-processor, find can only
be built with the FreeBSD libc. So when running with a NetBSD kernel,
FreeBSD's libc will have to return ENOSYS for things that NetBSD
doesn't support. That's life in a hybrid world.
1998-01-10 21:36:34 +00:00
msmith
66b7c3e2e0 Revert to previous behaviour, only generate NLST for explicit "nlist"
command.
Submitted by:	wollman
1998-01-09 13:45:11 +00:00
sef
a20e740c7d Revert the changes yet again, after some email from Bruce. Sorry. 1998-01-09 09:31:42 +00:00
jb
ac43f6aba8 Add __NetBSD__ in a couple of places to allow this program to
compile under NetBSD, but behave like FreeBSD. For the time being,
look for NetBSD's cpp in /usr/bin.
1998-01-09 06:32:54 +00:00
jb
1e1816b489 Allow install to build from FreeBSD source using NetBSD tools and
headers during the port of FreeBSD to a NetBSD supported architecture.
FreeBSD needs to be able to install itself from very early on.
1998-01-09 06:05:13 +00:00
sef
6624495c00 Proper way to do the previous mis-commit. Still not quite right, because
some header files (e.g., <err.h>) include <machine/something.h>, and this
will not pick up the right header files, so it may be removed eventually
anyway.  But some people who are not willing to build the right way
apparantly want this, so this is for them.
1998-01-09 00:39:10 +00:00
sef
9a6b147880 Get rid of the bogus include -- it is incomplete (as it doesn't handle
anything other than <sys/*.h>), and unnecessary in most cases.  (The
situations where it is necesary can be dealt with by manually-made symlinks,
which is acceptable since they should only occur during testing.  Remember:
the tree does not compile well if you do not have matching header files
installed.  Half-baked -I directives don't cover enough of the cases.)
1998-01-09 00:22:50 +00:00
obrien
35c58712f7 Mention S/key and the skey /etc files. 1998-01-07 10:42:57 +00:00
charnier
3210047753 Sync usage and synopsis. Add rcsid. 1998-01-07 07:46:33 +00:00
charnier
5dc8e159d0 Something important happened last year. And this file was last updated
in 82.
PR:		misc/5416
1998-01-07 07:40:54 +00:00
jmg
07395e5a81 include sys so it builds on 2.2.x
also, fix misspelling of -1 (as EOF for getopt)
1998-01-07 06:19:50 +00:00
imp
56d7e88ba1 Wait for job to finish and exit if exec fails.
Obtained from:	OpenBSD (Theo de Raadt)
1998-01-07 00:05:20 +00:00
helbig
ed587dfb32 1. Don't reject 0145 if started at 22XX.
Applied suggested fix from Andrew Andrew <andrew@ugh.net.au> with
   some stylistic changes. Thanks.
2. #include <sys/time.h> -> #include <time.h>
3. Removed #include <sys/param.h>
4. Use setlocale(3) and strftime(3) instead of ctime(3).
5. Clean up -Wall warnings.
6. Make sure, time to leave are integral minutes if the argument
   is absolute. (i. e. without "+"). If started at 10:10:55 with
   argument "1020" it computed time to leave as 10:20:55 instead of
   10:20:00.

PR:		5395
1998-01-06 17:27:09 +00:00
helbig
847d460dbd 1. Don't be confused if the first day of a month is dropped due to
Gregorian Reformation. E. G. in Albania December 1, 1912 doesn't exist.
2. Add some countries in the switch table (BE, FI, LN, LU)
3. Correct some entries from the new found source of calendar knowledge:
   http://www.pip.dknet.dk/~c-t/calendar.html,
   That is Claus Tondering's Calendar FAQ.
1998-01-06 00:46:11 +00:00
charnier
50a2f19faf Sort Xrefs. Use err(3). Remove uneeded #include.
Correct usage: one of {-p pid, command} is required.
Open output file when command line is fully analyzed: incorrect `truss -o f'
command does not create an empty file anymore.
1998-01-05 07:30:26 +00:00
charnier
4372046afc Add SEE ALSO section including ref to gzip. Add .An. 1998-01-05 07:14:54 +00:00
joerg
0a88d1dcf1 Fix a style bug, and a real bug (&& vs. & misused).
Submitted by:	bde
1998-01-04 10:08:26 +00:00
steve
5827120f0a Type fix: when -> with
PR:		5420
Submitted by:	Jonathan Hanna <jh@pc-21490.bc.rogers.wave.ca>
1998-01-03 19:14:02 +00:00
helbig
fde202285d Use locale to guess the switch date.
Localize formatting of date of easter.
Suggested by:	ache
1998-01-03 15:10:11 +00:00
joerg
00289accda Teach boring old mail(1) about the use of the REPLYTO environment
variable which is de-facto standard for MUAs.

Teach bomail to generate an in-reply-to header so threading MUAs and
mail->news gateways won't lose context.

While i was at it, removed two gratuitous standard violations for
functions starting with an underscore.
1998-01-02 16:44:13 +00:00
helbig
197f0b69d7 Don't ignore empty components of $PATH, i. e. colon at the beginning,
the end or two successive colons.

Reviewed and improved by wosch.
1998-01-02 13:46:25 +00:00
wosch
4da8ac54d4 Re-order the for loop for multiple procnames. This decrease the
system load and makes a

      killall ppp rlogin ftp ssh ping traceroute telnet

a lot faster.

Remove duplicated pid's before killing (killall lynx lynx).
1998-01-01 17:24:43 +00:00
alex
d64dcc2cd6 Typo fix. 1998-01-01 02:34:14 +00:00
helbig
d3af2f22a4 Ensure 2 letter abbreviations of weekdays (even if LANG=C
and invoked as "cal").
1997-12-31 15:55:08 +00:00
peter
c4bd99c59d Fix typo while copying patch from the 2.2 system that it came from
Use execvp rather than execv so that full paths are not needed.
1997-12-30 01:20:08 +00:00
jkh
1034d83c4d * add a -c option which displays the grand total of all files
counted.

 * re-word parts of the man page which I felt were badly worded
   or ambiguous.

 * change the behaviour of argument processing so that when more
   than one of the -P, -H and -L options are specified it will
   print an error message, rather than choosing the last option
   specified, this behaviour is more logical and consistent with
   other utilities.

 * change the behaviour of argument processing so that negative
   arguments to the -d option are not allowed.

PR:		5388
Submitted by:	Niall Smart <rotel@indigo.ie>
1997-12-29 20:56:21 +00:00
peter
c43811df0f script(1) has annoyed me with it's inflexable command argument parsing
since I first saw it.  I finally needed to pass arguments through to
the spawned command badly enough (and urgently) that I threw this together.
1997-12-29 13:31:46 +00:00
alex
005e82d0d4 -Wall cleanup. 1997-12-29 00:09:06 +00:00
alex
c9da542ee5 -Wall cleanup. 1997-12-28 17:50:10 +00:00
steve
9eec71e462 Fix some minor formatting nits.
PR:		5373
Submitted by:	Matthew Hunt <mph@pobox.com>
1997-12-27 18:58:27 +00:00
hoek
100ffb8b0a Use consistent spelling,
writeable -> writable (recall prior debate over this? :-)
	initialise -> initialize
	recognise -> recognize

Merry Christmas! :)
1997-12-25 09:36:42 +00:00
ache
6b0fed6a96 Fix sysctl path /usr/sbin->/sbin 1997-12-22 19:11:28 +00:00
cwt
82701de9d4 Remove private install rule in favor of INTERNALLIB and
INTERNALSTATICLIB.

Suggested by: bde
1997-12-21 08:31:50 +00:00
sef
297bd47472 Add some copyright and license terms, at Jordan's request. Note that
syscall.h just refers to another file for the copyright notice.
1997-12-20 18:40:43 +00:00
helbig
5d3ca24eb3 Use '.\' and not '/* */' for troff-comments. 1997-12-19 21:41:21 +00:00
bde
731c4cc06f Removed extra (non-trailing) arg in a call to warnx(). 1997-12-18 15:27:43 +00:00
bde
eeba28eca5 <bsd.prog.mk> has always included ../Makefile.inc, and there are no
complications involving .PATH or dependencies, so don't include it here.
1997-12-17 19:49:09 +00:00
cwt
c097ee04f0 DPADD repairs suggested by Bruce Evans <bde@zeta.org.au> 1997-12-17 15:18:54 +00:00
bde
40ee54fd84 Fixed DPADD. 1997-12-16 17:43:33 +00:00
bde
4c20d2d210 Fixed DPADD.
Don't override the (correct) default for SRCS or MAN1.

Replaced bogus Lite1 (?) Id by $Id$.  The key server files were
mis-imported so it is hard to tell where they came from, but at
least in Lite2 they don't have useful Makefiles, and I rewrote
most of the Makefile.
1997-12-16 17:37:23 +00:00
bde
f289b1cae7 Fixed DPADD. ${LIBGCC} must be added explicitly since the default
linkage rule is overridden.  The -L option must be in ${DPADD} so that
`make checkdpadd' works.  Actually use ${DPADD}.

FIxed missing dependencies for doscmd.  Use ${LIBCRT0} instead of a
hard-coded path in the rule for doscmd.

Added comments about the kludges used to build 2 binaries and 2 data
files in one directory.  It shouldn't be done this way.  The dependencies
on sources took extra work to get right, and the dependencies on objects
are still broken (one set is missing and the other has the wrong libs).

Fixed some style bugs while I'm here:
- don't override the (correct) default for MAN1.
- use `beforeinstall', not `afterinstall' to install auxiliary files.
  `afterinstall' is for fixing messes made by `install'.
1997-12-16 16:36:43 +00:00
bde
0cc91cc6d8 Fixed missing DPADD.
Fixed some style bugs while I'm here (don't override the (correct)
default for MAN1).
1997-12-16 14:42:08 +00:00
ache
1d90974832 One more ctype cast 1997-12-16 08:58:15 +00:00
ache
57d8708b90 Add more (unsigned char) casts to ctype macros 1997-12-16 08:22:37 +00:00