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