Commit Graph

3400 Commits

Author SHA1 Message Date
bgrayson 394d687b13 Minor printf mod, for when we print a 3-digit value, and the next update prints only two (leaving the last stale digit showing) 1999-03-04 03:02:02 +00:00
christos 19a77af4a3 Add ELF for sparc and i386 (Andrew Gillham) 1999-03-03 12:23:20 +00:00
jonathan 3eeb52dee0 Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
1999-03-03 12:00:18 +00:00
christos b08d0d82a9 Add netgroup and innetgr 1999-03-02 14:07:24 +00:00
christos 7a3f6c58a0 Netgroup access program. 1999-03-02 13:59:17 +00:00
sommerfe b36297112e fix PR7057: division by zero if no mbufs allocated
fix PR7059 (partial): mbuf cluster counts were based on counters which
are no longer maintained.
(full fix will involve renaming the now-unused fields in mclstat in mbuf.h)
1999-02-27 17:37:24 +00:00
hubertf 8593bb58c2 Fix typo reported by Wolfgang Helbig <helbig@Informatik.BA-Stuttgart.DE>
in PR 7056.
1999-02-27 13:31:26 +00:00
pk 0f75831fad _rtld_add_paths() takes an extra argument 1999-02-25 16:26:51 +00:00
kleink c49b4850b3 XPG4.2:
* Add the -s (first identifier found only) flag.
* Require at least one file operand; the standard does not permit reading from
stdin in case none were given.
* Recogize '\' as an additional identifier end character.
* Make the exit status depend on whether any matches were found.
1999-02-22 22:23:09 +00:00
kleink 1cfce9cbf5 Add the XPG4.2 -p flag. 1999-02-22 22:16:01 +00:00
jwise 2dada8cc9b Document the new `ps' view. 1999-02-21 21:55:10 +00:00
jwise cfb46b6f4c Add a new `ps' view to systat, which shows process information. This
view is identical to the output of `ps aux' except that a.) the RSS and VSZ
fields are one character wider and b.) it shows a zero value for the RSS
and %MEM columns of processes which report a negative RSS.
1999-02-21 21:48:07 +00:00
scottr 96df5ccdbf Don't warn about being in a user's ACL if Kerberos appears to be
unconfigured.  We determine this the same way that passwd(1) does.
1999-02-20 00:20:59 +00:00
abs a9088d9da4 Warn if TERM environment variable not set (but still continue as normal) 1999-02-19 21:25:02 +00:00
jwise 063b11670a Add cross-references from eaach of these too the other. Note that top.1
is still in old man format.  Do we want to translate this to mandoc?  I
assume no, as this would make imports hard, so I didn't, but I'm not sure
what the best way to do this would be.
1999-02-19 18:44:58 +00:00
lukem 48923b69bf support restart during proxy transfers (the traditional ftp command, not the
http proxy). seems to work with my limited testing (i'm not a big user of
proxy).  bug noted by Jorgen Lundman <lundman@argonaut.com> in [bin/5948]
1999-02-19 16:29:27 +00:00
jwise 7e6a90d4b9 Show pid as well as user name and command in pigs view. Makes hopping to
another window and killing the errant process (or even just distinguishing
it from like processes) rather easier.
1999-02-19 04:59:00 +00:00
lukem b0e36dc183 during an ambiguous complete, take into account the length of the
string already input before inserting the non-ambiguous component.
bug noted by Thorsten Frueauf <frueauf@ira.uka.de> in [bin/7014]
1999-02-18 23:08:41 +00:00
scottr 8481f548e2 Remove the crypto-related bits until such time as we have a fully-
integrated source tree.  Export-controlled versions of these are now
built during the domestic build process.
1999-02-18 21:22:51 +00:00
thorpej 690a0d0fe3 Build fdformat on the Alpha, too. 1999-02-18 20:31:46 +00:00
tron f02e2756d9 Remove program description from source code, it's already in "eject.1". 1999-02-18 20:02:43 +00:00
mycroft ed792e5ddd Oops; update the date as well. 1999-02-18 17:43:03 +00:00
mycroft e33b5e3104 Update comments. 1999-02-18 17:40:36 +00:00
mycroft ba0967bb41 Rework the examples section a little. 1999-02-18 17:37:37 +00:00
cjs 03cb143eab Remove mkdep source code from this file. (!) 1999-02-18 17:18:46 +00:00
lukem 2a6a3d1a76 rework so that `-A -n' won't truncate the `ipaddr.port' fields, by displaying
an abbreviated state column in that case (to fit in 80 columns)
1999-02-18 07:42:12 +00:00
lukem 591a968873 as suggested by chuck cranor, pull in some openbsd mods:
* display ip address details of tcp/udp connections
* display isofs details
* use %p instead of %lx in error messages

other mods by me:
* don't put \n at the end of err()/warn() format
* man page cleanups (use .Dq and .Pq as appropriate)
1999-02-18 06:09:25 +00:00
tron a651e1a07b New improved "eject" command contributed by Chris Jones in PR bin/6988. 1999-02-17 22:59:14 +00:00
mjl fb60b363d0 Added missing mailx tilde escapes that POSIX wants (~<!, ~a, ~A, ~i).
Updated man page and tilde help file for missing ~ escapes.
Closes PR 782 by Simon J. Gerraty after four years and two weeks.
1999-02-17 20:48:48 +00:00
scottr 6aba90f09c Make this compile ifdef KERBEROS. 1999-02-17 06:49:30 +00:00
kleink bbc05bdcb9 Avoid a bogus GCC uninitialized warning; reported by Soren S. Jorvang. 1999-02-16 17:31:25 +00:00
he 392f839e3f Prevent `file' from trying to use the (directory!) /usr/share/misc as the
magic file database.
1999-02-16 12:32:52 +00:00
lukem a4547242e3 use MFILESDIR instead of FILESDIR. fixes problems some people are having 1999-02-16 07:11:27 +00:00
kleink 183022d001 Add an implementation of the XPG4.2 nl(1) utility. 1999-02-15 15:07:14 +00:00
hubertf 56f2d188fc RCS ID police 1999-02-15 04:54:34 +00:00
simonb c14394d4ec Add patches (via Christos) based on pkgsrc contents. (These have been
forwarded to the top maintener.)
1999-02-15 03:55:00 +00:00
simonb 0b2e590950 Add top. 1999-02-15 03:11:08 +00:00
simonb c8542f1663 Generated files from ./Configure 1999-02-15 02:37:46 +00:00
simonb 6d97973ad2 BSD-style Makefile. 1999-02-15 02:36:10 +00:00
simonb 226f1ea4c8 The defaults we use for configuring top 1999-02-15 02:30:18 +00:00
simonb adf9507ad4 Also not needed during configure or build. 1999-02-15 02:26:38 +00:00
simonb 1bff6dcf87 Work with objdirs. 1999-02-15 02:20:55 +00:00
simonb 5409f84053 Don't overwrite the NetBSD Makefile during a ./Configure 1999-02-15 01:40:57 +00:00
simonb a9e4dff97f Remove files not used during configure or build 1999-02-15 01:27:43 +00:00
simonb 58d46c2e6a Remove NetBSD-1.3.2 module and add new NetBSD-1.3 module - this module
is based on the one in pkgsrc and will be included in the next version
of top - either 3.5beta10 or 3.5.
1999-02-15 00:30:26 +00:00
simonb 5f3bd0f103 Import top 3.5beta9 1999-02-14 23:54:06 +00:00
christos 40035ad56e Quad portability fixes:
- Use %llu instead of %qu
- Don't use quad types if NO_QUAD is defined
- Always cast to the appropriate type in printf.
1999-02-14 19:10:28 +00:00
mjacob f16e878646 Hopefully somebody better at this than I can correct this somewhat
iffy change. The problem with the last checkin is twofold- first %q
should refer to quad_t, not u_int64_r. Second, for the alpha compiler,
%q is taken to be 'long long'- which is definitely not the same as
u_int64_t. Take home lesson- didn't build on alpha.

I thought about an #ifdef __alpha__- but that's wrong, so I put in a runtime
determinant to set a constant format string. Like I said, I hope somebody
better than I can fix it right.
1999-02-14 18:03:18 +00:00
explorer 4feda55de6 use u_int64_t for line, word, and character counts. It bothers me to see wc -c
return -2146435072 characters for files > 2G.
1999-02-13 15:53:17 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00