*BSD News Article 10073


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA7151 ; Mon, 18 Jan 93 10:48:46 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!acd4!iedv7!smm
From: smm@iedv7.acd.com ( Steve McCoole       )
Subject: BSDI BSD/386 Ported Software List 02/02
Message-ID: <1993Jan18.214908.15130@acd4.acd.com>
Followup-To: comp.unix.bsd
Summary: List of software and patches.
Sender: news@acd4.acd.com (USENET News System)
Organization: Applied Computing Devices, Inc., Terre Haute IN
References: <1993Jan18.214656.15060@acd4.acd.com>
Date: Mon, 18 Jan 1993 21:49:08 GMT
Lines: 970


========================================================================

Subject: Section 3.  Patches or enhancments for BSDI systems.
Date: Mon Jan 18 19:00:29 EST 1993

========================================================================
[ Admin Note:  Most (All?) of the patches and extensions listed here
 are available on BSDI.COM in one of the download directories or
 in one of the mailing list archives.  Some of the early listings
 are probably only available from one of the mailing list archives.
 -SMM ]

Patches to nfs_socket.c adding code that searches through the reserved
ports, and binds the socket to the first unused port it finds.  This
is done just after the call to soconnect, that creates the socket used
by the nfs client.  Rob Fristrom <rrf@cs.umd.edu>
-----
Patches for tolower(), toupper(), floor(), and ceil() functions from
the libm math library.  donn@ibapah.bsdi.com (Donn Seeley)
-----
Patches to support German [ and more generic? ] keyboad maps.   "Dirk
Husemann" <Dirk.Husemann@informatik.uni-erlangen.de>
-----
Compatiblity routines for re_comp and re_exec using the new
regcomp/regexec routines.   James da Silva <jds@cs.umd.edu>
-----
Patches for MouseSystems compatible 3-button mouse.
jtkohl@kolvir.elcr.ca.us (John T Kohl)
-----
Parallel (printer) port and bus mouse drivers.   Also includes a
printer filter for ascii to postscript printing. The busmouse driver
is at version 3.0 and the printer driver is version 5.0.
Erik also reports having a Logitech version of his
busmouse driver that he has not tested extensively since he does not
have a Logitech.  David Boyce reports that he has had the Logitech
busmouse driver working since June.
(GAMMA) A version of the Logitech busmouse driver has been created
by Erik and is available.
erik@eab.retix.com (Erik Forsberg)
-----
Additions to math lib including srand48(), drand48(), erf(), and
erfc().   bts!bill@uunet.uu.net ( Bill Hatch )
-----
I have a patch for the tty compatibility code that makes it more
careful about setting the ISTRIP flag when doing TIOCGETP followed by
TIOCSETP.  With this change installed in the kernel
(/usr/src/sys/kern/tty_compat.c), I was able to run vi in 8-bit mode
and edit a file with non-ASCII characters on the console.  (I'm using
a derivative of Dirk Husemann's keyboard modifications to use ALT as a
meta key.)  Mike Karels ( sent by Jeff Polk <polk@bsdi.com> )
-----
PD version of the pr program.  Posted to the beta list.  This is part
of the distribution on GAMMA releases.  bjorn@sysadmin.com
(Bjorn Satdeva) 
-----
Package that allows booting BSDI or DOS from the same hard disk.
Requires bootany.zip from DOS archives such as ftp.uu.net.
John T Kohl <jtkohl@kolvir.elcr.ca.us>
-----
Patch to pccons.c to allow ALT key to generate META for emacs on BSDI
console.  John T Kohl <jtkohl@kolvir.elcr.ca.us>
-----
This patch makes init do proper "logging out" (according to utmp/wtmp)
of users.  John T Kohl <jtkohl@kolvir.elcr.ca.us>
-----
The following patch adds the "buffered" and "unbuffered" commands
to mt(1) to enable and disable buffered writes.
visenix!beattie@uunet.uu.net (Brian Beattie)
-----
I made a small modification to the kernel source file
i386/isa/pccons.c to allow
SCO-style terminal escapes to change colors on a character-mode screen, for
those of us who haven't gotten X to work yet. The escape sequences are:
ESC[=nF - set normal foreground color to n
ESC[=nG - set normal background color to n
ESC[=nH - set reverse video foreground color to n
ESC[=nI - set reverse video background color to n
where n is one of the following:
0 - black	1 - blue	2 - green	3 - cyan
4 - red		5 - magenta	6 - brown	7 - white
8 - gray	9 - light blue	10 - lt green 	11 - lt cyan
12 - lt red	13 - lt magenta	14 - yellow	15 - hi white
For the background settings, colors 8-15 are the same as 0-7, and the 0x8 bit
turns on blinking (at least on my hardware). This can be changed by
reprogramming the meaning of the bit in the hardware, but I haven't done that
yet. Kent Peacock <kentp@svmp03>
-----
Fix for select(2) inadvertently turning a very short timeout value into
a zero (infinite) sleep request.  John T Kohl <jtkohl@kolvir.elcr.ca.us>
-----
Some people have not had great success using uucp as supplied with
the BSDI package.  I recompiled the uucp sources to use exclusively
BNU style configuration (which I understand), created BNU configuration
files, and now things work great.  brian@apt.bungi.com (Brian Litzinger)
-----
I have an older Wangtek QIC150 tape drive that does not fully support
SCSI-1.  The drive seems to be support some of the features of SCSI-1
so, to better support it I have made some modifications to the scsi tape
device driver.  These changes may be usefull to others who have drive
that do not fully support SCSI-1.  visenix!beattie@uunet.uu.net
(Brian Beattie) 
-----
I have a new version of the console terminal emulator code (kernel pccons.c)
with a number of changes from various beta sites, as well as some fixes
that I have made and a lot of cleanup.  It is based on fixes from
John Haugen for the PS/2 machines and the code from Dirk Husemann
to do (most of) the German keyboard stuff using the ALT key(s).
It does not (yet?) have Greg Lehey's code for German multiple-key
sequences.  The current tables use ALT as a meta key except where
it is used for alternate characters.

Because the files are moderately large, I have put them out for
anonymous FTP from liberty.BSDI.COM for the moment; they are in
/hidden/pccons.shar.  I will mail them on request to folks
without FTP access, and will mail them now those who have already
requested them.

I think it fixes these problems:

o left and right shift, control and alt keys are recognized separately,
  and it correctly deals with pressing both keys and then releasing one.

o it recognizes extended-keyboard keys separately from the main keyboard
  (or keypad) equivalents (this was needed for right control and alt).
  As a result, arrow keys and editing keypad keys no longer produce digits.

o The arrow keys are now supported.

o The num lock key is recognized and used, and the keypad produces numbers
  only when num lock is on.  Num lock is set at initialization.

o the normal, standout and kernel foreground/background colors are settable
  by SCO-compatible escape sequences (from Kent Peacock), and the cursor
  can be changed to a block cursor.

o a problem resulting in reentrance of sput is fixed, and output reordering
  problems that resulted seem to be fixed.  A side effect may be that
  more of the output processing, including scrolling, will be done
  at base priority rather than spltty.  (This may help reduce silo
  overflows on machines where the console is in use but X is not.)

o a lot of the code has been cleaned up, and even uses manifest constants
  for many of the magic numbers (not yet all)

o no longer crashes when cursor addressing, etc. are out of range

o the cursor is kept in sync during most kernel output (during autoconfig,
  for kernel input, etc.)


At least the following are not yet fixed:

o recognition of the stupid pause key code sequence (it still toggles num lock)

o function keys, arrow keys, still do nothing useful, although the keys
  are recognized and they can now be defined to produce a string.
  Similarly for numeric keypad keys when num-lock is not set.
  I don't know what these keys should send.

o the standalone kbd.c has not been converted yet; I compile it using
  the old pcconstab.* files for now.


Notes on the new escape sequences:

Color codes:

0 - black	1 - blue	2 - green	3 - cyan
4 - red		5 - magenta	6 - brown	7 - white

For foreground, the following "intense" color variants are available.
(In background, these set the corresponding value above plus the blinking
attribute.)

8 - gray	9 - light blue	10 - lt green 	11 - lt cyan
12 - lt red	13 - lt magenta	14 - yellow	15 - hi white

ESC[=nF - set normal foreground color to n (default white)
ESC[=nG - set normal background color to n (default black)
ESC[=nH - set reverse video foreground color to n (default black)
ESC[=nI - set reverse video background color to n (default white)
ESC[=nK - set kernel foreground color to n (default hi white, had been yellow)
ESC[=nL - set kernel background color to n (default blue)

ESC[1_  - set block cursor
ESC[0_  - set underscore cursor
karels@bsdi.com (Mike Karels)
-----
Patches to pccons to allow German keyboard multiple key sequences.
uunet!lemis!grog (Greg Lehey)
-----
Patches to com driver for modem control. Com driver is at version 3.0
with some additional patches.
Brad Huntting <huntting@misc.glarp.com>
-----
Patches for gcc2.2.1 compilation errors. block@gmf.eds.com (Jon Block)
-----
Patches for gnu linker bug that shows up with g++.
donn@bsdi.com (Donn Seeley)
-----
Patches to allow you to read 720k floppies in a HD 3.5" drive. 
John T Kohl <jtkohl@kolvir.elcr.ca.us>
-----
Patches for pbmplus compilation on bsdi.
John T Kohl <jtkohl@kolvir.elcr.ca.us>
-----
Program reads /etc/slipsite to determin which of two gateways
to call for slip.

And here are some diffs for sbin/slattach/slattach.c to allow it
to catch HUP's when the line dies, syslog when it connects and when
it dies, allow more creative line speeds, leave the line speed
alone when you dont specificly ask for a particular speed (this is
not the way its advertised, I just think the "default baud rate"
bit is ludicrously ussless).
Brad Huntting <huntting@misc.glarp.com>
-----
Patch to talk program to allow automatic word wrap.
Marc G. Frank <mfrank@well.sf.ca.us>
-----
When attempting to get uucp to work, I noticed that uucico would
reliably dump core when it was the wrong time to make a call. The fault
was a zero dereference in fcall(), thus:
Andy Rutter <andy@hoskyns.co.uk>
-----
Someone else's patches to GNU emacs for 386BSD apply equally well to
BSD/386's emacs, to make subprocess signals to work properly (this
problem has been oustanding for quite a while).  I've attached them
(relative to the beta EMACS sources).  Thanks to Bill Sommerfeld
(sommerfeld@apollo.hp.com)!
John T Kohl <jtkohl@kolvir.elcr.ca.us>
------
Workaround for FPE emulation on systems with no hardware co-processor.
karels@bsdi.com
------
ksh dies because the setvbuf routine is defective.  Here is a fix that
Chris Torek has sent me.
pc@bsdi.com
------
Patches to allow you to build libg++-2.2.  You may have configure
problems using /bin/sh, I used bash and did a 'configure bsdi'.
block@gmf.eds.com (Jon Block)
------
Patches to the com.v3 driver to allow use of a multi-port comm board.
brian@apt.bungi.com (Brian Litzinger)
------
Patches to fix NFS pwd problems on a client of a BSDI server.
karels@bsdi.com
------
Filehandles patch for perl. Required for perl man package to work.
block@gmf.eds.com (Jon Block)
------
Patches to allow the SoundBlaster driver posted to alt.sources work
under BSDI.
John T Kohl <jtkohl@kolvir.elcr.ca.us>
(GAMMA) Patches to John's patches to allow the SoundBlaster driver to
work under GAMMA release.
Steve McCoole <smm@acd4.acd.com>
------
Fixes for the floating point emulator.
karels@bsdi.com
------
Another set of patches for gcc-2.2.2.
Roland Wilcher <raw@ushiva.ncoast.org>
------
Patches to tar so that it does not require the minus in front of
options.
John T Kohl <jtkohl@kolvir.elcr.ca.us>
------
Posting of SLIP scripts and experiences in setting it up.
"Lee A. Butler" <butler@brl.mil>
-------
(GAMMA) Fixes to beta and gamma db(3) bugs.
Robert Willis <rwillis@bbn.com>
-------
Patches to make elm mailer compile by Brian Litzinger.  Sent by
Marc.
Marc G. Frank <mgfrank@avernus.com>
-------
Gcc 2.2.2 fix for recursive code generation bug.
Taavi Talvik <taavi@abc.postimees.ee>
-------
(GAMMA) Fix to boot stopping while updating the LEDs on the keyboard.
This fix was for beta and gamma.
Tom Markson <tom@usblues.rt.com>
-------
(GAMMA) Fix to wangtek tape driver to allow it to read more than one
archive off of a tape.  Patch is for beta and gamma.
Tom Markson <tom@usblues.rt.com>
-------
(GAMMA) Patch to correctly set paths.el for emacs in beta and gamma.
composer@beyond.dreams.org (Jeff Kellem)
-------
(GAMMA) Fix for getloadavg in libkvm for not closing file descriptors.
This fixes the bug mentioned in the gamma release notes and takes care
of the sendmail problem.
composer@beyond.dreams.org (Jeff Kellem)
-------
(GAMMA) Fix for monop that makes the random number generator work properly.
Tom Markson <tom@usblues.rt.com>
-------
(GAMMA) Filters and setup to support postscript printers under gamma.
erik@eab.retix.com (Erik Forsberg)
-------
(GAMMA) Fix for sort dumping core on "sort +3".
composer@beyond.dreams.org (Jeff Kellem)
-------
(GAMMA) Fix for uucp problem of SEGV when a "from" argument is not specified.
Tom Markson <tom@usblues.rt.com>
-------
(GAMMA) Fix to the new uucp from UUNET to recognize entries in the
CONFIG file.
Tom Markson <tom@usblues.rt.com>
-------
(GAMMA) Another fix to the new uucp from UUNET.
Eric Ziegast <ziegast@uunet.uu.net>
-------
(GAMMA) Fixes to xload to make it work under BSD/386 gamma (0.9.1).
composer@beyond.dreams.org (Jeff Kellem)
-------
Agetty a replacement for getty on machines running SysV, SunOS or BSDI 
BSD/386.  It supports hardware handshaking, bidirectional line support and
other stuff.  brian@apt.bungi.com (Brian Litzinger)
-------
Perl scripts for starting up slip automatically.
Curtis Villamizar <curtis@ans.net>
-------
Su program, sudo, that supports the -c option.
brian@apt.bungi.com (Brian Litzinger)
-------
Attached is a uuencoded tar.Z of vgaset, a program for interactively
sizing screens. It can be run from another terminal and is thus usable
even if the display is not readable. It outputs a mode line suitable
for inclusion in Xconfig. Documentation is included.
uunet!lemis!grog (Greg Lehey)
-------
Yagetty.  Yet Another getty program with handling for dial-ins and
dial-outs on the same port.
uunet!lemis!grog (Greg Lehey)
-------
Patch to com.v3 that:
Added MODEM_OPEN macro that tests to see if the minor device has the 5th
bit set.  If it does then it does the wait for CD otherwise it does not.  The
UNIT number now can be from 0-15 (are more needed?).

After applying the below patch on the Com.v3 driver...

Do a:
	mknod /dev/com0 c 8 0		for hard-wired terminals (the default)
	-or-
	mknod /dev/com0 c 8 16		for modems (hang waiting for CD)

or hey:
	mknod /dev/com0 c 8 0
	-AND-
	mknod /dev/modem0 c 8 16	AND HAVE BOTH (what a concept :-).
gray@antaire.com (Gray Watson)
-------
Patch to X server to eliminate having to use stty and a long sleep to get
raw mode when using some MouseSystems Mice.
Robert "J.Dunlop" <rjd@chaser.co.uk>
-------
Promiscuous mode was not implemented in the Western Digital
driver (at least in the Beta version).  Here is a patch that adds
promiscuous mode and makes tcpdump work.
andy@terasil.terasil.com (Andrew H. Marrinson)
-------
I believe the below patch fixes at least 2 bugs from the bug list (#455 and
???) .  The second one I turned in the other day but forgot the auto-response
number.

Hopefully it won't create any new ones.  :-)

This patch fixes the problems:

- 'kill -HUP 1' did not respawn a job if you've changed its command line.
- init restarted too fast (I stuck in 2 second pause before job spawning)
- init respawned a job too fast after it was respawning too fast.  I split
	one define into two.

Let me know if I've done something bad here but our system has been up for
hours (and numerous kill -HUP 1 calls) with no problems.

Also, the logout.patch from the patch directory that I applied, generate tons
of "can't register logout..." messages (1 for each time a job restarted) so I
removed the else and the warning.  Anyone else have this problem?
gray@antaire.com (Gray Watson)
-------
(GAMMA) Recently I purchased a Longshine LCS-8880 el-cheapo 4-port serial card
from Altex Electronics for about $75 plus shipping.  The card has a single DB37
on the back panel with a cable that fans out to four male DB25 connectors, has
socketted 16450-style UARTs (easy to swap out for 16550's if needed), and in
general looks like pretty solid hardware.

It supports two address ranges, 0x1a0-0x1bf, or 0x2a0-0x2bf in the 'enhanced'
mode where all four ports share one interrupt line, which can be 2/9,3,4,5,6,7.
bdale@gag.com (Bdale Garbee)
-------
Tcl/Tk patches working under beta.  Setenv/unsetenv hack may not be
robust.  Problems with the strod function as provided by the package (
BSDI has a prototype for the function but not the function itself ).
hartzell@cory.berkeley.edu (George Hartzell)
-------
Tcl/Tk patches also working under beta.
cpetterb@javelin.sim.es.com (Cary Petterborg)
-------
We aquired a used DEC hard drive which did not seem to spin up at all.
After digging around an Ultrix system, we discovered that the drive
needed a START_UNIT command to get it going.  Here is a fix for the
scsi/sd.c driver which will issue a start unit upon boot (only to a
DEC drive at this moment.  Issueing the start unit did not
cause problems for other drives, so I think the DEC compare can be
safely removed).  If anyone else is having trouble getting unknown drives
to spin-up this will probably fix the problem.
tomm@ingres.com (Tom Markson)
-------
(GAMMA) We seem to get a lot of requests to look up ASC/ASCQ codes...
I'll append a patch to the scsicmd sources below which will let you
extract an English translation of these values like this:

	% scsicmd -a 0x14/0
	recorded entity not found
	%

Scsicmd appears in gamma; if you don't have gamma and you want scsicmd,
ask Jeff for a copy.
donn@bsdi.com (Donn Seeley)
-------
(GAMMA)  Patch for problems with floating point instructions in rundos
envirionment.
karels@bsdi.com (Mike Karels)
-------
(GAMMA)
I can't live without my 8 port serial card, so I quickly hacked
gamma 0.9 com.c to support it with my generic multiport modifications.

While testing the bidirectional line usage, I discovered a bug, at
least in my opinion, in the DCD detection (fix included).

This version isn't as robust as the latest stuff I had for beta 0.3.3,
but it works. Also, something is interfering with the bidirectional
line usage.

(Sorry about posting this to both gamma and beta lists, but I wasn't
sure if a gamma list exists)

You have to add something along the lines of the following to your config
file:

# COM ports
# APT HSS08 multi-port serial card
device		com0	at isa? port 0x100
device		com1	at isa? port 0x108
device		com2	at isa? port 0x110
device		com3	at isa? port 0x118
device		com4	at isa? port 0x120
device		com5	at isa? port 0x128
device		com6	at isa? port 0x130
device		com7	at isa? port 0x138

The HSS08 shares one IRQ for all the ports, so I get warnings about
conflicting IRQs from the autoconfigurator during boot, but it works.

I also added:
    stty -f /dev/com0 clocal
    stty -f /dev/com1 clocal
    ...

to my /etc/rc.local, so things would stop blocking unexpectedly.

Brian Litzinger <brian@apt.bungi.com>
-------
(GAMMA)
The recently completed support for the Panasonic cdrom audio is now
available by anonymous ftp from bsdi.com:/sw/gamma/progs/libcdrom.tar.Z.  
This tar archive contains the sources and objects for the library, plus 
a binary for cdctl(1).  Besides the Panasonic drive, it includes support
for the Toshiba 3201B SCSI, the Mitsumi ISA, and any SCSI-2 drive.

Pace Willisson
pace@bsdi.com
-------
(GAMMA)
An updated MH is available at bsdi.com in the /bsdi.sw/gamma/progs
directory.  It is the LBL-UCB MH 6.5.1 version.
Tony Sanders <sanders@austin.bsdi.com>
-------
Here is the diff to add automatic file decompression to more, which
means that if you compress your man pages, that more will
automatically decompress them as they are displayed to you by "man".
This file is in /bsdi.sw/sw/patches/compressed_more.patch on bsdi.com.
webb@napa.telebit.com (Bill Webb)
-------
Here is a portion of my fdisk program which prints out lines for
/etc/mtoolsrc written in C++.  This file is in
/bsdi.sw/sw/progs/fdisk.mtoolsrc.prog on bsdi.com.
Paul Borman <prb@cray.com>
-------
File and instructions on how to compile and get gcc 2.3.2 going under
BSDI.  This file is under /bsdi.sw/sw/gnu/gcc2.3.2.compile on
bsdi.com. 
Bert Driehuis <DRIEHUIS@rulfsw.leidenuniv.nl>
-------
Instructions on how to install BSDI on a notebook computer that did
not have an ethernet interface. This file is stored as
/bsdi.sw/sw/info/webb.install.notebook.noether on bsdi.com.
webb@napa.telebit.com (Bill Webb)
-------
(GAMMA)
Shell script to build symboic link trees for compiling off of
CD-ROM.  File in /bsdi.sw/sw/gamma/progs/cdlink,cdlink.patch01 on
bsdi.com. 
Paul Borman <prb@random.cray.com>.
-------
The following are my corrections to 4 math functions missing from the gamma
release.  I have tested erf() and erfc().  I have not tested
drand48 and srand48.  File:
/bsdi.sw/sw/gamma/patches/gamma.math.funcs.patch on bsdi.com.
bts!bill@uunet.uu.net (Bill Hatch)
-------
(GAMMA3)
The new sed in gamma-3 fails both to compile and execute a
substitute expression like 's/\\/\\\\/g' which is supposed to
replace each back-slash with two back-slashes.  
File: /bsdi.sw/sw/gamma/patches/gamma3.sed.patch
on bsdi.com.
root@eab.retix.com (Erik Forsberg) 
-------
(GAMMA)
Someone reported a problem with slip where they would get host unreachable
errors even though the routing entries looked fine.  I found a bug
in slip that would cause this error if the line was not using hardware
carrier detect, but instead used the clocal flag.  Slip was checking
carrier detect without checking clocal as well.  The fix is appended.
File: /bsdi.sw/sw/gamma/patches/host.unreachable.slip.patch
on bsdi.com.
karels@bsdi.com (Mike Karels)
------
(GAMMA)
Man page describing the ISO9660 CD-ROM filesystem.  
File: /bsdi.sw/sw/gamma/patches/iso9660.man
on bsdi.com.
pace@bsdi.com (Pace Willisson)
-------
(GAMMA)
I find it quite annoying that stock ps reports the name of /dev/com1 to
be co, the same as for /dev/console.  The following 4 additional lines to
print.c in the ps directory fixes that:
Files: /bsdi.sw/sw/gamma/patches/ps.com.report.patch*
on bsdi.com.
Paul Borman <prb@random.cray.com>
-------
(GAMMA)
The distributed new sed is unable to compile regular expressions
like this one (occuring frequently in GNU configure scripts, found
this one from the gdb 4.7 configure)

s/^[-a-z_]*=//

The problem is with the first character in the [] character set.
Traditional sed (BSD 4.3) allows a single - to be treated as a
ordinary character.

As sed uses the regex stuff in libcompat, I fixed it to allow
this syntax in /usr/src/lib/libcompat/regcomp.c See the case
that was removed by #ifdef notdef

This problem also exists in the libc regexp version. But as
I do not know what POSIX has to say about this syntax, I haven't
bothered to fix it there too.
File: /bsdi.sw/sw/gamma/patches/sed.dash.patch
on bsdi.com
root@eab.retix.com (Erik Forsberg)
-------
(GAMMA)
Tcpdump patches:
Patch 1
This is a real bug. If you have NE[12]000 Ethernet card or
3Com EtherLink III(ef?) or EtherLink Plus(ep?) card, you should
better to apply this patch.
Patch2
Yesterday, I posted my fix to here. Today, I found a much
better way to fix this problem. If you already applied my
previous fix, please restore files(both net/bpf.c and
i386/isa/if_ne.c) and then apply the following fix.
File:/bsdi.sw/sw/gamma/patches/tcpdump.patch[1-2]
Yoshitaka Tokugawa <toku@dit.co.jp>
-------
(GAMMA)
Another script to make a set of symlinks to compile off of a CD-ROM
filesystem.
File:/bsdi.sw/sw/gamma/progs/web.makelinks.script on bsdi.com
webb@napa.telebit.com (Bill Webb)
------
(GAMMA)
If you are running version 8.9 of Ingres on BSD/386, you may have noticed
some problems with the locking deamon.  The biggest problem, which I fixed,
is that the ingreslock program is using older semantics for select.  They
used long's with select instead of fd_set's so select gets horribly
confused.  I assume this is a relic of the days when the second parameter
to select was just an int.

Anyway, I removed the bit fiddling and changed all of the manipulations to
their correct FD_XXX counterparts.  Plus, I initialized a table that 
seemed to need it (maybe it didn't, but it doesn't to hurt!)

If you have picked up ingres89.tar.Z from bsdi.com or applied the 
Ingres.diff file sent there, just:

	cd /usr/ingres/source/support (or your source area/support)
	patch -p <this_file

I have found a couple of other changes from the Lynix port. I'll be posting
those very soon:
File: /bsdi.sw/sw/gamma/app.patches/ingress.lock.driver.patches
on bsdi.com
Tom Markson <tom@usblues.rt.com>
-------
(GAMMA)
Below is a shar archive with the necessary changes for BSDI.  They
has been tested on gamma 1 and gamma 3.  I do not know if they will
work on the beta release.
To configure and compile smail, you will need to install a current version
of bash as /bin/sh.  The shipped version of /bin/sh (ash) will not work,
and neither will older versions of bash.  Also, at least on gamma 1, you will
need to create the file mkdriv.perl by running mkdriv.awk through
a2p (awk to perl).  THe makefile shipped with smail3-28 will then know
to do the right thing.
File: /bsdi.sw/sw/gamma/app.patches/smail-3.28.patches
bjorn@sysadmin.com (Bjorn Satdeva)
-------
(GAMMA)
Patches to compile libg++ version 2.3 under BSDI.
File: /bsdi.sw/sw/gamma/gnu/libg++-2.3.patches
Bert Driehuis <DRIEHUIS@rulfsw.leidenuniv.nl>
-------
(GAMMA)
Third, I wrote a new getopt for perl.  I was hoping a few people here
might like to test it before I post it to comp.lang.perl, to sniff out
any bugs I may have missed.  What distinguishes it from the getopts
provided with perl is that you can specify the variable the command-line
option affects.  Additionally, you can have simple flags, options that
take single arguments, or options that take multiple arguments.
File: /bsdi.sw/sw/gamma/progs/frank.perl.getopt
mgfrank@avernus.com (Marc G. Frank)
-------
(GAMMA)
Patches to make ELM 2.4pl17 mailer compile under BSDI gamma.
File: /bsdi.sw.sw/gamma/app.patches/elm2.4.pl17.patch
nerd@percival.rain.com (Michael Galassi)
-------
(GAMMA)
These are changes to GDB 4.7 in order to support it for
BSD/386 from BSDI. Unfortunately, because BSDI uses a new
a.out format (magic number 0314) it is kind of difficult to
merge it into the 386BSD support without pain. So these
changes adds the configuration option 'i386-unknown-bsdi'.
NOTE:  Does not support kernel debugging!
File: /bsdi.sw/sw/gamma/gnu/gdb4.7.patch
erik@eab.retix.com (Erik Forsberg)
-------
(GAMMA)
Here are my patches for gamma4.  I didn't have to hack on xmix, just
recompiled it from scratch (using gcc-2, not the gcc-1.xx which comes
with the system, though).
File: /bsdi.sw/sw/gamma/drivers/sblast1.5.gamma.patches
John T Kohl <jtkohl@kolvir.elcr.ca.us>
-------
(GAMMA)
I got tired of the autorepeating Caps/Num/Scroll Lock keys and tried to do
something about it. The console keyboard handling is fixed easy enough, but
the X server uses the raw scancodes from the keyboard and needs to be fixed
as well. Since I use the ATI Graphics Ultra X server I can't fix this myself.
A crude patch to disable autorepeating "Lock" keys in the console driver is
included later in this mail.
File: /bsdi.sw/sw/gamma/patches/gamma4.autorepeat.key.patch
Hans Nasten <nasten@everyware.se>
-------
(GAMMA)
Several folks have run into problems with the new bidirectional modem
feature; there are a few things that slipped through the cracks when
that was integrated into gamma.4.  We have a package of fixes that should
make things work correctly with getty, tip, uucp and kermit, courtesy
of Pace Willison.  I have included the source patches in this message as
a shar file; a complete package including pre-compiled binaries is available
via anonymous FTP from BSDI.COM, path /sw/gamma4/patches/bidir.tar.Z.
If anyone needs binaries and cannot get them via FTP, contact polk@BSDI.COM
for a uuencoded copy by mail.
File: /sw/gamma4/patches/bidir.tar.Z
karels@bsdi.com (Mike Karels)
-------
(GAMMA)
Here's my pet peeve.  When pressing ctrl-alt-del in the normal kernel
it reboots (gasp)!  I mean are we running MS-DOG here or what?  :-)
Here's my patch so it at least asks.  Wasn't this the default before?
Was there a reason for its removal?
File: /bsdi.sw/sw/gamma/patches/gamma4.ctrl.alt.del.no.reboot.patch
gray@antaire.com (Gray Watson)
-------
(GAMMA)
Here is a patch for the diskdefect command that fixes the above
problem (diskdefect -a corruped the bad-block table if no new bad
sectors were found).
File: /bsdi.sw/sw/gamma/patches/gamma4.diskdefect.patch
Tony Sanders <sanders@bsdi.com>
-------
(GAMMA)
The changes in the latest SCSI tape driver (gamma-4) that increased
the size of all buffers used for a scsi mode sense command upto 128
was not such a good idea.
It completely broke tape support for EISA 174x host adapters.
The problem is that first a mode sense command is used to fill
the buffer, then something is modified and the same buffer is
then passed to the mode select function. But the length passed
is sizeof buffer (always 128) instead of the ACTUAL length of
the buffer. This causes a data underrun error on the 1740 host
adapter that I use.
File: /bsdi.sw/sw/gamma/patches/gamma4.esia.174x.tape.patch
erik@eab.retix.com (Erik Forsberg)
-------
(GAMMA)
Aside from the fact that a number of programs will have to be
recompiled, is there a reason why the following patch should not be
applied?
This allows /etc/fstab to have '#' comments and blank lines.
File: /bsdi.sw/sw/gamma/patches/gamma4.fstab.comment.patch
gray@antaire.com (Gray Watson)
-------
(GAMMA)
Here is an official patch for fstat.c in case anyone needs to use it.
File: /bsdi.sw/sw/gamma/patches/gamma4.fstat.patch
Tony Sanders <sanders@bsdi.com>
-------
(GAMMA)
Join as shipped with gamma/4 will SEGV if you try to use it.  THe code
was correct in gamma/3, but the fix must have slipped through the cracks.
This fix will make join function as advertised:
File: /bsdi.sw/sw/gamma/gamma4.join.patch
Tom Markson <tom@usblues.rt.com>
-------
(GAMMA)
We have had problems finding a spot for the ne2000.  The problem in gamma4
is that it is blocked by the lp0/pe0 device on the standard LPT1 address
of 0x378 (ne0 is 360-37f).  If the parallel port is present, ne0 will
not configure.  The problem is that every reasonable address conflicts
with some standard device/address.  Here are the main current choices:

	300	conflicts with wt0
	320	conflicts with aha0
	340	conflicts with mcd0
	360	conflicts with lp0/pe0

The plan for production is to add an mcd0 configuration at 334, allowing
ne0 to work at 340.  I also plan to include an ne0 configuration at 320,
as lots of people are using that (with no Adaptec 154x, of course).
I have included diffs for the GENERIC config file in /usr/src/sys/i386/conf
for anyone who would like to test this.  Note that the ne0 config at
320 is not particularly safe if an Adaptec is present without the patches
I posted for if_ne.c last week.  (It doesn't appear that neprobe would
hit the Adaptec registers, but I am not certain.)
File: /bsdi.sw/sw/gamma/patches/gamma4.ne2000.generic.kernel.conf.patch
karels@bsdi.com (Mike Karels)
-------
(GAMMA)
Here is the fix for NE-2000 clones that fail to configure with gamma4.
The new code has been tested on the clones that failed and on Novell
NE-1000 and NE-2000 cards.  Let me know if anyone has cards that still fail.
File: /bsdi.sw/sw/gamma/patches/gamma4.ne2000.patch
karels@bsdi.com (Mike Karels)
-------
(GAMMA)
Here is a fix for at least part of the problem causing various crashes
when using rundos and other programs that use the floppy drives.
File: /bsdi.sw/sw/gamma/patches/gamma4.rundos.floppy.panic.patch
karels@bsdi.com (Mike Karel)
-------
(GAMMA)
This is a patch for the problem with scsi tape drives that cannot be
opened, printing the error message "st0: unsupported density selection".
An earlier fix was posted that was incompatible with some Exabyte drives.
This fix should work with all drives.  Please let me know if there are
still any problems after applying this patch to /usr/src/sys/scsi/st.c.
File: /bsdi.sw/sw/gamma/patches/gamma4.scsi.tape.exebyte.patch
karels@bsdi.com (Mike Karels)
-------
(GAMMA)
As distributed, the gamma.4 slattach program doesn't exit when it's
slip line is droped.  The problem is that the process waiting for
HUP's has not issued a TIOCSCTTY to make it's controlling tty the
slip line;  hence no HUP's are delivered when the carrier detect
drops.

The following patch to /usr/src/sbin/slattach/slattach.c solves
this problem:
File: /bsdi.sw/sw/gamma/patches/gamma4.slattach.patch
Brad Huntting <huntting@glarp.com>
-------
(GAMMA)
I gave a possible fix for slip hangs to a couple of people, but haven't
gotten any feedback on it.  I would be interested to know if it solves
the problem you had.  To the best of my knowledge, the problem is
actually in hardware, and it happens only with some com boards.
The com port sometimes loses a transmit-complete interrupt, and exhaustive
testing indicated that software never got the interrupt and it was not
pending.  However, ISA-bus interrupts are not exactly robust.
File: /bsdi.sw/sw/gamma/patches/gamma4.slip.hang.patch
karels@bsdi.com (Mike Karels)
-------
(GAMMA)
Several people have had a problem that resulted in a kernel protection
fault in the low-level handler for irq 7.  In several cases this happened
when booting from a floppy.  After staring at the instruction that causes
the fault for a while, I finally realized that I got bit by segmentation;
the failing instruction tries to modify kernel data space without having
switched to a kernel data selector.  The following patch to
/usr/src/sys/i386/isa/icu.h should fix the problem.
File: /bsdi.sw/sw/gamma/patches/gamma4.stray.interrupt.panic.patch
karels@bsdi.com (Mike Karels)
-------
(GAMMA)
Here are the diffs to make Taylor 1.03

	 [ftp.uu.net:/networking/uucp/taylor/taylor-uucp-1.03.tar.Z]

work with the serial device locking scheme under Gamma.4.
File: /bsdi.sw/sw/gamma/patches/gamma4.taylor.uucp.patch
Alan B Clegg <abc@concert.net>
-------
(GAMMA)
The "hayes" entry for tip didn't seem to like my telebit too much, so I
took the telebit dialer from tip/slip (available from gatekeeper.dec.com, I
think) and added it to BSD/386 tip.  The shar file below contains:
	1. Diffs to the Makefile and acutab.c to add the telebit
	2. The telebit dial program.
Files: /bsdi.sw/sw/gamma/patches/gamma4.telebit.tip.patch[1-2]
tom@usblues.rt.com
-------
(GAMMA)
Here are two fixes to gamma/4 (gee, am I the first?):
1. tex doesn't work as shipped.  cmb10.tfm is missing from 
/usr/contrib/lib/tex/fonts/cmfonts.  I built it by going into
/usr/src/contrib/tex/fonts/cmfonts and doing the following:
/usr/contrib/bin/mf '\mode:=localfont;batchmode;mag:=magstep(0);input cmb10'
2. getpar.c is corrupt in /usr/src/games/trek.  Here is the replacement:
File: /bsdi.sw/sw/gamma/patches/gamma4.tex.trek.patch
Tom Markson <tom@usblues.rt.com>
-------
(GAMMA)
Several people have had problems with crashes when modems produced character
input as they were being opened.  Oddly enough, this problem did not show
up before gamma4, although the bug seems to have been present since the
alpha release.  Someone proposed two different fixes earlier; I decided
to use this one, as it does not require changes to existing tty hardware
drivers or conventions.  This patch should be applied to the file
/usr/src/sys/kern/tty.c.
File: /bsdi.sw/sw/gamma/patches/gamma4.tty.crash.patch
karels@bsdi.com (Mike Karels)
-------
(GAMMA)
I've always mourned the days of a simple 1 LOGFILE uucp system.  The
more /var/log/uucp/uucico/hostsite stuff is big time overkill on my
system with 1 or 2 uucp sites.  Of course, if I were running SCO, I'd
have to live with it.  But, since we all bought BSD/386 so we'd have the
source, changes are possible.  
File: /bsdi.sw/sw/gamma/patches/gamma4.uucp.1logfile.patch
tom@usblues.rt.com
-------
(GAMMA)
Several people have had problems with the gamma4 driver for wt tape;
either the device did not configure, or the drive would hang on the
first use.  Both problems have been traced to the same bug.  Here
is the fix for /usr/src/i386/isa/wt.c.  The patch also adds some
debugging code, and just in case, forces the irq to the default
if the drive does not interrupt when probed (which should not be
necessary now, but we will probably include in the next release).
File: /bsdi.sw/sw/gamma/patches/gamma4.wt.tape.patch
karels@bsdi.com (Mike Karels)
-------

========================================================================

Subject: Section 4.  BSDI Archive Sites
Date: Mon Jan 18 19:00:29 EST 1993

========================================================================


[ These are the sites that are currently willing to archive stuff for
the BSDI system.  They are numbered and described below.  Please
contact the person listed in the description with problems, not me.  I
won't be able to help you. ]

1.  nic.funet.fi

Please, if possible, ftp all binaries/sources/patches of BSD/386 to
nic.funet.fi (128.214.6.100). There is plenty of disk space available
and I'm willing to try to keep things in order there.
The directory in nic is ~pub/unix/386ix/bsd386/incoming . I just got added
to beta list, after being reading the idle alpha list for a while, so
please tell me about the other archive sites containing bsd/386 material!
We have had this directory in nic since we got the alpha release, but the
only material I have had there is some xview3 patches.

Send me a note at <antsu@nic.funet.fi> , if you upload something to nic,
describing the bits you sent.

Happy hacking, Antti-Pekka 


2.  ftp.unm.edu

In addition, on the machine ftp.unm.edu is available via anon ftp.
It has a directory called pub/BSDI-386 (to hopefully cut some of the
confusion with 386BSD) and at the moment contains very little.

Any patches relating to BSD/386 that I receive (via email or 
other means) will be place there. At the moment, I only have 
~60 megs of space to deal with so I can't deal with too many
full sources, but we are working on a 2 gig ftp server and 
when that becomes a reality, I don't think space will be
a problem.

Any patches posted to the beta list from this point on will
appear there, if you have posted a patch to the list in the
past, please mail it to me directly.

Steve Freed  <sfreed@ariel.unm.edu>
  

3.  bsdi.com

An archive is now available for programs, patches, information, and ports
for BSD/386 systems.  The archive is at bsdi.com [192.48.96.23] in the
directories under "/bsdi.sw/sw".  Please report problems with the site
to mccoole@bsdi.com or smm@acd4.acd.com.  Sorry it took me so long to 
get things going but I think that you will like it.  

The archive includes all of the patches that have been posted to the beta 
mailing list and a list of all postings to the bata list, stored by month.  
Also available are whole ported programs or patches to some well known 
packages to make them run under BSD/386.  If you have software or patches 
that you would like to contribute to the archive, please drop me a message.

I will also be setting up a "gamma" directory under /bsdi.sw/sw/gamma
for storing programs and patches for the gamma release of BSD/386.
The gamma mailing list will also be archived there on a monthly basis.

Steve

4. ftp.uni-erlangen.de

ftp.uni-erlangen.de:/pub/BSD/BSDI contains a mirror of the relevant/interesting
files on bsdi.com.

Dirk

5. ftp.dit.co.jp

For the Japanese BSDI users, ftp.dit.co.jp:/pub/bsd386 contains
a mirror of bsdi.com:/sw.

-- toku --

Yoshitaka Tokugawa		Internet: toku@dit.co.jp
dit Co., Ltd.			Yamada Bldg. 4F, 2-11-10 Iidabashi
Phone +813-3239-7240		Chiyoda-ku, Tokyo, 102 Japan