Rod Grimes [Sat, 14 Aug 1993 09:42:47 +0000 (09:42 +0000)]
Removed cpio since we are now using GNU cpio.
Andrew Moore [Sat, 14 Aug 1993 03:00:04 +0000 (03:00 +0000)]
echo aabb | sed 's/\(.*\)\1/(\1)/g'
failed incorrectly (Was testing against rm_so instead of rm_eo)
J.T. Conklin [Fri, 13 Aug 1993 23:47:59 +0000 (23:47 +0000)]
Ansi C is ANSI X3.159-1989, not C3.159...
Rod Grimes [Fri, 13 Aug 1993 23:07:31 +0000 (23:07 +0000)]
Wrong path for uucp login, was /usr/lib instead of /usr/libexec. Fixed
Rod Grimes [Fri, 13 Aug 1993 23:05:49 +0000 (23:05 +0000)]
Fixed entry for t9600, baud rate was 19200, should be and now is 9600.
Nate Willams [Fri, 13 Aug 1993 17:27:23 +0000 (17:27 +0000)]
From: chmr@edvz.tu-graz.ac.at (Christoph Robitschko)
I found a bug in my init program (a pointer was left initialized when the
structure it pointed to was removed).
Nate Willams [Fri, 13 Aug 1993 15:21:57 +0000 (15:21 +0000)]
I got an old version of my script somehow onto freefall, here is a working
version of updatedb.sh.
Rod Grimes [Fri, 13 Aug 1993 06:11:18 +0000 (06:11 +0000)]
Enable lastlog install commands.
Andrew Moore [Fri, 13 Aug 1993 02:16:33 +0000 (02:16 +0000)]
catch infinite substitution loop for cases:
echo hi | sed 's/$/a/g' (outputs "hia")
echo hi | sed 's/h*/a/g' (terminates with error: infinite substitution)
Nate Willams [Thu, 12 Aug 1993 22:15:55 +0000 (22:15 +0000)]
From: broman@schroeder.nosc.mil (Vincent Broman)
Subject: Ash fixes
Source in error.c needed a comma in an initializer list,
a function in mknodes.c returned no value,
and some arithmetic was attempted on a (void *)
Nate Willams [Thu, 12 Aug 1993 20:50:57 +0000 (20:50 +0000)]
From: Guy Helmer <ghelmer@mercury.dsu.edu>
I've noticed uniq(1) on 386BSD outputs " 1" when fed an empty input file
and the -c option is used; on every other system I've used, uniq -c is
silent when fed an empty input file.
Nate Willams [Thu, 12 Aug 1993 15:50:56 +0000 (15:50 +0000)]
Whoops, left some debugging code in.
Nate Willams [Thu, 12 Aug 1993 15:48:51 +0000 (15:48 +0000)]
Added a /bin/sh version of updatedb, so that it can be run out of crontab
with SHELL=/bin/sh (and shell scripts are better anyway, ask Tom Christiansen)
For now, I'm leaving the csh script as default, but it can be changed if
folks decide to.
Nate Willams [Thu, 12 Aug 1993 15:41:22 +0000 (15:41 +0000)]
Let's have a lastlog manpage as well. utmp.5 didn't get linked to lastlog
Rod Grimes [Thu, 12 Aug 1993 15:20:56 +0000 (15:20 +0000)]
Commented out installation of /var/log/lastlog:
The problem with having it enable is that lastlog grows big, none
of the current scripts deal with rotation of /var/log/lastlog,
so it shouldn't necessary be installed at first. This has traditionally
been something the sysadmin has had to touch after system installations.
Nate:
(Besides, you're forced to learn more about the system by reading the man
pages if it doesn't exist. :-)
Rod Grimes [Thu, 12 Aug 1993 14:51:09 +0000 (14:51 +0000)]
/etc/termcap is now created as a symlink to /usr/share/misc/termcap,
fixed creation of link for /etc/localtime.
Rod Grimes [Thu, 12 Aug 1993 09:21:20 +0000 (09:21 +0000)]
Fixed poor timeout code in out_fdc. The timeout counter was not being
reinitialized between while loops. Added comments about what was going
on in the out_fdc routine.
out_fdc now returns if the direction bit is not set in time instead of
trying to wait for MRQ to get cleared.
Rod Grimes [Thu, 12 Aug 1993 08:31:38 +0000 (08:31 +0000)]
Any of NSWAPPAGER, NVNODEPAGER, and NDEVPAGER being NULL could
cause problems. Added an if so that the init code is not called
if there is no such pager.
From??? verified by Chris D., and myself.
Rod Grimes [Thu, 12 Aug 1993 07:18:34 +0000 (07:18 +0000)]
Added 3 targets (kc-ah-floppy, inst1-floppy, inst2-floppy) which build
3 of the 4 needed floppies for FreeBSD.
Still need to do kc-bt-floppy for the Bustek/Ultrastore controllers.
Fixed installation of boot blocks in distribution:, now use a variable
(${MDEC}) instead of a find so that my zzz files don't end up in
the distribution!
Rod Grimes [Thu, 12 Aug 1993 07:14:23 +0000 (07:14 +0000)]
Heavily modified from NetBSD sources to FreeBSD, many fixes and enhancements,
now users cpio instead of tar. All displayed references to NetBSD changed
to ${OPSYSTEM}, OPSYSTEM=FreeBSD.
Rick Macklem [Wed, 11 Aug 1993 13:51:37 +0000 (13:51 +0000)]
The com drivers probe routine returned a 1 instead of IO_COMSIZE, fixed.
Rick Macklem [Wed, 11 Aug 1993 13:23:23 +0000 (13:23 +0000)]
Due to broken pwd_mkdb always wanting to do it's work in /etc I have
had to add this file to src/etc, and do a special case install of it
to get things working right.
Rick Macklem [Wed, 11 Aug 1993 13:16:52 +0000 (13:16 +0000)]
Fixed printf from fifo so that it prints the unit number and a new line.
Rick Macklem [Wed, 11 Aug 1993 12:51:37 +0000 (12:51 +0000)]
Initial import of NetBSD install2 floppy .profile
Rod Grimes [Wed, 11 Aug 1993 12:30:59 +0000 (12:30 +0000)]
Initial import of NetBSD install2 floppy /install script
Rod Grimes [Wed, 11 Aug 1993 12:30:00 +0000 (12:30 +0000)]
Changed printing messages to refer to ${OPSYSTEM} instead of NetBSD. Comments
left intact.
Simplified variables for drivename, drivetype, and sect_fwd.
Added rotdelay to newfs commands (defaults to newfs default except
for scsi disks where it defaults to 0).
Made the disk geometry questions more like what PC users are use to
reading (cylinders/heads/sectors).
Added minswap requirement of 8MB, recomendation of 2 x physical memory.
Added messages about what the blocking factor does.
Added message for mount point to NOT include the leading /
How to change disklabel to /sbin/disklabel due to bug in our /bin/sh,
I thought this has been fixed, but it has not!
Changed to use cpio instead of tar, since tar seems so brain dead.
Removed kernfs reference from /etc/fstab creation since FreeBSD does not
have the kernfs. Made /etc/fstab tabbed so it looks pretty :-).
Added default of floppy drive 0 after we boot from hard disk.
Fixed path in inst1.profile, removed /usr/local/bin, /usr/contrib/bin and .
Andrew Moore [Wed, 11 Aug 1993 03:15:20 +0000 (03:15 +0000)]
added rules .f.po (and .f.o) from Jonas.
Rod Grimes [Wed, 11 Aug 1993 02:06:14 +0000 (02:06 +0000)]
Import of NetBSD inst1.fs floppy /.profile and /install scripts
Rod Grimes [Tue, 10 Aug 1993 14:22:34 +0000 (14:22 +0000)]
Added support to build i386-kc_floppy:, kernel copy floppy for FreeBSD.
Added support to build and install GENERICISA kernel in the binary
distribution.
Rod Grimes [Tue, 10 Aug 1993 14:16:33 +0000 (14:16 +0000)]
Corrected kernel name from newbsd to 386bsd, it now works.
Rod Grimes [Tue, 10 Aug 1993 14:07:25 +0000 (14:07 +0000)]
Added Contributors from the patch kit, please review and see if you can
correct any email addresses for me.
Rod Grimes [Tue, 10 Aug 1993 12:20:12 +0000 (12:20 +0000)]
Initial import of .profile from NetBSD Kernel Copy Floppy, to be used in
building FreeBSD Kernel Copy Floppy.
Rod Grimes [Tue, 10 Aug 1993 11:35:46 +0000 (11:35 +0000)]
Disabled the scan for SCCS checked out files since it was broken and
caused error messages to be mailed, and FreeBSD does NOT have SCCS,
we use CVS!
Rod Grimes [Tue, 10 Aug 1993 11:14:54 +0000 (11:14 +0000)]
Miss spelled backups in BSD.var.dist, should have been backups, was backup.
Rod Grimes [Tue, 10 Aug 1993 11:03:56 +0000 (11:03 +0000)]
Added ntp 123/udp # Network Time Protocol for xntp usage since this is a
well known service.
Rod Grimes [Tue, 10 Aug 1993 10:31:35 +0000 (10:31 +0000)]
The fdisk man page doesn't show correctly the usage possibilities of
fdisk. It was missing the disk argument.
From: Andreas Schulz <ats@g386bsd.first.gmd.de>
Rod Grimes [Tue, 10 Aug 1993 10:18:33 +0000 (10:18 +0000)]
Removed one more reverence to the old Adaptec 1542b as.c driver, one less
dependent for autoconf.c.
Andrew Moore [Mon, 9 Aug 1993 21:39:28 +0000 (21:39 +0000)]
removed REGEX directive
Andrew Moore [Mon, 9 Aug 1993 21:34:11 +0000 (21:34 +0000)]
added (unsiged) cast to avoid int overflow
removed REGEX directive
Rod Grimes [Mon, 9 Aug 1993 19:02:21 +0000 (19:02 +0000)]
Finish removal of reminents of as.c Adaptec scsi driver.
Rod Grimes [Mon, 9 Aug 1993 18:39:50 +0000 (18:39 +0000)]
Moved make copies of src/includes to be after the top level make install
so that the binary distribution ends up with full blown include files.
Rod Grimes [Mon, 9 Aug 1993 18:20:26 +0000 (18:20 +0000)]
Moved _eintr{names,cnt} so that vmstat -i does not report all the debugging
stuff of the fast interrupt code.
Rod Grimes [Mon, 9 Aug 1993 17:29:20 +0000 (17:29 +0000)]
Fixed install of ${FREEBSD}, forgot to do a install -c so it removed the
files from src on the install of them!
Rod Grimes [Mon, 9 Aug 1993 17:02:17 +0000 (17:02 +0000)]
Added installation of CONTRIB.386BSD CONTRIB.FreeBSD and COPYRIGHT to /
when building a distribution for the i386 case. This keeps us from violating
Berkeley's and Bill Jolitz's copyrights.
Rod Grimes [Mon, 9 Aug 1993 16:31:32 +0000 (16:31 +0000)]
From swildner@channelz.gun.de Sat Aug 7 16:00:48 1993
Here are 7 patches for some manpages.
Rod Grimes [Mon, 9 Aug 1993 15:18:02 +0000 (15:18 +0000)]
Due to the bug with the console drivers and kill syslogd I have disabled that
in the daily and weekly scripts so that we don't get bug reports about
something we already know. There are explanory comments in the files.
Rod Grimes [Mon, 9 Aug 1993 14:39:37 +0000 (14:39 +0000)]
Removal of support for old scsi as.c driver, removal off old unneeded
kernel config files since AH?TEST are now supported by GENERICISA,
and the others used the old as driver they are no longer valid.
Rod Grimes [Mon, 9 Aug 1993 11:23:26 +0000 (11:23 +0000)]
Updated for FreeBSD's location of the local mailer (/usr/libexec/mail.local)
instead of /bin/mail.
Rod Grimes [Mon, 9 Aug 1993 09:38:05 +0000 (09:38 +0000)]
Renamed CONTRIB.LIST to CONTRIB.386BSD, added new file CONTRIB.FreeBSD that
is just a start, but it references CONTRIB.386BSD.
Removed the 386BSD releated files that should not be in our release.
Rod Grimes [Mon, 9 Aug 1993 09:14:47 +0000 (09:14 +0000)]
Fixed spelling error in ifconfig line for ed0, from netwask to netmask
Rod Grimes [Mon, 9 Aug 1993 06:16:42 +0000 (06:16 +0000)]
From guido@gvr.win.tue.nl Sat Aug 7 06:58:04 1993
I posted some patches on the 386bsd_patchkit list to prohibit io access.
Because of a noninitialised filed in the tss, this was possible.
It is included below as the patch to machdep.c
However, when you do this *necessary* fix (security), it will be
impossible form within user space to do io.
therefor, I included another fix: when you open /dev/io, you
get the access. Of course you can rewrite it to use another minor
and thus giving access to the iospace when /dev/mem is opened, e.g.
NOTE: The /dev/io entry has not been added to /dev/MAKEDEV yet.
The patch is in NetBSD.
Rod Grimes [Sun, 8 Aug 1993 12:14:21 +0000 (12:14 +0000)]
Added file csh.a that was evidently NOT imported on initial import.
I will search for other .a files that got ignored.
From: Andread Schulz
Rod Grimes [Sun, 8 Aug 1993 09:27:53 +0000 (09:27 +0000)]
Removed man.conf since it is no longer used by the new manual page system
Rod Grimes [Sun, 8 Aug 1993 07:03:21 +0000 (07:03 +0000)]
Fixed for DQFLQUIET flag from: Terry Lee <terry@uivlsisd.csl.uiuc.edu>
I submitted the part of patch00155 that fixes wd.c not reporting any
bad blocks. Unfortunately, the patch created a new problem that makes new
installations using that kernel impossible. I have included a patch below that
should fix both problems. The fix comes from Tom Ivar Helbekkmo's wd driver
(the Norway wd driver). I've also eliminated the use of the DKFL_QUIET flag
completely, since it is not used anymore.
Fixed wdgetctrl routines for so that it returns a meaniful string for
non IDE disk drives. It also nolonger returns success when a drive is
not really there.
Rod Grimes [Sun, 8 Aug 1993 06:24:15 +0000 (06:24 +0000)]
Removed the asking for a root file system when booting from floppy as that
is now handled by the new boot blocks immediatly after the kernel is loaded.
Rod Grimes [Sun, 8 Aug 1993 04:46:37 +0000 (04:46 +0000)]
Added printf for cases AHB_ASN (async even notification) and AHB_HW_ERR so
that we are notified when these events occur. This may lead us to the
cause of certain AHB timeout/lockup problems.
From: Roy Neese of Adaptec
Rod Grimes [Sun, 8 Aug 1993 04:38:56 +0000 (04:38 +0000)]
Changed afterintall: target to beforeinstall: so that it is easy to get
the regex.h header file installed.
Rod Grimes [Sun, 8 Aug 1993 03:44:18 +0000 (03:44 +0000)]
Fixed uninitiliazed noplayers.
From: Sascha Wildner <swildner@channelz.gun.de>
Jordan K. Hubbard [Sat, 7 Aug 1993 22:33:48 +0000 (22:33 +0000)]
This is GNU cpio 2.3. It handles tar files and is fully compatible
with SYSV cpio. It's also supposed to integrate rmt support, though
I haven't tried this.
Jordan K. Hubbard [Sat, 7 Aug 1993 22:30:36 +0000 (22:30 +0000)]
Added target for cpio.
Rod Grimes [Sat, 7 Aug 1993 09:58:37 +0000 (09:58 +0000)]
Fixed daily so that it no longer does accounting since FreeBSD does not
yet have the accounting stuff in it. Disabled ncheck search in security
due to missing ncheck.
Rod Grimes [Sat, 7 Aug 1993 09:49:30 +0000 (09:49 +0000)]
Added var/backup for daily scripts
Rod Grimes [Fri, 6 Aug 1993 23:38:29 +0000 (23:38 +0000)]
Fixed manual page names from .0 to .8.
Rod Grimes [Fri, 6 Aug 1993 23:28:02 +0000 (23:28 +0000)]
Since there are no c sources in this directory we need a null depend:
target. I added this.
Rod Grimes [Fri, 6 Aug 1993 22:19:55 +0000 (22:19 +0000)]
There is a superfluous word in the manpage of /usr/src/libexec/getty/ttys.5.
The following is the context diff:
From: Andreas Schulz <ats@g386bsd.first.gmd.de>
J.T. Conklin [Fri, 6 Aug 1993 16:49:30 +0000 (16:49 +0000)]
FreeBSD doesn't define sig_atomic_t in <signal.h> like it should...
Nate Willams [Fri, 6 Aug 1993 16:47:16 +0000 (16:47 +0000)]
Have rlog output be much easier to parse. (Added one line which is not
used by any CVS/RCS commands)
Rod Grimes [Fri, 6 Aug 1993 12:11:52 +0000 (12:11 +0000)]
Removed tabs from the front of XXU: messages to make it fit the other
messages closer. Added missing new line to the message about to many
scsi cd drives.
Rod Grimes [Fri, 6 Aug 1993 11:59:06 +0000 (11:59 +0000)]
Fixed **probing for scsi devices** message to have a controller and unit
message on the begining of it:
aha0: **probing for scsi devices**
Rod Grimes [Fri, 6 Aug 1993 09:53:06 +0000 (09:53 +0000)]
Removed cons_highlight() and cons_normal() from around the copyright
notices. This stuff should have never been put in as it is just to
much to expect all console drivers to support.
Rod Grimes [Fri, 6 Aug 1993 03:27:44 +0000 (03:27 +0000)]
Makefile was invoking makedefs without a leading ./, thus it failed if
you did not have . on your path. I changed makdefs to ./makedefs.
Andrew Moore [Thu, 5 Aug 1993 19:23:34 +0000 (19:23 +0000)]
fixed pow() so that pow(0,30) == 0; however still broken outside
a certain range...
J.T. Conklin [Thu, 5 Aug 1993 19:11:51 +0000 (19:11 +0000)]
Break link between cu and tip.
The cu from Taylor UUCP is superior in every possible way.
Andrew Moore [Thu, 5 Aug 1993 19:00:51 +0000 (19:00 +0000)]
moved dummy main() to below includes so stderr is seen...
Nate Willams [Thu, 5 Aug 1993 18:56:18 +0000 (18:56 +0000)]
1) getpgrp used inconsistently. The kernel module is changed to
the new POSIX getpgrp without a parameter. But sys/kern/init_sysent.c
and also sys/kern/syscalls.master lists it with one parameter, and the
man page under src/lib/libc/sys/getpgrp.2 is also the old one. The include
file src/include/unistd.h looks like the new definition.
Fixed both to have no parameters
Nate Willams [Thu, 5 Aug 1993 18:53:35 +0000 (18:53 +0000)]
From: Andreas Schulz <ats@g386bsd.first.gmd.de>
1) getpgrp used inconsistently. The kernel module is changed to
the new POSIX getpgrp without a parameter. But sys/kern/init_sysent.c
and also sys/kern/syscalls.master lists it with one parameter, and the
man page under src/lib/libc/sys/getpgrp.2 is also the old one. The include
file src/include/unistd.h looks like the new definition.
(Brought in man page from NetBSD, which had been updated to reflect this
change)
Nate Willams [Thu, 5 Aug 1993 18:45:53 +0000 (18:45 +0000)]
Removed the ranlib statements from before the install (since it's done
after the install as well), and changed ranlib -> ${RANLIB}
J.T. Conklin [Thu, 5 Aug 1993 18:40:33 +0000 (18:40 +0000)]
Commented out more links that are no longer needed.
J.T. Conklin [Thu, 5 Aug 1993 18:35:27 +0000 (18:35 +0000)]
Makefile
J.T. Conklin [Thu, 5 Aug 1993 18:29:54 +0000 (18:29 +0000)]
Added uucp
J.T. Conklin [Thu, 5 Aug 1993 18:28:27 +0000 (18:28 +0000)]
Taylor UUCP 1.04
Paul Richards [Thu, 5 Aug 1993 02:15:32 +0000 (02:15 +0000)]
Added lib.mk with lorder|tsort ripped out from library creation
because tsort got stuck in a loop when setting HAVE_cossf2 to 0.
Nate Willams [Wed, 4 Aug 1993 23:51:59 +0000 (23:51 +0000)]
Fix the problem where newvers gets called every time make is run on
the kernel.
Paul Richards [Wed, 4 Aug 1993 22:49:27 +0000 (22:49 +0000)]
Improved explanation of __pure and __dead and put the defines back in.
Put undefines of ANSI qualifiers back in -- never meant to remove these
in the first place -- woops.
HAVE NOT put back the gcc -ansi re-definitions of ANSI qualifiers back.
Nate Willams [Wed, 4 Aug 1993 22:00:44 +0000 (22:00 +0000)]
Mis-spelled DPSRCS as DEPSRCS (which is used by tn3270). the new target
is DPSRCS as to not conflict with tn3270 stuff.
Nate Willams [Wed, 4 Aug 1993 21:00:46 +0000 (21:00 +0000)]
Cleaned up the Makefile to look nicer and not require a lot of hacks
Nate Willams [Wed, 4 Aug 1993 18:22:12 +0000 (18:22 +0000)]
[Andreas Schulz: some errors in FreeBSD]
2) The file src/games/hack/hack.onames.h should be removed from
a clean, or should have at least the mode 644, not 444. A make
is failing , if you are not the super-user. The file is
regenerated from another source-file.
Fixing this required some changes to the make macros, but with those changes
all targets now work with these modifications. This required placing a
DPSRCS line which created the hack.onames.h file which is required by
most of the sources.
Nate Willams [Wed, 4 Aug 1993 18:16:46 +0000 (18:16 +0000)]
(Gee I LIKE BSD make)
Added new bsd.prog.mk define, using the same sort of model that Charles
Hannum used in tn3270, but this one is global.
DPSRCS List of source files that must exist before compiling the
program source files. Usually for a building a configuration
file that is required by all sources.
Note, this can now be used to fix some of the gcc1 problems that Rod did
with make depends not working until config.h was created.
(This was required to cleanly fix the hack.onames.h problem in games/hack)
Jordan K. Hubbard [Wed, 4 Aug 1993 17:51:47 +0000 (17:51 +0000)]
Added man page - it looks a little odd in places (the 'i' and 'o'
commands), but this is the way it looked in the texinfo docs so I
stayed faithful to RMS's original presentation.
David Greenman [Wed, 4 Aug 1993 06:23:00 +0000 (06:23 +0000)]
For reasons that are a mystery to me, the changes from Guido to vm_mmap
never made it into the source tree. From Guido van Rooij:
when mmapping a file, permissions are checked as it should be. When
mprotect()-ing the address range afterwards, no protection is checked
regarding the protection of the file originally opened. So
when you open /usr/bin/su RDONLY and SHARED you can afterwards change
the mmapped region to READ|WRITE. This gives the possibility to obtain
root privs obviously.
Nate Willams [Tue, 3 Aug 1993 20:57:35 +0000 (20:57 +0000)]
Fixed macros so that you can do a
make maninstall at all times and have it not blow up
Nate Willams [Tue, 3 Aug 1993 19:08:39 +0000 (19:08 +0000)]
Updated Makefile to work with/without obj directories
Note: We still need the symlink to create fortunes-o
Nate Willams [Tue, 3 Aug 1993 19:01:05 +0000 (19:01 +0000)]
The Makefile didn't recognize the manual page
Nate Willams [Tue, 3 Aug 1993 18:56:29 +0000 (18:56 +0000)]
Better fix for obj and datfiles directory
Nate Willams [Tue, 3 Aug 1993 18:45:56 +0000 (18:45 +0000)]
Fixed Makefile to include datfiles for make obj to work
Rick Macklem [Tue, 3 Aug 1993 17:42:35 +0000 (17:42 +0000)]
Added install of /var/cron/log.
Made it clean up in /sys/i386/boot after building and installing the
boot blocks.
Moved the cd ..; make install to be after the special case stuff for
sendmail.
Added the installation of tcpproto.cf as /etc/sendmail.cf
Nate Willams [Tue, 3 Aug 1993 17:10:15 +0000 (17:10 +0000)]
Updated README and removed Makefile.chmr per the author's wishes
Nate Willams [Tue, 3 Aug 1993 16:35:31 +0000 (16:35 +0000)]
dc has no man page, so add NOMAN to Makefile
Rod Grimes [Tue, 3 Aug 1993 16:06:26 +0000 (16:06 +0000)]
Made all the necessary changes for FreeBSD bugfiling. The bughost is now
freefall.cdrom.com, the version is FreeBSD-current. Updated man pages and
scripts. Bugfiler is set up and running on FreeFall.
Nate Willams [Tue, 3 Aug 1993 15:27:56 +0000 (15:27 +0000)]
Spelling error fixed