Commit Graph

1171 Commits

Author SHA1 Message Date
Wolfram Schneider
0309b92baf Add some options which makes lastcomm(1) a better debug tool. 1996-06-30 11:58:20 +00:00
Joerg Wunsch
4ac5adf036 Do always create ktrace.out with mode 0600, to prevent it from
accidentally compromising information confidential to the user running
ktrace.
1996-06-30 09:40:44 +00:00
Poul-Henning Kamp
4a38f1e9c7 Add tclsh to Makefile.
(If you havn't updated your supfile Make world will croak.  CTM is ok)
1996-06-28 05:36:32 +00:00
Jordan K. Hubbard
664a482fd0 Remove code which overrode the opinion of getcwd() with an often bogus
value for $PWD.
1996-06-27 21:59:25 +00:00
Nate Williams
b9e1fead9e Trivial bugfix which occurs when DEBUG_FLAGS is defined. If DEBUG_FLAGS
is defined, STRIP is undefined and causes the Makefile to blow up, so
make sure STRIP is defined if you plan on using it.
1996-06-27 21:48:50 +00:00
Gary Palmer
84b54bb498 Add -Wall to CFLAGS 1996-06-26 20:49:41 +00:00
Poul-Henning Kamp
8beef8d19c bmaked tclsh 1996-06-26 17:52:19 +00:00
David Greenman
4f58776644 Yet another fix for the line continuation bug in sed. Keith's patch
introduced a new bug. This fix appears to work correctly. Fixes PR#1350.

Submitted by:	mark@linus.demon.co.uk (Mark Valentine)
1996-06-26 05:54:32 +00:00
Juli Mallett
d04d75dd99 This commit was generated by cvs2svn to compensate for changes in r16748,
which included commits to RCS files with non-trunk default branches.
1996-06-26 05:36:21 +00:00
Juli Mallett
3a68a92675 Import OpenBSD m4 as of today. 1996-06-26 05:36:21 +00:00
Andrey A. Chernov
1f1b7c85d3 Make GET request and response parsing HTTP/1.0 compatible 1996-06-25 21:33:18 +00:00
Jordan K. Hubbard
cd9a2f5c28 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.
1996-06-24 04:26:21 +00:00
Jean-Marc Zucconi
ca3eb98721 Do not exit if ftpGetSize() returns a value < 0. You may well try to
fetch a whole <directory>.tar.gz on a server running wu-ftp.
1996-06-24 01:03:05 +00:00
Bruce Evans
e18efcbd6a Run the headers through cpp -dM to find the #defines. The direct search
has been broken at least since 4.4Lite moved most of the #defines out of
<sys/ioctl.h>.  This should be done better.  Only a few headers are
searched.

Added some #includes so that ioctl.c compiles.  The networking headers
have a maze of undocumented interdependencies and ioctl.c now actually
supports networking ioctls.
1996-06-23 17:05:10 +00:00
Bruce Evans
7739e56802 Made strip failures fatal. This fixes PR 1328. 1996-06-23 12:59:18 +00:00
Bruce Evans
7c74df1873 Removed rubbish that stopped usr.bin/ncftp from going away. 1996-06-23 10:38:15 +00:00
Jordan K. Hubbard
35740f4fe3 Adjust the copyright to match reality, remove printing of gratuitous newline. 1996-06-22 23:24:13 +00:00
Jordan K. Hubbard
80951c9d5d Clean up more bogons:
1. Add a copyright at the top.
	2. Make passive and binary modes work with new ftpio semantics.
	3. Add a `mirror' (-m) flag which only copies the remote file if it's
	   not the same size or is newer.
1996-06-22 21:42:14 +00:00
Jordan K. Hubbard
bad91cabaf Address Andrey's complaints:
1. Always use file modtime, and if that's not usable then default
	   to current time.
	2. Allow HTTP_TIMEOUT to be set as an environment variable to override
	   default.
	3. Handle SIGTERM.
1996-06-22 20:16:57 +00:00
James Raynard
10871c9884 Document the fact that it only works if the trace record is a regular file. 1996-06-22 02:15:28 +00:00
Adam David
161e125cb3 added fetch 1996-06-20 17:47:24 +00:00
Nate Williams
baba307627 Whoops, forgot one FreeBSD specific change necessary for the lex .mk
macros to work.
1996-06-19 22:25:32 +00:00
Jordan K. Hubbard
81faaafaf6 Remove ncftp 1996-06-19 21:13:45 +00:00
Jordan K. Hubbard
e551cc4df4 Nuke this thing. 1996-06-19 21:13:05 +00:00
Nate Williams
693e59976b Finish the import and merge in FreeBSD specific changes.
Add a 'bootstrap' target which *must* be run before building the new
version, since the new scanner relies on the current version of flex to
build itself otherwise.
1996-06-19 20:48:06 +00:00
Jordan K. Hubbard
036346c9c7 Add a newline - it seems to want it. 1996-06-19 20:36:35 +00:00
Nate Williams
9c38336b2b This commit was generated by cvs2svn to compensate for changes in r16514,
which included commits to RCS files with non-trunk default branches.
1996-06-19 20:26:48 +00:00
Nate Williams
0a985cc317 Flex version 2.5.3 from Vern Paxson at LBL. 1996-06-19 20:26:48 +00:00
David Greenman
796d43185d Fix from Keith Bostic <bostic@bsdi.com> for bug in sed dealing with
continuation lines.

Submitted by:	Keith Bostic via Kirk McKusick
1996-06-19 11:20:07 +00:00
James Raynard
0bff613275 Merged in 4.4Lite2 versions, added $Id$'s. The ktrace changes should
fix the garbage error messages printed out under certain circumstances.
1996-06-19 09:56:30 +00:00
Satoshi Asami
5e5a2c7fb1 Jean-Marc's url fetch program, with Josh MacDonald's patches and
Jordan's ftpio library.

Submitted by:	jmz, jkh, jmacd (three-j!)
1996-06-19 09:32:11 +00:00
Andrey A. Chernov
c54481c15a Do not print herror message, if w -n gethostname failed to be 100%
compatible with any program
Suggested by: peter
1996-06-17 20:07:44 +00:00
Andrey A. Chernov
1694c5cb7a Fix xterm/screen/(any program using just :xxx form) compatibility 1996-06-17 19:23:38 +00:00
Andrey A. Chernov
0fd06e5d7c Don't try convert "-" to numeric form for -n option 1996-06-17 18:35:16 +00:00
Andrey A. Chernov
3905c66a6a Localize time 1996-06-17 16:44:16 +00:00
Andrey A. Chernov
66b12529e6 Fix w -n to really show numeric addresses, close PR 402
Partially submitted by: henrich@msu.edu (Charles Henrich)
1996-06-17 15:46:25 +00:00
Andrey A. Chernov
16ac215c11 Write numerical address instead of hostname for hostnames > UT_HOSTSIZE
to keep valid information in utmp and lastlog
1996-06-17 12:27:55 +00:00
Peter Wemm
1336da0dea make netstat distinguish broadcast and blackhole routes where they appear.
(RTF_BLACKHOLE was already documented as being shown, but the code ignored
it)

Sumbitted by: Greg Lehey <grog@lemis.de>
1996-06-15 17:08:40 +00:00
Bill Paul
8e92f56a01 Add missing semicolon so that this module compiles whithout -DYP.
Submitted (via Usenet) by: Nathan Torkington <gnat@frii.com>
1996-06-15 16:17:42 +00:00
Joerg Wunsch
1ace9012ad A totally revamped whereis(1), bringing back all the functionality of
the 4.3BSD command.  Rewritten from scratch after the old man page,
taking account for the different situation with man pages and source
tree hierarchy (re: /usr/src/gnu) of the FreeBSD project.

Reviewed by:	wosch (actually loooong time ago)
1996-06-15 12:29:48 +00:00
Alexander Langer
77ae30e9cc Code clean up. Prototypes, casting, and parentheses around assignments
used as truth value.
1996-06-15 01:01:02 +00:00
Alexander Langer
8a1e5ea8c6 Fix a couple of minor typos. Closes PR 1309.
Reviewed by:	alex
Submitted by:	jraynard
1996-06-11 23:17:03 +00:00
Jordan K. Hubbard
94591e176e Cosmetic fixes for drive names which are 4 chars long.
Submitted-By: Joe Greco <jgreco@ns.sol.net>
1996-06-11 16:18:58 +00:00
Julian Elischer
cae2a25e65 better appletalk support. 1996-06-10 21:03:38 +00:00
Poul-Henning Kamp
8cd6893074 nitpicks.
Reviewed by:	phk
Submitted by:	"Philippe Charnier" <charnier@lirmm.fr>
1996-06-10 16:12:43 +00:00
Poul-Henning Kamp
f2eff4c0ab typo.
Submitted by:	"Philippe Charnier" <charnier@lirmm.fr>
1996-06-10 15:55:48 +00:00
Alexander Langer
fd70ee8464 Added revised manpage submitted by the author of units.
Reviewed by:	alex
Submitted by:	Adrian Mariano <adrian@cam.cornell.edu>
1996-06-10 00:43:42 +00:00
Andrey A. Chernov
e46f51fe95 Make collation table compatible with POSIX WG15 view, i.e.
capital letters first
1996-06-09 17:24:45 +00:00
Bruce Evans
d4aa237228 Print times/call in ns if hz >= 10e7. hz will be this large for high
resolution profiling on Pentiums.  On a 100MHz Pentium, the resolution
is at best 10 ns and actually a few hundred ns, but units of 10's or
100's of ns would be inconvenient and the current units of 1 us are a
bit too coarse.
1996-06-08 12:29:57 +00:00
Alexander Langer
4c0c227d97 Fix exit code when used in non-interactive mode.
Remove ';' typo attached to if statement.
1996-06-08 04:30:06 +00:00
Alexander Langer
bc720a3061 Add units. 1996-06-08 03:46:33 +00:00
Alexander Langer
8deaab2376 This commit was generated by cvs2svn to compensate for changes in r16186,
which included commits to RCS files with non-trunk default branches.
1996-06-08 03:43:43 +00:00
Alexander Langer
a303171509 Units conversion utility courtesy of NetBSD.
Submitted by:	Jeremy Prior
Obtained from:	NetBSD
1996-06-08 03:43:43 +00:00
Julian Elischer
ce1355d54c I guess the docs should mention the new protocol at least once. 1996-06-08 00:54:18 +00:00
Julian Elischer
63bf4575db patches to allow netstat to monitor appletalk sockets openned using the
/sys/netatalk protocol stack

more cleanups and fixes are likely
1996-06-08 00:20:42 +00:00
Andrey A. Chernov
938954d97e Add yet one holiday 1996-06-07 15:53:44 +00:00
Garrett Wollman
759b7d75fb Print PCB hash miss statistic. 1996-06-05 17:24:33 +00:00
John Fieber
44842f599e Upgrade from 1.1 to 1.1.91. Unknown to me, the latter version was
actually available at the time I brought in the former.
Lots of assorted bug fixes and much needed support for catalogs.
1996-06-04 19:09:50 +00:00
Alexander Langer
7d56c0ee6b Code cleanup: remove unused variables, use correct *printf format
specifiers (some unsigned values were printed as signed, some longs
were printed as ints), and place parentheses around assignments in
if statements.
1996-06-02 23:19:12 +00:00
Poul-Henning Kamp
1d95dc910b Backout yacc changes. 1996-06-02 17:22:01 +00:00
Bruce Evans
b68933975f Finished yacc rules changes. 1996-06-01 13:39:23 +00:00
Poul-Henning Kamp
ff8830e331 yacc rules change. 1996-05-30 23:09:11 +00:00
Poul-Henning Kamp
82931d49f9 yacc rule changes. 1996-05-30 23:05:55 +00:00
Poul-Henning Kamp
ff0912e2fd yacc changes. 1996-05-30 23:03:00 +00:00
Poul-Henning Kamp
fb808b4cb8 yacc rules change. 1996-05-30 22:48:22 +00:00
Sujal Patel
a69836c197 Allow multiple process names to kill (i.e. 'killall ftpd inetd httpd')
Submitted by:	smpatel, wosch
Reviewed by:	wosch
1996-05-30 22:04:09 +00:00
Paul Traina
abe67e41f6 Remove obsolete SOCKSv4 support 1996-05-30 03:09:18 +00:00
Paul Traina
ad9b7e5685 1. Remove SOCKS support (unneded with SOCKS v5 port)
2. Update quarantine port support to use new kernel mechanism.
1996-05-30 03:08:17 +00:00
Paul Traina
66e5b18f29 Drop privileges if not using standard namelist or kernel file.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:20:10 +00:00
Paul Traina
73c00cf43f Setgid kmem not required.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:19:03 +00:00
Paul Traina
661a5e433a Drop privileges if we're not reading standard kernel file or namelist.
Submitted by:	smpatel (Sujal Patel)
1996-05-30 02:18:44 +00:00
Joerg Wunsch
33bb39cd50 Make it more explicit in the main help window that the magic to leave
`ee' is ``ESC-Enter''.  This supposedly fixes the biggest complaint
about it. ;)

(I hope ``ESC-Enter'' ain't too anglicistic in the French text...)
1996-05-27 21:00:06 +00:00
John Polstra
a49b055f5c Fix a bug in the mbufs display, seen when there was a large number
of mbufs in use.  If the number reached, e.g., 4 digits, then later
decreased to 3 digits, the last digit of the 4-digit number was
not erased.  This caused the display to show a wildly high number of
mbufs in use.
1996-05-27 17:47:09 +00:00
Marc G. Fournier
94e99b9ffa Changed printf for reporting transfer stats from using %.2g to %.2f to
get rid of "scientific notation" reporting (PR#bin/329)

Added a switch so that if bytes/sec > 1Meg/sec, report in Meg/sec instead
of Kbytes/sec
1996-05-26 21:12:50 +00:00
Joerg Wunsch
7439849253 The rs(1) command dumps core with the -s option (SIGSEGV)
(Fix a rangecheck condition.)

Closes PR # bin/1244: rs(1) dumps core with -s
1996-05-26 18:26:55 +00:00
Bill Paul
a7aa11b1a0 Fix the -l flag. For some reason I can't fathom, I left in some code
that would cause it to fail if anyone but the superuser tried to use it.

Also fix a couple of harmless typos since I'm in the area.
1996-05-25 01:05:17 +00:00
Wolfram Schneider
d1c1415248 New option -append: teach makewhatis to only add records, instead
of clobbering the entire database.

sort options in alphabetic order.

install manpage makewhatis.local.8
1996-05-22 00:57:42 +00:00
Wolfram Schneider
e646d2895a remove NLSDIR=${DESTDIR}/usr/share/nls, already defined in bsd.own.mk
unlink gencat(?) target before install, so gencat don't fail
if target is readonly and you are not root
1996-05-22 00:21:50 +00:00
Garrett Wollman
70967c1c28 Correct usage message.
Submitted by:	 Faried Nawaz <fn@pain.csrv.uidaho.edu>
1996-05-20 15:54:10 +00:00
John Fieber
93f6fc9b23 Small patch from James Clark, fixes underscore handling in the SGML
declaration parsing.
1996-05-20 05:06:47 +00:00
Mike Pritchard
fd0ca8903b Convert f2c.1 to mdoc format.
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1996-05-15 20:27:10 +00:00
John Fieber
95bb3b9747 Fix a few HTML 2.0 violations. 1996-05-15 17:05:17 +00:00
Wolfram Schneider
7d732d1e4f Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286
Submitted by: invalid opcode <coredump@nervosa.com>

makewhatis.local - start makewhatis(1) only for file systems
                   physically mounted on the system
Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
your NFS server -- all clients start makewhatis at the same time!
So use this wrapper instead calling makewhatis directly.

Pointed out by: Bruce
1996-05-12 21:02:04 +00:00
Andrey A. Chernov
0ec972ee91 Describe calendar format & arguments better 1996-05-12 13:26:48 +00:00
Andrey A. Chernov
2089d0009e Includes cleanup
Submitted by: bde
1996-05-11 20:44:21 +00:00
Andrey A. Chernov
6dc9ac1426 Describe russian calendar 1996-05-10 22:26:02 +00:00
Andrey A. Chernov
d15a8f58a4 Add russian data handling 1996-05-10 21:39:38 +00:00
Andrey A. Chernov
733a717c7d Russian calendar 1996-05-10 21:36:56 +00:00
Andrey A. Chernov
9d0a521e31 Localize even more.
FIx Orthodox Easter calculation
Better debug output
1996-05-10 19:31:02 +00:00
Andrey A. Chernov
ebf0ec62f5 Fix typing error 1996-05-10 17:36:33 +00:00
Andrey A. Chernov
7f7d4bbe18 Allow to configure national Easter names.
Speedup my national months/days handling code.
1996-05-10 17:32:06 +00:00
Andrey A. Chernov
ab5dc10734 Localize it
Handle Orthodox Eastern
-Wall cleanup
1996-05-10 16:30:22 +00:00
Wolfram Schneider
9fb933075e `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
Bill Paul
5741059082 In use_yp(), call _yp_check() to make ultra, super-duper sure that NIS
is available before trying to go hunting for a domain name. This fixes
the following problem: you have +::::::::: in /etc/master.passwd but
NIS isn't running (no ypbind, no domain name set) -- passwd and chpass
will still try to change an NIS password instead of the local one.
1996-05-07 21:05:12 +00:00
Jordan K. Hubbard
bb6ed1e245 Correct an editing bogon I introduced earlier. 1996-05-04 10:25:03 +00:00
Jordan K. Hubbard
0cef8c965e Look conditionally in obj/ for mktoasc. 1996-05-03 03:15:58 +00:00
Poul-Henning Kamp
875c5798b6 NBPG -> PAGE_SIZE 1996-05-02 09:10:21 +00:00
Joerg Wunsch
c584e0e88a Correct a typo.
Submitted by:	mbarkah@hemi.com (Ade Barkah)
1996-04-30 05:20:32 +00:00
Joerg Wunsch
8905131422 Implement keyinfo(1) as a setuid Perl script, so /etc/skeykeys can
be made mode 0600.

Pointed out by: kieber@sax.de (Ulf Kieber)
Reviewed by:	pst
1996-04-26 21:35:11 +00:00
Andrey A. Chernov
9137242c2c Oops, restore missing piece of previous commit. 1996-04-25 18:14:11 +00:00
Andrey A. Chernov
cc8c038449 Treat ^end<EOF> as valid terminator (like ^end\n), some encoders (f.e. Eudora)
produce such things.
1996-04-25 14:49:40 +00:00
Paul Traina
d9fd44dd79 Add support for SOCKS if enabled.
Remove a useless bind() call (why did that ever get in there?)
1996-04-23 06:01:10 +00:00
Paul Traina
33bb8564be Add support for socks 1996-04-23 05:18:43 +00:00
Sujal Patel
003aaef883 Fix a segfault which occurs when it gets an empty input line.
Closes PR bin/1153

Reviewed by:	smpatel
Submitted by:	Matthew C. Mead (mmead@Glock.COM)
1996-04-22 18:37:22 +00:00
John Polstra
d1157e5d90 Update an offset field for i386 a.out core files, so that the program
name comes out right again.

Note: Don't bring this change directly into the -stable branch.  The
appropriate offset for -stable is different.
1996-04-18 19:05:58 +00:00
John Polstra
341a113d59 Fix a typo in the syntax for indirect offsets. 1996-04-18 18:17:14 +00:00
John Hay
33b6236de7 Document that ipx is a valid protocol for the -f option.
Comment out ns and iso. They are not supported anymore.
1996-04-13 21:23:57 +00:00
Bruce Evans
2c51e5ed8d Changed all per-file errors to warnings. Exit with a nonzero status of
if there was a per-file error.  My test case of `wc /proc/curproc/*'
works reasonably now (much like `size /proc/curproc/*'.

Reviewed by:	wosch
1996-04-13 11:35:54 +00:00
Mike Pritchard
d33c4953e7 Print some warnings if root invokes chpass and sets the
shell to one of the following:

- a non-existent file
- a non-regular file
- a file without any execute bits set

The shell is still set to whatever they entered even if the above
conditions exist (hey, it is the super user doing this after all :-),
but this might give the admin. some warning that they are about to screw
themselves and give them a chance to fix it before it is too late.

Inspired by: some new FreeBSD user on USENET who set his root shell
  to a shell that doesn't exist and now can't gain access to root (don't
  worry, I sent him some mail on how to recover from this).
1996-04-11 05:30:18 +00:00
Wolfram Schneider
a0d038a406 Do not exit if a file is not readable. This is a short hack
until someone rewrite wc(1).
1996-04-10 22:21:01 +00:00
Mike Pritchard
457788f888 Correctly match the format flags and their descriptions.
Submitted by:	Dave Glowacki <dglo@ssec.wisc.edu>
1996-04-09 21:46:24 +00:00
Wolfram Schneider
a9251605ba Easter was one day to fast.
Unix use days *since* January 1 [0-365], not the 1th day of year etc.
1996-04-09 19:48:31 +00:00
Mike Pritchard
778413c81b Do not include math.h because it isn't used and it causes
"make world" to fail if you use the msun math library and
blow away /usr/include and then do "make world".  This is because
the msun math.h isn't installed with the other include files before
xlint is built.  It finally gets installed when the msun library
is built.

Perhaps "make world" should install the msun math.h file if
it doesn't install the CSRG math.h, to prevent problems
like this in the future.
1996-04-09 17:17:31 +00:00
Joerg Wunsch
98fd61c0a2 Don't reference NULL pointers if owner and/or group are omitted.
Pointed out by:  somebody on the mailing list who's name i forgot
1996-04-08 10:59:36 +00:00
Mike Pritchard
edf0e5b3f8 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.
1996-04-08 04:18:31 +00:00
Bruce Evans
9192bbf46f Use strtoq() instead of strtol() so that large inums, and sizes can be
specified.

Not fixed: specification of large uids and gids; silent truncation of
unrepresentable values.
1996-04-07 12:58:13 +00:00
Joerg Wunsch
be71712986 Fix a typo.
Submitted by:	tgm@netcom.com (Thomas G. McWilliams)
1996-04-07 01:18:20 +00:00
Mike Pritchard
906c1e27fc Correct some man page cross references and file location references. 1996-04-07 00:06:21 +00:00
Mike Pritchard
e229ffb7e9 Correct some cross references and some path names. 1996-04-06 09:47:30 +00:00
Julian Elischer
b897ddafe5 Submitted by: archie@tribe.com
allow the user to install using a Numeric GID or UID.
this brings it in to line with chgrp and chown, ans is required
by some people using FreeBSD in a product.
1996-04-06 01:50:40 +00:00
Mike Pritchard
544b5cb2f1 Change calendar to report the actual date for variable day events.
E.g. for Easter, and entries like "04/SunFirst" calendar will
now report:

04/05*	Good Friday (2 days before easter)
04/07*	First Sunday...

instead of:

Easter-2	Good Friday...
04/SunFirst	First Sunday...

I also modified the calendar files to use the variable day format
for a lot of events so that they will be reported correctly.
E.g. U.S. daylight savings time is now listed as:

04/SunFirst	Daylight savings time...

There are still a lot of wrong dates in there for some events
that move from year to year, but I don't have a good calendar handy
right now that I can use for reference.
1996-04-06 01:15:21 +00:00
Wolfram Schneider
4c3dfdc376 $* -> $@
check exit code from $MKDEP_CPP, not sed(1)
1996-04-05 22:13:49 +00:00
Joerg Wunsch
9cb8a1050f Xref clocks(7). 1996-04-05 08:53:38 +00:00
Andrey A. Chernov
481f550e6c Cast to unsigned char instead of unsigned
Cast ctype argument to unsigned char
1996-04-03 07:47:35 +00:00
John Polstra
ffac7b875e Removed the definition of the make variable SHAREDIR. It was clashing
with the definition in bsd.own.mk, causing "make world" to fall over.
1996-04-02 22:26:18 +00:00
Paul Richards
a5e0fef0f3 Don't build the special case lint libraries. 1996-03-31 22:18:46 +00:00
Andrey A. Chernov
daab85586e Localize time 1996-03-31 16:39:26 +00:00
Bruce Evans
0e08ab6ff0 Renamed Proc-cache to Dir-cache for the same reasons as in vmstat.
Tweaked screen positions to match.
1996-03-29 14:48:25 +00:00
John Fieber
7b36c4a152 Make sure there is a linefeed at the end of generated HTML files. 1996-03-26 13:26:53 +00:00
Paul Richards
215b228037 Move llib-lstdc to llib-lc since that's what lint expects. 1996-03-24 20:03:46 +00:00
Paul Richards
e2304a633b Re-enable building of lint libraries. 1996-03-24 19:47:12 +00:00
Paul Richards
50359a8d3a Build and install llib-lstdc.ln. Disable Posix version.
Change install mode from NONBINMODE to LIBMODE
1996-03-24 19:45:58 +00:00
Paul Richards
4a7eb58ade Add xlint 1996-03-24 14:09:33 +00:00
Paul Richards
e7f9bd714d Don't build lint libraries for the moment. 1996-03-24 13:58:27 +00:00
Joerg Wunsch
3281f9d8e5 Cast char's to (u_char) before passing them to isctype() functions. 1996-03-19 21:21:06 +00:00
Bruce Evans
fdee4617c6 Fixed a type mismatch in crufty misconfigured compatibilty code. 1996-03-19 15:11:13 +00:00
Joerg Wunsch
229cd11bba Minor correction regarding the last line of an uuencoded file.
Submitted by:	Giles Lean <giles@topaz.nemeton.com.au>
1996-03-17 09:49:51 +00:00
Joerg Wunsch
6109ca90ae Fix a couple of sign-extension bugs.
Submitted by:	serg@bcs1.bcs.zaporizhzhe.ua (Sergey Shkonda)
1996-03-17 09:00:48 +00:00
Andras Olah
03801815df Allow the user to disable the use of T/TCP by setting the -T option.
This option becomes useless when all TCP stacks are fixed out there.
1996-03-15 16:41:49 +00:00
Wolfram Schneider
506745c8a5 remove /usr/ucb from path
cleanup Makefile
1996-03-12 21:37:05 +00:00
Andrey A. Chernov
7573cb47cf Increment network byte order properly
Reviewed by: wollman
1996-03-12 10:23:30 +00:00
Mark Murray
1a98a0fb5b Make su a little less fascist about using Kerberos if it is not
configured or available.

Also fix a _nasty_ bug that would let one in if su -K was used.
Any old password would work :-( :-(.
1996-03-11 22:14:52 +00:00
David Greenman
d8d891521e Move #include of queue.h before #include of socketvar.h in preparation for
struct socket changes.
1996-03-11 13:01:12 +00:00
David Greenman
48750b4c77 Include queue.h in preparation of struct socket changes. 1996-03-11 13:00:12 +00:00
David Greenman
0bb10c6613 Include queue.h in preparation for upcoming struct socket changes. 1996-03-11 12:56:07 +00:00
Mike Pritchard
83d5ca475c Fix some grammer problems. 1996-03-11 04:50:13 +00:00
Mike Pritchard
6ce9e6704d Add the -x option to the usage string.
Submitted by:	Philippe Charnier <charnier@lirmm.fr>
1996-03-11 03:36:10 +00:00
Mike Pritchard
ade9638b8a Fix a couple of typos.
Submitted by:	Philippe Charnier <charnier@limrr.fr>
1996-03-11 03:31:51 +00:00
Mike Pritchard
4aabdf7d3b Change an incorrect reference to the "-n" flag to "-#".
Submitted by:	Masanobu Saitoh <msaitoh@spa.is.uec.ac.jp>
Obtained from: NetBSD-bugs mailing list
1996-03-11 03:09:00 +00:00
Jeffrey Hsu
782ff9b2f0 From Lite2: rename fs to vfs. 1996-03-11 03:06:45 +00:00
Andrey A. Chernov
a0a4788922 Print 8bit chars from the net if current locale allows them 1996-03-10 23:33:48 +00:00
Joerg Wunsch
285926046a Make talk automagically find out the interface IP address where the
remote peer will be connected through.  This avoids the ``Checking for
invitation on caller's machine'' problem for multi-homed hosts.

Thanks to: Garrett, for his `find_interface' example
1996-03-09 19:23:01 +00:00
Mark Murray
5a453b0ef3 Better integrate kerberos into su so that if an incorrect Kerberos
password is entered, the user is not prompted for a password a second
time.

This closes pr-bin/1006.
1996-03-09 14:57:43 +00:00
Poul-Henning Kamp
933fb911e5 Phkmalloc strikes again.
Found by:	asami
1996-03-07 08:59:53 +00:00
Paul Traina
92b5c495f0 Here's a patch that fixes the problem with modem syncronization
problems with tip.  There are some hardwired timeouts that ignores the
delay that you can set in the modem configuration file.  The hard-wire
delay is to short if the modem has to switch major modes and reset
(ie going from fax to data mode with a reset).

Now my modem transistions from HylaFax control to tip control and ppp mode
without any problems.

Submitted by:	Douglas Ambrisko <ambrisko@tcs.com>
1996-03-05 19:11:49 +00:00
David Greenman
26cc34f157 Use '-fstype ufs' rather than '-fstype local' on the find command to avoid
special non-filesystems like procfs from being included.
1996-03-05 13:07:04 +00:00
Satoshi Asami
e5009da0f9 Make xargs take into account the bytes occupied by the environment.
Original by: peter
1996-03-05 07:43:40 +00:00
Bill Paul
c3d77d3003 Fix small bug in get_yp_master(): this function is used to look for
a master server and initialize the suser_override flag, but in a non-NIS
environment is should be smart enough to just leave the flag cleared
and return (unless forced with a command-line argument like -y).
Otherwise, it will return an NIS-related error even if NIS isn't
turned on.

Pointed out by: ache
1996-03-04 15:34:43 +00:00
Andrey A. Chernov
1d537e96a3 Eliminate multiply uucplock.c copies 1996-03-04 10:46:29 +00:00
Wolfram Schneider
2868020397 `~a'', `~i'' etc. cause vi to core dump
if the (file)buffer is empty (line=1, colum=0, len=0)

Submitted by:	batie@agora.rdrop.com (Alan Batie)
1996-03-03 15:47:43 +00:00
Jordan K. Hubbard
1d66e218f6 Print number of second-level cache hits as per-directory, not per-process
(since they're per-directory now).
Learned from: Kirk McKusick's OS internals course.. :-)
1996-03-03 09:06:59 +00:00
David Greenman
0b87c9157d Make the -w option actually useful to people. Instead of it creating a
messy 130 column collage, output the system totals -or- info for a
specific interface if -I is given. Also wait for <interval> before
outputting the first sample so that it represents meaningful data (as
opposed to the total since the system was booted - most busy systems
wrap around many times during their operation, so these numbers are
only misleading).
1996-02-29 07:44:37 +00:00
Wolfram Schneider
298f429180 first check the count and then get
the next line of characters and not cause it to first get
the characters even if the count (cnt) has become 0.

Submitted by:	R Bezuidenhout <rbezuide@mikom.csir.co.za>
1996-02-26 22:46:36 +00:00
Guido van Rooij
1347f5b8e5 Add a counter for the number of times the listen queue was overflowed to
the tcpstat structure. (netstat -s)
Reviewed by:	wollman
Obtained from: Steves, TCP/IP Ill. vol.3, page 189
1996-02-26 21:47:13 +00:00
Bruce Evans
463c7e7ac6 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1996-02-25 20:25:05 +00:00
Joerg Wunsch
1b989d7a36 Now that we install the `flex' alias for our lex, we should also
install the `libfl' alias for libl.  Some third-party software will
expect it this way.

Submitted by:	Holm tiffe (holm@geophysik.tu-freiberg.de)
1996-02-24 16:31:31 +00:00
Bill Paul
c2dfe9fe01 Merge in changes to support the new rpc.yppasswdd(8) and fix a few bugs.
In passwd(1):

- Gut most of yp_passwd.c and leave only a few things that aren't common
  to pw_yp.c.

- Add support for -d and -h flags to select domains and NIS server hosts
  to use when updating NIS passwords. This allows passwd(1) to be used
  for changing NIS passwords from machines that aren't configured as
  NIS clients. (This is mostly to allow passwd(1) to work on NIS master
  servers that aren't configured as clients -- an NIS server need not
  necessarily be configured as a client itself.)

  NOTE: Realize that having the ability to specify a domain and hostname
  lets you use passwd(1) (and chpass(1) too) to submit update requests
  to yppasswd daemons running on remote servers in remote domains which
  you may not even be bound to. For example, my machine at home is not
  an NIS client of the servers on the network that I manage, yet I can
  easily change my password at work using my FreeBSD box at home by doing:
  'passwd -d work.net.domain -h any.nis.server.on.my.net wpaul'. (Yes,
  I do use securenets at work; temporarily modified my securenets file
  to give my home system access.) Some people may not be too thrilled
  with this idea. Those who don't like this feature can recompile passwd(1)
  and chpass(1) with -DPARANOID to restrict the use of these flags to
  the superuser.

  (Oh, I should be adding proper securenets support to ypserv(8) and
  rpc.yppasswdd(8) over the weekend.)

- Merge in changes to allow root on the NIS master server to bypass
  authentication and change any user's NIS password. (The super-user
  on the NIS master already has privileges to do this, but doing it
  through passwd(1) is much easier than updating the maps by hand.)
  Note that passwd(1) communicates with rpc.yppasswdd(8) via a UNIX
  domain socket instead of via standard RPC/IP in this case.

- Update man page.

In chpass(1):

- Fix pw_yp.c to work properly in environments where NIS client
  services aren't available.

- Use realloc() instead of malloc() in copy_yp_pass() and copy_local_pass().

- Fix silly bug in copy_yp_pass(); some of the members of the passwd
  structure weren't being filled in correctly. (This went unnoticed
  for a while since the old yppasswdd didn't allow changes to the
  fields that were being botched.)

- chpass(1) now also allows the superuser on the NIS master server to
  make unrestricted changes to any user's NIS password information.

- Use UNIX domain comm channel to rpc.yppasswdd(8) when run by the
  superuser on the NIS master. This allows several new things:

   o superuser can update an entire master.passwd.{byname,byuid} entry
   o superuser can update records in arbitrary domains using -d flag to
     select a domain (before you could only change the default domain)
   o superuser can _add_ records to the NIS master.passwd maps, provided
     rpc.yppasswdd(8) has been started with the -a flag (to do this,
     the superuser must force NIS operation by specifying the -y flag
     to chpass(1) along with -a, i.e. 'chpass -y -a 'foo:::::::::')

- Back out the 'chpass -a <new password entry> breaks with NIS' fix
  from the last revision and fix it properly this time. The previous
  revision fixed the immediate problem but broke NIS operation in
  some cases.

- In edit.c, be a little more reasonable about deciding when to
  prevent the shell field from being changed.

  Submitted by Charles Owens <owensc@enc.edu>, who said:

  "I made a minor (one-line) modification to chpass, with regards
   to whether or not it allows the changing of shells.  In the 2.0.5 code,
   field changing follows the settings specified in the "list" structure
   defined in table.c .  For the shell, though, this is ignored.  A quick
   look in edit.c showed me why, but I don't understand why it was written as
   such.  The logic was

        if shell is standard shell, allow changing

   I changed it to

        if shell changing is allowed (per table.c) and it is a standard shell
             OR if uid=0, then allow changing."

   Makes sense to me.

- Update man page.
1996-02-23 16:08:59 +00:00
Joerg Wunsch
9408e822a5 . cast the error and status registers properly to (unsigned short),
to avoid misinterpreting the 0x8000 bit as a negative sign,

. use the <machine/wtio.h> register def's to print them.
1996-02-22 00:33:35 +00:00
Wolfram Schneider
921e4281bd Submitted by: bruce
replace shell loop with make(1) builtin loop
1996-02-18 19:29:45 +00:00
Wolfram Schneider
30c00b0d9b more verbose output during install foreign calendar files 1996-02-18 01:42:44 +00:00
Garrett Wollman
37b197b9ec For some reason, the changes to make route.c compile didn't make it over.
Fixed.

Pointed-out-by: joerg
1996-02-16 15:42:14 +00:00
Mike Pritchard
c8ead7a6cf Fix typo in xref in NOTES section. 1996-02-14 22:26:04 +00:00
Garrett Wollman
cbc17e711e XNS sort-of-support is no more. 1996-02-13 17:30:37 +00:00
Joerg Wunsch
11ea728320 Include both, the regular and the `secure' telnet, when building
a release.
1996-02-13 09:24:43 +00:00
Mike Pritchard
bcff8e2ae4 Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
Mike Pritchard
b0ac1967ba Add a little info to this man page at the start so it doesn't
appear that ALL the passwd command does is change a users Kerberos
password, since that is incorrect.

Actually, this man page needs a good overhaul to better reflect systems
that don't have Kerberos installed.
1996-02-12 02:32:40 +00:00
Mike Pritchard
4bd9ba3c2f Fixed some minor formatting problems to silence manck some more.
Corrected some bogus cross references to man pages that we don't/won't
have and either deleted them, or found a more appropriate man page
that we do have.  Various other minor changes to silence manck.

Manck is currently down to about 200 lines of errors, down from
the 500 - 600+ when I started all this.
1996-02-12 01:20:38 +00:00
Mike Pritchard
5a489ac2b8 Minor cleanup of the rpc man pages to silence manck. 1996-02-12 00:02:42 +00:00
Mike Pritchard
78b0b234eb Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.
1996-02-11 22:38:05 +00:00
Mike Pritchard
a0c8e7aa27 Added a small man page for locate.updatedb(8). 1996-02-11 18:54:39 +00:00
Mike Pritchard
5682a19c6e Added some info describing the script that updates the database,
and the fact that it is usually run by /etc/weekly.
Closes docs/127.
1996-02-11 18:34:22 +00:00
Mark Murray
bbff7ca556 #include <kerberosIV/des.h> -> #include <des.h> 1996-02-11 09:18:18 +00:00
Wolfram Schneider
827bf2db99 always warn if no processes matched 1996-02-11 00:12:15 +00:00
Wolfram Schneider
7dd8098387 Submitted by: Slaven Rezic (Tomic) <eserte@cs.tu-berlin.de>
croatian calendar
1996-02-09 14:35:02 +00:00
Paul Traina
2e2b09d90d Kludge-fix for a specific instance of bin/517.
The real fix requires changes to getpwent(3) and friends and getgrent(3)
and friends.

Submitted by:	Tim Wilkinson
1996-02-08 06:17:50 +00:00
Garrett Wollman
e29c324e2e Recognize ld.so.hints file. Don't ask. 1996-02-07 21:02:20 +00:00
Wolfram Schneider
cc54f38c51 making <page>.1 from <page>.man 1996-02-06 23:48:03 +00:00
Wolfram Schneider
cb67c1dd54 replace 'install' with ${INSTALL} 1996-02-06 23:36:16 +00:00
Garrett Wollman
0761cb293e Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree.  NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
1996-02-06 20:36:15 +00:00
Andrey A. Chernov
0ae3124381 Don't make directory here, it is mtree task 1996-02-05 17:35:17 +00:00
Wolfram Schneider
da2375658e Support killing of suid programs.
Now ``killall xterm'' works :-)

Don't fail for processes with meta chars (c+++)
1996-02-03 22:52:27 +00:00
Mark Murray
5bf1814b0e Rename des_set_key -> des_set_key_krb. (libdes conflict) 1996-02-03 11:51:19 +00:00
Mark Murray
d523df8926 Rename des_set_key -> des_set_key. (libdes conflict) 1996-02-03 11:49:29 +00:00
Wolfram Schneider
1d6b2fd781 Submitted by: pst
add forgotten file calendar.h. Sorry.
1996-02-03 10:58:11 +00:00
Mike Pritchard
f3c0267f19 Fix some incorrect locations in the FILES sections of some man pages. 1996-02-02 18:22:04 +00:00
Wolfram Schneider
43ee9528de _de_DE_ISO8859_1_* -> _de_DE_ISO_8859_1_*
+ Muttertag
+ first german newspaper(s) in WWW
+ Konrad Zuse
1996-02-02 06:05:20 +00:00
Wolfram Schneider
43025a6ede easter and easter depending day 1996-02-02 06:04:06 +00:00
Wolfram Schneider
c9c822e632 - handle events that move around from year to year, i.e.,
``the last Monday in April'
- handle easter

new options
	-f calendarfile
	-A days
	-B days

Calendar HOME directory ~/.calendar
don't sent mail if ~/.calendar/nomail exist
1996-02-02 06:02:41 +00:00
Wolfram Schneider
000ee932d4 filenames corrected 1996-02-02 05:14:04 +00:00
Mike Pritchard
7c87ef470d Correct some manual page cross reference errors. E.g. su is a section
one man page, not section eight.  This is the first round of such changes
and only fixes man pages in manual section one.
1996-02-02 00:26:12 +00:00