Commit Graph

1667 Commits

Author SHA1 Message Date
Bruce Evans
9afb31b0e2 Removed wrong declarations of malloc() and realloc(). They were unused,
and they broke when yacc started generating `#include <stdlib.h>', but
the breakage was hidden by compatibility cruft in gcc unless DESTDIR
was unusual.
1997-04-22 17:44:34 +00:00
Poul-Henning Kamp
0432a202f3 In these XXX MHz days, waiting 500ms for a process to do something is
really far too long.  Let us try 100ms instead, if you have a PP200,
maybe that's even too long.  This should speed up make -j# builds.
I wonder why SIGCHLD isn't used...
1997-04-21 20:32:11 +00:00
Andrey A. Chernov
595c8b2ff9 Long usernames fixes 1997-04-21 13:53:47 +00:00
Peter Wemm
524a8761b1 Tweak column headers a tad for when running in SMP mode. 1997-04-19 20:28:50 +00:00
Jordan K. Hubbard
4dfa17296a Enable GLOBAL tags support. 1997-04-18 23:44:54 +00:00
John-Mark Gurney
96bdc21389 fix up this man page
one typo was:
Submitted by: Josh Gilliam
PR#3319
1997-04-18 11:12:52 +00:00
Jordan K. Hubbard
666a6cbbb1 Add global 1997-04-15 12:31:09 +00:00
Jordan K. Hubbard
f8fc522a77 Shigio Yamaguchi's global tags package. The infrastructure support
for this is already in place, so "make tags" (or "make tags HTML=yes")
should work after your next make world.
Submitted by:	Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-04-15 12:30:38 +00:00
Bruce Evans
c05b924fca Renamed undelete() to undelete_messages() to avoid conflict with new
undelete() syscall.

Submitted by:	partly by roberto
1997-04-14 16:49:30 +00:00
Joerg Wunsch
232eaee62a Make the $@ macro behave as described in the man page.
This patch has been submitted by Andreas Burmester (i think) on the
German Usenet long ago.  Andreas told me that our m4 has quite more
subtle bugs, so we might consider using NGU m4 instead.
1997-04-13 17:51:32 +00:00
David Nugent
3169e0f139 Use isdialuptty() rather than hard-coded heuristic. 1997-04-13 15:26:04 +00:00
Jordan K. Hubbard
deb9eaa91f Add support for GLOBAL style tags. 1997-04-13 06:47:02 +00:00
Jean-Marc Zucconi
8609d4594f Upgrade to the 1997/02/19 version. 1997-04-13 01:13:52 +00:00
Peter Wemm
a1b0f30719 Oops. Broke golden rule #1: test everything before commit. :-] 1997-04-12 14:34:02 +00:00
Peter Wemm
0be88738f6 Respect NOTCL, don't link with libtcl for the scripting support if
we're not building it.
1997-04-12 14:28:13 +00:00
Peter Wemm
51e16fc108 Make tclsh conditional on the src/contrib/tcl directory existing, and
allow it to be disabled via NOTCL in /etc/make.conf (similar to other
stuff in src/Makefile, eg: NOGAMES)
1997-04-12 07:09:18 +00:00
David E. O'Brien
2dc545bba5 Add -3 option to usage() statement. 1997-04-11 19:54:09 +00:00
David E. O'Brien
849e394f6b Add `%{'' and `%}'' to one of the examples so that you can actually
cut-n-paste the example and have it actually lex and compile.
1997-04-11 10:33:12 +00:00
Bruce Evans
67036295bc Fixed bogus existence check related to searching for a nearby obj directory.
Now the search is as incomplete as elsewhere instead of broken.
1997-04-10 15:15:43 +00:00
Andrey A. Chernov
fc092135ab Fix 8bit chars handling 1997-04-08 13:52:53 +00:00
Alexander Langer
ef0e2ea4c7 Support for -c, byte count. 1997-04-06 00:54:27 +00:00
Peter Wemm
aa9278ffa9 move top.1 -> top.local.1, and generate top.1 so that the man page
is remotely useful
1997-04-05 22:05:46 +00:00
Juli Mallett
8bb9171ccb This commit was generated by cvs2svn to compensate for changes in r24628,
which included commits to RCS files with non-trunk default branches.
1997-04-04 18:41:29 +00:00
Juli Mallett
836b9b6243 Import OpenBSD m4 as of today. 1997-04-04 18:41:29 +00:00
Bruce Evans
9fa50de4c4 Fixed missing ${COPY} in install rule. 1997-04-04 15:09:42 +00:00
Mike Pritchard
1e97ca0116 Remove the etc-magic target since we no longer install the
/etc/magic symlink.
1997-04-04 02:42:53 +00:00
Mike Pritchard
9753286fae The magic file now lives in /usr/share/misc.
Closes PR# 3187.

Submitted by:	Ollivier Robert <roberto@keltia.freenix.fr>
1997-04-04 02:41:01 +00:00
John-Mark Gurney
47a5f49956 minor stylistic change (NULL to '\0')
Submitted-by: Philippe Charnier <charnier@xp11.frmug.org>

Closes PR#2999
1997-04-02 10:44:12 +00:00
John-Mark Gurney
75ce49d645 add comment about the brokeness of some termcap entires that require a
`%' to be just that...

make tput just warn about an unknown type modifier instead of breaking...
this allows you to `tput init' on a tek4107...
1997-04-02 10:27:27 +00:00
John-Mark Gurney
39746e4630 make it so that chat doesn't fail when it can't get terminal params..
this allows it to work on non-tty input...  also don't warn when this
happens as it could get noisy...

Silence is Acceptance
1997-04-02 09:55:26 +00:00
Mike Pritchard
5a4db6eb6c Grammar fix. 1997-04-01 19:09:20 +00:00
David Nugent
f72b1ff3be Submitted by: Sergei Chechetkin <csl@whale.sunbay.crimea.ua>
Fix incorrect bracket nesting. Closes PR#3144.
1997-04-01 11:54:06 +00:00
Bruce Evans
35c6f6c2cf Fixed DPADD. 1997-04-01 07:37:28 +00:00
Brian Somers
687d0cdeb3 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
Wolfram Schneider
58c960f434 Add a note in BUGS section that shar(1) cannot handle files
without a newline ('\n') as last character.
1997-03-31 17:58:27 +00:00
Marc G. Fournier
26dce0e6e8 Small formatting change to interval() to align columns so that:
toronto       up  5+18:58,     0 users,  load 0.00, 0.00, 0.00
zeus          up 109+13:53,     0 users,  load 0.55, 0.28, 0.15

looks like:

toronto       up   5+18:58,     0 users,  load 0.00, 0.00, 0.00
zeus          up 109+13:53,     0 users,  load 0.55, 0.28, 0.15
1997-03-31 09:36:59 +00:00
Andrey A. Chernov
5790155e89 Use srandomdev() now
Fix error with begin variable calculation
1997-03-30 23:13:59 +00:00
Brian Somers
568b59b9df Move uucplock into libutil and create a manual page. 1997-03-30 12:12:20 +00:00
John Polstra
a8e37af87a Fix broken built-in ELF file handling, caused by missing prototypes
and use of off_t.  Correct the types of Elf64_Addr and Elf64_Off.
1997-03-29 22:26:03 +00:00
Bill Paul
e49249921c Fix for PR #3141: check for NULL before strdup()ing pw->pw_class.
(I'm not sure why this happens, though I suspect it may be because
the server is configured with only passwd maps instead of both passwd
and master.passwd maps. This is allowed, but I think in this case
pw_class is left NULL, hence the problem.)

Also applied similar patch to chpass/pw_yp.c just for paranoia's sake.
1997-03-29 20:29:12 +00:00
Mike Pritchard
4153d35919 The text describing exit values >1 was formatted incorrectly.
Obtained from: NetBSD-bugs PR# 3406
1997-03-29 20:01:59 +00:00
Bruce Evans
c263a0048d Removed `#define KERNEL'. This was a hack-around for nfs.h being broken
in the Lite2 merge to not export some nfs constants.  It started causing
warnings when I added a kernel-only #define for DIRBLKSIZ.

Removed `#define NFS'.  This was an old, bad interface for telling
<sys/mount.h> to export nfs stuff.
1997-03-29 12:50:41 +00:00
Warner Losh
1c8af87873 compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
David Nugent
1f5367caee Fix for logic in no-password accounts. 1997-03-27 10:09:09 +00:00
Peter Wemm
9d08e419b9 Fix "-fstype local" that was broken by another bugfix in the Lite2 merge.
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3076
1997-03-27 02:36:26 +00:00
Andrey A. Chernov
6f810dd5fe Add ASCII collate mainly for fallback for EUC-type locales 1997-03-25 16:50:07 +00:00
Andrey A. Chernov
1037a51b7e Add fake codesets 3 & 4
Submitted by: junker@jazz.snu.ac.kr
1997-03-25 16:03:16 +00:00
Wolfram Schneider
d05c3da950 Be tolerant to old uuencode programs which encode the ASCII NUL
character as character 32 (space) instead character 64 (`).

See also  'The UNIX-HATERS Handbook', page 82-83.
1997-03-25 14:31:31 +00:00
David Nugent
4a028a883d Don't bypass password prompt for root logins on insecure tty if
the root password is empty.
1997-03-25 05:15:04 +00:00
David Nugent
d8a7b3477f strdup() value of term to correctly preserve contents.
Rearrange validation logic so that it works correctly when
compiled with kerberos support. Closes PR#3056.
1997-03-24 21:22:12 +00:00
Andrey A. Chernov
c49659eaa6 Initialize RNG only once
Use srandomdev() now
1997-03-24 16:10:26 +00:00
Andrey A. Chernov
d9c406718c Remove libcurses, it is pure termcap application 1997-03-24 14:29:46 +00:00
Warner Losh
f85d627937 Buffer overflow from Keith Bostic.
Obtained from: BSDi by way of Keith Bostic
1997-03-24 05:51:59 +00:00
Warner Losh
1e545639ed Use mkstemp rather than mktemp to prevent a small race.
OpenBSD has a similar code, but this was indepenent.
1997-03-24 05:50:27 +00:00
Mike Pritchard
1ffa2a8e1b Use the .Tn macro for a couple of generic FreeBSD references.
This has the desired side-effect of preventing a bad hyphenation
of the word FreeBSD in one place.
1997-03-24 01:15:16 +00:00
Joerg Wunsch
8187fe4813 Include `top'. 1997-03-23 18:59:47 +00:00
Joerg Wunsch
511d9c6565 This is the FreeBSD-specific files for top, plus the Makefile
that pulls all the files from contrib.

Obtained from:	The ports collection (mostly).
1997-03-23 18:55:20 +00:00
Mike Pritchard
0b6f152321 Remove the text that says nroff and pr automatically disable
writing to the tty while they are running because they don't.
1997-03-22 17:19:32 +00:00
Bruce Evans
7677efc6a4 Don't generate invalid C++ code (for implicit conversion from `void *' in
assignment).
1997-03-22 01:48:17 +00:00
Mike Pritchard
69a98adb93 I had to rename one additional file in the last file import, so
update this script to reflect that.
1997-03-20 23:34:11 +00:00
Mike Pritchard
f5d13782b3 The author picked up this file from FreeBSD, but gave it a different name
in file v3.22, so this one is going away.
1997-03-18 19:39:26 +00:00
Mike Pritchard
76918e1ad4 Merge to resolve conflicts with file 3.22 merge. 1997-03-18 19:37:41 +00:00
Mike Pritchard
0f8988b492 This commit was generated by cvs2svn to compensate for changes in r23988,
which included commits to RCS files with non-trunk default branches.
1997-03-18 18:00:03 +00:00
Mike Pritchard
094f1e246b Upgrade to file version 3.22.
Obtained from: ftp://ftp.deshaw.com/pub/file/file-3.22.tar.gz
1997-03-18 18:00:03 +00:00
David Nugent
a52c1be6ff Submitted by: Paul Traina <root@shockwave.com> (partially)
Cleanup of #ifdef's for LOGIN_CAP.

  Fixed bug in empty shell (closes PR#2550).

  Refused root logins now displays standard "Login incorrect" and
	exhibits identical backoff behaviour to a failed login.

  Cleaned up logging of refused logins.

  Use #defines for login retries and backoff. Also implemented
	definable variables if LOGIN_CAP is defined, with
	"login-retries" and  "login-backoff" as capabilities
	in the default class (closes PR#2805).

  TERM from previous environment is no longer truncated.
1997-03-18 16:27:12 +00:00
Andrey A. Chernov
3429a30406 Skip \r character while printing Plan/etc. text files, it allows to
handle \r\n and \n\r files properly.
Previous variant put ^M for \r\n and ^M\n for \n\r
1997-03-17 17:07:39 +00:00
Marc G. Fournier
54a064002a Slight visual formatting change to the output so that:
procs   memory     page                    disks   faults      cpu
 r b w   avm   fre  flt  re  pi  po  fr  sr w0 w1   in   sy  cs us sy id
 1 0 04135184  6016  180   2   1   0 158 135 10  0  386 1820  77 20  6 74

looks like:

 procs      memory     page                    disks   faults      cpu
 r b w     avm   fre  flt  re  pi  po  fr  sr w0 w1   in   sy  cs us sy id
 1 0 0 4135188  6016  180   2   1   0 158 135 10  0  387 1821  77 20  6 74
1997-03-16 23:11:07 +00:00
Joerg Wunsch
9bedbe6c7d Fix a security problem where the ktrace.out file could have been written
over a file owned by someone else.

Pointed out by:	wosch
Reviewed by:	sef, imp, proff@suburbia.net, bde
1997-03-15 10:39:12 +00:00
Andrey A. Chernov
80802b9ec5 Update Korean locale
Should go into 2.2
1997-03-13 07:51:43 +00:00
Mike Pritchard
07847cc81d Add a missing '\' to some text.
Obtained from: NetBSD-bugs mailing list PR# 3321
1997-03-12 16:05:41 +00:00
John-Mark Gurney
27e0fa20aa fix a bug in processing of FTP_TIMEOUT environment variable.
Closes PR#2947

Submitted-by: Peter Childs <pjchilds@imforei.apana.org.au>
1997-03-11 15:13:28 +00:00
Peter Wemm
ccf4742c2f Cope with the possibility of __FreeBSD__ = 3 1997-03-11 14:49:51 +00:00
Peter Wemm
2384ae25e2 Merge from Lite2 1997-03-11 14:48:14 +00:00
Peter Wemm
c7a7335aef Include unistd.h for new location of getopt() prototypes 1997-03-11 14:44:05 +00:00
Peter Wemm
853fe5c987 Include unistd.h for new location of getopt prototype 1997-03-11 14:41:52 +00:00
Peter Wemm
5652654463 Include unistd.h for getopt() prototype after Lite2 merge 1997-03-11 14:40:40 +00:00
Andrey A. Chernov
28c4ca5ce6 Fix srandom arg type according to Lite2 1997-03-11 14:06:52 +00:00
Peter Wemm
841484cd42 Merge from Lite2 - use new getvfsbyname() and related changes.
understand whiteouts (FTS_W from fts()).
1997-03-11 13:48:37 +00:00
Peter Wemm
6f0a860fc1 Merge from Lite2 (note: needs checking by somebody who understands join) 1997-03-11 13:45:59 +00:00
Peter Wemm
df3f5d9dd5 Merge from Lite2 1997-03-11 13:43:33 +00:00
Peter Wemm
18dac96b7b This commit was generated by cvs2svn to compensate for changes in r23690,
which included commits to RCS files with non-trunk default branches.
1997-03-11 13:08:12 +00:00
Peter Wemm
0da30e9aa7 Import some parts of CSRG 4.4BSD-Lite2 usr.bin sources to fix tree build. 1997-03-11 13:08:12 +00:00
Andrey A. Chernov
5a3bd48d90 Add <ss> and ss ordering 1997-03-10 21:59:53 +00:00
Joerg Wunsch
704969a28c Fix a gross bug in the ! operator optimization code. The following
kind of expressions caused a dereferencation of an uninitialized malloc
area, yielding wrong expression evaluation at best, and core dumps at
worst (malloc.conf -> AJ):

	find ... ! \( expr1 ! expr2 \) ...
1997-03-10 19:20:39 +00:00
Andrey A. Chernov
a1b460b73e Add ^ getpid() for better srandom results 1997-03-10 07:46:03 +00:00
Wolfram Schneider
efda6cd9d5 Add reference to `PMake - A Tutorial' 1997-03-09 15:51:07 +00:00
Bruce Evans
f465987999 Don't use a dot in a chown command. In fact, don't use any commands
except `install' at install time.  Don't build things at install time.
Don't hide the build steps using @.  Install with mode ${NOBINMODE}
instead of 444.

Poor source layout made this harder than it should have been.  E.g.,
a suffix rule can't be used because of the subdirectories, and a
new makefile per subdirectory (i.e.m per data file) would be excessive.
See /usr/src/usr.bin/mklocale for a better organisation.
1997-03-09 06:08:22 +00:00
Andrey A. Chernov
9d288406f5 Add ^ getpid() to make more random results for subsequent calling.
Add proper type casting to random calls

Should go into 2.2
1997-03-08 11:40:15 +00:00
Kazutaka YOKOTA
719ed69ecf Made sure the string formated by strftime() is properly
null-terminated.

Fixed a wrong if statement which should test a string is
empty where in fact it tested the string pointer was NULL.

Should go to RELENG_2_1 and RELENG_2_2.

Reviewed by guido@freebsd.org.
1997-03-07 11:04:01 +00:00
Kazutaka YOKOTA
6d7977a7cc Made sure the string formated by strftime() is properly
null-terminated.

Should go to RELENG_2_1 and RELENG_2_2.

Reviewed by guido@freebsd.org.
1997-03-07 10:54:19 +00:00
John-Mark Gurney
817eca811d fix restarting http transfers and understanding response from server.
Slight modification of patch by wollman.

Closes PR#2870

Reviewed by:	wollman
Submitted by:	Marc Slemko <marcs@znep.com>
1997-03-06 20:01:32 +00:00
John-Mark Gurney
c1599df8b3 fix a couple problems with fetch:
. don't try to interpet a colon in the pathname as a port number
	. don't report an errno message when one don't exist
1997-03-06 10:01:54 +00:00
John-Mark Gurney
2bc97efa96 fix a couple misspellings, one of 'em closes pr 2892. 1997-03-06 05:11:55 +00:00
Bill Fenner
8a2f8e395a Fix FTP_PROXY to use user@host[@port] for FTP proxy and eliminate
undocumented FTP_PROXY_USER
Make FTP file errors contian hostname and path.
Pass the FTP port to libftp.
Partially un-HTMLify error messages returned from server
Handle "HTTP NNN" instead of "HTTP/V.vv NNN" response sent by
	pre-HTTP/1.0 servers

Reviewed by:		wollman
1997-03-05 18:57:16 +00:00
Bruce Evans
9361c5abbd Added missing #include, cleaned up #includes.
Print VFCF_UNICODE flag in the unlikely event that it is set.
1997-03-03 17:21:57 +00:00
Andrey A. Chernov
08a77c42e1 Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL 1997-03-03 07:59:54 +00:00
Wolfram Schneider
4fbe57dc33 Add enviroment variable MAKEOBJDIRPREFIX, still undocumented except
in bsd.obj.mk.
1997-03-03 00:57:48 +00:00
Andrey A. Chernov
6fa0fa0ec9 Fix MAXLOGNAME usage, the code has wrong assumption that it must be
NULL terminated
1997-03-02 21:40:17 +00:00
Joerg Wunsch
984e3edbe2 Make more not immediately exit on a short file, if the -e option is
given.  This makes more -e basically usable at all when your termcap
entry supports an alternate screen buffer (like xterm-r6).

I wonder whether we should make more -e the default.  Oure more seems
to be the only one on the world with this funny behaviour.

2.2 candidate

Submitted by:	dawes@rf900.physics.usyd.edu.au (David Dawes)
1997-03-02 18:55:42 +00:00
Wolfram Schneider
67022bfc9f Include copyright message from <sys/copyright.h> 1997-03-01 18:02:44 +00:00
Wolfram Schneider
46a3f6286a Add generic colldef for ISO-8859-2.
Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>

Use '.for' loop from make(1), not sh(1) 'for' loops.
1997-03-01 00:28:08 +00:00
Adam David
edc2323809 minor nit 1997-02-28 22:44:31 +00:00
Wolfram Schneider
ddcf27e1c8 Add lt_LN.ISO_8859-2.src.
Use '.for' loop from make(1), not sh(1) 'for' loops.

Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>
1997-02-28 19:51:39 +00:00
Andrey A. Chernov
7adec20804 Back out "shell" / pw_shell change, I was confused by the same
variable name (with different functionality)
1997-02-27 05:09:58 +00:00
Andrey A. Chernov
60797e8797 Fix few bogons with pw_shell / shell variables values mismatch
introduced by LOGIN_CAP
1997-02-27 03:52:22 +00:00
Mike Pritchard
bac06c08b7 If an administrator somehow manages to break the hardlinks
on chpass & passwd and turn the links into individual files
with the schg flag set, make install will fail to install all
of the proper links.

Fixed by removing the schg flag on all of the links before installing.

Closes PR# 2040.

Submitted by:	 Ph. Charnier <charnier@xp11.frmug.org>
1997-02-26 05:31:52 +00:00
Mike Pritchard
91f3c635fd Added calendar entries from OpenBSD and NetBSD that we were missing. 1997-02-25 01:20:28 +00:00
Mike Pritchard
3a548f2524 Add the date of Carl Sagan's death, since we list his birthday.
Obtained from:  NetBSD PR# 3235
1997-02-25 00:45:24 +00:00
Andrey A. Chernov
1f9647442f Holiday renamed
Should go into 2.2
1997-02-24 22:52:52 +00:00
Garrett Wollman
646bbae242 Use new sysctl(3) interface to mbuf statistics. While we're at it,
count free mbufs correctly.
1997-02-24 20:59:03 +00:00
Garrett Wollman
13ae2e2d75 Use the new sysctl(3) interface to mbuf statistics rather than
groveling about in kmem.
1997-02-24 20:40:40 +00:00
Guido van Rooij
e8694bc269 When group wheel is empty, allow everyone to su to root. This has normally
no conseqeunces as we ship with a non-empty wheel.

Closes PR/1882
Submitted by:	Arne Henrik Juul <arnej@frida.imf.unit.no>
1997-02-24 20:32:24 +00:00
Wolfram Schneider
bc5d5816e7 These man page will appear in 2.2, not 3.0. 1997-02-22 23:43:32 +00:00
Andrey A. Chernov
b02761ff46 Add Korean CTYPE locale
Submitted by: Choi Jun Ho <junker@jazz.snu.ac.kr>
1997-02-22 22:50:57 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Peter Wemm
53faa0dade Revert $FreeBSD$ to $Id$ 1997-02-22 19:29:21 +00:00
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Mike Pritchard
c8da9b756d Use the .Bx macro in the HISTORY section. 1997-02-19 07:14:30 +00:00
David E. O'Brien
995369a6e8 Add history section. Follows chflags(2). 1997-02-19 00:32:35 +00:00
Wolfram Schneider
3e4c0ae52d Treat 'end\0', 'end\n', 'end\r\n' as trailer line, see rev 1.2 1997-02-18 20:19:04 +00:00
Mark Murray
1899f6a2ff Fix default whois server. 1997-02-18 19:02:06 +00:00
Wolfram Schneider
325bd2382c Better check for detecting header line. A header line must match
"begin [0-7]* *". Now `begin with, ' is not a header line.

Do a boundary check for body characters. Characters less than 33 or
greater than 96 are out of range. If characters are out of range
uudecode print a error message and die.
1997-02-18 17:49:43 +00:00
Wolfram Schneider
d4e6625140 Fix ranges - off by one. 1997-02-18 17:08:27 +00:00
David Nugent
a88368cfdf Fix for hard-coded length of login name.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>

Closes #PR bin/2755
1997-02-18 05:47:07 +00:00
John-Mark Gurney
aae4530402 This page will first appear in 2.2, not 3.0.
2.2 Candidate
1997-02-17 15:54:47 +00:00
John-Mark Gurney
429100430f Fix fetch so that all status information is sent to stderr, prevents
corruption of file being recieved to stdout.

Submitted-by: Kent Vander Velden <graphix@iastate.edu>

Closes PR#2739
1997-02-17 04:11:47 +00:00
Mike Pritchard
bb5359e97e Don't call sendmail with "-f root" when run with "-a". This
eliminates the "X-authentication-warning" header line that
has been coming out since I made it so that sendmail is
run totally as the user whose calendar file is currently
being processed.
1997-02-16 18:24:44 +00:00
Steve Price
8f2a742859 Implement the -o commandline switch. This does almost exactly
what bison does with -o, except it DTRT with respect to naming
the .code file when the -r switch is also used.

Submitted by: bde
1997-02-16 01:50:25 +00:00
David E. O'Brien
bdbbe98ba5 The screen layout of the lefthand side for the vmstat display was way off.
(based on my running it on 2.2-GAMMA)
1997-02-15 21:01:38 +00:00
John-Mark Gurney
88e8266d80 Modified the display() function to recognize when the output it going to a
file.  When it is don't do the percentage update, but still display the file
size and rate.

Closes PR#2725

Reviewed by:	wollman
1997-02-14 19:08:18 +00:00
Wolfram Schneider
ce56c5f8e6 Bye Bye. 1997-02-14 01:22:54 +00:00
Bruce Evans
30c218bf14 Print error messages to stderr, not to stdout.
Fixed usage message to match reality (-a was missing) and man page
(arg names were spelled differently).
1997-02-13 12:05:12 +00:00
Garrett Wollman
2fde9bd6de When the mbuf code was changed to use a private allocator instead of
the kernel malloc, netstat was never updated to reflect the fact that
there are once again allocated-but-free mbufs, just as there are
clusters, and so the information presented about how much memory was
allocated to the network was bogus.  Fixed.
1997-02-12 19:33:22 +00:00
Mike Pritchard
59f9c87b34 Typo fix.
Obtained from: NetBSD-bugs PR# 3214
1997-02-12 13:50:02 +00:00
Garrett Wollman
857292949c Fix remote request for HTTP proxies. Should close PR#2670. 1997-02-11 20:46:06 +00:00
Daniel O'Callaghan
70498d5a53 Reduce the command field width by one when idle time is > 9 days, to
eliminate unsightly blank line.

Possibly a 2.2 candidate.
1997-02-11 10:49:25 +00:00
Mike Pritchard
3cdb4c34f5 Fix a couple of typos.
Submitted by:	bde
1997-02-11 03:45:14 +00:00
Garrett Wollman
cb0cd746b5 Fix PR#2700: report correct transmission speed, and restart transfers
from the restart point, not the end of the file (blush!).

Submitted by:	John-Mark Gurney <jmg@nike.efn.org>
1997-02-10 18:49:42 +00:00
David Nugent
720cdec3f6 Adds login class support for local & nis passwords:
- minpasswordlen=n         override minimum password length for class.
    - passwordperiod=n[smhdwy] auto-set next password change date.
1997-02-10 15:42:12 +00:00
Mark Murray
81eb579301 Better buffer length calculation and overrun detection. Closes PR 2577
Submitted by:	Julian Assange
1997-02-09 21:34:14 +00:00
Mike Pritchard
a29f1d234c Typo police. 1997-02-09 21:14:48 +00:00
Joerg Wunsch
b5b54135f4 Add a manpage for brandelf(1). Minor stylistic fixes, and a buffer
overrun fix, too.

Submitted by:	John-Mark Gurney <jmg@nike.efn.org>
1997-02-09 20:35:54 +00:00
Eivind Eklund
ab25b7d505 Removed potential buffer overflow. 1997-02-09 16:11:13 +00:00
Mike Pritchard
fab46a51da Really fix calendar to drop all permissions when
run with "calendar -a".  Also don't ignore the return
values from the setuid/setgid calls.

Thanks to bde for making me this about this.
1997-02-09 07:45:03 +00:00
Mike Pritchard
16c359a3de Typo fix.
Closes FreeBSD PR#2685.

Obtained from: NetBSD-BUGS PR# 3199
1997-02-09 07:01:33 +00:00
Poul-Henning Kamp
ed5392a66c Basically reverse last commit which was plain wrong. 1997-02-08 08:57:22 +00:00
Garrett Wollman
df6c4acc3c Fix off-by-one error in proxy host:port parser.
Submitted by:	fenner
1997-02-07 17:55:01 +00:00
Poul-Henning Kamp
1573315810 Add ${.CURDIR}/ to relative path to contrib. 1997-02-07 12:29:27 +00:00
Paul Traina
f89bbf631f Activate new OPIE programs 1997-02-07 03:57:21 +00:00
Paul Traina
f076997839 Build opiepasswd from contrib_opie module. 1997-02-07 03:56:15 +00:00