Commit Graph

6273 Commits

Author SHA1 Message Date
jkh
370b7f80d8 Add pcvt termcap entries (quite a lot of them - whew!)
Submitted by:	hm
1995-02-05 11:17:03 +00:00
jkh
a92f1eed6b Add man page for pcvt console driver.
Submitted by:	hm
1995-02-05 11:16:33 +00:00
jkh
daf0873176 Add pcvt's header files.
Submitted by:	hm
1995-02-05 11:02:45 +00:00
jkh
1866abfbb3 Bring pcvt console driver into the tree - now users can chose whichever
console driver they like best (2 is ok, it was 4 that was a little insane
for awhile there! :-).
Submitted by:	hm
1995-02-05 11:01:24 +00:00
jkh
a67a5267a3 Bring PCVT's config files into the tree.
Submitted by:	mh
1995-02-05 10:56:47 +00:00
phk
d19bc1f311 Change the defaults for newfs to disregard the geometry in the disklabel.
We pretend we have one head with two megabyte worth of sectors per cylinder.

The code try to access another head in what it belives to the same
physical cylinder, because it belives that it would be faster than
waiting for the next free sector under this head to come around.

Most modern drives doesn't have a "classical" geometry, and thus
we end up fooling ourselves doing the above optimization.  With this
change we will fill a cylinder sequentially if we can, and thus get
much more mileage from the track-buffer/cache built into the drives.

As a result a lot of seeks to the next or previous track should be
avoided by this.

(My disk is a lot less noisy actually...)

You can still get the old behaviour, by specifying zero for the
numbers.

This will also solve the problem with newfs barfing at really big
drives.

Obtained from:	adult advice from Kirk.
1995-02-05 08:42:31 +00:00
bde
79cff22e42 Update kmem_malloc() call to new waitflag(s) interface.
This might fix recent problems on thud and freefall.
1995-02-05 07:08:27 +00:00
wpaul
cce442e387 Collapsed _masterpw_breakout_yp() and _pw_breakout_yp() into a
single function.
1995-02-05 02:12:49 +00:00
phk
e1a3fd8af0 Use absolute path to md5 program. It lives in /sbin and people are unlikely
to have $PATH to it.
1995-02-04 22:56:28 +00:00
wpaul
0a48a09f6a Created manual page for ypserv and changed Makefile to install it.
Also tweaked server.c to support newer versions of tcpwrapper (log_tcp.h
is now tcpd.h and FROM_UNKNOWN changed to STRING_UNKNOWN).
1995-02-04 21:32:04 +00:00
phk
37cdeedfbd added *.info and *.db to the default "ignore" list in cvs to avoid obviously
common mistakes.
1995-02-04 20:27:23 +00:00
phk
134de6bc3b Added final '\n' 1995-02-04 20:02:01 +00:00
phk
4eff2f1e0e Added final '\n'. 1995-02-04 19:59:58 +00:00
phk
5cc2be0cec Add missing trailing '\n' 1995-02-04 19:56:39 +00:00
phk
7d12880810 Support 32bit access to IDE disks, if it seems to work for the drive.
You will normally have to have a VLB or other 32bit IDE "controller" for
this to work.

Depending on your setup, this may gain you 20-100 % speed from your disk.

Reviewed by:	phk
Submitted by:	vak@cronyx.ru
1995-02-04 19:39:36 +00:00
phk
a5966d32c5 A cute hack to speed up things by Keith: if getenv("PWD") is the same
inode as ".", then just return that.  I added a check so it must start with
a '/'.

Reviewed by:	phk
Submitted by:	bostic@cs.berkeley.edu (Keith Bostic)
1995-02-04 19:29:22 +00:00
phk
268acfd565 A couple of sensible changes from down under...
Reviewed by:	phk
Submitted by:	Stephen McKay <syssgm@devetir.qld.gov.au>
1995-02-04 19:20:49 +00:00
phk
08cfb22f58 fixed spelling error. 1995-02-04 19:11:14 +00:00
se
451827d6ca Disable I/O port accesses in case the BIOS enabled them.
Clear all output lines except ATN and ACK when waiting
for target phase change.

Submitted by:	wolf (Wolfgang Stanglmeier)
1995-02-04 14:02:44 +00:00
se
86372d0f30 Moved "#include <pci/pcivar.h>" from "usr.sbin/lsdev/i386.c"
to "/sys/i386/include/devconf.h", where it really belongs.
1995-02-04 12:47:19 +00:00
amurai
a967447a41 Adding ppp configuration files entry for distribution packages. 1995-02-04 11:16:47 +00:00
dima
24c4746bf7 comment localhost by default. 1995-02-04 08:32:15 +00:00
asami
ff286bb1b7 Add long-awaited (:) support for sophisticated dependency checking. We now
have three variables:

EXEC_DEPENDS	- A list of "prog:dir" pairs of other ports this
		  package depends on.  "prog" is the name of an
		  executable.  make will search your $PATH for it and go
		  into "dir" to do a "make all install" if it's not found.
LIB_DEPENDS	- A list of "lib:dir" pairs of other ports this package
		  depends on.  "lib" is the name of a shared library.
		  make will use "ldconfig -r" to search for the
		  library.  Note that lib can be any regular expression,
		  and you need two backslashes in front of dots (.) to
		  supress its special meaning (e.g., use
		  "foo\\.2\\.:${PORTSDIR}/utils/foo" to match "libfoo.2.*").
DEPENDS		- A list of other ports this package depends on being
		  made first.  Use this for things that don't fall into
		  the above two categories.

DEPENDS behaves exactly like before, so old Makefiles will still work
the same.  The two variables are lists of pairs as described above.

For instance, if your program depends on unzip and libjpeg.5.*, use
the following definitions:

EXEC_DEPENDS=	unzip:${PORTSDIR}/archivers/unzip
LIB_DEPENDS=	jpeg\\.5\\.:${PORTSDIR}/graphics/jpeg

gmake:${PORTSDIR}/utils/gmake is automatically added to EXEC_DEPENDS
if USE_GMAKE is defined.

If NO_DEPENDS is defined, the list will just be printed out one by one.
1995-02-04 05:49:26 +00:00
wpaul
b9ad0d7c76 Created yp_mkdb(8) manual page, modified Makefile to install it. 1995-02-04 04:26:20 +00:00
wpaul
0f70410a43 Changed some comments. 1995-02-04 00:13:21 +00:00
wpaul
e53b61240c Added options for starting NIS client and server processes. All are
off by default.
1995-02-03 23:54:07 +00:00
bde
c22d424725 Include <time.h> instead of <sys/time.h> to get CLK_TCK. Including
<sys/time.h> works because <sys/time.h> includes <time.h> if KERNEL
is not defined, but is ugly.
1995-02-03 22:28:34 +00:00
bde
0963dc9272 Include <limits.h> to get the definition of INT_MAX - don't depend on
namespace pollution in <time.h>.
1995-02-03 22:21:09 +00:00
bde
270188a75f Change CLK_TCK to CLOCKS_PER_SEC.
Add a missing apostrophe that suggests inverting the frequency to get
tick size.  It read better before because `CLK_TCK' suggests a tick
size although it is actually a frequency.
1995-02-03 22:09:56 +00:00
wpaul
4dcb86cd7b Fixed potential Makefile glitch that could arise if /var/yp doesn't exist yet. 1995-02-03 22:01:17 +00:00
bde
380a681f10 Change CLK_TCK to CLOCKS_PER_SEC. (CLK_TCK is a deprecated POSIX feature
and is not necessarily related to the ANSI CLOCKS_PER_SEC).

Parenthesize macro args.
1995-02-03 21:59:45 +00:00
bde
6223046eb0 Fix previous change to preserve const'ness. 1995-02-03 21:54:03 +00:00
bde
a2ed822307 Don't define CLK_TCK here.
Uniformize idempotency ifdef.
1995-02-03 21:49:18 +00:00
bde
cb7f2a36f2 Define CLOCKS_PER_SEC.
Define CLK_TCK only if _ANSI_SOURCE is not defined.

Don't include <machine/limits.h> to get the definition of CLK_TCK.
CLK_TCK should never have been defined there, and the inclusion
polluted the namespace.
1995-02-03 21:47:48 +00:00
bde
8671221012 Don't depend on namespace pollution in <machine/limits.h> for the
definition of CLK_TCK.  Use _BSD_CLK_TCK_ instead of CLK_TCK so that
we don't have to include the user header <time.h>.
1995-02-03 21:31:35 +00:00
bde
f8a9601025 Define _BSD_CLK_TCK_ and _BSD_CLOCKS_PER_SEC_ to support correct
definitions of CLK_TCK and CLOCKS_PER_SEC.
1995-02-03 21:23:46 +00:00
sos
ade389ff89 Allow all characters except "real" control chars.
Fix NULL reference when serial console (thanks bruce).
1995-02-03 21:09:44 +00:00
bde
2c247eca80 Include <limits.h> to get LONG_MAX - don't depend on namespace pollution
in <time.h>.
1995-02-03 20:55:37 +00:00
bde
8f2026c976 Include ncr.c from where it is now. 1995-02-03 20:49:10 +00:00
se
03264c16c2 Add #include <pci/pcivar.h> for definition of PCI_EXTERNAL_LEN.
Reviewed by:
Submitted by:
Obtained from:
1995-02-03 20:26:50 +00:00
bde
012b5f177a Include <sys/types.h> explicitly to get declaration of u_long for
<netinet/in.h> - don't depend on namespace pollution in <stdio.h>.
1995-02-03 20:25:59 +00:00
gibbs
dcf75e8d7c Have version number track CSV version number. No other change. 1995-02-03 17:18:44 +00:00
gibbs
a14d7a39b7 Keep track of when we actually are awaiting a reply to an SDTR or WDTR
message instead of relying on the fact that we are scheduled to send them.
The old method worked 99.9% of the time, but someone reported some periferals
that did MSG_REJECT at odd times (sometimes before we could send an SDTR
or WDTR) that we would construe as the response to an SDTR or WDTR message.
This also removes a possible race condition where after a bus reset (the
result of a command time out not during intial probe time), we might queue
two commands both requesting SDTR, WDTR or both.
1995-02-03 17:15:12 +00:00
gibbs
316275a205 #include<kernel.h> to quiet a compiler warning having to do with the
DATA_SET (pcidevice_set, ahc_device) macro.  Maybe this will allow
the aic7870 to be probed again.  I don't have a PCI machine here
to test it.
1995-02-03 17:08:17 +00:00
ugen
b42d143312 Fix to h2ph "undefined function" bug
i reported today earlier..tested and works OK..
( To those who want to experience bug try running aub
with old version of socket.ph and with new one or just any
perl script  "requiring " <sys/socket.ph> or <sys/cdefs.ph> )
1995-02-03 15:16:03 +00:00
ache
3ff65de6da Fix hanging while playing very short notes. 1995-02-03 10:19:38 +00:00
dg
e1c633c268 Fixed bmap run-length brokeness.
Use bmap run-length extension when doing clustered paging.

Submitted by:	John Dyson
1995-02-03 06:46:28 +00:00
wpaul
d064fffe16 Added ${.CURDIR}s to afterinstall target. 1995-02-03 03:44:41 +00:00
wpaul
86ad2a72db Put ${.CURDIR}s in front of Makefile.yp and mknetid in the required places.
Also took out uneeded BINDIR & BINMODE stuff.
1995-02-03 03:41:38 +00:00
dg
5f48428305 Removed a pile of vfs_unbusy_pages()...both unnecessary and wrong - resulted
in serious system instability. Changed a B_INVAL to a B_NOCACHE so that
buffer data is properly disposed of.

Submitted by:	John Dyson, Rick Macklin, and ohki@gssm.otsuka.tsukuba.ac.jp
1995-02-03 03:40:08 +00:00