Commit Graph

3579 Commits

Author SHA1 Message Date
ache
dcc191d798 Handle EOF case in all macros by ANSI standard.
Cast all ints < 0 to (unsigned char) to fix common problem
with sign extention on signed char.
1994-10-08 17:36:44 +00:00
ache
91339cb74c Dialog added 1994-10-08 15:19:12 +00:00
ache
6f63580a25 Moved from ports, arrow keys allowed to edit input,
back tab key understanded now
1994-10-08 15:16:41 +00:00
ache
097b8f852c This commit was generated by cvs2svn to compensate for changes in r3430,
which included commits to RCS files with non-trunk default branches.
1994-10-08 15:16:41 +00:00
ache
1ae4caa5f2 libmytinfo, libncurses added to 'make beforeinstall' sequence 1994-10-08 15:08:14 +00:00
dg
620770cf48 Completely removed trailer support. The only reason I wrote that code in
the first place was so that BPF could grok trailer packets. I've since
decided that this is a job for tcpdump to decipher (if at all). Also
fixed up checks for received packet length to better cope with ancient
starlan boards.
1994-10-08 09:24:20 +00:00
phk
06258807e1 POSSIBLE BOGUS CODE found, (related to dos-partitions) in ufs_disksubr.c,
look for CC_WALL.
Cosmetics, a couple of unused vars.
1994-10-08 06:57:29 +00:00
rgrimes
c447e587f4 Correct #ifdef for nfs_disless support is #ifdef NFS, there will be no
option DISKLESS for the 2.0 nfs diskless support.   A 2.0 diskless kernel
simple needs NFS linked in statically.
1994-10-08 06:20:52 +00:00
phk
ee22b0c649 Cosmetics for gcc -Wall. A couple of unused "int i"'s removed and a couple of
prototypes added.  And the usual () work.
1994-10-08 06:20:06 +00:00
phk
179b7ba3f8 I got my patch-file applied twice it seems. Fixed. 1994-10-08 03:31:53 +00:00
jkh
ef5db70468 Add HW.TROUBLE to ROADMAP. 1994-10-08 03:15:53 +00:00
jkh
a406c92b21 Put this here, moving it from /usr/src. 1994-10-08 03:10:34 +00:00
phk
34a9d3d869 Prototypes of today. Brought to you by a 28 minute transit time on BART :-)
(For the SF-unaware:  I ride the BART (The Bay-area subway) for half an hour
each way to work.  I use the time to shut up gcc -Wall on my handbook).
1994-10-08 01:45:30 +00:00
phk
0acc5560ac Cosmetics. 1994-10-08 01:41:15 +00:00
phk
f50da77aa9 Mostly Cosmetics. Some of the procedures in if_sl.c was void, but should
be int.  I made them int, and let them return 0.  Will have to find out
what the return-val is used for.
1994-10-08 01:40:23 +00:00
csgr
b2767579ff Make inflate() reentrant - no more global variables.
(The gzip image activator now needs a good code tidy up.)
1994-10-07 23:18:18 +00:00
csgr
20af18de70 First stage of getting imgact_gzip reentrant:
1) cut this up into /sys/sys/inflate.h, sys/kern/inflate.c
sys/kern/ingact_gzip.c
2) make a lot more things static
3) make a lot of globals const
4) make some args const
5) first stage of making globals into a struct (not used yet)

The vm_allocate() call which was introduced between revisions 1.4 and
1.5 of imagact_gzip.c broke things.  I have backed that out for the time
being.  (Davidg: help please)

WARNING: if you have gzip enabled in your kernel, you must now run
config again, as another source file has been added.  Otherwise your
kernel compile will fall over.

This is all still WIP.  More commits to come.

Suggestions from: phk.
1994-10-07 22:27:00 +00:00
phk
36596f7928 I forgot this bit of APM stuff last week. 1994-10-07 21:23:33 +00:00
phk
719bcaffe9 Reviewed by: phk
Submitted by:	 Thomas David Rivers <rivers%ponds@ncren.net>

WARNING: might hide some bug below!  I commit this to improve the stability
of 2.0.

Thomas wrote:
-------------
 I have been running a kernel with this change since October 4th; barring
unrelated network router troubles, the pitiful little machine has
completed several builds without any interaction from me, and continues
to chug along.

 I re-read wd.c, and added appropriate printfs() to look for references
to dk_badsect[].  My changes should have printed something when dk_badsect[]
was referenced.

 I got no output :-(

 Thus, I'm forced to concluded that something else is examining some
spurious memory... which happened to be in dk_badsect[] of the disk structure
in wd.c.  I can find no other explanation of why this unnecessary
initialization causes things to operate correctly.

 On the premise that such an initialization isn't going to hurt anything,
I'm going to suggest it go into 2.0.

 I'd like to thank everyone for there assistance, particularly David,
John and Bruce.
1994-10-07 21:17:41 +00:00
ache
c680e0960e Fix many problems with 8bit chars (sign extend in ctype macros)
Fix main problem with 8-bit chars in directories names: because
signed_sum left uninitialized, wrong checksum occurse
1994-10-07 13:13:32 +00:00
ache
50d3916b0c libncurses added 1994-10-07 09:28:33 +00:00
ache
f9f28bc195 This commit was generated by cvs2svn to compensate for changes in r3410,
which included commits to RCS files with non-trunk default branches.
1994-10-07 08:58:58 +00:00
ache
fd61e543ea Moved from ports with several enhancements 1994-10-07 08:58:58 +00:00
ache
a80c0624fb Moved from ports with several enhancements 1994-10-07 08:58:58 +00:00
pst
c4c79c211e Back out the fluff, leave the meat 1994-10-07 07:48:18 +00:00
phk
ee674f1a0d Cosmetics. Added four prototypes. 1994-10-07 07:33:51 +00:00
phk
633ef15194 Cosmetics. Unused vars and other warnings. 1994-10-07 07:23:04 +00:00
dg
17204bbc08 #ifdef DISKLESS the copying of the nfs_diskless structure. Not the best
solution, but the only one I have time for at the moment.
1994-10-07 05:45:27 +00:00
ache
a9c792d591 Change first CFLAGS+= to CFLAGS= or we got really bad results
especially with -m486 from make.conf
1994-10-07 05:36:01 +00:00
ache
c782ecfd03 LIBMYTINFO and LIBNCURSES defines added 1994-10-07 03:10:05 +00:00
pst
e377ba704a (a) there's no reason for PASSIVEMODE to be conditionally compiled since it's
controlled by a runtime switch.
(b) add '-P' to toggle passive mode from the command line
(c) turn on passive mode by default
	- passive mode ftp works on all but a few servers out there
	- it's easy to disable
	- no, standard ftp should not run with passive enabled by default,
	  but that doesn't matter because I've already fixed standard mode
	  ftp to take a switch

This really should have been implemented as a ncftp "set" command instead
of carrying over the same hack that was done to ftp.  I will go back and fix
it some day.
1994-10-06 23:57:21 +00:00
ache
3f5ed87546 libmytinfo added.
PS: don't forget 'make beforeinstall' if you want to play with it
1994-10-06 23:41:24 +00:00
ache
b32637dd9b Moved from ports + several enhacmenets 1994-10-06 23:38:41 +00:00
ache
aa38329e67 This commit was generated by cvs2svn to compensate for changes in r3400,
which included commits to RCS files with non-trunk default branches.
1994-10-06 23:38:41 +00:00
ache
f2c4eb1700 Sync with termcap.src 1994-10-06 21:40:42 +00:00
ache
0bb7ec9224 Change do= from ^J to \E[B, this escape must works in all terminal modes
and old variant don't work properly, if \n --> \r\n (cons25,pc3)
1994-10-06 21:37:48 +00:00
ache
b9225ed246 Back out ospeed change 1994-10-06 21:07:55 +00:00
dg
2add6128e2 Use tsleep() rather than sleep so that 'ps' is more informative about
the wait.
1994-10-06 21:07:04 +00:00
ache
dbd2b6665c Back out ospeed change (why all bugs discovered immediately _after_ commits
and no one before?)
1994-10-06 21:05:23 +00:00
ache
209ca98331 Oops, back out ospeed fix, I forget that flushing can occurse _after_
usleep, too quick commit :-(
1994-10-06 21:02:21 +00:00
pst
f26366acd4 Make multicasts go out default interface 1994-10-06 20:52:00 +00:00
ache
ee2f55bcfa Enable PC back, because it is ouside visible 1994-10-06 20:44:51 +00:00
wollman
c795f6d315 Since Rod insists on having this idiotic error message, at least call
warnx() correctly so we don't get the double newline.
1994-10-06 20:43:35 +00:00
ache
d5d42820e0 PC/ospeed code ifdefed out, our libtermcap use usleep now 1994-10-06 20:41:56 +00:00
ache
8ef9b59f42 ospeed/PC code ifdefed out, our libtermcap use usleep now 1994-10-06 20:36:34 +00:00
ache
35628d8e32 Change padding mechanism to use usleep, old variant not works
on terminals with no pad char (cons25) and quote from tputs.c says so too:
! 	 * Too bad there are no user program accessible programmed delays.
! 	 * Transmitting pad characters slows many
! 	 * terminals down and also loads the system.
1994-10-06 20:32:08 +00:00
phk
52abae4377 Steven Wallace provided a program which broke this stuff. I guess there are
more weird kinds of a.out than anyone can argue for.  This code failed to
load the first 28K of the text-segment, in the case where the first page
of the a.out contains only the a.out-header, and the text is still at 0x0.
Thanks Steven !
1994-10-06 18:22:24 +00:00
rgrimes
04c54e6dff 1. BOOTSEG and BOOTSTACK are now set from the Makefile, the boot code has
been relocated to run in the 64k segment at 0x10000 with the stack at
    the top of this segment.  This corrects the problems machines with 512K
    base memory had booting.

2.  startprog routing rewritten to convert the BOOTSEG ss to a KERNELSEG
    ss, this eliminated the last of the >512K memory references.  Additional
    cleanup in here included a better way to copy the arguments to the
    kernel stack.

3.  Elimination of argv and esym cruft saved a few bytes.

4.  Only need to truncate the head.a_entry to a meg boundary once intead
    of every time we used it!  [Saving more bytes].

5.  Addition of version 1 bootinfo structure support.  These boot blocks
    pass the kernel name in to the kernel now.

6.  Removed historical comments about MACH argv stuff, as it is useless now.
1994-10-06 09:41:05 +00:00
rgrimes
f60f323155 1. bootinfo.h defines the structure passed in to the kernel by the
new boot code.
1994-10-06 09:25:25 +00:00
rgrimes
5ff3d9fc6c 1. Eliminate unused esym global from locore, our boot code never supported
that and when it does it will be done differently.

2.  The kernel now does a frame setup on entry so it ``looks'' like a
    real function call.  This will be needed by future boot code and
    debuggers.

3.  Clean up stack offsets to all be in decimal and use %ebp when copying
    parameters in from the boot code.

4.  Implement version 1 of the uniform boot code passing mechanism with
    support for kernelname passing and nfs_diskless structure passing.

5.  Document the 3 different ways the kernel is called depending on what code
    is calling it.
1994-10-06 09:22:47 +00:00