alex [Sun, 23 Jun 1996 20:47:51 +0000 (20:47 +0000)]
Fix address mask calculation when using ':' syntax. Allow a mask
of /0 to have the desired effect. Normalize IP addresses that
won't match a given mask (i.e. 1.2.3.4/24 becomes 1.2.3.0/24).
Submitted by R. Bezuidenhout <rbezuide@mikom.csir.co.za>
gibbs [Sun, 23 Jun 1996 20:02:37 +0000 (20:02 +0000)]
Fix problem with scb flag handing that crept in with the SCB paging support.
This only affected userland initiated device resets (using the reset command
from cdplay for instance).
bde [Sun, 23 Jun 1996 17:05:10 +0000 (17:05 +0000)]
Run the headers through cpp -dM to find the #defines. The direct search
has been broken at least since 4.4Lite moved most of the #defines out of
<sys/ioctl.h>. This should be done better. Only a few headers are
searched.
Added some #includes so that ioctl.c compiles. The networking headers
have a maze of undocumented interdependencies and ioctl.c now actually
supports networking ioctls.
bde [Sun, 23 Jun 1996 14:28:02 +0000 (14:28 +0000)]
Use IPFIREWALL_MODULE instead of ACTUALLY_LKM_NOT_KERNEL to indicate
LKM'ness. ACTUALLY_LKM_NOT_KERNEL is supposed to be so ugly that it
only gets used until <machine/conf.h> goes away. bsd.kmod.mk should
define a better-named general macro for this. Some places use
PSEUDO_LKM. This is another bad name.
jkh [Sat, 22 Jun 1996 21:42:14 +0000 (21:42 +0000)]
Clean up more bogons:
1. Add a copyright at the top.
2. Make passive and binary modes work with new ftpio semantics.
3. Add a `mirror' (-m) flag which only copies the remote file if it's
not the same size or is newer.
jkh [Sat, 22 Jun 1996 20:16:57 +0000 (20:16 +0000)]
Address Andrey's complaints:
1. Always use file modtime, and if that's not usable then default
to current time.
2. Allow HTTP_TIMEOUT to be set as an environment variable to override
default.
3. Handle SIGTERM.
jraynard [Sat, 22 Jun 1996 10:34:15 +0000 (10:34 +0000)]
Suggested by: Bruce Evans, Jeffrey Hsu, Gary Palmer
Added $Id$'s to files that were lacking them (gpalmer), made some
cosmetic changes to conform to style guidelines (bde) and checked
against NetBSD and Lite2 to remove unnecessary divergences (hsu, bde)
One last code cleanup:-
Removed spurious casts in fseek.c and stdio.c.
Added missing function argument in fwalk.c.
Added missing header include in flags.c and rget.c.
Put in casts where int's were being passed as size_t's.
Put in missing prototypes for static functions.
Changed second args of __sflags() inflags.c and writehook() in vasprintf.c
from char * to const char * to conform to prototypes.
This directory now compiles with no warnings with -Wall under
gcc-2.6.3 and with considerably less warnings than before with the
ultra-pedantic script I used for testing. (Most of the remaining ones
are due to const poisoning).
peter [Fri, 21 Jun 1996 21:45:58 +0000 (21:45 +0000)]
Set the rmx.rmx_expire to 0 when creating fake ethernet addresses for the
broadcast and multicast routes, otherwise they will be expired by
arptimeout after a few minutes, reverting to " (incomplete)". This makes
the work done by rev 1.27 stay around until the route itself is deleted.
This is mainly cosmetic for 'arp' and 'netstat -r'.
peter [Fri, 21 Jun 1996 21:35:01 +0000 (21:35 +0000)]
When writing the settings for stop bits and output hardware flow control,
things tend to work better if you write the settings to the correct
register.. (*blush*). This subtle bug has been haunting me for ages, and
will solve a few problems that have been reported to me.
Also, take a shot at fixing the serial BREAK processing, what was there
before never really worked. (There is a PR on this I think)
sos [Fri, 21 Jun 1996 09:24:09 +0000 (09:24 +0000)]
Moused is the daemon that provides the connection between the cut&paste
functionality in syscons and the real mouse hardware. If moused is
run one can switch on/off the mousepointer with vidcontrol -m on/off.
There is no manpage yet, but a fairly descriptive usage message....
Reviewed by:sos
Submitted by: Michael Smith
Obtained from:Some of the mouselogic comes from XFree86
sos [Fri, 21 Jun 1996 07:19:18 +0000 (07:19 +0000)]
Some news for syscons (long overdue):
Real support for a Textmode mousecursor, works by reprogramming the
charset. Together with this support for cut&paste in text mode.
To use it a userland daemon is needed (moused), which provides
the interface to the various mice protokols.
Bug fixes here and there, all known PR's closed by this update.
dyson [Fri, 21 Jun 1996 05:39:22 +0000 (05:39 +0000)]
Improve algorithm for page hash queue. It was previously about
as bad as it could be. This algorithm appears to improve fork
performance (barely) measurably.
alex [Fri, 21 Jun 1996 02:39:19 +0000 (02:39 +0000)]
Code clean up. Prototypes, parentheses around assignments used in
if statements, #if 0 some unused code, use off_t in calls to read/
write_disk, fix a printf format, remove unused variables, and
#include necessary files.
jkh [Thu, 20 Jun 1996 18:47:04 +0000 (18:47 +0000)]
Add pre-world and post-world hooks so that people can do site specific
cleanup or preinitializion of /usr/src before and after the world target
is run.
jkh [Thu, 20 Jun 1996 18:33:55 +0000 (18:33 +0000)]
Make pkg_install understand and use libftpio instead of its own
copies of the ftp support routines. Also some cosmetic and minor
bug fixes I've been meaning to incorporate for awhile.
jkh [Thu, 20 Jun 1996 17:17:03 +0000 (17:17 +0000)]
Update net.inet.ip.forwarding example to give right value.
Indicate that gateway in /etc/sysconfig is *really* the correct way
if you have an /etc/sysconfig file. Other small tweaks.
Requested by: Guy Helmer <ghelmer@alpha.dsu.edu>
nate [Thu, 20 Jun 1996 15:41:23 +0000 (15:41 +0000)]
Put the 'debug' messages of the type:
/kernel: in_rtqtimo: adjusted rtq_reallyold to 1066
/kernel: in_rtqtimo: adjusted rtq_reallyold to 710
inside of #ifdef DIAGNOSTIC to avoid the support questions from folks
asking what this means.
jmacd [Thu, 20 Jun 1996 14:13:15 +0000 (14:13 +0000)]
I hate to read a man page that almost has useful information
but falls a little short. I added a comment on the null
termination of struct group's gr_mem field.
nate [Wed, 19 Jun 1996 21:19:56 +0000 (21:19 +0000)]
Don't try to do a 'make bootstrap all install' in one commend. Break it
into two make commands so that make will recognize that it doesn't need
to buid scan.c w/lex.
nate [Wed, 19 Jun 1996 20:48:06 +0000 (20:48 +0000)]
Finish the import and merge in FreeBSD specific changes.
Add a 'bootstrap' target which *must* be run before building the new
version, since the new scanner relies on the current version of flex to
build itself otherwise.
asami [Wed, 19 Jun 1996 09:33:31 +0000 (09:33 +0000)]
The changes to go with ncftp -> fetch. Besides changing the names,
standardize the variables a little, and simplify some parts because
we can now trust the fetcher's return value.
julian [Wed, 19 Jun 1996 01:50:10 +0000 (01:50 +0000)]
Submitted by: archie@whistle.com
gary went a little overboard on commenting out unused variables.
Variables needed for ISO, LLC and NETATALK
were only enabled for ISO & LLC.. so NETATALK bombed.