4502 Commits

Author SHA1 Message Date
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
enami
96d6ef202a Describe -h option and xref lchflags. 2000-08-04 08:08:02 +00:00
enami
75015c55d3 - Introduce new flag -h to operate on symlink.
- Don't print (first) pathname on fts_open failure; it doesn't make sense.
2000-08-04 08:06:57 +00:00
assar
4bb88e6fb1 forced: previous was really: remove libvers, it's not being used 2000-08-03 22:58:32 +00:00
assar
6d7f2da1a1 remove -lvers, it's not used 2000-08-03 22:56:29 +00:00
assar
fc90224f06 link against the not-installed libvers 2000-08-03 22:47:37 +00:00
christos
e8b09532bb PR/10714: SUNAGAWA Keiki: Add newer hpux support, but without removing the
old hpux support.
2000-08-03 15:53:24 +00:00
ad
6b38e4b314 __RCSID(). 2000-08-03 08:25:41 +00:00