Commit Graph

2911 Commits

Author SHA1 Message Date
lukem
fc90756956 Implement a new manual page category ``SECURITY CONSIDERATIONS''
(suggested by mycroft)
1998-06-08 12:41:41 +00:00
lukem
48f0a88e92 fix up Nm usage 1998-06-08 12:34:15 +00:00
lukem
9841170aa7 remove comment about pi (we don't ship it) and ex (nvi doesn't use mkstr) 1998-06-08 12:05:34 +00:00
lukem
984e733115 everything has bugs; either document them or don't bother with a BUGS section 1998-06-08 12:03:23 +00:00
lukem
9a6e9b2ce7 some fixes & enhancements from openbsd's ftp, with extra fixes by me:
* default to passive with active fallback. $FTPMODE modifies this behaviour.
  -A forces active connection.
* support '-o outfile' for auto-fetched files. outfile can be a file,
  `-' (for stdout), or '|command' (to output each file through command).
* support '-r waittime', which retries the connection after waittime seconds
  if it fails.
* fix 'page file' when restart is non-zero.
* try all ip-addresses of a host in a http fetch (as the normal ftp fetch
  does).

XXX: a ``broken pipe'' error sometimes occurs with -o '|command';
i haven't tracked this down yet.
1998-06-04 08:28:35 +00:00
tv
063efa8267 Add the ability to work with HTTP-1.1-style virtual hosts, using the
HTTP/1.0 backwards compatible "Host:" field method.
1998-06-03 15:50:34 +00:00
thorpej
66012e9fca Add an option to dump the contents of a PCB at the specified address, and
implement this for TCP.
1998-06-03 02:41:10 +00:00
lukem
881bf87781 * use CC_REFRESH_BEEP in an ambiguous complete (recently added to -ledit)
* in command completion, append a space to a definite match
* in local path completion, append a space or / to a definite match,
  depending if the path is a non-directory or directory respectively
(nothing added to remote path completion yet, until a simple sane method
 of determining if the path is a directory or not is available).
1998-06-01 14:46:11 +00:00
kleink
1246e2b1df Need <stdlib.h> for mktemp() prototype. 1998-06-01 13:54:49 +00:00
msaitoh
4ac829e2c6 eliminate a duplicated -X entry 1998-05-27 13:15:30 +00:00
tv
7c136376e9 Disable Berkeley ar, nm, ranlib, size, and strings, and enable binutils. 1998-05-25 20:06:38 +00:00
kleink
3759ec18f5 Add support to query PAGESIZE, PAGE_SIZE, _POSIX_FSYNC and _XOPEN_SHM via
sysconf().
1998-05-24 20:12:25 +00:00
tv
f0dcde8323 Make a MAKE_BOOTSTRAP case work on NetBSD, too, for cross-compile cases 1998-05-21 17:19:46 +00:00
pk
44c785c1cd Restore `preserve' value when we no longer need the modified version. 1998-05-20 09:43:41 +00:00
christos
fad7b63434 - add <signal.h> since we are using signals.
- cast arg to is*() to unsigned char.
- don't require quad_t to exist to compile.
- adapt to the new libedit version.
1998-05-20 00:55:52 +00:00
christos
a0a2de671b - clarify dangling else 1998-05-20 00:55:16 +00:00
christos
9160dcee94 - add <signal.h> since we are using signals.
- add <sys/time.h> since we are using utimes
- don't require quad_t to exist to compile.
1998-05-20 00:54:52 +00:00
christos
2187d01f57 - cast arg to is*() to unsigned char. 1998-05-20 00:54:26 +00:00
christos
da64e19c34 - cast arg to is*() to unsigned char.
- don't require d_namlen to exist
- don't recompute the length of the file everytime around the loop.
1998-05-20 00:53:57 +00:00
christos
acb3ba5670 - add <signal.h> since we are using signals.
- cast arg to is*() to unsigned char.
- don't require quad_t to exist to compile.
1998-05-20 00:52:29 +00:00
msaitoh
8e57bce5a8 fix typo. 1998-05-20 00:38:46 +00:00
mycroft
1458227184 Fix pasto. 1998-05-17 18:18:18 +00:00
mycroft
746eb495af Don't display %cpu for zombies. It never decays, and makes the results look
odd.
1998-05-17 17:18:28 +00:00
kml
78c488bad7 Partial fix for PR kern/5435 -- changed netstat to use unsigned counters
instead of signed.  The rest of the fix will have to wait for 64-bit counters.
1998-05-14 22:48:49 +00:00
kml
3c3dcf9966 Ensure that the 'L' lock flag for MTU is always displayed when present. 1998-05-14 20:55:51 +00:00
fair
ef37583d98 adjust to more accurately reflect the use of the -t option, per PR#5443 1998-05-11 21:45:44 +00:00
augustss
7ccd275655 Fix typo. 1998-05-09 12:41:16 +00:00
augustss
9f5ffe60bb Add some more explanatory text. 1998-05-09 12:37:42 +00:00
enami
10a773225e When YYDEBUG is defined, return same value as when it is not defined (in
other words, act same except debugging code).
1998-05-07 05:26:35 +00:00
mycroft
23d9d6e9b8 Kluge to make the build not bomb out in here. 1998-05-06 22:02:18 +00:00
mycroft
c563c17d5a Define NLIST_ELF32 on PowerPC. 1998-05-06 13:16:57 +00:00
matt
c3ef9d7317 Add support for printing fast forwarded packets. 1998-04-29 21:39:38 +00:00
mjacob
968bd8ab13 Clean up some quote handling 1998-04-28 15:28:49 +00:00
fair
1628920950 Fix man to mdoc conversion mistakes, mostly of the form ^\.[A-Z][A-Z] 1998-04-28 07:19:28 +00:00
fair
dc026e0515 Change occurrences of "UNIX" to .Ux or .At as appropriate. 1998-04-28 06:00:51 +00:00
fair
c46ab392dc Principally, change foo(N) to .Xr foo N
Also, do some other mdoc tagging.
1998-04-28 04:07:04 +00:00
augustss
b817f6c32a Chnage the name of the environment variables just introduced. 1998-04-27 16:55:23 +00:00
augustss
19c8dd08ce dd environment variable for default mixer device. 1998-04-27 16:52:03 +00:00
augustss
5749437b03 Add an environment variable for the default audio device. 1998-04-27 16:48:59 +00:00
hubertf
ea6f9b1d69 Print sane values on uptime >1 year, per PR 5318 by Heiko Rupp 1998-04-19 19:52:33 +00:00
cgd
b01eedb761 kill "warning: variable erred' might be clobbered by longjmp' or `vfork'"
found on arm32 with egcs.
1998-04-17 15:56:14 +00:00
ws
b6a9340ab5 Fix leap_year calculation (1900 wasn't a leap year) 1998-04-17 14:01:56 +00:00
fair
54e08fd771 error message improvement per PR#4378 1998-04-14 09:26:33 +00:00
veego
924ae4ad39 We don't need the extra make for mkhits.
The extra make would build mkhits again if you do a make clean.
1998-04-12 15:30:15 +00:00
fair
6394d4858b Added .Xr mdoc 7 and .Xr mdoc.samples 7 per PR#5284 1998-04-12 07:39:17 +00:00
fair
3b04f8e0b1 Add .Xr ttyaction 3 per PR#4647 1998-04-10 09:31:55 +00:00
fair
2249fd4c1a add .Xr makewhatis 8 1998-04-09 09:12:44 +00:00
fair
a0d5f4e4e3 per PR#4304 no need to set PATH (especially after testing it!) 1998-04-09 05:59:35 +00:00
fair
3dead0dc84 per PR#4304 no need to set PATH (especially after testing it!) 1998-04-09 05:28:07 +00:00
tv
482063559a .y.c <sys.mk> rule fixes. Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
1998-04-09 00:32:31 +00:00
tv
03caac8f9c fix a minor dependency problem on mkmake 1998-04-09 00:27:47 +00:00
jeremy
14fbe381c3 Show -C option in usage. PR/5266 1998-04-08 23:48:57 +00:00
tv
c3932dd723 Fix __RCSID() macro 1998-04-07 19:27:24 +00:00
tv
121c040638 -Wall: remove extraneous extern 1998-04-07 19:24:38 +00:00
cgd
a36b788c3f For the record, (c = *string++) should _NOT_ be turned into
((c = *string++) != '0') when quashing warnings.
1998-04-04 01:02:09 +00:00
cgd
b374e69f29 in Var_Parse(), set delim in a couple of other paths into cleanup 1998-04-03 04:07:15 +00:00
kleink
9406f10815 Need <time.h> for strftime() and related definitions. Also, no need to
include <sys/tty.h>.
1998-04-02 11:39:40 +00:00
kleink
b17e4cc794 Need <time.h> for localtime() and strftime() prototypes. 1998-04-02 11:34:23 +00:00
kleink
09349a90b3 Include <time.h>, needed for various definitions. Also, per KNF, don't include
both <sys/param.h> and <sys/types.h>; the former is sufficient.
1998-04-02 11:31:43 +00:00
kleink
7fd3999c5e No need to include <sys/socketvar.h>. 1998-04-02 11:18:25 +00:00
kleink
67a9ef6f17 Need <time.h> for ctime() prototype. 1998-04-02 11:13:33 +00:00
kleink
93cd45c3d5 No need to include <socketvar.h>. 1998-04-02 11:10:52 +00:00
kleink
0a87884eba Need <time.h> for time() and ctime() prototypes. 1998-04-02 11:00:10 +00:00
kleink
14c640d35e Need <time.h> for ctime() prototype. Also, per KNF, don't include both
<sys/param.h> and <sys/types.h>; the latter is sufficient.
1998-04-02 10:59:14 +00:00
kleink
44ec7efeab Include <time.h>, needed for various definitions. 1998-04-02 10:51:46 +00:00
kleink
6e574a3997 Need <time.h> for time() prototype. 1998-04-02 10:45:54 +00:00
kleink
9629495d5e Need <time.h> for localtime() and strftime() prototypes. 1998-04-02 10:42:51 +00:00
kleink
9d79695d7e Need <time.h> for time() prototype. 1998-04-02 10:38:25 +00:00
kleink
fb7c0a91b5 Need <time.h> for time() and ctime() prototypes. 1998-04-02 10:35:26 +00:00
kleink
fb7502608a Need <time.h> for time() prototype. 1998-04-02 10:33:17 +00:00
kleink
6f197c5b08 Include <time.h>, needed for various definitions. 1998-04-02 10:31:09 +00:00
kleink
fd366142a3 Need <time.h> for ctime() and time() prototypes. 1998-04-02 10:27:16 +00:00
kleink
bed4261e5c Need <time.h> for localtime() and asctime() prototypes. 1998-04-02 10:25:09 +00:00
kleink
a12b3b40a5 Need <time.h> for time(), localtime() and ctime() prototypes. 1998-04-02 10:23:01 +00:00
kleink
687ec78a57 Need <time.h> for ctime() prototype. 1998-04-02 10:22:03 +00:00
kleink
d88a338146 Need <time.h> for localtime() prototype. 1998-04-01 21:10:30 +00:00
kleink
650b9ca681 Need <time.h> for asctime() and localtime() prototypes. 1998-04-01 21:07:03 +00:00
kleink
c31696e747 Need <time.h> for time(), localtime(), strftim() and mktime() prototypes. 1998-04-01 20:50:17 +00:00
kleink
21a53ba722 Don't assume that an inclusion of <sys/time.h> makes visible all definitions
from <sys/types.h>.
1998-04-01 16:41:31 +00:00
kleink
08f1edf858 Update the EXAMPLES section to reflect that the interval between display
updates is not set using the `-w' option (was `-i'); from Brian Grayson
in PR bin/5241.
1998-04-01 16:32:54 +00:00
christos
84e525a801 Add conditional variable evaluation from Alistair Crooks. 1998-04-01 14:18:10 +00:00
perry
45b9e54cf2 remove /usr/ucb from PATHs, per Jim Bernard (pr 5236) 1998-03-31 04:25:30 +00:00
mrg
9de7446997 use static int instead of static 1998-03-30 02:31:44 +00:00
mrg
c0391a5b14 use static int instead of static 1998-03-30 02:30:08 +00:00
mrg
505c7f6151 use int as array index. 1998-03-30 02:29:28 +00:00
mrg
9fe37f17a0 use static int instead of static 1998-03-30 02:28:37 +00:00
mrg
71f20d7c82 use static int instead of static 1998-03-30 02:25:33 +00:00
mrg
76071c4765 remove register 1998-03-30 02:24:59 +00:00
mrg
e37e81a273 remove unused extern. 1998-03-30 02:19:45 +00:00
mrg
3f7e264c37 use static int instead of static 1998-03-30 02:19:02 +00:00
christos
d611392726 PR/5225: Jason Thorpe: make with -j 4 and subdirs core-dumps.
This revealed another long standing problem with pmake's port to bsd.
.MAKE was not set as the manual page states. Set it and remove another
typo in my last commit.
1998-03-28 22:29:04 +00:00
hubertf
babf21e12e Update usage string for [-cs]; pointed out by Soren S. Jorvang <soren@t.dk> 1998-03-27 02:40:38 +00:00
christos
f46f2d693e PR/5210: Hauke Fath: make core dumps with .SHELL
Unfortunately this revealed a deeper problem with the brk_string code.
To fix it:
	- remove sharing of the buffer between brk_string invocations
	- change the semantics of brk_string so that the argument array
	  starts with 0, and return the buffer where the strings are
	  stored
1998-03-26 19:20:36 +00:00
hubertf
b52322199c Choose only client/server statistics via -s/-c. 1998-03-25 19:54:20 +00:00
sommerfe
bf7d5c8de3 Add -d option, so lint can be used safely when we're not building "in
place" (e.g., when DESTDIR is set).  This causes the lint driver to
pass -nostdinc -idirafter <dir> to cpp, causing it to ignore
/usr/include and look somewhere else instead..
1998-03-24 23:25:31 +00:00
fair
78f41cb540 patch from PR#3573 to rename a variable "main" to "mainList" 1998-03-23 08:52:48 +00:00
kml
9433195784 Add support for a '-b' option to provide byte counts in and out,
instead of just packet counts.  On the byte screens, errors and
collisions are not shown, since they are more packet count related.
1998-03-19 02:42:57 +00:00
mikel
80f08d107b capitalize title of Morris&Thompson paper, use .Ev for EDITOR 1998-03-18 06:05:10 +00:00
mrg
91f31df469 avoid extraneous gcc warnings. 1998-03-15 17:14:51 +00:00
thorpej
f96aa26b70 Fix types lossage on the Alpha. 1998-03-11 16:49:19 +00:00