Commit Graph

2291 Commits

Author SHA1 Message Date
steve
113ee51c74 Document the use of sendmail options on the commandline.
PR:		4778
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:59:29 +00:00
steve
02511db750 Don't let secs variable wrap if <= 2.
PR:		6290
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-14 00:23:54 +00:00
peter
f0f0c61425 Add a new -F flag which is a superset of -f. It will cause tail to
stat() the file being followed and do a close/reopen if the file has been
renamed and/or rotated.  This is damn useful for leaving running on files
in /var/log when newsyslog(8) rotates them.
1998-04-06 16:13:49 +00:00
charnier
e76a2a9781 Prevent rdist from dumping core: do not free() pointer before using it.
Add rcsid. Document -D flag (debug mode). Remove unused includes.
PR:bin/3158 (part 1)
1998-04-06 06:18:32 +00:00
danny
31c3bf1111 PR: bin/6193
Submitted by:	Max Euston <meuston@jmrodgers.com>
Make times between 0000-0059 and 1200-1259 show as 12:xx, not 0:xx
1998-04-01 21:34:10 +00:00
markm
671ec9eb31 Rats. I was too fast here. Re-enable SUID mode for the non-Kerberos
case.
1998-03-26 19:43:06 +00:00
markm
1069dc1e68 Quite a while back KTH (who are the good folks who wrote our KerberosIV)
announced a K4 weakness with their rsh/rlogins. We were not put in any
danger by this, as we were not using KTH rlogin/rsh, but the patches
in themselves, had some good points. This lot means we can run our
rlogin without it being SUID root. Win win win. There are other KTH
cleanups as well.
1998-03-26 18:03:41 +00:00
markm
9b5925e963 Remove unneeded crud. 1998-03-26 17:55:27 +00:00
eivind
12ba09ea18 Remove special global tags support; we don't do it that way anymore. 1998-03-26 16:12:14 +00:00
jb
06b395f10d Ouch, that nm is aout which is not alpha-friendly. Make it i386
specific.
1998-03-24 01:43:45 +00:00
bde
918614c6d4 Ifdefed conditionally-unused variables. 1998-03-23 14:14:24 +00:00
charnier
1bf317d31f .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq. 1998-03-23 07:48:45 +00:00
charnier
3dddcc4b80 Add rcsid. Sort #includes. 1998-03-23 07:47:31 +00:00
charnier
f4cda22548 Add const to rcsid. 1998-03-23 07:46:23 +00:00
charnier
133a09cd46 .Nm nice -> .Nm. 1998-03-23 07:45:40 +00:00
charnier
42512dd5ce Add rcsid. Correct -Wall warning. 1998-03-23 07:41:49 +00:00
steve
2f30e90cd2 Reword using who.1 as a good example of where to start.
Submitted by:	bde
1998-03-22 17:39:08 +00:00
jb
c1685902ce Remove a bunch of unsupported machines, and the 'other' case where
some subdirs were only processed for install and clean (which caused
builds to fail on alpha). Install and clean should always follow
SUBDIRS.
1998-03-22 08:55:28 +00:00
peter
3aacfe8248 merge ppp-2.3.3 changes onto mainline 1998-03-21 20:47:53 +00:00
bde
c4deb2a13a Honour -static in LDFLAGS.
Install using ${INSTALL}, not `install'.  Install generated files using
${COPY}, not -c.  Install using a single command when this is easy.
1998-03-21 12:51:44 +00:00
bde
3f22d0b80e Don't use beforedepend to break things. The usual fix of putting
generated sources in SRCS breaks because compile_et uses an evil
include of one .c file in another.  Use a worse fix.  Perhaps
DPSRCS is useful after all.

Don't put *.y in SRCS.  Put the generated file in SRCS instead.
This fixes incomplete dependencies (mkdep can't work on *.y).

Don't override the default .l.c rule.  Just use LFLAGS.

Fixed some style bugs.
1998-03-20 16:21:39 +00:00
bde
356d576cdd Updated MISSING list. 1998-03-20 12:34:21 +00:00
jb
e521c29965 Some things only work on i386. 1998-03-13 19:41:06 +00:00
peter
52a364399d This commit was generated by cvs2svn to compensate for changes in r34448,
which included commits to RCS files with non-trunk default branches.
1998-03-10 05:20:58 +00:00
peter
c0166228ff Import intial version of an a.out/elf tool wrapper/selector. It is
not active yet, just a work-in-progress.
1998-03-10 05:20:58 +00:00
jb
f473a5aa80 cksum does a 32-bit checksum, so it needs to use u_int32_t variables,
not u_long. With this change, cksum stops core dumping on alpha (not
a good sign!) and actually computes the same values as it does on i386.
1998-03-10 05:03:49 +00:00
ache
3e17888b40 Localize it 1998-03-08 20:56:43 +00:00
wosch
f9389a0e81 Change default temporary directory (TMPDIR) from /tmp to /var/tmp.
Mosts users seems to have a larger /var/tmp partition
than /tmp - IMHO silly but who cares?
1998-03-08 16:09:31 +00:00
wosch
6fb2f9185a Improve shell variable substitution. 1998-03-08 15:28:37 +00:00
peter
d4db5d77ab Rewrite script as a select loop rather than as a twin reader/write process.
This allows simple logging of keys sent to a session (turned on with -k).
Also allow specifying the script file flush interval.
1998-03-08 14:19:18 +00:00
helbig
8c4674e45d Replaced by ncal 1998-03-08 09:19:48 +00:00
dyson
d903f9351a Support a couple of new "-s" stats. 1998-03-07 23:40:23 +00:00
ache
9ce1ed79aa Prevent passwd locking database forever waiting for user input
Submitted by: Antti Kaipila <anttik@iki.fi>
1998-03-07 21:42:07 +00:00
jb
2f19fba6c7 Fix a #ifndef that became a #ifdef and changed the default
behaviour of rpcgen.

Noticed by: bde
1998-03-07 05:43:59 +00:00
bde
2778c27717 Fixed `make -jN' for large N. Just put the generated file y.tab.h in
SRCS and add a dummy rule to create it.  This and cleaning of yacc
output files should all be handled by bsd.prog.mk.
1998-03-06 14:25:45 +00:00
bde
920a0f780e Fixed `make -jN' for large N, as usual. 1998-03-06 14:02:04 +00:00
bde
535c1e9e72 Fixed `make -jN' for large N. Just put all generated headers in SRCS. 1998-03-06 13:51:18 +00:00
steve
9a38efe041 Fix a few minor typos and style nits.
PR:		5883
Submitted by:	hnokubi@yyy.or.jp
1998-03-01 18:58:03 +00:00
alex
4d031e93c0 Use .Nm rdist for second .Nm occurrence in synopsis. 1998-03-01 00:18:25 +00:00
alex
3f59f6b06a Use .Nm id' instead of .Nm' for the synopsis lines.
PR:		5876
1998-02-28 21:37:54 +00:00
jraynard
0f55f68dd7 Don't assume sigset_t and int are equivalent. 1998-02-28 16:02:24 +00:00
msmith
8c298bb61f Don't claim XMS isn't implemented (it is).
Attempt to explain the "X11 support not compiled in" diagnostic.
Submitted by:	philip@rmit.edu.au (Philip Musumeci)
1998-02-26 07:53:02 +00:00
bde
95d4c27003 Added a prototype for a qsort comparision function and fixed the usual
type mismatch uncovered by this.
1998-02-25 02:29:58 +00:00
bde
4a52c24b26 Fixed the usual type mismatch for a qsort comparison function. 1998-02-25 02:25:50 +00:00
bde
85ab873899 Fixed the usual type mismatch for a signal handling function. 1998-02-25 02:24:04 +00:00
steve
209a2f2fff Add a -p option which is the same as the -m option but provided
for SVR4 compatibility.

PR:		5826
1998-02-24 16:57:49 +00:00
msmith
a154b2f18c Add Back-Tab functionality. (Ie. shift-tab)
Submitted by:	Randall Hopper <rhh@ct.picker.com>
1998-02-22 23:36:54 +00:00
jb
b2768112ff Change a (defaulted) int arg to a long so that a cast from a pointer
doesn't throw anything away. I don't want to re-code the app, just
port it!
1998-02-20 19:59:59 +00:00
jb
1dc76c74b7 Add #include <string.h> to get prototypes. Note that this program
also has a local "string.h" which is included too.
1998-02-20 19:56:01 +00:00
jb
756028baf5 Add #include <string.h> to get prototypes. 1998-02-20 19:53:12 +00:00
jb
ac2f527217 Add #include <stdlib.h> to get prototypes. 1998-02-20 19:50:10 +00:00
bde
53190093b4 Don't create an unused obj directory. 1998-02-20 11:18:57 +00:00
jb
e64aa99822 gcc wants to see long long variables passed to %q printf formats, so
cast to that instead of quad_t.
1998-02-20 05:11:42 +00:00
jb
2d3aee6972 time() needs a pointer to a time_t, but tv_sec in a timeval is a
long (yuk). So give time() what it wants and let the compiler
promote the variable when it is assigned to tv_sec.
1998-02-20 05:08:53 +00:00
jb
93191882da localtime() needs a pointer to time_t which is not necessarily a long.
So use a time_t in the chdr structure so that no casts are required.
1998-02-20 05:01:05 +00:00
jb
68662370b1 Can't use ~0L to compare against a uint32. Use ~((uint32) 0) instead. 1998-02-20 04:57:33 +00:00
jb
b1d046b3f7 Add #include <string.h> to get prototypes. 1998-02-20 04:54:00 +00:00
jb
33c2788cf2 Initialise variable that gcc lies awake at night worrying about. 1998-02-20 04:50:50 +00:00
jb
457db0f65d Add #include <string.h> to get prototypes. 1998-02-20 04:48:37 +00:00
jb
7ac16c4709 Replace incomplete malloc prototype with #include <stdlib.h>
to get the proper one.
1998-02-20 04:38:20 +00:00
jb
0ff408de5b Add #include <stdlib.h> to get prototype for malloc(). 1998-02-20 04:34:08 +00:00
jb
ca61421aeb Add #include <string.h> to get prototypes. 1998-02-20 04:33:03 +00:00
jb
2be78a09d0 Add #include <stdlib.h> to get prototype for malloc(). Without this,
the compiler assumes an int return. On alpha this is enough to ruin
ya day.
1998-02-20 04:21:46 +00:00
jb
90101d60e8 Add #include <string.h> to get prototypes for functions that gcc
has builtin (and wants to know that the prototypes match).
1998-02-20 04:13:29 +00:00
wollman
c3fee0bfb4 Make it more convenient to query NICs other than InterNIC. Explain in the
man page what each database contains.
1998-02-19 19:07:50 +00:00
steve
e38a014c89 Missing newline when euid != ruid.
PR:		5778
Submitted by:	Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
1998-02-18 17:35:16 +00:00
jb
c3eb64040b Add #include <string.h> to get prototype for memcpy(). 1998-02-15 04:15:47 +00:00
jb
a869c2a4eb gcc on alpha complains about nested comments. A comment in this
file referred to a path ending in "/*" which was reasonable to me,
but gcc wasn't so sure. So now the comment refers to a path ending in
"*".
1998-02-15 04:09:48 +00:00
steve
b27bbe7fc9 Cleanup code so that long lines to be quoted don't get truncated.
PR:		5679
Reviewed by:	Bruce Evans <bde@zeta.org.au>
1998-02-14 15:38:29 +00:00
peter
e06fdf0e8d Fix top sorting of idle processes. top used p_cpticks as a tie-breaker
but that isn't suitable (it gets zeroed each second apparently).

PR: bin/4957
Submitted-by: Dan Nelson <dnelson@emsphone.com>
1998-02-14 13:34:59 +00:00
ache
a49d6cbb65 Fix very rare but dangerous bug:
for some DES passwords
	crypt(real_password, salt)
is equal to
	crypt("", salt);
It means that this user (and not only he) can login without
entering password at all, just pressing Return.
So if empty password entered and crypted password is not empty,
invalidate any crypt result by assigning ":"
1998-02-13 21:02:53 +00:00
bde
8396cb7422 Fixed a comment. The module size is (unfortunately) in K, but it is not
in pages.
1998-02-12 23:58:54 +00:00
steve
f5e39519c8 Update to reflect the current Jewish calendar.
PR:		5683
Submitted by:	jgrosch@MooseRiver.com
1998-02-08 22:57:59 +00:00
alex
c1b8c3e98c locate(1) is no longer started by /etc/weekly. 1998-02-07 05:30:14 +00:00
guido
18f3c527c1 Reset SGINT and SIGQUIT handling to default when asking for passwords.
Otherwise, when pressing the INT ke at the password prompt, the password
will be displayed. Now login will be killed.

Probably the same will have to be done for the LOGIN_CAP_AUTH case.
I have not done that.
Reviewed by:	Joerg Wunsch
1998-02-05 18:37:02 +00:00
charnier
0498a4a54c Convert to mdoc. Move Id to the top. 1998-02-04 07:29:20 +00:00
pst
c711f6fd57 Don't print garbage when user enters EOF at name prompt.
PR:		5565
Submitted by:	Jens Schweikhardt
1998-02-03 20:53:25 +00:00
cwt
79e9ca33e3 PR: bin/5529
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>

Do not misinterpret file names with a digit in the 2nd column as
a tab stop specification.
1998-02-02 07:10:59 +00:00
charnier
61032149b7 Convert to mdoc format. Header -> Id. 1998-02-02 07:09:36 +00:00
helbig
0aa414f969 Search for proper executables, ignore directories 1998-02-01 20:01:29 +00:00
steve
b347a11807 ulimit does not have its own manpage as it is a shell builtin.
PR:		5582
Submitted by:	Craig Leres <leres@ee.lbl.gov>
1998-02-01 06:19:56 +00:00
charnier
fc42464b45 Add rcsid. RU#. Use err(3) instead of local redefinition. Convert man page to
mdoc format. Add usage(). Remove rcs $ Log $ -> use cvs log instead.
1998-01-28 07:36:25 +00:00
wosch
619f5738ad Add two new options:
-i     Do not overwrite files.

     -s     Do not strip output pathname to base filename. By default uuencode
	    deletes any prefix ending with the last slash '/' for security
	    purpose.
1998-01-25 19:26:05 +00:00
steve
783acedcff Use -literal to make for a more pleasing list.
PR:		5547
Submitted by:	Matthew Hunt <mph@pobox.com>
1998-01-25 16:38:42 +00:00
jb
f2459d66df Add a sysmk -> /dev/null definition ready for a coming change to
makesyscalls.sh.
1998-01-25 09:09:48 +00:00
steve
c0d6da83b6 Random data is no longer based on the time of day, rather the random
number device.  Also clearly state that sequential data is the default.

PR:		5553
Submitted by:	Jonathan Hanna <pangolin@rogers.wave.ca>
1998-01-24 03:32:33 +00:00
msmith
ea4273a8dd Printers under FreeBSD are /dev/lpt* 1998-01-22 02:44:54 +00:00
jlemon
c22b4eba27 Fix DOS keyboard handling to use standard pointer addresses instead of
an index into a private array.
Submitted by:	Randall Hopper <rhh@ct.picker.com>
1998-01-21 21:37:02 +00:00
bde
6ecb1cddb8 Converted to Lite2 mount interface - don't use numeric filesystem
types.  The NetBSD compatibility cruft was more correct for -current
than FreeBSD's own code.  It just used NetBSD #defines instead of
string literals for the filesystem names.  NetBSD's MOUNT_UFS is
"ffs", so using a literal "ufs" gives wrong results, but this is
unimportant, especially for bootstrapping.

Fixed style bugs in trymmap().

Fixed some disordered declarations.
1998-01-20 13:52:32 +00:00
bde
a5391afa23 Converted to Lite2 mount interface - decide filesystem types by name
instead of by number.
1998-01-20 12:53:43 +00:00
bde
d6d9710f91 Merged from Lite2. This was mostly already done, mostly indirectly
via wollman's changes in rev.1.2 being adopted by Lite2 and the
nfsv3 changes in rev.1.3 being adopted by both FreeBSD and Lite2.
We were only missing lookup of the type number for nfs (MOUNT_NFS
doesn't exist in Lite2).
1998-01-20 12:27:38 +00:00
bde
d194d95de3 Removed definition of _NEW_VFSCONF. The new vfsconf interface is now
the default.
1998-01-20 10:40:18 +00:00
bde
dab59e7849 Started getting rid of the compatibility cruft for the Lite1 mount()
and the pre-Lite2 vfsconf interfaces.

For lsvfs, use the new interface for getvfsbyname(), and use the
old interface for getvfsent() explicitly instead of depending on
macro hacks in <sys/mount.h>.  This is an intermediate step.
1998-01-17 16:24:27 +00:00
helbig
bd59ac2bb4 Handle option -j correctly.
Synchronize usage message with man page.
PR:	bin/5488
1998-01-15 10:23:34 +00:00
jb
14b5d26306 Add #ifdefs for __NetBSD__ in the rest of the places where __FreeBSD__
is defined so that this program behaves the same when built with
either set of tools. The only difference is where the pre-processor
is found. And that is a bug - it should check the CPP environment
variable and the path before just assuming that the compiled in
path is OK. I guess we should be using -Y ${WORLDPATH}/usr/bin/cpp
during a bootstrap build.
1998-01-15 08:46:58 +00:00
charnier
e2b0459f47 Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) and
add usage().
1998-01-14 07:21:14 +00:00
charnier
8184e075e4 Add rcsid, remove unused #includes, change exit(-1). 1998-01-14 07:14:11 +00:00
alex
cbae2d4417 Change MAP_FAILED to type void *.
Typo fix.
1998-01-13 02:12:43 +00:00
charnier
a4e333e7ab Change message 103, trailing \n is not needed when using errx(3). 1998-01-12 07:53:17 +00:00
charnier
4facb0a4a0 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