Commit Graph

3223 Commits

Author SHA1 Message Date
David Greenman f8f472c265 #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
Andrey A. Chernov 24c989ac53 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
Andrey A. Chernov 36ee031254 LIBMYTINFO and LIBNCURSES defines added 1994-10-07 03:10:05 +00:00
Paul Traina cccddd3572 (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
Andrey A. Chernov 626cdf0fd1 libmytinfo added.
PS: don't forget 'make beforeinstall' if you want to play with it
1994-10-06 23:41:24 +00:00
Andrey A. Chernov abc4e99233 Moved from ports + several enhacmenets 1994-10-06 23:38:41 +00:00
Andrey A. Chernov f3dd526d3f Sync with termcap.src 1994-10-06 21:40:42 +00:00
Andrey A. Chernov e0ef369852 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
Andrey A. Chernov 433c849296 Back out ospeed change 1994-10-06 21:07:55 +00:00
David Greenman 824789192c Use tsleep() rather than sleep so that 'ps' is more informative about
the wait.
1994-10-06 21:07:04 +00:00
Andrey A. Chernov f5729156af Back out ospeed change (why all bugs discovered immediately _after_ commits
and no one before?)
1994-10-06 21:05:23 +00:00
Andrey A. Chernov 81ea763d01 Oops, back out ospeed fix, I forget that flushing can occurse _after_
usleep, too quick commit :-(
1994-10-06 21:02:21 +00:00
Paul Traina 40eb7bc241 Make multicasts go out default interface 1994-10-06 20:52:00 +00:00
Andrey A. Chernov 3a163b361a Enable PC back, because it is ouside visible 1994-10-06 20:44:51 +00:00
Garrett Wollman acd83bcce9 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
Andrey A. Chernov 0c51086916 PC/ospeed code ifdefed out, our libtermcap use usleep now 1994-10-06 20:41:56 +00:00
Andrey A. Chernov 4ba0245103 ospeed/PC code ifdefed out, our libtermcap use usleep now 1994-10-06 20:36:34 +00:00
Andrey A. Chernov 82360d78e6 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
Poul-Henning Kamp c3a82ca0a6 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
Rodney W. Grimes 9949ebf656 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
Rodney W. Grimes 76b993fbbe 1. bootinfo.h defines the structure passed in to the kernel by the
new boot code.
1994-10-06 09:25:25 +00:00
Rodney W. Grimes 0b62704dc3 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
Garrett Wollman 36a87f80de Zap 4.0 libkdb as well. 1994-10-06 00:48:55 +00:00
Garrett Wollman 04467f3807 A few fixes:
- register, registerd, and make_keypair don't compile (and are bogus anyway)
- don't forget to put back the obj directory when doing `kprog'
- while we're at it make the `kprog' commands overrideable from the command
  line
- add a bootstrap target which does the following:
	install includes
	cleandir and obj
	zap old version 4.0 shared libraries (these will screw the build)
	depend all install
	rebuild stuff in the main source tree which depends on kerberos
1994-10-06 00:32:42 +00:00
Jordan K. Hubbard 363abea01c Following changes from Robert Withrow (+ a few mods):
1. Make DEPENDS fully qualified, and not implictly assume relative
   to ${PORTSDIR}.  This allows more arbitrary dependencies to be
   specified.  This also means that DEPENDS= x11/foo needs to be changed
   to DEPENDS= ${PORTSDIR}/x11/foo in any Makefiles.  I'll try to do
   these changes myself.

2. Add an option NO_DEPENDS to disable the automagic building of depended
   ports.
Submitted by:	rww
1994-10-05 22:28:45 +00:00
Garrett Wollman 222f271829 Define a new macro. PSEUDO_SET, to hide TEXT_SET(pseudo_set, foo)
from users.  Eventually this will be used for LKM support.
1994-10-05 21:23:38 +00:00
Garrett Wollman 5f62e00893 Install line discipline the new way. 1994-10-05 21:22:45 +00:00
Garrett Wollman 5d1b52e53e Allow for loadable line disciplines (eventually). 1994-10-05 21:22:24 +00:00
Garrett Wollman 2624cf89f9 A number of bug-fixes inspired by Mark Treacy:
- Allow PPP to run multicasts natively.
- Deal properly with lots of similarly-named interfaces.
- Don't sign-extend if_flags.

NB: the last fix (to rtsock.c) must be reversed when we expand if_flags to a
reasonable size.

Submitted by:	Mark Treacy
1994-10-05 20:11:28 +00:00
David Greenman 29568da84a After a comment from Rod Grimes about buf.h, I went back and looked at this
and found that swapinfo doesn't need that include file and five others (!).
Sheesh.
1994-10-05 10:20:17 +00:00
David Greenman 5f7daa9621 Changes to buf.h now require that param.h be included. 1994-10-05 09:57:49 +00:00
David Greenman 8e58bf6875 Stuff object into v_vmdata rather than pager. Not important which at
the moment, but will be in the future. Other changes mostly cosmetic,
but are made for future VMIO considerations.

Submitted by:	John Dyson
1994-10-05 09:48:45 +00:00
David Greenman 5cedf6806b Fixed minor bug caused by some missing parens that can result in slightly
reduced paging performance by missing a clustering opportunity. Found
by Poul-Henning Kamp with gcc -Wall.
1994-10-05 09:02:53 +00:00
Poul-Henning Kamp 3d9d72fc59 Realigned the output of "vmstat -m", "MSDOSFS mount" was too wide for the
field.  Saved some space and gained a little clarity by printing "128K"
instead of 131072 (and so on).
1994-10-05 04:52:47 +00:00
Poul-Henning Kamp 009bc0f68d David Greenman told me to do this: (Thanks!) use vm_allocate to allocate
the uncompression buffer.  Now malloc(M_GZIP) is used for all the Huffman-
tree stuff only.  Numbers so far indicate < 15Kb Malloc use + 32 Kb for
the abovementioned buffer while uncompressing.
1994-10-05 00:58:33 +00:00
Garrett Wollman 66f9b7d2d7 Correctly interpret the code field of IGMP membership queries. 1994-10-04 22:47:11 +00:00
Garrett Wollman 7ce1918123 Print out SNAP frames reasonably, including Apple's bogus Ethertalk
pseudo-SNAP encapsulation.  Still needs some work, by someone who
has a listing of 802.2 LSAPs.
1994-10-04 22:31:44 +00:00
Andrey A. Chernov 025dc82971 Modify adjkerntz to not write RTC clock per initial call,
suggested by Bruce
1994-10-04 19:15:13 +00:00
Andrey A. Chernov 03e4d516a4 Add code to handle CPU_DISRTCSET 1994-10-04 18:44:21 +00:00
Andrey A. Chernov fd34b8e78c Add disable_rtc_set variable to block resettodr() call, needed for
adjkerntz -i, per Bruce suggestion
1994-10-04 18:39:10 +00:00
Andrey A. Chernov f80d8a2e88 CPU_DISRTCSET added to disable resettodr(), needed in adjkerntz -i,
per Bruce suggestion
1994-10-04 18:25:51 +00:00
Jordan K. Hubbard 46f5c7be76 Add the ability to verify that a package won't extract in the space
available.  Thanks to Michael Elbel for pushing me in the right direction.
1994-10-04 16:07:50 +00:00
Jordan K. Hubbard 92fdc4d3b4 My last commit to bsd.port.mk made me think - `pkg_create -p ...' should
override the PLIST file's own first @cwd.  Make this so.
1994-10-04 15:54:39 +00:00
Jordan K. Hubbard 997882fda7 Add an install prefix for packages, so that they're built by default
to track ${PREFIX} (this will override the PLIST prefix).
1994-10-04 15:50:43 +00:00
Jordan K. Hubbard 0903bf364c Also make GNU_CONFIGURE a synonym for HAS_CONFIGURE so you don't have
to specify both (looks silly).
1994-10-04 15:48:21 +00:00
Jordan K. Hubbard e492ce08e3 If GNU_CONFIGURE is set, pass `--prefix=${PREFIX}'; this should help
at least the GNU ports play nice with PREFIX.
1994-10-04 15:44:03 +00:00
Jordan K. Hubbard 3ca98f18d2 Whoops! Forgot to pass PREFIX to the configure subshells. Done. 1994-10-04 14:46:34 +00:00
Jordan K. Hubbard ed40335903 Add PREFIX pointing to ${DESTDIR}/usr/local - let's see if we can't
make an entire system work nicely with DESTDIR (to say nothing of being
able to move from /usr/local to somewhere else).
1994-10-04 14:44:56 +00:00
Andrey A. Chernov 70c0b54c8a USE_RTC_CENTURY added 1994-10-04 14:11:02 +00:00
Andrey A. Chernov ac17aebe43 -lcompat removed from libs 1994-10-04 14:06:13 +00:00