Commit Graph

13 Commits

Author SHA1 Message Date
simonb 828483a73e Remove extern variables and functions now declared in dkstats.h.
While here, remove 77 (!) unneed #includes.
2000-12-01 02:19:43 +00:00
ad fc3915475d - Add `boot', `run', `time' and `zero' commands to all IP displays. These work
as in the `vmstat' display mode. The default mode is now `time', not `boot'.
- ANSIfy.
- s@kre\(@vmstat\(@.
- __RCSID() police.
- Tweak inet.icmp display visual a little.
2000-07-05 11:03:20 +00:00
jwise ad285dbfbe Two UI changes:
a.) restore the capability to enter a substring of a mode or command
      name.  Pointed out by Soren Jorvang.

  b.) (capital) Q now exits systat immediately
2000-04-11 01:01:26 +00:00
jwise 850fb37f89 Fix error handling throughout. First off, it is not true as claimed in swap.c
that `systat doesn't handle errors'.  Second off, errx should not be used directly, since
the terminal should be cleaned up before bailing.  Third off, whatever we do we need
to be consistent.

There, I feel better now.
1999-12-20 23:11:50 +00:00
jwise bc8f4e2f46 Be consistent about whether to block SIGALRM before calling command() -- don't
ever do so, as the first thing command() does is block SIGALRM.
1999-12-20 21:59:29 +00:00
jwise d0e3cec262 1.) Clean up keystroke processing
2.)  Add the all-time most requested feature:  hitting space or CR while
     not in command mode now causes an instant refresh
1999-12-20 20:49:06 +00:00
simonb b80f4eaf1d - Add `bufcache' display which shows buffer cache usage per filesystem,
ala the monitor(1) command for Ultrix.
- Allow `h' or `?' to show the command list (same as `:help').
- Sort commands in cmdtab.c and systat.1
1999-11-15 06:16:56 +00:00
sommerfeld 728f40d730 Fix from PR7655: translation of keyboard command in systat is Wrong.
(breaks netstat's :ignore command for upper-case service names)
1999-08-02 02:01:57 +00:00
mrg 47abaab886 - KNF
- use snprintf
- don't overwrite the keyboard buffer (and make this sized on
  the window size).
1998-07-12 05:59:00 +00:00
mrg 5941399374 - some KNF.
- use __RCSID().
- WARNS=1
1997-07-21 07:04:56 +00:00
scottr 823c2433dc Freshen up a bit:
- Replace deprecated sigblock() with sigprocmask()
 - Redraw the current display if SIGWINCH is caught
 - Style police
1996-12-13 19:26:18 +00:00
jtc 2f3cb7ae7d Changed to conform to NetBSD's new RCS Id convention. 1995-01-20 08:51:48 +00:00
jtc 12749a2a84 imported from 44lite 1995-01-20 08:30:50 +00:00