unix-history/.git
30 years agoFrom Bde:
Andrey Chernov [Mon, 30 May 1994 03:29:53 +0000 (03:29 +0000)]
From Bde:
o Removed bidir ioctls.

30 years agoFrom Bde:
Andrey Chernov [Mon, 30 May 1994 03:23:14 +0000 (03:23 +0000)]
From Bde:
o Removed final reference to nullmodem().

30 years agoFrom Bde:
Andrey Chernov [Mon, 30 May 1994 03:22:34 +0000 (03:22 +0000)]
From Bde:
o Use new sleep address macros.
o Removed references to TS_WOPEN.
o Cleaned up setting of `error' for the ptsopen sleep.  Hmm, tsleep
  would be more natural than ttysleep for an open.  I think it
  doesn't matter.
o Use ttwwakeup() to handle write-wakeups consistently.

30 years agoFrom Ache:
Andrey Chernov [Mon, 30 May 1994 03:20:48 +0000 (03:20 +0000)]
From Ache:
Fix ttread's EWOULDBLOCK return
Fix incorrect NDELAY behaviour in ttread
Fix some races in ttread
Add ttwakeup for ICANON/MIN/TIME changes

From Bde:
o Updated TODOs.
o Removed tty sleep message arrays.  They are all literal and
  unique now.  Maybe you can think of better names for ttybg[1-4].
  Indented most changed ttysleep() statements better.
o New function termioschars().  ttychars() is too specific to
  ttys.
o Permanent fix for low-water vs output-complete deadlock using
  unique sleep addresses for these events.
o Use ttwwakeup() to handle write-wakeups consistently after
  flushq()s.  One flushq() was missed previously.
o Tried harder to avoid races for sending start char when flushing.
  It's too hard to do in the current framework.  The start char
  needs to be handled out of band (kept out of the output queue).
o Don't resurrect zombies when CLOCAL is raised.  POSIX doesn't
  allow it.
o Only wake up things for CLOCAL rise.  Nothing cares about CLOCAL
  drop.  CLOCAL rise has the same effect as a carrier rise.
o Disable change that broke TIOCSPGRP.
o Removed references to TS_WOPEN.
o Removed diagnostics for calls to ttymodem() when t_state is
  strange.  TS_WOPEN wasn't used for much more than for deciding
  if the state is strange here!
o MDMBUF handling now applies after carrier is up instead of when
  TS_WOPEN isn't set.  When carrier first rises, it will act as
  enable flow control as well as TS_CARR_ON state.
o In ttymodem(), only wake up things explicitly for carrier rise.
  When carrier drops, if the state changes to TS_ZOMBIE, then
  almost everything is woken by the flush.
o Removed nullmodem().  It was only used by the non-working tablet
  discipline.  If there is a problem with too many wakeups (for
  select...) then don't use select() on the tablet discipline
  after you fix it :-).  We should disable ttselect() in some
  nonstandard disciplines.
o Improved code and comments for sleep on slp in ttread().
  Timeouts are built into ttysleep() and a separate timeout just
  complicates things.  (It had a confusing sleep address - qp
  instead of tp->t_raw, which worked because qp == tp->t_raw
  in the non-ICANON case).
o Moved the timeout for "ttchout" into tsleep() too.
o Fixed a nice bug for output to zombie ttys.  0 was returned
  instead of EIO, and unlike the case for input, programs should
  retry when 0 is returned for output.  Fortunately, this bug is
  not in 1.1R.
o New function ttwwakeup() to wake up any writers on a tty.
  Using this removes a lot of duplication.  The test to decide
  whether calling this function is necessary is still duplicated.
o Better initialization for `tmp' in ttyinfo().

30 years agoFrom Bde:
Andrey Chernov [Mon, 30 May 1994 03:20:08 +0000 (03:20 +0000)]
From Bde:
o Don't count non-returned opens when deciding whether to call
  the device close function for cdevs.

30 years agoFrom Bde:
Andrey Chernov [Mon, 30 May 1994 03:16:02 +0000 (03:16 +0000)]
From Bde:
o Removed references to TS_WOPEN.
o Use ttwwakeup() to handle write-wakeups consistently.

30 years agoFrom Bde:
Andrey Chernov [Mon, 30 May 1994 03:15:09 +0000 (03:15 +0000)]
From Bde:
o Removed references to TS_WOPEN.
o Fixed bogus prototype for pcrint().
o Use ttwwakeup() to handle write-wakeups consistently.
o Replaced move_up() and move_down() by bcopyw().  Our
  bcopy*() always handled overlapped copies.
o Don't use bcopy() to copy the screen to the screen.  Some
  adaptors are said to be broken by 32-bit accesses.  All
  ISA adapators are 16-bit so little speed is lost.  For
  VLB and speed, just use syscons.
o Fixed Ctrl-Alt-Del.
o Improved keyboard handling after Debugger().
o Fixed off-by-1-page error in pcmmap() (could access 1 extra
  page at 0xD0000).

30 years agoFrom Bde:
Andrey Chernov [Mon, 30 May 1994 03:14:13 +0000 (03:14 +0000)]
From Bde:
o Removed references to TS_WOPEN (the one for hanging up was
  simply wrong for case of TS_WOPEN and TS_ISOPEN set (aborted
  open clobbers successful open, and TS_ISOPEN unset more or
  less corresponds to TS_WOPEN set).
o Unique name for sleep address ("comdcd" not ttopen[]).
o Use tsleep() instead of ttysleep().  Neither is quite right
  (revoking of tty for another open() shouldn't cause incomplete
  open to fail; comopen() should reinitialize after sleeping
  unless port is already open).
o Use ttwwakeup() to handle write-wakeups consistently.
o Removed comselect().  It just duplicated ttselect().

30 years agoFrom Ache:
Andrey Chernov [Mon, 30 May 1994 03:13:36 +0000 (03:13 +0000)]
From Ache:
Better kernel printout for multiport cards

From Bde:
o Get decls of tk_nin, etc. from "dkstat.h" (a stupid place).
o Mallocate sio structs as well as tty structs.
o FAKE_DCD() is now handled by setting CLOCAL in the initial
  and lock states.
o Removed ifdefs for COM_BIDIR.  It is now standard.  Callin
  devices now act identically (except for bug fixes) to the
  old standard devices if the callout devices are not used.
o New magic minors for initial and lock devices.  Better macros
  to handle magic minors.  "ls -l /dev" should show something
  like this:
crw-------   1 uucp     wheel     28,  0 May 26 01:18 /dev/ttyd0
crw-------   1 uucp     wheel     28,  1 May 21 11:25 /dev/ttyd1
crw-r--r--   1 root     wheel     28, 32 May 15 19:36 /dev/ttyid0
crw-r--r--   1 root     wheel     28, 33 May 15 19:36 /dev/ttyid1
crw-r--r--   1 root     wheel     28, 64 May 15 19:36 /dev/ttyld0
crw-r--r--   1 root     wheel     28, 65 May 15 19:36 /dev/ttyld1
crw-------   1 uucp     wheel     28,128 May 26 14:48 /dev/cua00
crw-------   1 uucp     wheel     28,129 May 26 18:57 /dev/cua01
crw-r--r--   1 root     wheel     28,160 May 15 18:58 /dev/cuai00
crw-r--r--   1 root     wheel     28,161 May 15 19:35 /dev/cuai01
crw-r--r--   1 root     wheel     28,192 May 15 18:56 /dev/cual00
crw-r--r--   1 root     wheel     28,193 May 15 19:35 /dev/cual01
  The initial and lock devices are controlled using commands like
  this:
stty </dev/ttyid0 57600        crtscts
stty </dev/ttyld0 57600 clocal crtscts
stty </dev/cuai00 57600        crtscts
stty </dev/cual00 57600        crtscts
  Here the port speed is changed from the default of 9600
  to 57600 and locked (any nonzero speed works as a lock).
  clocal defaults to off and is locked off for the callin
  device to avoid certain security holes.  crtscts is changed
  from the default of off to on and locked on (flag bits are
  locked by setting the same bits in the lock port).  It is
  only necessary to set the initial state for buggy programs
  that don't set it for themself.  It is dangerous to set
  lock bits if the device cannot support them (e.g., locking
  crtscts on for a mouse port will probably hang the X server).
  However, it may be necessary to set lock bits for buggy
  programs that clear nonstandard bits.
o Removed FIFO_TRIGGER.  The fifo trigger level is now set
  automatically.  It is always set to 1 for slow mouses.  It
  is set to 14 for the very first open but drops back to 8
  for first opens and to as low as 1 if overruns occur.  I
  haven't been able to load my system enough to get it to
  drop below 8.  Changes to the levels are logged.  Please
  report if the level ever drops below 8.
o The fifo disable flag still works to disable the fifo
  completely.  Please don't use it.
o Removed ifdefs for 1.1R interrupt handling.
o Removed ifdefs for non-mallocation of tty structs.
o Use timeout instead of sleep to hold down DTR for long
  enough.  Fixed races.  Now opens have to sleep while
  DTR is being held down.
o Urgent input character now depends on the line discipline.
  Previously it only worked for SLIP.  Now it might work
  for PPP to reduce latency by half a tick.
o Attempted to fix initialization of interrupts for 4ports
  (flag bit 0x1 means 4port-compatible, not multiport).  The
  master interrupt control register and ~OUT2 (badly aka
  MCR_IENABLE) have to be initialized before probing for
  interrupts.
o Rewrote sioopen() to simplify it and avoid races.  Too
  many changes to list.  Essentially, an open either succeeds
  immediately or sleeps until it can succeed immediately.
  After every sleep, all the conditions required for success
  are checked again by restarting the open from near the top.
o Callout ports are implemented using trapdoor carrier again.
  You can program their initial state to set CLOCAL if you
  want.
o Use new sleep address macros.  Better names for sleep addresses.
o Removed bidir ioctls.  There are enough important races to
  worry about.
o Special treatment for ioctls to new initial and lock state
  devices.  These devices only support ioctls, not read, write
  or select.  Separate devices work better than would selector
  bits like CIGNORE because ordinary stty(1) works on them, and
  it is impossible to open a callin/callout device while the
  device going in the other direction is active.
o The DTR wait time as seen by ioctls it is now always in
  hundredths of a second (independent of hz).
o Removed TB_*() macros.  There is no point to only using them
  in sio.
o Use ttwwakeup() to handle write-wakeups consistently.

30 years ago>From Jordan K. Hubbard
Geoff Rehmet [Sun, 29 May 1994 19:55:49 +0000 (19:55 +0000)]
>From Jordan K. Hubbard
>From: jtk@atria.com (John T. Kohl)

in rcmd:
It calls select() with a hardcoded "number of file descriptors" argument
of 32, rather than computing it based on the sockets about which it
cares.

- change this to use FD_SETSIZE -- quick and dirty - that's the largest we can
  go in a FD_SET

I suggest we look at fixing these arguments to select() better in 2.0 --
there are lots of suspect looking calls to select in the 1.x tree.
I just don't have time to do a proper fix now.

Also: add some typecasts to shut the compiler up:
-- setgroups(2) wants an (int *) not a (gid_t *) as it's second
   argument.

30 years agoAdd the missing NOBOUNCE ifdef so that a kernel can be compiled
Andreas Schulz [Sun, 29 May 1994 18:15:57 +0000 (18:15 +0000)]
Add the missing NOBOUNCE ifdef so that a kernel can be compiled
with NOBOUNCE set.
ATTENTION people, this won't get you performance. It may even drop.
The bounce buffer code here plays with the clustering together.
In the nobounce case the buffer doesn't get checked if it can be
clustered but simply reported to do no clustering at it.
I only want to get it compiling again, so that we don't get so
much reports why the NOBOUNCE option doesn't work and give compilation
errors :-).

30 years agoPut back a missing NOBOUNCE around a call to vm_bounce_kva_free.
Andreas Schulz [Sun, 29 May 1994 18:06:31 +0000 (18:06 +0000)]
Put back a missing NOBOUNCE around a call to vm_bounce_kva_free.

30 years agoFrom John Dyson:
David Greenman [Sun, 29 May 1994 07:36:11 +0000 (07:36 +0000)]
From John Dyson:

Fixed a bug that under some conditions, a NULL pointer dereference could
occur.

30 years agoFrom John Dyson:
David Greenman [Sun, 29 May 1994 07:34:15 +0000 (07:34 +0000)]
From John Dyson:

Fixed a window of vulnerability in missing an incore buffer that could
cause problems, and some minor code cleanup.

30 years agoPatch from John Dyson:
David Greenman [Sun, 29 May 1994 07:28:10 +0000 (07:28 +0000)]
Patch from John Dyson:

When we added the clustering code, a condition of overlapping blocks in the
device I/O queue was not considered.  This could cause serious filesystem
corruption and could manifest itself in a couple of very unpleasant ways.
In almost all cases the file system would permanently loose files and various
panics would occur.  It appears that filesystems with FASTLINKs were
more vulnerable.  We suggest that if you have been getting the
vm_bounce_alloc panics, that you should totally rebuild the offending
filesystems after applying this patch, and before reinstalling the
new filesystem.  This should *definitely* reduce the number of corrupted
filesystem problems, and might eliminate the vm_bounce_alloc panics.

The solved problem does not appear very often in medium/lightly loaded
filesystems, but systems with lots of file opens/closes and vast directory
updates will have significant problems with this.  (Filesystem restores
(especially with high performance tape drives)  can/will cause this problem
to appear.)

30 years agoDon't include stddef.h. It was included for the offsetof macro...which
David Greenman [Sun, 29 May 1994 07:23:40 +0000 (07:23 +0000)]
Don't include stddef.h. It was included for the offsetof macro...which
has now been copied in here.

30 years agoTurn globbing on when a section number is specified, this makes things work
Geoff Rehmet [Sat, 28 May 1994 20:19:25 +0000 (20:19 +0000)]
Turn globbing on when a section number is specified, this makes things work
properly when /usr/share/man/man?/ contain gzipped unformatted pages.

30 years agoDo not declare sys_errlist or sys_nerr, they are already defined for you in
Rod Grimes [Sat, 28 May 1994 13:23:25 +0000 (13:23 +0000)]
Do not declare sys_errlist or sys_nerr, they are already defined for you in
stdio.h.

30 years agoPlease let stdio.h define sys_errlist and sys_nerr,
Rod Grimes [Sat, 28 May 1994 13:16:48 +0000 (13:16 +0000)]
Please let stdio.h define sys_errlist and sys_nerr,
include sys/errno.h to get definition of errno.
This makes this compile on both FreeBSD 1.x and FreeBSD 2.x

30 years agoMove values.h to libg++
Andrey Chernov [Sat, 28 May 1994 13:05:12 +0000 (13:05 +0000)]
Move values.h to libg++

30 years agoMove values.h to proper place
Andrey Chernov [Sat, 28 May 1994 13:02:41 +0000 (13:02 +0000)]
Move values.h to proper place

30 years agoAdd comments to Makefile.inc's about libg++ and shlib nos.
Geoff Rehmet [Sat, 28 May 1994 09:56:36 +0000 (09:56 +0000)]
Add comments to Makefile.inc's about libg++ and shlib nos.

30 years agoPrevent make clean in libg++ from mysteriously deleting /usr/lib/c++rt0.o
Geoff Rehmet [Sat, 28 May 1994 09:50:56 +0000 (09:50 +0000)]
Prevent make clean in libg++ from mysteriously deleting /usr/lib/c++rt0.o
- /usr/lib/c++rt0.o is only added to SOBJS if CPLUSPLUSLIB __AND__ not
making clean or cleandir.

(This fix streamlined by Jordan)

libg++ should now build shared properly.

30 years agoBecause f libg++'s deeeper directory structure, Makefile.inc must specify
Geoff Rehmet [Sat, 28 May 1994 09:45:07 +0000 (09:45 +0000)]
Because f libg++'s deeeper directory structure, Makefile.inc must specify
SHLIB major and MINOR. -- undo my earlier little f*ckup.

A comment will be added to src/gnu/Makefile, about the importance of this.

30 years agoFix stty to set/print VMIN/VTIME values
Andrey Chernov [Sat, 28 May 1994 03:41:16 +0000 (03:41 +0000)]
Fix stty to set/print VMIN/VTIME values

30 years agoMake and install the Sun math library if WANT_MSUN is set. You don't
Wiljo Heinen [Sat, 28 May 1994 00:22:18 +0000 (00:22 +0000)]
Make and install the Sun math library if WANT_MSUN is set. You don't
need to have a i387/i486DX to use the Sun math library. If you do have
a i387/i486DX you should also define HAVE_FPU. Both these options can
be set in /etc/make.conf, like:
HAVE_FPU= yes
WANT_MSUN= yes
(The variable is defined even if you set its value to zero, so if you
don't want  one of these take the line completely out)

30 years agoInstall as libm and also install the Sun math.h. If HAVE_FPU is defined
Wiljo Heinen [Sat, 28 May 1994 00:17:13 +0000 (00:17 +0000)]
Install as libm and also install the Sun math.h. If HAVE_FPU is defined
in /etc/make.conf or as environment variable the library will use
the i386/i486 FPU.
NOTE The /usr/src/lib/Makefile either recurses into libm or msun depending
on the WANT_MSUN define. If you don't have this set this will not affect you.

30 years agoRemove the now deprecated include files from the install rule.
Jordan K. Hubbard [Fri, 27 May 1994 23:33:03 +0000 (23:33 +0000)]
Remove the now deprecated include files from the install rule.

30 years agoMarked floppy fixes as done.
Joerg Wunsch [Fri, 27 May 1994 18:39:32 +0000 (18:39 +0000)]
Marked floppy fixes as done.
Added `libcompat' item, also done now.

30 years agoYuck, forgot to add `fdcontrol' in the Makefile along with
Joerg Wunsch [Fri, 27 May 1994 18:33:21 +0000 (18:33 +0000)]
Yuck, forgot to add `fdcontrol' in the Makefile along with
my fd changes.

30 years agoAdded libcompat
Joerg Wunsch [Fri, 27 May 1994 18:28:49 +0000 (18:28 +0000)]
Added libcompat

30 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Joerg Wunsch [Fri, 27 May 1994 18:15:45 +0000 (18:15 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

30 years agoThis is a small library with compatibility functions. Almost
Joerg Wunsch [Fri, 27 May 1994 18:15:45 +0000 (18:15 +0000)]
This is a small library with compatibility functions. Almost
all of the functions are actually small stubs only (except for
regex.c) - the most important part is the man page, to show the
potential user where to go.

30 years agoFrom: pw@snoopy.MV.COM (Paul F. Werkowski)
Jordan K. Hubbard [Fri, 27 May 1994 13:46:26 +0000 (13:46 +0000)]
From: pw@snoopy.MV.COM (Paul F. Werkowski)

Set proper filter settings at different playback speeds.

30 years agoOnce more: Nuke explicit specification of SHLIB major and minor nos.
Geoff Rehmet [Fri, 27 May 1994 12:37:25 +0000 (12:37 +0000)]
Once more: Nuke explicit specification of SHLIB major and minor nos.
This is the last one I think!

30 years agoMention the `ft' program to hopeful floppy tape users.
Jordan K. Hubbard [Fri, 27 May 1994 11:13:39 +0000 (11:13 +0000)]
Mention the `ft' program to hopeful floppy tape users.

30 years agoRemove explicit specification of SHLIB major and minor nos.
Geoff Rehmet [Fri, 27 May 1994 10:53:33 +0000 (10:53 +0000)]
Remove explicit specification of SHLIB major and minor nos.

30 years agoRemove explicit setting of SHLIB major and minor numbers.
Geoff Rehmet [Fri, 27 May 1994 10:42:42 +0000 (10:42 +0000)]
Remove explicit setting of SHLIB major and minor numbers.
This is already done one level up.
(Aarrggh)

30 years agoNow select should work....
Soren Schmidt [Fri, 27 May 1994 08:51:03 +0000 (08:51 +0000)]
Now select should work....

30 years agoFix compiler warnings about static vs external declarations.
Paul Traina [Fri, 27 May 1994 08:18:16 +0000 (08:18 +0000)]
Fix compiler warnings about static vs external declarations.

30 years agoClean up S/key library (libskey.a) so that filename access is via the
Paul Traina [Fri, 27 May 1994 07:50:08 +0000 (07:50 +0000)]
Clean up S/key library (libskey.a) so that filename access is via the
standard 4.4bsd pathnames mechanism.

Also document a potential security hole vs backwards compatibility tradeoff.

30 years agoInclude missing data structure definitions.
Paul Traina [Fri, 27 May 1994 07:42:49 +0000 (07:42 +0000)]
Include missing data structure definitions.

30 years agoPthread version of stdio warns about bogus size casting.
Paul Traina [Fri, 27 May 1994 07:41:16 +0000 (07:41 +0000)]
Pthread version of stdio warns about bogus size casting.
Take the ugly hack done to the normal stdio library and slap it in here. :-(

30 years agoRepair integer overflow caused by RAND_MAX not being promoted to u_long
Paul Traina [Fri, 27 May 1994 07:33:09 +0000 (07:33 +0000)]
Repair integer overflow caused by RAND_MAX not being promoted to u_long
before the +1.

30 years agoBring the new skey stuff in line with 4.4bsd conventions.
Paul Traina [Fri, 27 May 1994 07:30:54 +0000 (07:30 +0000)]
Bring the new skey stuff in line with 4.4bsd conventions.

30 years agoAdded option NO_HARDFONTS if one doesn't wnat the fonts to be compiled in.
Soren Schmidt [Fri, 27 May 1994 06:52:44 +0000 (06:52 +0000)]
Added option NO_HARDFONTS if one doesn't wnat the fonts to be compiled in.
Added option ASYNCH for those having problems with the LED update.
Fixed bug when switching mode to a nonexisting font type.

30 years agoAdded select.
Soren Schmidt [Fri, 27 May 1994 06:50:46 +0000 (06:50 +0000)]
Added select.
From Luigi Rizzo luigi@labinfo.iet.unipi.it

30 years agoAdded select for pca (pcaudio) device
Soren Schmidt [Fri, 27 May 1994 06:47:34 +0000 (06:47 +0000)]
Added select for pca (pcaudio) device

30 years agoPiero Serini is responsible for ispell.
Satoshi Asami [Fri, 27 May 1994 03:20:09 +0000 (03:20 +0000)]
Piero Serini is responsible for ispell.

30 years agoCorrect a typo I made (/usr/lib/c++rt0.o).
Jordan K. Hubbard [Fri, 27 May 1994 03:02:17 +0000 (03:02 +0000)]
Correct a typo I made (/usr/lib/c++rt0.o).

30 years agoLDADD is actually misused everywhere, now that I've had a chance to really
Jordan K. Hubbard [Fri, 27 May 1994 02:57:38 +0000 (02:57 +0000)]
LDADD is actually misused everywhere, now that I've had a chance to really
look at it.  LDADD passed to ar??  Sigh!!  In any case, really fixing it would
be far too intrusive a change to make at this particular stage in the game,
so I've dropped an extra variable (SHARED_LDADD) in for my immediate needs.
I don't like it, nor a good deal of what I've seen in the current build macros
for that matter, but that's life.

30 years agoLDADD is not specific enough, I need an option that's only added when building
Jordan K. Hubbard [Fri, 27 May 1994 02:46:26 +0000 (02:46 +0000)]
LDADD is not specific enough, I need an option that's only added when building
a shared library.  Hence now SHARED_LDADD.  This needs to be thought of
in more detail since I'm sure this won't be the only failure case.

30 years agoCtrlAltDel and NumLock fixed
Andrey Chernov [Fri, 27 May 1994 01:17:10 +0000 (01:17 +0000)]
CtrlAltDel and NumLock fixed

30 years agoCtrlAltDel and Numlock fixed
Andrey Chernov [Fri, 27 May 1994 01:14:26 +0000 (01:14 +0000)]
CtrlAltDel and Numlock fixed

30 years agoRussian keymap: Ctrl-Alt-Del with NumLock on fixed
Andrey Chernov [Fri, 27 May 1994 01:09:16 +0000 (01:09 +0000)]
Russian keymap: Ctrl-Alt-Del with NumLock on fixed

30 years agoClean this up just a little bit more.
Jordan K. Hubbard [Fri, 27 May 1994 00:06:56 +0000 (00:06 +0000)]
Clean this up just a little bit more.

1. Put CPLUSPLUSLIB definition with SHARED_* definitions since they
   both affect the same aspects of compilation.
2. Neaten up the libg++ Makefile a bit.

30 years agoClean this up just a little bit more.
Jordan K. Hubbard [Fri, 27 May 1994 00:01:14 +0000 (00:01 +0000)]
Clean this up just a little bit more.

1. Put CPLUSPLUSLIB definition with SHARED_* definitions since they
   both affect the same aspects of compilation.
2. Neaten up the libg++ Makefile a bit.

30 years agoFrom Mark Tracey and Paul Traina:
Jordan K. Hubbard [Thu, 26 May 1994 22:42:15 +0000 (22:42 +0000)]
From Mark Tracey and Paul Traina:

These patches enable VAT compatibility and return the socket options back
to FreeBSD 1.1/BSDI 1.1 /4.4lite/NetBSD ordering.

[Sorry for all the flip-flopping on this, but the state of the world seems
to be changing here again - this is the LAST time].

30 years agoMy last fix broke things more, thanks to Paul Traina for pointing that out!
Geoff Rehmet [Thu, 26 May 1994 20:16:49 +0000 (20:16 +0000)]
My last fix broke things more, thanks to Paul Traina for pointing that out!

30 years agoClaim s/key support by claiming libskey.
Guido van Rooij [Thu, 26 May 1994 18:52:23 +0000 (18:52 +0000)]
Claim s/key support by claiming libskey.

30 years agoAdded mroute map-mbone and mrinfo to a CLEANFILE target. Otherwise
Andreas Schulz [Thu, 26 May 1994 17:48:51 +0000 (17:48 +0000)]
Added mroute map-mbone and mrinfo to a CLEANFILE target. Otherwise
they are left in /usr/obj.

30 years agoCorrect russian example for new vidcontrol/kbdcontrol
Andrey Chernov [Thu, 26 May 1994 16:22:56 +0000 (16:22 +0000)]
Correct russian example for new vidcontrol/kbdcontrol

30 years agoAdd missing russian "big" fonts
Andrey Chernov [Thu, 26 May 1994 15:50:59 +0000 (15:50 +0000)]
Add missing russian "big" fonts

30 years agoUp the new shared libg++ to version 1.1
Geoff Rehmet [Thu, 26 May 1994 09:29:56 +0000 (09:29 +0000)]
Up the new shared libg++ to version 1.1

30 years agoRemove lines specifiying shlib version numbers
Geoff Rehmet [Thu, 26 May 1994 08:46:24 +0000 (08:46 +0000)]
Remove lines specifiying shlib version numbers
(The global default is now 1.1)

30 years agoBump minor shlib number - shlib is now version 1.1
Geoff Rehmet [Thu, 26 May 1994 08:38:33 +0000 (08:38 +0000)]
Bump minor shlib number - shlib is now version 1.1

30 years agoBump minor version number (keep in step with the rest of the system)
Geoff Rehmet [Thu, 26 May 1994 08:22:56 +0000 (08:22 +0000)]
Bump minor version number (keep in step with the rest of the system)

30 years agoBump all minor nos. of libs in /usr/src/gnu/lib.
Geoff Rehmet [Thu, 26 May 1994 08:17:25 +0000 (08:17 +0000)]
Bump all minor nos. of libs in /usr/src/gnu/lib.
shlibs are now version 1.1

30 years agoBump all minor numbers of shlibs in the src/lib tree.
Geoff Rehmet [Thu, 26 May 1994 08:09:53 +0000 (08:09 +0000)]
Bump all minor numbers of shlibs in the src/lib tree.

This is the final shlib version number for the 1.1.5 release.

30 years agoAdd #include <sys/types.h> two places so that this can compile on
Rod Grimes [Thu, 26 May 1994 08:03:58 +0000 (08:03 +0000)]
Add #include <sys/types.h> two places so that this can compile on
both FreeBSD 1.X and FreeBSD 2.0.

30 years agoAdd kbdcontrol and vidcontrol targets, migrated from /usr/src/usr.bin
Jordan K. Hubbard [Thu, 26 May 1994 07:59:32 +0000 (07:59 +0000)]
Add kbdcontrol and vidcontrol targets, migrated from /usr/src/usr.bin

30 years agoRemove kbdcontrol and vidcontrol from the Makefile.
Jordan K. Hubbard [Thu, 26 May 1994 07:57:54 +0000 (07:57 +0000)]
Remove kbdcontrol and vidcontrol from the Makefile.

30 years ago>From Jordan
Geoff Rehmet [Thu, 26 May 1994 07:52:23 +0000 (07:52 +0000)]
>From Jordan

Fix braindeadness in my makefile

30 years agoIf a Makefile defines CPLUSPLUSLIB (I don't like the name either, but it's
Jordan K. Hubbard [Thu, 26 May 1994 07:21:25 +0000 (07:21 +0000)]
If a Makefile defines CPLUSPLUSLIB (I don't like the name either, but it's
descriptive at the very least) then yank in the requisite c++rt0.o
so that the global ctors/dtors are called correctly.

30 years agoThis said that getfsent() returned `fstab *', which is wrong. It should
Jordan K. Hubbard [Thu, 26 May 1994 07:11:29 +0000 (07:11 +0000)]
This said that getfsent() returned `fstab *', which is wrong.  It should
be `struct fstab *', obviously.

30 years agoChanges required to make libg++ shared. This consists of the following
Jordan K. Hubbard [Thu, 26 May 1994 06:56:11 +0000 (06:56 +0000)]
Changes required to make libg++ shared.  This consists of the following
basic changes:

1. Use new CPLUSPLUSLIB make variable for requesting that c++rt0.o be
   brought in.

2. Set appropriate major/minor numbers.

3. Pull in libcurses reference so that individual clinets don't need to
   deal with the global externs requested by curses.h in libg++.

30 years agoGot this fix from think.com:
Rod Grimes [Thu, 26 May 1994 06:06:47 +0000 (06:06 +0000)]
Got this fix from think.com:
The following two patches should allow the documented "-I !" option to
skip the ignore lists and import/update all files in the directory.

I need it to force certain files to import (ie, csh.a which is part of
the csh documentation).

30 years agoRemove rest of "trailing slashes" change
Andrey Chernov [Thu, 26 May 1994 05:32:05 +0000 (05:32 +0000)]
Remove rest of "trailing slashes" change

30 years ago"trailing slashes" backed out
Andrey Chernov [Thu, 26 May 1994 04:46:47 +0000 (04:46 +0000)]
"trailing slashes" backed out

30 years ago"trailing slashes" backed out
Andrey Chernov [Thu, 26 May 1994 04:40:05 +0000 (04:40 +0000)]
"trailing slashes" backed out

30 years ago"trailing slashes" backed out
Andrey Chernov [Thu, 26 May 1994 04:29:54 +0000 (04:29 +0000)]
"trailing slashes" backed out

30 years ago1. Correct the man page to correctly reference kbdcontrol(1).
Jordan K. Hubbard [Thu, 26 May 1994 04:13:59 +0000 (04:13 +0000)]
1. Correct the man page to correctly reference kbdcontrol(1).

2. Change printing of available screensavers so that user is not tempted
   to type in the screen saver number, rather than name.

30 years agoWith non-MNP connectings getty often dumps core, because
Andrey Chernov [Thu, 26 May 1994 03:01:24 +0000 (03:01 +0000)]
With non-MNP connectings getty often dumps core, because
^C and ^\ can comes from line as grabadge before terminal mode switching.
Fix reactions of SIGINT/SIGQUIT

30 years agoUpdate Makefile to sync with the now-deleted login.access man page.
Jordan K. Hubbard [Thu, 26 May 1994 00:32:29 +0000 (00:32 +0000)]
Update Makefile to sync with the now-deleted login.access man page.

30 years agoArgh, I am a bozo! Use the right variable name in calculating the
Jordan K. Hubbard [Thu, 26 May 1994 00:23:24 +0000 (00:23 +0000)]
Argh, I am a bozo!  Use the right variable name in calculating the
secsiz check, it might help! :-) [should have let the compile finish BEFORE
committing the change, parallelism is not always optimal!]

30 years agoLooked over Andreas's change a little bit. Basically the right idea,
Jordan K. Hubbard [Wed, 25 May 1994 23:43:26 +0000 (23:43 +0000)]
Looked over Andreas's change a little bit.  Basically the right idea,
but the check needed to go in sd_get_parms(), with the other sanity checking.
Also use SECSIZE instead of hardcoded constant of 512.

30 years agoprevent an integer divide in kernel mode if secsiz came back as zero
Andreas Schulz [Wed, 25 May 1994 23:21:46 +0000 (23:21 +0000)]
prevent an integer divide in kernel mode if secsiz came back as zero
from a get_params from a disk. Found by Donal.Tobin@cs.tcd.ie .

30 years agoFix ugly error in cp xxx /
Andrey Chernov [Wed, 25 May 1994 21:58:26 +0000 (21:58 +0000)]
Fix ugly error in cp xxx /
internal STRIP_TRAILING_SLASHES macro remove single slash too,
so cp does stat of "" instead stat of "/"
P.S. this bug found using new eliminating "" kernel change!
Without it it will be too hard to find it.

30 years agoFix -z key, patch from Taylor
Andrey Chernov [Wed, 25 May 1994 20:14:52 +0000 (20:14 +0000)]
Fix -z key, patch from Taylor

30 years agoAdded the code for the Gateway Ethernet card into if_ed.c. The whole code
Andreas Schulz [Wed, 25 May 1994 20:06:49 +0000 (20:06 +0000)]
Added the code for the Gateway Ethernet card into if_ed.c. The whole code
is ifdefed with GWETHER. Code donated from John Hay (jhay@mikom.csir.co.za).
So an options GWETHER is needed in the config file.

Added the files elink.c and elink.h. These are both files with common
code for the 3C509 ( if_ep.c ) and 3C507 ( if_ie.c ) driver.
Added the file if_ie507.h. These are some definitions for the 3C507.
All these three files came from the NetBSD-current sources.

30 years agoAs requested...
Garrett Wollman [Wed, 25 May 1994 19:56:48 +0000 (19:56 +0000)]
As requested...

From: Geoff Rehmet <csgr@freefall.cdrom.com>
Modified Files:
options.doc
Log Message:
update options for lpt (and note the removal of lpa).
Would someone (Garrett?)  who is happy with working with texinfo update
the texinfo version of this document, please?

30 years agopunctuation change in logging of coredumps (to make Piero happy).
Geoff Rehmet [Wed, 25 May 1994 19:49:38 +0000 (19:49 +0000)]
punctuation change in logging of coredumps (to make Piero happy).

30 years agoDocumentation added
Andrey Chernov [Wed, 25 May 1994 19:04:00 +0000 (19:04 +0000)]
Documentation added

30 years agochanged 'make install' to 'make clean all install' a couple of places
Poul-Henning Kamp [Wed, 25 May 1994 18:28:01 +0000 (18:28 +0000)]
changed 'make install' to 'make clean all install' a couple of places
so that 'make world' will really do it. (the trigger was that the
/usr/include/rpcsvc stuff wasn't being remade)

30 years agoAdded missing pmap_update(). This missing was likely hosing people that
David Greenman [Wed, 25 May 1994 11:23:20 +0000 (11:23 +0000)]
Added missing pmap_update(). This missing was likely hosing people that
were using bounce buffers.

30 years agoFixed broken pte bit definitions. I fixed this long ago in pte.h, but
David Greenman [Wed, 25 May 1994 11:18:50 +0000 (11:18 +0000)]
Fixed broken pte bit definitions. I fixed this long ago in pte.h, but
sigh, the definitions are duplicated in here, too.

30 years agoChanges from John Dyson to fix system death problem that sometimes
David Greenman [Wed, 25 May 1994 11:06:51 +0000 (11:06 +0000)]
Changes from John Dyson to fix system death problem that sometimes
happend when running out of swap space.

30 years agoPCFS data corruption with cp Medium * Steven W./ATS
Steven Wallace [Wed, 25 May 1994 08:40:34 +0000 (08:40 +0000)]
PCFS data corruption with cp            Medium *        Steven W./ATS
Indicate task completed.

30 years agoFixes:
Steven Wallace [Wed, 25 May 1994 08:33:15 +0000 (08:33 +0000)]
Fixes:
  .  mmap will now work with PCFS without data corruption

Explanation:
Function pcfs_bmap receives a cluster number, bn, and returns the
filesystem relative block number.  This is accomplished by calling the function
pcbmap which needs the cluster number and can return the filesystem relative
block number or filesystem relative cluster number.
In function pcfs_bmap,

  return pcbmap(dep, bn << (pmp->pm_cnshift - pmp->pm_bnshift), bnp, 0);

is attempting to pass a block number by converting the cluster number, bn,
to a block number.  Since pcfs_bmap() receives a cluster number, and pcbmap()
requires a cluster number, this conversion should not take place.  Therefore,
this piece of code is changed to look like:

  return pcbmap(dep, bn, bnp, 0);

30 years agoupdate options for lpt (and note the removal of lpa).
Geoff Rehmet [Wed, 25 May 1994 08:20:35 +0000 (08:20 +0000)]
update options for lpt (and note the removal of lpa).
Would someone (Garrett?)  who is happy with working with texinfo update
the texinfo version of this document, please?