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
jdc
d6d7f0531f
Fix arguments to *printw().
2000-04-27 00:30:51 +00:00
itojun
f70b9a5724
don't choke on non-INET6 kernel, or non-IPSEC kernel.
...
cleanup error handling on mode change failure.
TODO: non-IPv4 kernel support should be improved. "netstat" should be okay,
"inet.ip" and "inet.icmp" needs more trick.
NetBSD PR: 9157
2000-01-10 21:06:15 +00:00
itojun
96a8bc922e
add command line -n flag, which is same as "netstat numbers".
...
without it, we can't disable name resolution before the resolution starts.
2000-01-07 04:47:23 +00:00
itojun
7b5dfc58ad
support IPv6. commands under "netstat" are IPv6 ready.
...
IPv6 is supported by filters (":ignore ssh") as well.
TODO: do something about line truncation?
TODO: inet6.icmp6? ":help" will not fit into single line...
2000-01-05 11:59:12 +00:00
itojun
88ac9b1712
remove dupplicated prototype defs for file static funcs.
2000-01-05 11:50:21 +00:00
itojun
8471c4a69a
fix "netstat numbers".
1999-12-20 17:26:50 +00:00
jwise
4c0fbd4c92
Two things:
...
1.) fix a bug which caused coredumps when starting with no mode arguments
2.) move to table-lookup for mode-specific command parsing as well.
all command matching is now table-driven.
1999-12-20 03:45:01 +00:00
ross
ef4ee3d458
Functional LP64 and type sanity fixes.
1999-04-24 23:36:36 +00:00
ross
f670fa10c5
Add { and } to shut up egcs. Reformat the more questionable code.
1998-08-25 20:59:36 +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
lukem
9ccb9cd874
fix .Nm usage, deprecate register, getopt returns -1 not EOF, s/[br]*/[ms]*/
1997-10-19 23:36:20 +00:00
mrg
5941399374
- some KNF.
...
- use __RCSID().
- WARNS=1
1997-07-21 07:04:56 +00:00
jtc
8fd3f56f2c
Use the new getmaxx and getmaxy macros instead of directly accessing
...
the private fields of WINDOW.
1997-05-24 00:48:24 +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
explorer
661c82521c
clear the screen at the correct time to avoid leaving garbage on the screen.
...
This happens when switching from address to :numbers display.
From FreeBSD pr bin/1425.
1996-08-11 04:19:16 +00:00
cgd
b0246fc4cc
update for new queue structures
1995-06-18 23:53:07 +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