Commit Graph

3900 Commits

Author SHA1 Message Date
bde
2e8df944ff Define DKBAD_MAGIC the same as in 1.1.5 (as 0x4321 instead of 0). 0 is
a poor value for a magic number, and we need to be compatible.
1994-10-25 17:33:25 +00:00
bde
77a8b3b7b2 Add perl. 1994-10-25 16:59:57 +00:00
paul
4a8ee9cf54 Added refresh() to dialog_clear so that it actually
clears the screen.
Reviewed by:
Submitted by:
Obtained from:
1994-10-25 15:10:27 +00:00
jkh
23e602d47c Add strtol() to libkern in support of some other work I'm doing.
I just know I'm going to get flamed for adding for the miserable
abortion that is libkern, but what am I supposed to do?  At least I
didn't drag in the ctype stuff! :-)
1994-10-25 14:57:57 +00:00
ljo
1b240443b4 Added f77 program. This is a modified version of the c++ program.
All it does is add -lf2c and -lm.
1994-10-25 14:36:50 +00:00
bde
87c0e7a3a8 Improve error detection and handling:
Reduce _JBLEN for the i386 to what is actually used.
	Encapsulate jmp_buf and sigjmp_buf in structs.
	Enlarge jmp_buf to the same size as sigjmp_buf.
	Declare *longjmp as non-returning.

Remove stale comments about sig*jmp not being implemented.
1994-10-25 14:11:35 +00:00
bde
2cdddfe3cd Reenable sigsetjmp.S. Preserve the FP state. Rearrange offsets
to match setjmp.S.
1994-10-25 14:08:13 +00:00
bde
5168d07e57 Nuke sigsetjmp.c. sigsetjmp() can't be implemented as a C function
that calls setjmp(), since returning from the function usually
clobbers the saved environment.
1994-10-25 14:04:32 +00:00
jkh
80b73b82cc Add this from Mark Dapoz. It requires LaTeX to format it, but it's
sure a lot better than nothing.
Submitted by:	md
1994-10-25 13:47:17 +00:00
ljo
b99ef5fa8e Added FORTRAN rule. 1994-10-25 13:36:02 +00:00
dg
f56cf1dd01 Changed some variable names in lf_addblock to make the code both
understandable and conform to other conventions used in the file.
1994-10-25 11:27:51 +00:00
dg
a175f63dd6 Allow MAXMEM kernel option to indicate more memory than is detected; it
previously could only be used to limit the amount of memory.
1994-10-25 08:58:33 +00:00
swallace
bee4b5d3bd Patch to fix QIC-02/QIC-36 by Gene Stark.
From patch003 in CLEAR-1.1.5.1-PATCHES.
Submitted by:	Gene Stark
1994-10-25 08:57:39 +00:00
dg
b2b133f873 Restricted maximum bufpages to 1500; this is required for machines >64MB
of memory to work without running out of kernel VM (and increasing it to
even more than it is now (96MB) is out of the question. Changed bufpages
calculation to allocation a little less bufer cache (16% of mem-2MB instead
of 20%); this is simply a better figure for most systems.
1994-10-25 08:34:50 +00:00
dg
fcb39bbe43 Moved swapon -a to before the fsck. It isn't possible to run fsck on
moderately sized filesystems on 4MB machines otherwise.
1994-10-25 08:23:02 +00:00
dg
43b4ea1c26 Moved initialization of tmpstk so that it immediately follows the kernel
text. Fixed rounding bug that caused the last page of kernel text to be
read/write instead of read-only. This is important now that tmpstk can
crash into it. Removed +4 bias of tmpstk because it screws up ddb's
ability to traceback correctly.
1994-10-25 07:25:56 +00:00
dg
de8e9f6ba8 Improved I/O error reporting. 1994-10-25 07:06:20 +00:00
dg
4cc1cb6276 Changed NO_SHARED_LIBCC_INT to SHARED_LIBCC_INT and changed the logic
as appropriate. This makes gcc not built with a shared cc_int the
default.
1994-10-25 07:02:23 +00:00
dg
034f6bd32e #if 0'd out the object cache trimming code - there are multiple ways
that the pageout daemon can deadlock otherwise.

Submitted by:	John Dyson
1994-10-25 05:35:44 +00:00
wollman
3bdc085d8b Added lsdev. 1994-10-24 22:22:44 +00:00
wollman
9260cdc6a2 When -v not given, display longer state' and no parent'. 1994-10-24 22:21:51 +00:00
sos
00d9fe8ede Added sea0 - Seagate driver lines to config 1994-10-24 22:18:12 +00:00
sos
d5a160846a Seagate st01/02 driver.
Obtained from:	FreeBSD-1.1.5.1
1994-10-24 22:14:34 +00:00
wollman
71e6c653e4 Fixed cut&paste error.
Submitted by:	davidg
1994-10-24 21:36:38 +00:00
phk
5b82de89f2 These patches fix some lesser problems:
1) malloc.h doesn't exits in 2.0.
2) Makefile.inc wasn't picked up so one of the build steps (install?)
failed.
3) LIBMD wasn't depended on.
4) "ctm foo" dumped core because "foo" doesn't have a '.' in it.

Bruce

I updated the mkCTM stuff while I was at it anyway.  /phk

Reviewed by:	phk
Submitted by:	bde
1994-10-24 20:09:39 +00:00
phk
04426e710c A nice little PPP.doc file from:
Submitted by:	Gennady B. Sorokopud ( gena@NetVision.net.il )
1994-10-24 17:51:54 +00:00
sos
5debfa3aa0 Added share/examples/ibcs2 directory 1994-10-24 10:00:00 +00:00
sos
babc5777d2 added ibcs2 directory. 1994-10-24 09:56:42 +00:00
ache
91bf889cda Partially back out previous fix (in cases ':' and '!'),
leave case '.' as valid user name, not host reference.
Document new behaviour.
1994-10-24 05:42:34 +00:00
ache
7f2d1d0726 Use configurable dialog attributes instead of hard-coded ones 1994-10-24 05:16:00 +00:00
ache
91f5aade83 Make dialog attributes visible from outside (for direct usage
in pgms)
1994-10-24 05:09:45 +00:00
ache
c9b8b8c1a7 label.c: add delwin(window)
mbr.c: use proper dims for newwin, add shadow
both: add ' ' and ESC as valid end-keys
1994-10-24 04:14:23 +00:00
ache
8013f46cd7 Use proper dims for newwin.
Remove double-clear.
Add shadow.
1994-10-24 04:07:22 +00:00
ache
b0ffecf00b Clear screen on exit per Paul request 1994-10-24 03:55:25 +00:00
ache
db2f18a27b Remove undocumented talk behaviour, when names like
aa.bb aa:bb and aa!bb treated as user+host and not as local user
names (especially aa.bb is common case).
Only @ is valid user/host separator according to manpage.
Pointed-by: doctor@dream.demos.su
1994-10-24 03:48:44 +00:00
paul
e4a1b28eb2 Remove a couple of display_disklabel call used
for debuging.
Reviewed by:
Submitted by:
Obtained from:
1994-10-24 03:33:29 +00:00
paul
e661ae2fa9 Round partitions to the next whole cylinder.
Fill in devicename and mountpoint structures from default_disklabel()
so stage2 code knows what to do.
New file label.c for disklabel editing code.
1994-10-24 03:30:56 +00:00
wollman
859b82e043 Implement fs.nfs MIB variables. 1994-10-23 23:26:18 +00:00
wollman
11c82d3064 Use new NFS sysctl interface to get statistics rather than reading /dev/kmem,
unless the user specifies a dead kernel to operate on.
1994-10-23 23:25:43 +00:00
wollman
32616413a0 Don't do suser() check; it's already done in __sysctl(). 1994-10-23 23:01:03 +00:00
wollman
2d8ac2280a Updated to latest kernel code. Also provided a friendlier output format,
which is enabled by default (use `-c' to get the old format).  The new
format looks like this (only the values are correct; this was taken on my
machine with a slightly old kernel):

Device     St Parent     Description
---------- -- ---------- --------------------------------------------------
isa0       NC -
sc0        NC isa0       Parallel printer adapter
ed0        NC isa0       SMC8216/SMC8216C
sio0       NC isa0       RS-232 serial port
sio1       NC isa0       RS-232 serial port
fdc0       NC isa0       floppy disk/tape controller
fd0        NC fdc0       floppy disk
wdc0       NC isa0       ST506/ESDI/IDE disk controller
wd0        NC wdc0       ST506/ESDI/IDE disk
npx0       NC isa0       Floating-point unit

Note that many of these fields could be made more informative; I tried to make
my changes as unintrusive as possible.  See the `mcd' driver for an example
of one which actually does something with the `state' field.
1994-10-23 21:33:57 +00:00
wollman
b26d43dd93 Finished device configuration database work for all ISA devices (except `ze')
and all SCSI devices (except that it's not done quite the way I want).  New
information added includes:

-	A text description of the device
-	A ``state''---unknown, unconfigured, idle, or busy
-	A generic parent device (with support in the m.i. code)
-	An interrupt mask type field (which will hopefully go away) so that
.	  ``doconfig'' can be written

This requires a new version of the `lsdev' program as well (next commit).
1994-10-23 21:28:03 +00:00
dg
ee8c176b39 Fixed object cache trimming policy so it actually works.
Submitted by:	John Dyson
1994-10-23 21:03:09 +00:00
dg
17807eeba6 Adjusted reserved levels to fix a deadlock condition.
Submitted by:	John Dyson
1994-10-23 20:53:33 +00:00
dg
45a1544ff6 Only VM_WAIT if curproc != pageproc. A deadlock can occur otherwise.
Submitted by:	John Dyson
1994-10-23 20:52:11 +00:00
sos
634fca8258 A little COFF program (uuencoded) + README. Just do we can show
that iBCS2 support is working (that was a cheap one :-)
1994-10-23 19:23:50 +00:00
sos
4c34214331 First shot README file for iBCS support
Reviewed by:	sef@kithrup.com
1994-10-23 19:20:57 +00:00
sos
99bec73a2d Fixed some video returns. 1994-10-23 19:19:42 +00:00
guido
c129ac0583 The talkd security hole can ealso be exploited by wall (and thus rwall).
write and talk are not affected.
Now print out escape sequences in the same way as is done by write(1).
1994-10-23 15:33:55 +00:00
dg
f63e305baf Round down instead of up in 'kerninfo'/ctrl-T stats code. Incorrect output
can result otherwise.

Submitted by:	John Dyson
1994-10-23 06:18:13 +00:00