Commit Graph

4609 Commits

Author SHA1 Message Date
bjh21 1d5d9b5b60 4.4BSD-Lite2 contrib/sort 2000-10-07 16:39:34 +00:00
wennmach 45c4e425e6 Move out-of-order line to where it belongs. 2000-10-05 17:50:56 +00:00
itojun 544bd86193 don't print pfkey statistics twice. from uep 2000-10-05 03:22:59 +00:00
mjl b46ec3b29b getopt(3) returns -1 not EOF. 2000-10-04 20:09:04 +00:00
mjl 7063d4bc33 Un-__P and ANSIfy. 2000-10-04 20:02:26 +00:00
mjl a1ac373d57 Remove unused includes. 2000-10-04 20:00:47 +00:00
mjl 8f69642d30 getopt(3) returns -1 not EOF.
Add usage().
Un-__P and ANSIfy.
2000-10-04 19:50:52 +00:00
mjl 5200bd03ee Constify tables. Re-fixes PR/6151, whose changes went lost since. 2000-10-04 19:33:16 +00:00
mjl 9ff98d4d50 Un-__P and ANSIfy. 2000-10-04 19:24:59 +00:00
mjl 277079480a Correct typo in comment.
Use errx instead of printf/exit.
Sort headers alphabetically.
2000-10-04 19:14:53 +00:00
itojun 194446c648 plug possible printf string format issue. seen on openbsd mailing list 2000-10-04 17:58:44 +00:00
itojun 58b3b7a40a plug warn() call with variable only, just in case - honor behavior of warn(NULL) 2000-10-04 08:38:09 +00:00
abs 772b3f392d Tweak last to only allow highbit characters >=160, to avoid issues with
characters 128 + 0..31
2000-10-02 18:32:55 +00:00
abs 3a7a808464 Do not strip highbit characters. 2000-10-02 18:31:48 +00:00
itojun eccf945a90 be ready for rijndael 2000-10-02 17:46:42 +00:00
taca 20117cd175 - Knf auto variables in modified line by me.
- Print "??" as tty name instead of print nothing.  Suggested by jhawk.
2000-10-02 03:28:42 +00:00
itojun e08dea46c9 cope with no idea/rc5 cases. 2000-10-01 22:13:37 +00:00
itojun f15517916a MKCRYPTO_RSA is gone. TODO: idea/rc5 handling 2000-10-01 10:24:57 +00:00
jhawk 8d07b6ddd6 Return to whois.internic.net.
whois.networksolutions.com is just wrong -- it only returns information
for Network Solutions domains.
whois.opensrs.net is a bit better -- it returns information for OpenSRS
domains, and otherwise recurses to the correct whois server for other
domains -- unfortunately it is not canonical, and cannot be construed as
"correct." Other recursing proxies include whois.geektools.com and pallas.
eruditorum.org, neither of which is "official" either.

For good or for ill, we go back to whois.internic.net, which is the canonical
source for this information.
2000-09-30 14:05:48 +00:00
thorpej 9f6ddd1801 Enable the ssh build framework. 2000-09-28 22:20:58 +00:00
thorpej 03aaa05985 Update for most recent ssh source files. 2000-09-28 22:06:44 +00:00
jdolecek f8031c2d6d add code to recognize special ftpd utmp entries and match corresponding
process accordingly, so that w parses entries made by "ftpd -U" correctly

the new code is conditionalized upon define SUPPORT_FTPD_UTMP, turned
on by default in w(1)'s Makefile

This addresses bin/11095 by Daniel Hagerty.
2000-09-28 18:20:29 +00:00
sommerfeld e970dc32cd Move cpu header right 3 spaces to match grouping in man page 2000-09-28 14:56:52 +00:00
sommerfeld 4d7c61e467 Synch with implementation (correct problem reported in misc/11086) 2000-09-28 14:51:15 +00:00
lukem 0aa81b3ec3 explicitly use SOCK_STREAM with socket() instead of res->ai_socktype,
because it appears that linux with glibc doesn't set the latter
correctly after one of getaddrinfo() or getnameinfo().
2000-09-28 12:29:23 +00:00
lukem ddc9ba4e19 clarify that $ftp_proxy only works for full URLs and can't be used for
interactive connections.
2000-09-28 12:26:19 +00:00
kleink 5710066a9e Spellink. 2000-09-27 11:50:15 +00:00
augustss 50891507e0 Updated version of the usbhidctl command that allows setting, as well as
reading, items.  From Dave Sainty <dave@dtsp.co.nz>.
2000-09-24 02:27:12 +00:00
simonb cd2e1c1e91 Use ${COPY} instead of -c for ${INSTALL} commands. 2000-09-23 13:53:41 +00:00
simonb 3a3ed5c9db Get the build ordering right for all and dependall. 2000-09-23 06:18:08 +00:00
enami f676ab58c4 Make vmstat -m to put at least one space between each numbers. 2000-09-23 00:39:19 +00:00
pooka a8965df2d2 tweak for file 3.32 2000-09-22 16:53:39 +00:00
pooka e5efd07a0b resolve conflicts 2000-09-22 16:34:59 +00:00
pooka c45f82114c file 3.32 2000-09-22 16:01:07 +00:00
thorpej c938e2e7cd Display number of zero page aborts. 2000-09-21 22:38:28 +00:00
ad 7f700a8518 Document new behaviour WRT password expiry, and Xr login.conf. 2000-09-21 11:13:06 +00:00
ad f03c136f00 When not running as the super-user: if the user's password has expired or is
due to expire within _PASSWORD_WARNDAYS (or the setting from login.conf),
force the user to set a different password than the one they are currently
using. (Yes, it's actually worthwhile doing this.)
2000-09-21 11:11:49 +00:00
ad 07318ea12f Document `-s' option. 2000-09-21 10:29:11 +00:00
ad 80064cab88 New option, `-s': don't bother with PID files or signals. 2000-09-21 10:27:34 +00:00
ad 94fcdfba6e KNF, const. 2000-09-21 10:17:24 +00:00
tv a5c649d5f5 Until whois supports proper recursion and/or the rwhois protocol, use
whois.opensrs.net, which does internal recursion for domain data.
Network Solutions' server recurses on only _some_ registries, and has the
damned disclaimer and advertising on no-match results.
2000-09-19 17:09:10 +00:00
christos 253750edbd Add -E "dontsendempty" flag which does not send messages that have no
data. This is useful when piping cron error output to mail. While I am
there add -~ to be a synonym for -I [but don't document it]. This is for
compatibility with other OS's.
2000-09-19 01:12:48 +00:00
abs 762a48a1a4 Do not use 'Ar' for literal arguments, update Dd 2000-09-18 16:47:11 +00:00
ad 5ab843adef - sizeof(), not constants.
- snprintf() will always terminate the output string.
- Spacing.
2000-09-18 16:00:41 +00:00
abs 75155d4d12 Switch centre to -C from -c. Now different from FreeBSD, but avoids conflict
with Solaris, Linux and others.
2000-09-18 13:42:53 +00:00
abs ef12b8c845 Add '-c' for center (from FreeBSD) 2000-09-15 11:23:17 +00:00
mjl 32f69fdac5 Add a -f option to turn off the strict length checking for passphrases.
Also discourage its use in the manpage (and fix a couple of formatting nits).
2000-09-14 19:18:24 +00:00
mjl 64d7bd0b8c Use optarg instead of reaching beyond argv array. Fixes PR/11004
by TheMan <atatat@atatdot.net>.
2000-09-14 15:26:42 +00:00
lukem bac7eba63f since everything else here uses ANSI C, we might as well replace __STRING()
with the ANSI C stringization stuff...
2000-09-14 13:48:33 +00:00
erh d2f1d733d5 Switch to the user we're su-ing to sooner. This allows su to actually access the user's home directory in cases where root can't. (i.e. root=nobody NFS mounts). Also, avoid inadvertently raising the priority. 2000-09-09 18:13:05 +00:00
matt a28f4d4751 Teach crunchgen.c about MAKEOBJDIRPREFIX. 2000-09-08 17:20:47 +00:00
mjl e267ac2359 Oops, errx() not err(). 2000-09-08 13:14:33 +00:00
mjl 680cd1fdaa Un-__P, ANSI- and constify. 2000-09-08 13:11:03 +00:00
mjl f9e3c9099b Use err() 2000-09-08 13:06:13 +00:00
mjl 88a0bc30c2 Un-__P and ANSIfy. 2000-09-08 12:57:28 +00:00
mjl 8de1362608 Use errx(), add usage(). 2000-09-08 12:55:36 +00:00
lukem 52b579665e always include <netdb.h>, not just when INET6 is defined.
resolves PR [bin/10970] by Richard Earnshaw <rearnsha@cambridge.arm.com>>
2000-09-08 11:54:53 +00:00
msaitoh 05e625cb7d remove extra period 2000-09-06 20:22:53 +00:00
mjl f40dea5772 Add a setlocale() call and use strftime().
Use err() instead of fprintf + exit.
Check for extraenous arguments and complain.
ANSIfy.
2000-09-06 12:13:48 +00:00
mjl 11ce988357 Increase temporary buffer size not to truncate temp file template. 2000-09-06 10:17:01 +00:00
christos 89d34c0b70 fixed comment U -> u 2000-09-05 21:08:35 +00:00
christos 73e15c3ea3 :u modifier a'la uniq(1) [from der Mouse] 2000-09-05 17:57:52 +00:00
taca 99ebb8038f - Check return value of ttyname(3) and prevent to pass NULL pointer for
"%s" in printf style format string.
- Use STDERR_FILENO as paramter for ttyname(3).
2000-09-04 15:21:24 +00:00
ad 6be16e198e - Ignore null commands, instead of inventing a bogus match. See PR 10596.
- In switch_mode(), display status line even if switching to the same mode.
2000-09-04 12:28:12 +00:00
kleink 4918722a89 For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
2000-09-04 07:35:15 +00:00
hubertf d374d97e3c Allow overriding _PATH_STRIP 2000-09-04 02:45:33 +00:00
aidan b84b9c883a Check retrieved TGT against local keytab, if it exists. 2000-09-01 03:12:20 +00:00
jhawk 684592f691 Rewrite tprintstat() so that netstat -ss functionality works
correctly for the "tp:" case (family iso). To avoid serious code
space bloat, stats are now table-driven.

A side-effect is that the mbuf chain statistics have been slightly re-ordered
to follow the 3 lines of EOT stats (still under Miscellaneous) rather
than sandwiched between "dec bits" and the EOTs.
2000-08-31 06:49:42 +00:00
jhawk a022cf9d37 Use
${MAKE}
instead of
  make
2000-08-30 23:51:46 +00:00
abs 9cf3724e46 Allow a single argument to 'volume' to set both channels. 2000-08-30 10:13:52 +00:00
lukem b8fb63ea1c base64_encode should be static. picked up by hp/ux(!) compiler 2000-08-28 12:06:11 +00:00
lukem a6eda9569f It appears that whilst Apache 1.3.9 incorrectly puts a trailing space
after the chunksize (before the \r\n), Apache 1.3.11 puts *multiple*
trailing spaces after the chunksize. I 'm fairly certain that this is
contrary to RFC 2068 section 3.6, but whatever...
Found by David Brownlee <abs@mono.org>
2000-08-27 06:39:25 +00:00
lukem 872f81b081 - in progressmeter() perform the check for foregroundproc() a little earlier
- removed unused variable `items' in list_vertical()
2000-08-27 06:31:23 +00:00
hubertf e80cff4760 Add "all" mode to systat to cycle between all modes,
sort of like VMS' "MONITOR ALL"-command.

Code was submitted by Jarkko Teppo <jate@uwasa.fi> in PR 10851,
cleaned up and added 'turns' handling by me.
2000-08-25 04:48:56 +00:00
jhawk f6260667c9 s/a.out/ECOFF/ "oops" 2000-08-24 01:20:35 +00:00
kleink bef45d1b7d Deal with a current priority of -1; from Takahiro Kambe in PR bin/10227. 2000-08-23 07:01:58 +00:00
tron 0012d64356 Fixed reversed result test in call to chown(2) which caused bogus
error message.
2000-08-22 16:23:15 +00:00
tron 815deae8b6 Use vfork(2) instead of fork(2) to create child process for "gzip" and
wait until it terminates. Problem noted by Enami Tsugutomo on
"current-users@netbsd.org"
2000-08-22 14:20:17 +00:00
christos 2120a34cd6 - Don't core dump when we have stale utmp entries; warn the user instead.
- Make this work again in single user when invoked as uptime and utmp is
  not present.
2000-08-21 00:19:06 +00:00
jhawk b70721109d Add kernel counters for arp events, displayable with netstat -s -f arp 2000-08-15 20:24:57 +00:00
phil 94c7405838 Tweek the "no shortcut" code.
MC_NOSHORTKEY to NOSHORTCUT
   added option "shortcut" to menuc input language.
   added example of this kind of menu in testm.
2000-08-15 02:09:11 +00:00
hubertf 4e87e20dda Changes:
* bring closer to KNF
 * when selecting a item in a menu, call the opt_action() callback with
   a pointer to the struct menudesc, so the callback has a chance to find
   out which item was selected. Having a seperate callback for each
   item is ok for small menus, but not for ones with many objects.
 * Add menu-option MC_NOSHORTCUT to not print letters ("a: ", ...)
   in front of list items. Again, this is for menues with lots of entries
   as e.g. the upcoming sysinst set_timezone() function composes.
 * Fix a long-standing bug WRT pagewise scrolling - the cursor is now
   properly placed one page up/down
2000-08-15 01:01:41 +00:00
enami a5989caf7a Redo previous a bit different way so that mount point of top layer is shown
instead of lowest one and ``fstat file-on-upperlayer'' works.
2000-08-14 09:17:11 +00:00
enami 1dccbbfbd2 Print lower vnode if vnode is on a layered filesystem. 2000-08-14 06:03:21 +00:00
christos a9e7fd9028 don't attempt to free varNoError too. 2000-08-13 22:47:01 +00:00
itojun 4372a4b82a -Wall friendly 2000-08-13 18:48:22 +00:00
jhawk a80c6e8208 Fix netstat -ss handling for a bunch of ISO cases, so that
zero values are not printed.
"tp:" still needs some work, though.
2000-08-13 18:41:38 +00:00
christos 61b4051b0c be more specific about the history section. 2000-08-13 18:03:50 +00:00
jeffs 9b80c90ec0 Print ABI and mips level for "real" little endian MIPS binaries too. 2000-08-13 06:33:03 +00:00
fredb 0b2cf3e7f9 Supply missing "as". 2000-08-13 06:30:14 +00:00
augustss da048cb7d7 Cosmetic changes. 2000-08-12 22:24:51 +00:00
jeffs 45de998997 Handle MIPS little endian output better when bfd outputs magic 8 (MIPS BE)
instead of 10 (MIPS LE).
2000-08-10 19:12:40 +00:00
thorpej d35819d6e3 krb5_get_in_tkt() (called by krb5_get_in_tkt_with_password()) may
eventually call krb5_free_principal() via krb5_free_creds_contents(),
(when it succeeds, in particular).  Check for the creds.server
already being freed, and don't free it again.
2000-08-09 17:44:18 +00:00
mrg 14e83027c8 add sparc64 support. 2000-08-09 14:22:15 +00:00
augustss 6845241166 Fix typo so the Makefile can be used again. 2000-08-09 14:21:44 +00:00
ad a6ecf36d33 On NetBSD, the effect of the maximum age specification and specific interval
specification are independant of one another.
2000-08-09 13:57:22 +00:00
mrg 88363a496c enable fdformat on sparc64, too. 2000-08-09 11:38:47 +00:00
assar aa97fc7fa5 set the correct owner on the krb5 ccache 2000-08-09 02:15:27 +00:00
lukem e3cdb47e47 * implement parseport(), which takes a string and attempts to convert
it to a numeric port number
* use parseport() in parse_url() and hookup()
* don't try and lookup the port number using getaddrinfo(), as it's too hard
  to separate a failed host name lookup from a failed service name lookup.
  this was causing lossage on systems that don't have `http' in services(5)
  (such as solaris), but only crept in when we started using getaddrinfo()
  unconditionally.
2000-08-06 08:51:22 +00:00
enami 6fc4763861 If -H, clear FTS_LOGICAL and set FTS_PHYSICAL as well as FTS_COMFOLLOW.
If -L, clear FTS_PHYSICAL as well as FTS_COMFOLLOW.
2000-08-04 09:01:05 +00:00