*BSD News Article 6498


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!hp9000.csc.cuhk.hk!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!sdd.hp.com!cs.utexas.edu!uunet!acd4!iedv7!smm
From: smm@iedv7.acd.com ( Steve McCoole       )
Subject: BSDI BSD/386 Ported Software List 02/02
Message-ID: <1992Oct13.234026.11076@acd4.acd.com>
Sender: news@acd4.acd.com (USENET News System)
Organization: Applied Computing Devices, Inc., Terre Haute IN
References: <1992Oct13.233850.10990@acd4.acd.com>
Date: Tue, 13 Oct 1992 23:40:26 GMT
Lines: 485

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

Subject: Section 3.  Patches or enhancments for BSDI systems.
Date: Tue, 13 Oct 1992 09:00 EST

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

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

Subject: Section 4.  BSDI Archive Sites
Date: Tue, 13 Oct 1992 09:00 EST

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


[ 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