Andrzej Bialecki
3c0df64f68
Function declared void shouldn't return any value...
2002-03-27 20:10:53 +00:00
Luigi Rizzo
900e78cdda
Make this compile again
...
Reported-by: Bruce Montague
2002-03-11 08:03:50 +00:00
Luigi Rizzo
8de7d83bc0
Add a '-l' flag to show CPU load for the various states, similar to what
...
"top" does (thinking of it, i could have as well used the same format line!)
This only makes sense when "-w" option is also specified, because the
load is computed as the difference between subsequent samples.
I think this (and the "-d" feature which shows differences in the
network statistics counts) would also make sense in the standard
vmstat and netstat.
2001-12-14 01:10:50 +00:00
Luigi Rizzo
f36f7f8005
Use the correct sysctl names for intrcnt and intrnames.
2001-10-25 01:29:21 +00:00
Luigi Rizzo
ce28e3e9fe
Add a -d flag to show deltas as opposed to cumulative counters
...
in interface statistics. Most useful when used with the -w flag e.g.
ns -i -w 1 -d
2001-10-10 17:52:04 +00:00
Luigi Rizzo
2fbfa5f862
Add code to print interrupt statistics when they will be
...
exported via sysctl.
2001-10-07 02:13:23 +00:00
Luigi Rizzo
3cbee46209
Fix a typo (missing "; at the end of a string)
2001-10-07 00:29:59 +00:00
Luigi Rizzo
a61f7148ba
Add customised version of login for picobsd images on -CURRENT.
...
This version is basically the same one as login.c 1.67, and does
not require the use of PAM.
2001-10-01 16:58:28 +00:00
Kris Kennaway
56bded8a29
s/adress/address/
...
Inspired by: OpenBSD
MFC After: 1 week
2001-07-23 12:05:27 +00:00
Dima Dorfman
70d51341bf
mdoc(7) police: remove extraneous .Pp before and/or after .Sh.
2001-07-09 09:54:33 +00:00
Brian Somers
7bc6d0158f
Fix the type of the NULL arg to execl()
...
Idea from: Theo de Raadt <deraadt@openbsd.org>
2001-07-09 09:24:06 +00:00
Thomas Moestl
df06371f65
Account for the machdep.msgbuf -> kern.msgbuf renaming.
2001-07-03 19:51:53 +00:00
Josef Karthauser
378918c059
Apply style guidelines (using gident to help).
2001-04-23 19:38:41 +00:00
Josef Karthauser
2e8d39560e
Fix a syntax error.
2001-04-23 18:41:48 +00:00
Andrzej Bialecki
6d8476df78
Resurrect Minix sh(1), after its license has been changed to BSD one.
2001-02-10 22:57:33 +00:00
Luigi Rizzo
4ff9c03cc5
Add dummy -n option, for compatibility with the standard netstat
2001-01-27 03:18:55 +00:00
Alexander Langer
5a86d4eafc
Make the name of the init script and the interpreter compile time options.
...
If not defined, default to the old values (with _PATH_BSHELL instead
of "/bin/sh", though).
Reviewed by: markm
2001-01-20 09:12:55 +00:00
Andrzej Bialecki
78d1fe9622
Fix so that the netmask is displayed correctly when it does not
...
consist of contiguous bits in little endian format. Before the fix
the netmask of 0xfffffff0 (0xf0ffffff in little endian format) was
displayed /24 instead of /28.
Also, add a missing include.
Submitted by: Maxime Soule <Maxime.Soule@IPricot.com>
2001-01-10 23:06:31 +00:00
Andrzej Bialecki
e1f84360ff
Reformat to be a bit closer to style(9).
2001-01-10 22:25:54 +00:00
Andrzej Bialecki
650da9d30a
Fix breakage after moving from struct proc/eproc to kinfo_proc.
2001-01-10 22:24:07 +00:00
David E. O'Brien
1a37aa566b
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Andrzej Bialecki
b974f7d892
Fix bitrot.
2000-11-11 16:12:39 +00:00
Poul-Henning Kamp
f6b5c74c35
Initiate deorbit burn sequence for <machine/mouse.h>.
...
Replace all in-tree uses with <sys/mouse.h> which repo-copied a few
moments ago from src/sys/i386/include/mouse.h by peter.
This is also the appropriate fix for exo-tree sources.
Put warnings in <machine/mouse.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/mouse.h> files will be removed.
2000-10-09 08:08:36 +00:00
Poul-Henning Kamp
00d25f512c
Initiate deorbit burn sequence for <machine/console.h>.
...
Replace all in-tree uses with necessary subset of <sys/{fb,kb,cons}io.h>.
This is also the appropriate fix for exo-tree sources.
Put warnings in <machine/console.h> to discourage use.
November 15th 2000 the warnings will be converted to errors.
January 15th 2001 the <machine/console.h> files will be removed.
2000-10-08 21:34:00 +00:00
Luigi Rizzo
cc89db0c68
Fix bogus reporting of interface names, the field returned
...
in sdl_data is not 0-terminated
2000-03-21 12:09:23 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Roger Hardiman
e9509fb8fa
Changed to get the page size using a sysctl rather than using DEFAULT_PAGE_SIZE
...
Suggested by: Alan Cox
1999-08-26 11:11:48 +00:00
Doug White
843fcabd9e
Major PicoBSD update by luigi with some debugging help from myself.
...
. Now builds on -STABLE (-CURRENT is broken due to bugs)
. etc directory contents centralized instead of in each
type directory (can exclude & override as desired)
. Removed extraneous language files (lang files for rc really necessary?)
. dialog-based build tool with support for custom floppy builds
. MFS image loads as a mfs_root module instead of compiled into kernel
THIS IS BROKEN ON CURRENT. I'll MFC to -STABLE immediately following.
luigi tells me I have an OK from jkh on the MFC.
Submitted by: luigi
1999-08-22 21:45:24 +00:00
Luigi Rizzo
6bbeddc1ea
Enable printing of bridging statistics.
1999-08-17 03:30:34 +00:00
Luigi Rizzo
a18ff8bea7
Fix a problem in printing interface names.
1999-08-12 05:40:07 +00:00
Brian Feldman
c6080e5453
DEFAULT_PAGE_SIZE was removed, pgtok defined in headers, headers cleaned up.
...
Obtained from: Jonathan Towne <jontow@sysctl.urban-a.net>
1999-07-08 06:22:04 +00:00
Roger Hardiman
f2488e30c5
MFS: No longer needed in PicoBSD 0.44
1999-06-15 11:45:25 +00:00
Roger Hardiman
27c2745d8a
MFS: No longer needed in PicoBSD 0.44
1999-06-15 11:40:13 +00:00
Andrzej Bialecki
a4cc706896
Simple_HTTPd on steroids - major rework of the original program, by
...
William Lloyd. New features include:
* many additional command line options
* "fetch" mode
* less bugs :-)
* better README.
Submitted by: William Lloyd <wlloyd@lap.net>
Reviewed by: abial
1999-05-05 07:22:34 +00:00
Andrzej Bialecki
f8ee1a074a
Merge from RELENG_3.
1999-02-12 20:36:13 +00:00
Andrzej Bialecki
cfc0e28a51
Add missing "quit".
1999-01-19 23:15:56 +00:00
Daniel O'Callaghan
7621c7c32a
Fix Makefile so it works.
...
Change date format to yyyy/mm/dd hh:mm:ss
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-16 03:50:10 +00:00
Andrzej Bialecki
b51e08ff33
Replace kget with version which obtains its info from newly added
...
sysctl machdep.uc_devlist, instead of /dev/kmem.
1999-01-08 21:09:42 +00:00
Andrzej Bialecki
10639dcf77
Use console instead of ttyv0 - it didn't work with serial console...
1998-11-15 23:26:32 +00:00
Andrzej Bialecki
e0b7bc571a
Changed my e-mail address.
1998-11-01 20:19:43 +00:00
Andrzej Bialecki
9f444dbaf9
Fix conversion from pages to kB's.
...
Noticed by: luigi
Obtained from: sources for vmstat(8)
1998-10-29 12:38:06 +00:00
Andrzej Bialecki
23a78098db
Remove redundant copies, and give credit to proper person.
...
Noticed by: jkh
1998-10-25 03:16:03 +00:00
Andrzej Bialecki
f2c7b777e2
With much regret, I had to remove these two programs - their license
...
doesn't permit us to distribute them. I think I should take some law
classes...
Explained by: bde
1998-10-25 03:02:56 +00:00
Andrzej Bialecki
975432afd9
Added ability to auto-run a presentation.
1998-10-23 19:34:50 +00:00
Andrzej Bialecki
4d65f11c4c
This is a copyrighted software. I forgot to include the license here.
...
Apologies to all parties involved - it wasn't intended...
Reminded by: bde
1998-10-22 11:16:41 +00:00
Andrzej Bialecki
7a3f627463
Added two new utilities, both ported from Minix: mined (editor), and
...
msh (largely compatible Bourne shell).
1998-10-21 17:36:28 +00:00
Andrzej Bialecki
4204bf87ea
Various fixups and corrections to match the 3.0-RELEASE tree.
...
The PicoBSD version is now 0.42.
1998-10-15 21:40:07 +00:00
Andrzej Bialecki
5499ac46f6
Put some #ifdef's around debugging code.
1998-10-09 12:42:56 +00:00
Andrzej Bialecki
86fc7f021c
Fix for bad calculation of netmask bits. I'm amazed it worked thus far...
1998-10-09 12:42:20 +00:00
Andrzej Bialecki
09b41007d5
Once again turn off the BRIDGING - it's not yet ready to be the default...
...
Submitted by: Randal S. Masutani <randal@comtest.com>
1998-09-29 11:27:34 +00:00