Commit Graph

7291 Commits

Author SHA1 Message Date
bde
2ebb4e5ed8 Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
(except in netccitt, netiso and netns) that I didn't notice when I fixed
"all" such warnings before.
1995-03-28 07:58:53 +00:00
phk
e9a057a64b Readdir on a CDrom would return bogus "d_type" values, potentially confusing
everybody (incl find(1) ?).  Initialize it to DT_UNKNOWN.  Maybe we can
do better, but I don't have the time.
1995-03-28 07:46:38 +00:00
ache
d8cef8a96d Raw ttyinput test was incomplete,
add !(IGNBRK | BRKINT | PARMRK) now.
1995-03-28 06:15:44 +00:00
dg
b97c03bd7a Fixed typo...using wrong variable in page_shortage calculation. 1995-03-28 05:58:35 +00:00
ache
3d71df0f57 Update cons25 to S0ren ^H back changes 1995-03-28 05:43:58 +00:00
ache
a874f73605 Fix break recording for ttyinput 1995-03-28 05:39:53 +00:00
dg
cf6a7d1fef Fixed "pages freed by daemon" statistic (again). 1995-03-28 05:35:29 +00:00
asami
37d6db19fc Add support for "distributed" patches and a little extra cleanup.
New variables:

PATCH_SITES:	patch equivalent of MASTER_SITES, overridable with
.		MASTER_SITE_OVERRIDE.
PATCHFILES:	Additional files to fetch and give to patch before
.		applying the ones in patches/patch-*.  If name ends
.		with ".gz" or ".Z", it will be piped through zcat first.

Plus PATCH_DIST_STRIP and PATCH_DIST_ARGS that serve the same functions
as PATCH_STRIP and PATCH_ARGS for patches in patches/patch-*.

In the documentation and echo messages, I used the term "distributed
patches" and "FreeBSD patches" to refer to ${PATCHFILES} and patches/patch-*.
If you can come up with better names, by all means go ahead and fix them.

"grep PATCH /usr/ports/*/*/Makefile" reveals seven ports (mule, jless,
jtcl, jtk, dgd, less, color_xterm, gee I wonder why I'm the one who
implemented this) that can benefit from this.  I'm now diving headlong
into /usr/ports to fix their Makefiles.
1995-03-28 01:14:29 +00:00
wpaul
c292838b8e Use yp_order() instead of yp_first() in _havemaster() to check for the
presence of the master.passwd.byname map, and remember to free the
returned order value before exiting.
1995-03-27 20:46:40 +00:00
nate
8c7df50d72 Bump the shared library minor # because of the additions of the
strhash() functions.
1995-03-27 20:23:11 +00:00
sos
7f4c1b9ac4 Give backspace to the people (again)
Now the keymaps are as follows:

"backspace / <-"	^H
"grey del"		^? (0x7f)
"numpad , del"		^? (, if numlocked)
1995-03-27 19:41:11 +00:00
ache
ae10188653 Add hooks for upcoming riscom/8 driver 1995-03-27 19:39:58 +00:00
asami
ba2099cc4d Added more standard package suport file names. INSTALL for the
installation script, DEINSTALL for the deinstallation script, and
REQ for the requirement script, will be added with appropriate
flags to PKG_ARGS if they exist under pkg/.
1995-03-27 13:11:18 +00:00
dg
c92c9bd457 Re-apply my "breakage" to the Nagel congestion avoidence. This version
differs slightly in the logic from the previous version; packets are now
acked immediately if the sender set PUSH.
1995-03-27 07:12:24 +00:00
ache
b3627d5883 Remove duplicates: parm rindex & scroll right 1995-03-27 05:13:31 +00:00
ache
dd31a77a38 Fix duplicate. 1995-03-27 05:08:43 +00:00
ache
e584d36fb2 pc3r (russian): change kD to old compatible value.
vt100: remove obsoleted nl
1995-03-27 04:55:41 +00:00
ache
e8ebc71817 Set kb=\177 to make proper erase char for DEC VTs 1995-03-27 03:46:05 +00:00
ache
31ee7a94c9 Fix erase determination code: don't look at
system defaults which is always the same
1995-03-27 03:42:21 +00:00
dg
bf3e205f9e Explicitly set page dirty if this is a write fault - reduces calls to
pmap_is_modified() later.
1995-03-27 02:41:00 +00:00
jmz
823753ae94 'directories...' is an argument, not an option 1995-03-27 01:52:59 +00:00
rgrimes
bb3cded9e1 Remove the private copy of directories in usr/include from here,
this is now handled in BSD.include.dist.
1995-03-27 01:36:19 +00:00
ache
4612ca9929 Add :ut to vt100 generic entry 1995-03-27 01:36:00 +00:00
rgrimes
285c17870e We must do include and lib first so that the perl *.ph generation
works correctly as it uses the header files installed by this.
1995-03-27 01:31:09 +00:00
ache
bb9737716c Fix bug using CSR for partial scrolling 1995-03-27 01:19:14 +00:00
ache
9885b65395 Yet one pass through DEC VT entries 1995-03-27 00:55:51 +00:00
dg
57faa15c84 Removed some redundant 'vmio' checks. 1995-03-27 00:11:45 +00:00
dg
e2e834e355 Removed declaration of pmap_changebit()...it is no longer exported.
Submitted by:	John Dyson
1995-03-26 23:42:55 +00:00
dg
06b3489a8f Changed pmap_changebit() into a static function as it always should
have been.

Submitted by:	John Dyson
1995-03-26 23:42:07 +00:00
wpaul
f7f0704be7 Fixed stupid bug in mountd: it would seem that the kernel doesn't allow
you to push the same host into its NFS export lists twice, but mountd
tries to do it anyway. This means that putting:

/some_file_system -ro host1 host1

in your /etc/exports file causes an error. This is bogus: mountd should be
smart enough to ignore the second instance of host1. This can be a problem
in some configurations that use netgroups. For example, each host in my
netgroups database is has two entries:

startide (startide,-,) (startide.ctr.columbia.edu,-,)

When mountd sees this, it tries to put startide.ctr.columbia.edu into the
export list *twice*. Just listing 'startide' /etc/exports list will also
screw up because mountd will try to resolve the netgroup 'startide' instead
of the hostname 'startide.'

My solution is watch for duplicate entries in get_host() and mark them
as grouptype GT_IGNORE, which do_mount() will now cheefully throw away.
This is a bit of a kludge, but it was the least obtrusive fix I could
come up with.

Also silenced a compiler warning: arguments passwd to xdr_long() should
be u_long, not int. :)
1995-03-26 23:36:38 +00:00
dg
8b708f3eac Removed some obsolete flags.
Submitted by:   John Dyson
1995-03-26 23:33:14 +00:00
dg
8b2672e499 Removed third arg (vmio) to allocbuf() that was added with the original
merged cache changes, and figure it out based on the B_VMIO buffer flag.
Fixes a problem where delayed write VMIO buffers would sometimes get
recopied into kernel-alloced memory.

Submitted by:	John Dyson
1995-03-26 23:29:13 +00:00
ache
5c7b628b09 Use more AI to predict initial/final isdst,
latest isdst  preffered.
1995-03-26 22:51:51 +00:00
joerg
c399ccbb20 Made this script a bit more fool-proof, so people like me can better
use it. :-)

It now explicitly requires the specification of a directory to import
from, either as an argument to the script, or by asking the user about
it.  (Previously, it implicitly used `.', like cvs import does.)

Also implemented an option `-n', which does essentially the same like
the overall CVS option `-n': show only what would have been done,
don't do any commitment.  Note that since the modules' database is
checked out in place (and not commited back), it will erroneously be
reported as to be imported, too:

cvs import: Importing /home/ncvs/ports/foobar/foo/modules
I ports/foobar/foo/modules/CVS
N ports/foobar/foo/modules/modules

This is an unwanted side-effect, but gives the user the option to see
if the `ed' magic did the right thing when editing modules/modules.

Rod, can you please check the function ``checktag'' in the script if it
will be restritctive enough?
1995-03-26 21:56:32 +00:00
phk
93d15ad15d Fixed a bug so that a delta#0 can be applied.
Fixed a typo in the generation of temp filenames.
"Blame" Joerg for the man-pages (and clarify a couple of minor points).
Most appreceiated Joerg!
1995-03-26 20:09:52 +00:00
ache
a6120b6483 Hash 8bit chars without sign extension 1995-03-26 19:32:24 +00:00
rgrimes
483dce10ff Terminate all probe/diagnostic/error messages correctly with a \n.
Report floppy/tape units on seperate lines as fdX:/ftX: to correct lots of
ways the current scheme failed to end the output with \n.

Add controller and/or drive designator to the fron of several messages
that come from this drive.  [It's not fun to track down driver messages
using grep over the source tree.]
Reviewed by:	joerg
1995-03-26 19:28:22 +00:00
ache
ff3d140d60 Update info about LC_COLLATE implementation 1995-03-26 18:57:19 +00:00
phk
d87e24fbd4 If possible, pick up the caesar program inside in the compilation tree. 1995-03-26 18:53:45 +00:00
wpaul
b8c800fa1a Make syslogd work again: in needs to be started in netstart right
before the rest of the system daemons are brought up and *after* the
network interfaces have been configured.

Also fix one other potential problem: the NIS services need to be started
relavively early since some of the other daemons might need them. The
automounter is a good example: if you use amd with NIS-based maps, you'd
better have NIS running before you start it. :) I think mountd might
need it too, now that netgroups can be read via NIS as well.
1995-03-26 18:18:58 +00:00
jkh
e7ea3a87cd change hash.h to strhash.h to match new convention.
Manpage for strhash functions to follow tomorrow.
1995-03-26 10:25:00 +00:00
jkh
b3e105312a Add the strhash family of routines. They provide a number of features
that the db/hash functions don't, and they're much simpler to use for
low-overhead string hashing.
1995-03-26 10:21:55 +00:00
jkh
634645c7af add strhash.h for libc's new string hashing function. 1995-03-26 10:12:53 +00:00
paul
42c621f31d Use a hash table to hold all the bindings info rather than a linked list.
Forms now have their own local bindings table so that anything
declared within a form is local to that form. This means you can
have fields of the same name in different forms.

Added inlined attribute setting for strings e.g. "This is \bold bold"

Added entry and exit functions for fields.
1995-03-26 07:44:33 +00:00
wpaul
f912b9a47b Stop callbootd from dumping core when attempting to directly query a
bootparam server on a host that isn't running bootparamd: if clnt_create()
comes back with a NULL pointer, bail out with an error.
1995-03-26 03:15:39 +00:00
ache
4ec12d8b2f Comment out all perverted curses optimization 1995-03-26 03:01:04 +00:00
ache
8a9f1f9a43 Change wrong -ltermcap -ltermlib picked up to -lmytinfo 1995-03-26 02:41:45 +00:00
wpaul
514fddd044 Make sure we free() the result returned to us by yp_match(). 1995-03-26 02:37:00 +00:00
ache
d8bcddf188 Add eo:it#8 to vt100 entry 1995-03-26 01:30:33 +00:00
ache
a979b4fe5e vt100/102/220 entries affected:
major cleanup
add lot of missing capabilities
1995-03-26 01:02:54 +00:00