From: smm@iedv7.acd.com ( Steve McCoole       )
Subject: BSD/386 Ported Software List Part 02/02
Followup-To: comp.unix.bsd
Keywords: BSDI BSD/386, porting, patches
Organization: Applied Computing Devices, Inc., Terre Haute IN
Date: Mon, 31 Aug 1992 03:32:56 GMT


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

Section 3.  Patches or enhancments for BSDI systems.

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

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.  Contact him for availablity and testing.  
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. 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>
------
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>
------
========================================================================

Section 4.  BSDI Archive Sites

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


[ 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.

Steve


Newsgroups: comp.unix.bsd