Commit Graph

1512 Commits

Author SHA1 Message Date
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