unix-history/.git
30 years agofixed setjmp/longjmp to save/restore the floating point masks (control word)
Andrew Moore [Wed, 25 Aug 1993 23:46:51 +0000 (23:46 +0000)]
fixed setjmp/longjmp to save/restore the floating point masks (control word)
after a longjmp (from Bruce Evans).

30 years agoAdded Steven Wallace
Rod Grimes [Wed, 25 Aug 1993 23:42:11 +0000 (23:42 +0000)]
Added Steven Wallace

30 years agoRemoved `.Os 4.3BSD' It still reports BSD experimental, so I'm
Andrew Moore [Wed, 25 Aug 1993 11:20:34 +0000 (11:20 +0000)]
Removed `.Os 4.3BSD'  It still reports BSD experimental, so I'm
not sure if that's any better...

30 years agoadded insque()/remque() routines
Andrew Moore [Wed, 25 Aug 1993 09:39:09 +0000 (09:39 +0000)]
added insque()/remque() routines

30 years agoadding fpgetround(3) IEEE floating point environment control
Andrew Moore [Wed, 25 Aug 1993 09:34:15 +0000 (09:34 +0000)]
adding fpgetround(3) IEEE floating point environment control

30 years agoadding fpgetround(3) IEEE floating point environment control
Andrew Moore [Wed, 25 Aug 1993 09:02:39 +0000 (09:02 +0000)]
adding fpgetround(3) IEEE floating point environment control

30 years agoadding fpgetround(3) IEEE floating point environment support
Andrew Moore [Wed, 25 Aug 1993 09:01:44 +0000 (09:01 +0000)]
adding fpgetround(3) IEEE floating point environment support

30 years agoModified forward declaration to match the actual declaration to get
Andreas Schulz [Tue, 24 Aug 1993 22:31:34 +0000 (22:31 +0000)]
Modified forward declaration to match the actual declaration to get
rid of a compiler warning.

30 years agoChanged prompt from "> " to "kc > " so that it does not look like the
Rod Grimes [Tue, 24 Aug 1993 19:55:16 +0000 (19:55 +0000)]
Changed prompt from "> " to "kc > " so that it does not look like the
halt prompt.  Changed the prompt for destination of the kernel copy to
be "copy kernel to > " so that it is clear what it wants..

30 years agoFix so that unit number 1 is found again.
Rod Grimes [Tue, 24 Aug 1993 19:41:58 +0000 (19:41 +0000)]
Fix so that unit number 1 is found again.

30 years agoChanged -r /fastboot to -e /fastboot. File just needs to exist for fastboot.
Steven Wallace [Tue, 24 Aug 1993 06:15:36 +0000 (06:15 +0000)]
Changed -r /fastboot to -e /fastboot.  File just needs to exist for fastboot.
Otherwise, doesn't work for non-root owner of /fastboot.

30 years agoAdded filename definitions for database and password files into pwd.h.
Steven Wallace [Tue, 24 Aug 1993 01:53:27 +0000 (01:53 +0000)]
Added filename definitions for database and password files into pwd.h.
pwd_mkdb uses them so that /etc is not hardcoded into it.

30 years agoAdded -d option so that database files can go into a specified directory
Steven Wallace [Tue, 24 Aug 1993 01:50:33 +0000 (01:50 +0000)]
Added -d option so that database files can go into a specified directory
instead of hardcoding it to /etc.

30 years agoCorrected off by 2 error in DELAY macro (it was delaying for 2 * value).
Rod Grimes [Tue, 24 Aug 1993 01:24:43 +0000 (01:24 +0000)]
Corrected off by 2 error in DELAY macro (it was delaying for 2 * value).
From Bruce Evans.

30 years agoFixed the printf's for ethernet address so that ALL ethernet drivers are
Rod Grimes [Tue, 24 Aug 1993 00:15:31 +0000 (00:15 +0000)]
Fixed the printf's for ethernet address so that ALL ethernet drivers are
consistent in the format of this.

30 years agoFixed 2 compiler warnings, two functions prototyped non-static, then later
Rod Grimes [Mon, 23 Aug 1993 22:35:34 +0000 (22:35 +0000)]
Fixed 2 compiler warnings, two functions prototyped non-static, then later
declared static.  And:

From: Sascha Wildner <swildner@channelz.GUN.de>
Here is vgrind for 386BSD.  It's the one from uunet except that I changed all
occurences of "vtroff" to "troff" in vgrind.sh and fixed two typos in the man
page.  First come the diffs for /usr/src/usr.bin/Makefile:

30 years agoRemoved two more link fixes that are now obsolete do to share/doc getting
Rod Grimes [Mon, 23 Aug 1993 22:22:41 +0000 (22:22 +0000)]
Removed two more link fixes that are now obsolete do to share/doc getting
updated to NetBSD Makefiles that don't need the symbolic links.

30 years agoNow installs a symlink /etc/termcap -> /usr/share/misc/termcap, removed the
Rod Grimes [Mon, 23 Aug 1993 22:06:22 +0000 (22:06 +0000)]
Now installs a symlink /etc/termcap -> /usr/share/misc/termcap, removed the
special case in etc/Makefile

30 years agoAdded several new targets and world target to build releases with
Rod Grimes [Mon, 23 Aug 1993 20:51:34 +0000 (20:51 +0000)]
Added several new targets and world target to build releases with

30 years agoMore corrected email address
Rod Grimes [Mon, 23 Aug 1993 20:51:13 +0000 (20:51 +0000)]
More corrected email address

30 years agoAdded directory creation of ${DESTDIR}/usr/include/rpc if it does not exsist.
Rod Grimes [Mon, 23 Aug 1993 05:37:19 +0000 (05:37 +0000)]
Added directory creation of ${DESTDIR}/usr/include/rpc if it does not exsist.

30 years agoChanged install -o root -g bin to -o ${BINOWN} -g ${BINGRP} on the header
Rod Grimes [Mon, 23 Aug 1993 05:26:19 +0000 (05:26 +0000)]
Changed install -o root -g bin to -o ${BINOWN} -g ${BINGRP} on the header
install commands to be consistent with other header files.

30 years agoAdded -o ${BINOWN} -g {BINGRP}, changed the -m to 444 (consistent with other
Rod Grimes [Mon, 23 Aug 1993 05:18:15 +0000 (05:18 +0000)]
Added -o ${BINOWN} -g {BINGRP}, changed the -m to 444 (consistent with other
files) on the install commands for the headers,

30 years agoChanged SHARED= to SHARED?= so it can be overriden. Added chown/chmod commands
Rod Grimes [Mon, 23 Aug 1993 04:59:57 +0000 (04:59 +0000)]
Changed SHARED= to SHARED?= so it can be overriden.  Added chown/chmod commands
so that /usr/include ends up with the right owners and permisions no matter
what was on the source files.

30 years agoAdded a new-line in the output of the ethernet-address that it gets
Andreas Schulz [Sun, 22 Aug 1993 22:54:56 +0000 (22:54 +0000)]
Added a new-line in the output of the ethernet-address that it gets
on it's line alone ( not mangled with the FPU detection ).
Commented out a debug printf in if_ec.c ( printf("ecinit") ).

30 years agoFixed Bruce Evans email address.
Rod Grimes [Sun, 22 Aug 1993 22:47:25 +0000 (22:47 +0000)]
Fixed Bruce Evans email address.

30 years agoAdded email address for Keith Bostic, Chris Torek, and Yoval Yarom,
Rod Grimes [Sun, 22 Aug 1993 22:29:49 +0000 (22:29 +0000)]
Added email address for Keith Bostic, Chris Torek, and Yoval Yarom,
from Guido van Rooji.

30 years agoFixed Julian Elischer email address, added Scott Mace
Rod Grimes [Sun, 22 Aug 1993 21:49:45 +0000 (21:49 +0000)]
Fixed Julian Elischer email address, added Scott Mace

30 years agoAdded kc-kernel target that builds both GENERICAH and GENERICBT kernels.
Rod Grimes [Sun, 22 Aug 1993 10:20:05 +0000 (10:20 +0000)]
Added kc-kernel target that builds both GENERICAH and GENERICBT kernels.
Added kc-floppy that does the common part of building the kc floppies.
Added kc-bt-floppy to build GENERICBT kernel floppy.
Fixed kc-ah-floppy to use kc-floppy.

30 years agoSome more small nits in the printf's fixed.
Rod Grimes [Sun, 22 Aug 1993 10:00:16 +0000 (10:00 +0000)]
Some more small nits in the printf's fixed.

30 years agoPut back in pack serial number printf that was deleted by -s additions.
Rod Grimes [Sun, 22 Aug 1993 09:45:29 +0000 (09:45 +0000)]
Put back in pack serial number printf that was deleted by -s additions.

30 years agoAdded missing newline to end of diskerr output.
Rod Grimes [Sun, 22 Aug 1993 09:44:30 +0000 (09:44 +0000)]
Added missing newline to end of diskerr output.

30 years agoFixed 2 spelling errors of their.
Rod Grimes [Sun, 22 Aug 1993 08:54:33 +0000 (08:54 +0000)]
Fixed 2 spelling errors of their.

30 years agoAdded NetBSD as a contribution source, added Theo Deraadt
Rod Grimes [Sun, 22 Aug 1993 07:50:39 +0000 (07:50 +0000)]
Added NetBSD as a contribution source, added Theo Deraadt

30 years agoadded -s option to scan for bad sectors (patches from Jim Bevier
Andrew Moore [Sun, 22 Aug 1993 05:43:23 +0000 (05:43 +0000)]
added -s option to scan for bad sectors (patches from Jim Bevier
<jbev@jbsys.com>)

30 years agoFixed sef's address per sef.
Rod Grimes [Sun, 22 Aug 1993 05:38:12 +0000 (05:38 +0000)]
Fixed sef's address per sef.

30 years agoUpdated, added the core team list from Nate, and some spelling errors fixed.
Rod Grimes [Sun, 22 Aug 1993 04:43:55 +0000 (04:43 +0000)]
Updated, added the core team list from Nate, and some spelling errors fixed.

EVERY ONE PLEASE REVIEW THIS ASAP!!

30 years agoAdded missing #include "systm.h".
Rod Grimes [Sun, 22 Aug 1993 03:02:39 +0000 (03:02 +0000)]
Added missing #include "systm.h".

30 years agoNew kernel config file for checking out the kernel sources. It does pulls
Rod Grimes [Sun, 22 Aug 1993 02:59:49 +0000 (02:59 +0000)]
New kernel config file for checking out the kernel sources.  It does pulls
in every thing that is known to work, and a lot of things that don't!

30 years agoMoved if_we.c to be back in alphabetic order..
Rod Grimes [Sat, 21 Aug 1993 23:52:36 +0000 (23:52 +0000)]
Moved if_we.c to be back in alphabetic order..

30 years agoUpdate to be a clone of GENERICAH, but for syscons driver.
Rod Grimes [Sat, 21 Aug 1993 23:48:06 +0000 (23:48 +0000)]
Update to be a clone of GENERICAH, but for syscons driver.

30 years agoAdded Id: string
Rod Grimes [Sat, 21 Aug 1993 23:47:20 +0000 (23:47 +0000)]
Added Id: string

30 years agoUpdated GENERICAH to be more current, new kernel GENERICBT for bt/uha
Rod Grimes [Sat, 21 Aug 1993 23:46:42 +0000 (23:46 +0000)]
Updated GENERICAH to be more current, new kernel GENERICBT for bt/uha
systems cloned from new GENERICAH.

30 years agoremove the -DNDBM directive, since this requires the old ndbm.h
Andrew Moore [Sat, 21 Aug 1993 22:47:33 +0000 (22:47 +0000)]
remove the -DNDBM directive, since this requires the old ndbm.h

30 years agoPulled original COPYING file down out of the Attic, cvs update, copied
Rod Grimes [Sat, 21 Aug 1993 22:37:18 +0000 (22:37 +0000)]
Pulled original COPYING file down out of the Attic, cvs update, copied
in the version 2 file over the top of version 1, and now commited.

30 years agoRemoved patch kit header, added Id:
Rod Grimes [Sat, 21 Aug 1993 22:24:24 +0000 (22:24 +0000)]
Removed patch kit header, added Id:

30 years agoRemoval of patch kit header, removal of old scsi as device, added Id:
Rod Grimes [Sat, 21 Aug 1993 22:20:50 +0000 (22:20 +0000)]
Removal of patch kit header, removal of old scsi as device, added Id:

30 years agoFixed printf's so that they announce them selfs correctly (ie aha%d: before
Rod Grimes [Sat, 21 Aug 1993 20:01:59 +0000 (20:01 +0000)]
Fixed printf's so that they announce them selfs correctly (ie aha%d: before
every error message and every probe message).

30 years agoupgrade to sun-lamp's stuff
Andrew Moore [Sat, 21 Aug 1993 06:08:39 +0000 (06:08 +0000)]
upgrade to sun-lamp's stuff

30 years agoupdate to sun-lamp's
Andrew Moore [Sat, 21 Aug 1993 06:01:24 +0000 (06:01 +0000)]
update to sun-lamp's

30 years agomore cleanup (e.g., root and swap partitions are mandatory, not root and /usr)
Andrew Moore [Fri, 20 Aug 1993 21:47:42 +0000 (21:47 +0000)]
more cleanup (e.g., root and swap partitions are mandatory, not root and /usr)
no functional change

30 years agoadded big loop to allow redoing the configuration
Andrew Moore [Fri, 20 Aug 1993 18:07:39 +0000 (18:07 +0000)]
added big loop to allow redoing the configuration

30 years agoAdded from: line to reference the pccons.c derivation of this code, otherwise
Rod Grimes [Fri, 20 Aug 1993 17:19:29 +0000 (17:19 +0000)]
Added from: line to reference the pccons.c derivation of this code, otherwise
the BSD copyright would be very bad to have on this file.

30 years agoadded default answers
Andrew Moore [Fri, 20 Aug 1993 17:17:04 +0000 (17:17 +0000)]
added default answers
changed units from sectors to cylinders

30 years agoEnabled call to sddump so that if you have options SCSIDUMP in your kernel
Rod Grimes [Fri, 20 Aug 1993 12:51:53 +0000 (12:51 +0000)]
Enabled call to sddump so that if you have options SCSIDUMP in your kernel
you'll get to the dump code.  If you don't trust this on your disk also
add option NOT_TRUSTED, that disables the dump code, but prints out what
it WOULD do it it was going to scrible on your disk.

30 years agoUpdate scsi code to the latest from Julian. This code is now identical
Rod Grimes [Fri, 20 Aug 1993 09:23:30 +0000 (09:23 +0000)]
Update scsi code to the latest from Julian.  This code is now identical
to the last copy from Julian.  After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.

----
From julian@jules.DIALix.oz.au  Thu Aug  5 09:25:23 1993
To: hd@world.std.com, julian@jules.DIALix.oz.au
Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi

----
From julian@jules.DIALix.oz.au  Sat Aug  7 04:13:17 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs

Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..

the changes remove all the local timeout stuff and use (un)timeout(),

----
From julian@jules.DIALix.oz.au  Sat Aug  7 04:13:45 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu, briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c

30 years agoUpdate scsi code to the latest from Julian. This code is now identical
Rod Grimes [Fri, 20 Aug 1993 09:21:40 +0000 (09:21 +0000)]
Update scsi code to the latest from Julian.  This code is now identical
to the last copy from Julian.  After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.

----
>From julian@jules.DIALix.oz.au  Thu Aug  5 09:25:23 1993
To: hd@world.std.com, julian@jules.DIALix.oz.au
Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi

----
>From julian@jules.DIALix.oz.au  Sat Aug  7 04:13:17 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs

Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..

the changes remove all the local timeout stuff and use (un)timeout(),

----
>From julian@jules.DIALix.oz.au  Sat Aug  7 04:13:45 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu, briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c

30 years agoUpdate scsi code to the latest from Julian. This code is now identical
Rod Grimes [Fri, 20 Aug 1993 09:14:22 +0000 (09:14 +0000)]
Update scsi code to the latest from Julian.  This code is now identical
to the last copy from Julian.  After this commit I will be commiting the
local fixes and makeing diffs to send back to Julian so he can update his
code.

----
From julian@jules.DIALix.oz.au  Thu Aug  5 09:25:23 1993
To: hd@world.std.com, julian@jules.DIALix.oz.au
Cc: nate@bsd.coe.montana.edu
Subject: Re: new scsi

----
From julian@jules.DIALix.oz.au  Sat Aug  7 04:13:17 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu
Subject: Re: timeout diffs

Here are the diffs to take the scsi stuff to my latest tree from what
Nate and you received..

the changes remove all the local timeout stuff and use (un)timeout(),

----
From julian@jules.DIALix.oz.au  Sat Aug  7 04:13:45 1993
To: hd@world.std.com (HD Associates)
Cc: nate@bsd.coe.montana.edu, briggs@csugrad.cs.vt.edu
here is a fix for a silly bug in the scsiconf I just sent out
and a similar fix for st.c

30 years agoMoved /sys/scsi code files information to independed files file where it
Rod Grimes [Fri, 20 Aug 1993 08:53:08 +0000 (08:53 +0000)]
Moved /sys/scsi code files information to independed files file where it
should have always been.

30 years agopatch 2of2 to prevent kill -1 syslogd from hanging the console
Andrew Moore [Fri, 20 Aug 1993 05:50:29 +0000 (05:50 +0000)]
patch 2of2 to prevent kill -1 syslogd from hanging the console
blindly applied the following patch from Christoph Robitscko:
*** vfs_subr.c.orig Sat Jun 12 07:57:16 1993
--- vfs_subr.c Thu Aug 19 22:35:49 1993
***************
*** 554,559 ****
--- 554,573 ----
   dev_t dev;
   struct vnode **vpp;
  {
+  return(getdevvp(dev, vpp, VBLK));
+ }
+
+
+ /*
+  * Create a vnode for a device.
+  * Used by bdevvp (block device) for root file system etc.,
+  * and by cnopen for console (character device).
+  */
+ getdevvp(dev, vpp, type)
+  dev_t dev;
+  struct vnode **vpp;
+  enum vtype type;
+ {
   register struct vnode *vp;
   struct vnode *nvp;
   int error;
***************
*** 562,572 ****
   return (0);
   error = getnewvnode(VT_NON, (struct mount *)0, &spec_vnodeops, &nvp);
   if (error) {
!  *vpp = 0;
   return (error);
   }
   vp = nvp;
!  vp->v_type = VBLK;
   if (nvp = checkalias(vp, dev, (struct mount *)0)) {
   vput(vp);
   vp = nvp;
--- 576,586 ----
   return (0);
   error = getnewvnode(VT_NON, (struct mount *)0, &spec_vnodeops, &nvp);
   if (error) {
!  *vpp = NULLVP;
   return (error);
   }
   vp = nvp;
!  vp->v_type = type;
   if (nvp = checkalias(vp, dev, (struct mount *)0)) {
   vput(vp);
   vp = nvp;

30 years agopatch 1of2 to prevent kill -1 syslogd from hanging the console
Andrew Moore [Fri, 20 Aug 1993 05:46:09 +0000 (05:46 +0000)]
patch 1of2 to prevent kill -1 syslogd from hanging the console
blindly applied patch provided by Christoph Robitschko:
*** cons.c.orig Sat Jun 12 07:57:53 1993
--- cons.c Thu Aug 19 22:34:53 1993
***************
*** 56,61 ****
--- 56,62 ----
  #include "sys/tty.h"
  #include "sys/file.h"
  #include "sys/conf.h"
+ #include "sys/vnode.h"

  #include "cons.h"

***************
*** 105,118 ****
--- 106,130 ----
   (*cp->cn_init)(cp);
  }

+ static struct vnode *cnopenvp = NULLVP;
+
+
  cnopen(dev, flag, mode, p)
   dev_t dev;
   int flag, mode;
   struct proc *p;
  {
+  int error;
+
+
   if (cn_tab == NULL)
   return (0);
   dev = cn_tab->cn_dev;
+  if (cnopenvp == NULLVP)
+  if ((error = getdevvp(dev, &cnopenvp, VCHR))) {
+  printf("cnopen: getdevvp returned %d !\n", error);
+  return(error);
+  }
   return ((*cdevsw[major(dev)].d_open)(dev, flag, mode, p));
  }

***************
*** 121,130 ****
   int flag, mode;
   struct proc *p;
  {
   if (cn_tab == NULL)
   return (0);
   dev = cn_tab->cn_dev;
!  return ((*cdevsw[major(dev)].d_close)(dev, flag, mode, p));
  }

  cnread(dev, uio, flag)
--- 133,153 ----
   int flag, mode;
   struct proc *p;
  {
+  int error;
+
+
   if (cn_tab == NULL)
   return (0);
   dev = cn_tab->cn_dev;
!  if (vcount(cnopenvp) <= 1)
!  error = (*cdevsw[major(dev)].d_close)(dev, flag, mode, p);
!  else
!  error = 0;
!  if (error == 0) {
!  vrele(cnopenvp);
!  cnopenvp = NULLVP;
!  return(error);
!  }
  }

  cnread(dev, uio, flag)

30 years agoCFLAGS= to CFLAGS+=
Andrew Moore [Fri, 20 Aug 1993 05:28:33 +0000 (05:28 +0000)]
CFLAGS= to CFLAGS+=

30 years agofread() now returns 0 if size is 0 as per ANSI (evidently).
Andrew Moore [Fri, 20 Aug 1993 04:24:37 +0000 (04:24 +0000)]
fread() now returns 0 if size is 0 as per ANSI (evidently).

30 years agochess is now in src/gnu, moved here from src/games
Rod Grimes [Fri, 20 Aug 1993 03:23:17 +0000 (03:23 +0000)]
chess is now in src/gnu, moved here from src/games

30 years agoRemoved chess, it is now in src/gnu/chess
Rod Grimes [Fri, 20 Aug 1993 03:19:45 +0000 (03:19 +0000)]
Removed chess, it is now in src/gnu/chess

30 years agoAdded libg++ since it is now in src/gnu
Rod Grimes [Fri, 20 Aug 1993 03:06:18 +0000 (03:06 +0000)]
Added libg++ since it is now in src/gnu

30 years agoRemoval of libg++ from top level makefile, moving code to src/gnu since
Rod Grimes [Fri, 20 Aug 1993 02:05:02 +0000 (02:05 +0000)]
Removal of libg++ from top level makefile, moving code to src/gnu since
it is LGPL code.  Note:  you will NOT see an import for src/gnu/libg++,
it is being done with a direct repository copy to retain history.

30 years agoNow installs /etc/localtime as a sym link to /usr/share just like the
Rod Grimes [Fri, 20 Aug 1993 01:56:15 +0000 (01:56 +0000)]
Now installs /etc/localtime as a sym link to /usr/share just like the
src/etc/Makefile does.  This fixed a problem with being able to run
a make install in this directory on a newly built distribution.

30 years agoArgh, I copied the symlink from the old make file, but now the compiler
Rod Grimes [Fri, 20 Aug 1993 01:44:19 +0000 (01:44 +0000)]
Argh, I copied the symlink from the old make file, but now the compiler
binary is installed as gcc instead of cc, so had to reverse the symbolic
link.

30 years agoAdded creatoin of symbolic link /usr/bin/cc -> /usr/bin/gcc.
Rod Grimes [Fri, 20 Aug 1993 01:42:27 +0000 (01:42 +0000)]
Added creatoin of symbolic link /usr/bin/cc -> /usr/bin/gcc.

30 years agoRemoved gcc1 from top level make file, moving gcc1 to ports, gcc is becoming
Rod Grimes [Fri, 20 Aug 1993 01:24:09 +0000 (01:24 +0000)]
Removed gcc1 from top level make file, moving gcc1 to ports, gcc is becoming
the system default compiler.  The move of gcc1 in the cvs repository will
be done specially to retain all history.  You will only see a commit
message for it's removal, the addition of it to ports will be done, you
just won't see the commit.

30 years agoDon't try to build *.o's and *.po's at the same time. It causes too
J.T. Conklin [Thu, 19 Aug 1993 23:37:48 +0000 (23:37 +0000)]
Don't try to build *.o's and *.po's at the same time.  It causes too
much grief.  A *.po's will now be made if it is out of sync or missing.

30 years agoadded Bustek 545 support (patch from Christoph Robitschko):
Andrew Moore [Thu, 19 Aug 1993 21:32:59 +0000 (21:32 +0000)]
added Bustek 545 support (patch from Christoph Robitschko):
*** aha1542.c~ Thu Aug 19 14:25:33 1993
--- aha1542.c Thu Aug 19 14:25:49 1993
***************
*** 954,959 ****
--- 954,960 ----
   printf("aha%d:",unit);
  #define PRNT(x) printf(x)
  #endif __386BSD__
+  DELAY(1000); /* for Bustek 545 */
   aha_cmd(unit,0, sizeof(conf), 0 ,&conf, AHA_CONF_GET);
   switch(conf.chan)
   {

30 years agoChanged .if exists(/usr/X386) to .if exists(${DESTDIR}/usr/X386) so that
Rod Grimes [Thu, 19 Aug 1993 01:35:06 +0000 (01:35 +0000)]
Changed .if exists(/usr/X386) to .if exists(${DESTDIR}/usr/X386) so that
the right things happen when building a distribution (no X386 tree, in the
distribution, this the make install would fail...)

30 years agoChanged Makefile to include xditview for the normal build, it will
Andreas Schulz [Wed, 18 Aug 1993 21:19:50 +0000 (21:19 +0000)]
Changed Makefile to include xditview for the normal build, it will
exclude itself if no X386 is installed.

30 years agoChanged Makefile to include xditview for the normal build, it will
Andreas Schulz [Wed, 18 Aug 1993 21:13:39 +0000 (21:13 +0000)]
Changed Makefile to include xditview for the normal build, it will
exclude itself if no X386 is intalled.

30 years agoCorrected msgs.c that it does function now, thanks to mte@hpy.fi.
Andreas Schulz [Wed, 18 Aug 1993 18:52:19 +0000 (18:52 +0000)]
Corrected msgs.c that it does function now, thanks to mte@hpy.fi.
Opened the files with wrong permissions.
Corrected more errors in the man page. The interactive commands
are all given with a leading minus sign.

30 years agoCentralize the fairly compliated week-of-year computations in macros, rather
J.T. Conklin [Wed, 18 Aug 1993 16:09:11 +0000 (16:09 +0000)]
Centralize the fairly compliated week-of-year computations in macros, rather
than having them in several places in the code.  I think it makes what we're
trying to do a lot clearer.

30 years agoAdded support for '%' format specifiers needed by 1003.2's date command.
J.T. Conklin [Wed, 18 Aug 1993 15:50:58 +0000 (15:50 +0000)]
Added support for '%' format specifiers needed by 1003.2's date command.
Date(1) becomes 1003.2 compliant with this change.

30 years agoAlways print newline.
J.T. Conklin [Wed, 18 Aug 1993 15:44:30 +0000 (15:44 +0000)]
Always print newline.
Fix manpage's notion of the the default output format.

30 years agoUpdate cksum to 4.4BSD (8.1) from ftp.uu.net. This should bring us into
Rod Grimes [Wed, 18 Aug 1993 04:16:44 +0000 (04:16 +0000)]
Update cksum to 4.4BSD (8.1) from ftp.uu.net.  This should bring us into
posix compliance as it stands today.

30 years agoReplaced empty manual page with one that has atleast some of the stuff
Rod Grimes [Tue, 17 Aug 1993 20:16:19 +0000 (20:16 +0000)]
Replaced empty manual page with one that has atleast some of the stuff
in it.
From: Andreas Schulz <ats@g386bsd.first.gmd.de>

I have uploaded the man page from gas 2.1.1 under ~ats/as.1 .

30 years agoFixed reference to /usr/ucb -> /usr/bin, /usr/msgs -> /var/msgs.
Rod Grimes [Tue, 17 Aug 1993 19:45:30 +0000 (19:45 +0000)]
Fixed reference to /usr/ucb -> /usr/bin, /usr/msgs -> /var/msgs.

From: Andreas Schulz <ats@g386bsd.first.gmd.de>
There are some little errors in the msgs.1 source file.

30 years agoThere was a missing space between a .Ql\ef, should be .Ql \ef.
Rod Grimes [Tue, 17 Aug 1993 19:08:30 +0000 (19:08 +0000)]
There was a missing space between a .Ql\ef, should be .Ql \ef.

From: Andreas Schulz <ats@g386bsd.first.gmd.de>

There is a little typo in the /usr/src/usr.bin/checknr/checknr.1
manpage.

30 years ago1003.2 requires that lexical comparisons be done in locale specific manner,
J.T. Conklin [Tue, 17 Aug 1993 16:06:00 +0000 (16:06 +0000)]
1003.2 requires that lexical comparisons be done in locale specific manner,
so we have to use strcoll() instead of strcmp().
1003.2 requires that a null string be returned if a string does not match
a \( \) subexpression.
Replaced fprintf/exit with calls to err and errx as appropriate.

30 years agoadded FreeBSD's magic numbers, as per Andreas Schulz
Andrew Moore [Tue, 17 Aug 1993 10:03:31 +0000 (10:03 +0000)]
added FreeBSD's magic numbers, as per Andreas Schulz

30 years agoUse my i386 assembly language versions of string and memory functions.
J.T. Conklin [Mon, 16 Aug 1993 18:42:06 +0000 (18:42 +0000)]
Use my i386 assembly language versions of string and memory functions.

30 years agoAdd assembly language versions of string and memory functions.
J.T. Conklin [Mon, 16 Aug 1993 18:40:50 +0000 (18:40 +0000)]
Add assembly language versions of string and memory functions.

30 years agoMake 1003.1 compliant: set access and modification times to current time
J.T. Conklin [Mon, 16 Aug 1993 16:26:42 +0000 (16:26 +0000)]
Make 1003.1 compliant: set access and modification times to current time
if timep is NULL.

30 years agoSRCS should contain *.c's, not *.o's.
J.T. Conklin [Mon, 16 Aug 1993 16:22:34 +0000 (16:22 +0000)]
SRCS should contain *.c's, not *.o's.

30 years agolink bad144.8 to man8/bad144.8
Andrew Moore [Mon, 16 Aug 1993 11:26:14 +0000 (11:26 +0000)]
link bad144.8 to man8/bad144.8

30 years agolink reboot_i386.8 to man8/reboot.8
Andrew Moore [Mon, 16 Aug 1993 11:24:02 +0000 (11:24 +0000)]
link reboot_i386.8 to man8/reboot.8

30 years agoadded missing offset that caused an infinite loop when searching
Andrew Moore [Mon, 16 Aug 1993 10:44:04 +0000 (10:44 +0000)]
added missing offset that caused an infinite loop when searching
regex enabled in Makefile

30 years agodisable regex support until this is tested
Andrew Moore [Mon, 16 Aug 1993 10:13:04 +0000 (10:13 +0000)]
disable regex support until this is tested

30 years agoadded regex(3) support to vi
Andrew Moore [Mon, 16 Aug 1993 09:53:25 +0000 (09:53 +0000)]
added regex(3) support to vi

30 years agoNullify pattern after failed regcomp
Andrew Moore [Mon, 16 Aug 1993 09:30:18 +0000 (09:30 +0000)]
Nullify pattern after failed regcomp

30 years agoFrom: Andreas Schulz <ats@g386bsd.first.gmd.de>
Rod Grimes [Sun, 15 Aug 1993 17:33:15 +0000 (17:33 +0000)]
From: Andreas Schulz <ats@g386bsd.first.gmd.de>

I have a question to the current default of the gethostnamadr.c for
name-resolution. The new behaviour is different from the old behaviour.
The old behaviour was to ask the bind and fallback to hosts if no bind
is running, the new behaviour is to only try bind(if you don't have
an /etc/host.conf file). This default makes it difficult to boot up
a networked machine, i have used the default /etc/netstart file that
calls "ifconfig" with a hostname, but that fails now.
Wouldn't it be better, to make the default SERVICE_BIND, SERVICE_HOST,
SERVICE_NONE or SERVICE_HOST, SERVICE_NONE instead of the current
SERVICE_BIND, SERVICE_NONE, if no /etc/host.conf file exists ?

30 years agoadd more notes and examples
Andrew Moore [Sun, 15 Aug 1993 07:11:52 +0000 (07:11 +0000)]
add more notes and examples

30 years agoadded Christoph Robitschko's patch to allow xview's cmdtool to work:
Andrew Moore [Sun, 15 Aug 1993 06:11:22 +0000 (06:11 +0000)]
added Christoph Robitschko's patch to allow xview's cmdtool to work:
diff -c -r1.1.1.1 tty_pty.c
*** 1.1.1.1 1993/06/12 14:57:31
--- tty_pty.c 1993/08/15 06:08:11
***************
*** 483,489 ****
   while (uio->uio_resid > 0 && RB_LEN(&tp->t_can) < TTYHOG - 1) {
   if (cc == 0) {
   cc = min(uio->uio_resid, BUFSIZ);
!  cc = min(cc, TTYHOG - 1 - RB_CONTIGPUT(&tp->t_can));
   cp = locbuf;
   error = uiomove((caddr_t)cp, cc, uio);
   if (error)
--- 483,489 ----
   while (uio->uio_resid > 0 && RB_LEN(&tp->t_can) < TTYHOG - 1) {
   if (cc == 0) {
   cc = min(uio->uio_resid, BUFSIZ);
!  cc = min(cc, RB_CONTIGPUT(&tp->t_can));
   cp = locbuf;
   error = uiomove((caddr_t)cp, cc, uio);
   if (error)

30 years agoremove msg() to print expansion of `:!!', since the message appears
Andrew Moore [Sun, 15 Aug 1993 05:57:35 +0000 (05:57 +0000)]
remove msg() to print expansion of `:!!', since the message appears
only after the call is executed.