Commit Graph

1171 Commits

Author SHA1 Message Date
Peter Wemm
c00062b834 Add a simple -v (verbose) option that allows you to see when -C actually
installs something.  This is not 100% right, since it has a false hit
when install -C snaps hard links.

Also, run strip(1) from the $PATH, otherwise you need a special version
of install to install (say) elf binaries which have a different strip.
With JDP's elfkit, the layout of the path determines which binary format
you are generating.
1996-08-12 17:03:30 +00:00
Peter Wemm
366982a550 Add new option to chpass: -e "expire" ; change the account expire time
from a script as if it was done in the interactive editor.

When reassembling the gecos string, trim any excess trailing commas, they
look ugly in the passwd file. :-)

Have a simple Makefile tweak to prevent mortal users from changing their
fullname.  As ISP's we have seem some real bizzare stuff here..

When decoding the change/expire string, allow the month number as a
synonym for the name of the month.. (ie: 1 as well as Jan or January)
Note that using numbers means there's a chance that you can get bitten
if you're not used to the American DD-MM-YY order.
1996-08-12 14:45:26 +00:00
Jordan K. Hubbard
f2b2a91e75 Fix broken modtime preservation code. *Now* it preserves the modtime
correctly!
Noticed-By: knarf@camelot.de (Frank Bartels)
1996-08-12 12:55:26 +00:00
Andrey A. Chernov
bf4fce1a35 Localize it 1996-08-12 11:39:24 +00:00
Andrey A. Chernov
b7c6d4477a Make it at least semi-worked 1996-08-11 18:08:53 +00:00
Andrey A. Chernov
726aebe5e0 Localize it
8bit cleanup
1996-08-11 17:46:35 +00:00
Andrey A. Chernov
6004290380 Pick collate info for RE character ranges 1996-08-11 16:22:47 +00:00
Andrey A. Chernov
1b91f0ec7f Describe collation order rules (from POSIX WG) 1996-08-11 14:55:14 +00:00
Alexander Langer
f20e416903 Fix some improperly wrapped lines in the code. 1996-08-11 02:20:05 +00:00
Peter Wemm
16964dae41 s/trace -C/ktrace -C/
Pointed out by: zgabor@code.hu (Zahemszky Gabor)  PR#1486
1996-08-10 09:05:17 +00:00
Peter Wemm
fb9e3ade6c Remove the need for rdist(1) to run setuid, thus completely closing any
possibility of a security hole.  It now does what rdist-6 does, and calls
/usr/bin/rsh if not running as root.  There are NO protocol changes, this
is 100% compatable with the old rdist, except that it does not need setuid
root privs.

However, there are some minor differences to the base rdist-6 code in that
if it is being run by root, it will call rcmd(3) directly rather than
piping everything through rsh(1).  This is a little more efficient as it
doesn't involve context switching on pipe reads/writes.

Also, the -P option was added from rdist-6.1.2, which allows an alternative
rsh program to be specified, such as ssh.  Note that it requires the fixes
to the ssh port to disable the unconditional USE_PIPES option that was
recently added.  The rcmd(3) optimisation is disabled if a non-rsh program
is speficied.
1996-08-10 07:54:17 +00:00
Joerg Wunsch
fef1477642 Fix a potential buffer overflow condition.
Submitted by:	Somebody on -hackers, ooops, i've already deleted that mail
1996-08-08 07:58:07 +00:00
Peter Wemm
2f15594269 Move tsort back to lib-tools where it belongs, and add a "specially
for bootstrap" tweak to the lex Makefile to stop it building the library
too early.

This untangles things a bit more, it stops new bootstraps failing because
libl/libfl uses 'ld -O' before ld is updated.
1996-08-07 13:25:59 +00:00
Jordan K. Hubbard
c668d40c24 Defer to fashion. 1996-08-07 02:15:26 +00:00
Jean-Marc Zucconi
d616694a11 Suppress the messages from the server after login (ftpVerbose(ftp,0)). Errors
are already correctly reported.
1996-08-04 00:35:39 +00:00
Wolfram Schneider
5514e5cb54 documented that the dog Biff is dead
Obtained from: A Quarter Century of UNIX, Peter H. Salus
1996-08-03 14:25:02 +00:00
Jordan K. Hubbard
390a3f8faa Adapt to new libftpio. [jkh]
Better error messages.
Submitted-By: "David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu>
1996-08-03 13:14:47 +00:00
Jordan K. Hubbard
8566830b43 Close PR#1455. In a couple of weeks, I'll change bsd.lib.mk to use
tsort -q as well - I don't feel like adding tsort as Yet Another Item to the
bootstrap target.
1996-08-02 04:50:44 +00:00
John Polstra
f0850246bb Fix a bug under time's "-l" option. The values reported for average
shared memory size, average unshared data size, and average unshared
stack size were too high by a factor of 128/100, because the program
used a hard-coded hz value of 100.  The correct value is the frequency
of the statistics clock, currently 128.  The program now uses sysctl
to get the stathz value from the kernel.

Discussed with:	bde@freebsd.org (Bruce Evans)
1996-07-30 19:00:12 +00:00
Adam David
6439f56e80 one file somehow slipped by me in the previous commit
tidy up
1996-07-30 15:44:30 +00:00
Adam David
49a598ab87 when file can be opened for read but cannot be read from:
fail once (was twice) in forward case
fail once (was no times) in reverse case

this can happen when file is a directory on an NFS or procfs mount.
1996-07-30 13:11:43 +00:00
Wolfram Schneider
e8e96a328e ree (aka ee) doesn't have a man page
Submitted by:	 Philippe Charnier           charnier@lirmm.fr
1996-07-29 13:46:12 +00:00
Paul Traina
9c197ec156 Add newline, closes bin/1433 1996-07-26 23:45:36 +00:00
Paul Traina
7f7e1b67ff Add Bruce's improvement to security patch 1996-07-25 18:27:40 +00:00
Garrett Wollman
4680e2ceec Fix an itinerant cross-reference. 1996-07-25 18:11:30 +00:00
Julian Elischer
e56dd1bb4f Submitted by: archie@whistle.com
slight cleanups on yesterday's patches
1996-07-23 22:00:14 +00:00
Nate Williams
fe6ab298ab 'make' prints an extra leading `make: ' and extra trailing newline if
there is no target to make.

% make
make: make: no target to make.

%

Beause the function Punt() in main.c takes care of leading 'make:' and
trailing newline, so, there is no need to pass explicitly.

Submitted by:	enami@ba2.so-net.or.jp
Obtained from:	NetBSD GNATS
1996-07-23 18:55:21 +00:00
Julian Elischer
3a67d2bc37 Submitted by: archie@whistle.com
appletalk cleanups
1996-07-23 01:18:47 +00:00
John Polstra
9b2ea11c98 Fix botches in the handling of "AM" and "PM":
12:xx PM is 12:xx, not 24:xx.
    12:xx AM is 00:xx, not 12:xx.
1996-07-19 00:44:55 +00:00
Joerg Wunsch
6fd25edc0a s/msg/shm/ for one variable.
Submitted by:	jin@george.lbl.gov (Jin Guojun[ITG])
1996-07-18 20:42:48 +00:00
Jordan K. Hubbard
e0607117a5 Whups - update the usage message too. 1996-07-18 00:08:58 +00:00
Jordan K. Hubbard
6b5c2db22a Add -n flag to use the current modtime rather than preserving it. 1996-07-18 00:08:02 +00:00
Bruce Evans
49e6559936 Yet^2 another fix for the line continuation bug.
The fundamental problem with the original code is that it accesses
p[-2] which is one before the beginning of the input buffer for
empty lines.  rev.1.6 just moved the problem from failures when
p[-2] happens to be '\\' to failures when it happens to be '\0'.
rev.1.5 was confused about the trailing newline and other things.

I went back to rev.1.5 and fixed it.  The result is the same as
Keith Bostic's final version in PR 1356 except it loses more
gracefully for excessively long input lines.
1996-07-17 12:18:51 +00:00
Bruce Evans
375633ec49 Added a -V option to print make's idea of the value of a variable.
Submitted by:	mark@linus.demon.co.uk (Mark Valentine)

Fixed bugs and inconsistencies in synopsis and usage message.
1996-07-17 11:02:43 +00:00
Paul Traina
caef76e8bd Do a bounds check on the strcpy of environment variables onto the stack. 1996-07-15 16:29:03 +00:00
Guido van Rooij
72383443f2 Move setting of username to the correcft place; also initialize it.
Reviewed by:	peter@freebsd.org
1996-07-14 16:42:33 +00:00
Jordan K. Hubbard
526195ad0d General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
Nate Williams
746a432165 Changed all sprintf() calls to snprintf().
Obtained from:	Christos Zoulas <christos@deshaw.com> via NetBSD PR 2621,

[ slightly modified since we don't use libcompat anymore. ]

I'm not sure if this fixes the rdist security bug completely, but it
sure can't hurt!
1996-07-12 04:00:15 +00:00
Julian Elischer
93e0e11657 Adding changes to ipfw and the kernel to support ip packet diversion..
This stuff should not be too destructive if the IPDIVERT is not compiled in..
 be aware that this changes the size of the ip_fw struct
so ipfw needs to be recompiled to use it.. more changes coming to clean this up.
1996-07-10 19:44:30 +00:00
Julian Elischer
6ffcfd6c9e appletalk cleanups
e.g.
Active ATALK connections
Proto Recv-Q Send-Q  Local Address          Foreign Address        (state)
ddp        0      0  [69.230]130            [*.*]*
ddp        0      0  [69.230]128            [*.*]*
ddp        0      0  [69.230]1              [*.*]*

etc..
1996-07-09 02:55:47 +00:00
Jordan K. Hubbard
86ff3944a1 New magic file with more politically correct identification of objects
and execs.
Submitted-By: Brent Nordquist <nordquis@winternet.com>
1996-07-05 19:26:52 +00:00
Jordan K. Hubbard
7fefc698ab New man page for fetch(1).
Submitted by: jmz (with some small tweaks)
1996-07-05 01:03:20 +00:00
Jean-Marc Zucconi
4d705fe0f6 Back out previous commit: do not use read(), but fread (). Change BUFFER_SIZE
to 1K to avoid waiting too long between 2 progress reports in the case of a
slow transfer.
Move the signal()/setitimer() code just before the read loop because the
ftpio library set and reset the timer internally.
1996-07-05 00:06:36 +00:00
Mike Pritchard
9ef62d7c38 Document how chat logis it information via syslog.
Submitted by:	Partially based on a patch by Mark Diekhans
1996-07-03 02:27:30 +00:00
Mike Pritchard
e830e7f5fe Document login's use of /etc/login.access.
Submitted by:	David E. O'Brien
1996-07-03 01:20:09 +00:00
Wolfram Schneider
ad7076c992 remove zopen, zopen is not part of libc. 1996-07-02 23:04:50 +00:00
Jean-Marc Zucconi
144e75837e Use read(fileno(fp), ...) instead of fread(..., fp) to avoid buffered input. 1996-07-02 01:49:47 +00:00
Jordan K. Hubbard
c4d74c02f2 Put back the $PWD override behavior of revision 1.4. The concensus
*seems* to be that it was the right thing to do.
1996-07-01 22:55:57 +00:00
Guido van Rooij
79a1b8d9e2 Implement incremental passwd database updates. This is done by ading a '-u'
option to pwd_mkdb and adding this option to utilities invoking it.
Further, the filling of both the secure and insecure databases has been
merged into one loop giving also a performance improvemnet.
Note that I did *not* change the adduser command. I don't read perl
(it is a write only language anyway).
The change will drastically improve performance for passwd and
friends with large passwd files. Vipw's performance won't change.
In order to do that some kind of diff should be made between the
old and new master.passwd and depending the amount of changes, an
incremental or complete update of the databases should be agreed
upon.
1996-07-01 19:38:50 +00:00
Wolfram Schneider
55fe5cf398 Add a reference to ident(1). 1996-06-30 16:06:44 +00:00
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