From: Steve McCoole (smm@iedv7.acd.com) Subject: BSDI BSD/386 Information (LONG) Newsgroups: comp.unix.bsd View: (This is the only article in this thread) | Original Format Date: 1992-05-28 08:43:32 PST Some people have been asking about BSDI and what is going on "on the list". Now that we are able to talk, here is a copy of a list that I maintain for BSDI information. Its very young and in the process of changing format but it may prove useful for people wanting more information. Steve Welcome to the BSDI ported software list! Its purpose is to give information about net software that has been ported to or that is known to compile without modificaton on the BSDI BSD/386 system. I am also attempting to list the current patches and enhancements that are available. This list will be posted on a bi-weekly basis unless the demand is greater. I hope to be able to find a place to set up an archive site for this list and some of the software packages or patches mentioned here. I have also been saving the postings to the beta list since it was started and have been thinking about making them available too. Stay tuned for more information about this. I do not have more information about setting up an archive but two people have contacted me about archives that they have set up. I have not been able to start placing things on them yet but will be doing so when I have coordinated it with the people maintaning them. Archives are now listed in a section of their own. The list is split into four sections. Section 1 describes the software packages from the net that have been ported to the BSDI system. These are packages that had to be worked with to make them functional under BSDI. The changes necessary are variable from "easy" on up. The second section is for software that compiles on BSDI without code modifications. It appears that several X applications fall into this area at the moment. Section 3 will be for enhancements and patches written specifically for the BSDI system such as new drivers or BSDI system patches. Section 4 lists the current archive sites for public BSDI patches, ports and enhancements. Please contact me if you have any corrections, suggestions, or contributions to the list. Steve McCoole Send mail to: smm@acd4.acd.com or uunet!acd4.acd.com!smm ======================================================================== BSDI SOFTWARE LIST ( 05-20-92 ) Please leave this information at the top of the list. Contact Steve McCoole ( smm@acd4.acd.com/uunet!acd4!smm ) for questions/suggestions/additions for the list. Comments inserted in the list will be enclosed in brackets. Section 1: Ported Software ======================================================================== SOFTWARE PACKAGE NAME: Bnews VERSION: DESCRIPTION: YOUR NAME/E-MAIL: thomasm@ingres.com AVAILABILITY: STATE OF PORT/CODE: REQUIRES: NOTES: Pretty straight forward. System is missing ftime, so a compatibility function had to be written. ======================================================================== SOFTWARE PACKAGE NAME: elm VERSION: DESCRIPTION: Full screen mailing interface. YOUR NAME/E-MAIL: thomasm@ingres.com AVAILABILITY: STATE OF PORT/CODE: REQUIRES: NOTES: BSD toupper/tolower are broken. Elm supplies versions which can be used. Or you can fix the one's in libc like I did. ======================================================================== SOFTWARE PACKAGE NAME: pcomm VERSION: DESCRIPTION: Communications package. YOUR NAME/E-MAIL: thomasm@ingres.com AVAILABILITY: STATE OF PORT/CODE: REQUIRES: NOTES: Some ioctl's had to be changed. Nothing big, if I recall. ======================================================================== SOFTWARE PACKAGE NAME: xviewgl VERSION: DESCRIPTION: YOUR NAME/E-MAIL: thomasm@ingres.com AVAILABILITY: STATE OF PORT/CODE: REQUIRES: NOTES: Found a bug in libc.a in fgetpos. Once this was fixed everything worked fine. ======================================================================== SOFTWARE PACKAGE NAME: SB Prolog VERSION: 3.1 DESCRIPTION: Freeware Prolog interpreter with docs. YOUR NAME/E-MAIL: Doug Dyer/ddyer@afit.af.mil AVAILABILITY: Anonymous ftp via cs.arizona.edu for this version. STATE OF PORT/CODE: Everything works as far as I can tell. REQUIRES: I had to change a few things. I can send mail to anyone interested. NOTES: None ======================================================================== SOFTWARE PACKAGE NAME: CLIPS (C Language Integrated Production System) VERSION: 5.0 DESCRIPTION: A rule-based, forward-chaining expert system shell patterned after OPS 5, ART. CLIPS also includes the CLIPS Object-Oriented Language (COOL). CLIPS was developed by NASA/Johnson and is widely used. YOUR NAME/E-MAIL: Doug Dyer/ddyer@afit.af.mil AVAILABILITY: Oddly, it may be available via anonymous ftp (see note below). Otherwise, it is free to NASA, USAF, and their contractors. Others can purchase CLIPS in source form from COSMIC, NASA's commercial software developer. STATE OF PORT/CODE: Everything works as far as I can tell. REQUIRES: No brains, anyway. Changing a line or two in the makefile. NOTES: Recently, Brian Donnell at NASA posted the following news item: "If you are an employee of or contractor to NASA or USAF, you may obtain CLIPS ...... You may redistribute to NASA and USAF employees and . Everyone else must purchase CLIPS from COSMIC. However, once you have purchased CLIPS, you may do anything you want with it, including redistribute it by posting it for anonymous FTP. Thus, a copy of CLIPS which can trace its ultimate origins to a copy purchased from COSMIC may be freely distributed. However, we at NASA are not allowed to do this." Therefore, it seems that anyone who has purchased CLIPS can effectively place it in the public domain. ======================================================================== SOFTWARE PACKAGE NAME: bash VERSION: 1.12 DESCRIPTION: FSF's `Bourne Again SHell', including everything but the kitchen sink. YOUR NAME/E-MAIL: grog%lemis@Germany.EU.Net AVAILABILITY: When I have the people at unido accept incoming uucp transfers, I'll put it there. Diffs also available for  the asking. STATE OF PORT/CODE: I've been using it for 6 weeks, and have found no bugs. REQUIRES: (nothing special) NOTES: (none) ======================================================================== SOFTWARE PACKAGE NAME: emacs VERSION: 18.57 DESCRIPTION: This is available as a standard product, of course. This version has enhanced support for keyboards under X. Includes the kitchen sink. YOUR NAME/E-MAIL: grog%lemis@Germany.EU.Net AVAILABILITY: When I have the people at unido accept incoming uucp transfers, I'll put it there. Diffs also available for  the asking. STATE OF PORT/CODE: I've been using it for 6 weeks, and have found no bugs. REQUIRES: (nothing special) NOTES: (none) ======================================================================== SOFTWARE PACKAGE NAME: iozone VERSION: 1.08 DESCRIPTION: Displays neatly table of disk performance YOUR NAME/E-MAIL: pi@rus.uni-stuttgart.de AVAILABILITY: No. I'm not sure whether binaries or sources are more popular ? Or both ? STATE OF PORT/CODE: ready REQUIRES: - NOTES: Added an #define bsd4_2 to include sys/time.h ======================================================================== SOFTWARE PACKAGE NAME: Screen VERSION: 3.2 DESCRIPTION: Provides multiple sessions on one connection, works over almost any line. Replacement for missing virtual terminals. YOUR NAME/E-MAIL: pi@rus.uni-stuttgart.de, bsdi stuff was already defined AVAILABILITY: ftp.uni-stuttgart.de:/soft/kommunikation/news/tmp/screen* STATE OF PORT/CODE: works ok, has problems with characters missing etc. but is useable. REQUIRES: NOTES: It did not compile out of the box, some problems with signals. ======================================================================== SOFTWARE PACKAGE NAME: elvis VERSION: 1.5 DESCRIPTION: good replacement for vi YOUR NAME/E-MAIL: pi@rus.uni-stuttgart.de AVAILABILITY: no, same as above STATE OF PORT/CODE: I use it since two weeks, better then the older elvis, had to modify prsvunix.c (extern getpwuid is ansified and needs to be correct) REQUIRES: - NOTES: wonderful, the visual mark facility ! ======================================================================== SOFTWARE PACKAGE NAME: less VERSION: 170 (hmm, isnt it supposed to be 177 ?) DESCRIPTION: replacement for more YOUR NAME/E-MAIL: pi@rus.uni-stuttgart.de AVAILABILITY: no. STATE OF PORT/CODE: it works, better then the supplied more 8) REQUIRES: - NOTES: it requires to include and define REGCOMP in search.c to work properly, but the linstall does not recognize this. I don't think the REGCOMP support was ever tested. [ Janet Jackson and thomasm@ingres.com (Tom Markson) both also report less compiled and working. Janet's notes follow below. ] REQUIRES: regex.c as provided by James da Silva , if you want to use regexps. I compiled regex.c into a local library file in /usr/local/lib, which I included with -L in less's Makefile. NO CHANGES TO THE CODE OF less ITSELF. NOTES: when run on console using the standard terminal type (pc3, I think) less complains that the terminal can't scroll backwards. This complaint could probably be turned off by compiling with a lower level of help messages. ======================================================================== SOFTWARE PACKAGE NAME: ISODE VERSION: 7.0 DESCRIPTION: The ISO Developers Environment which provides upper layer support for OSI applications and includes an X.500 implementation. ISODE can use the ISO and CCITT socket families if the appropreate hardware and drivers are installed in your system (this is untested). YOUR NAME/E-MAIL: huntting@glarp.com AVAILABILITY: The ISODE version 7.0 is P/D, bug quite huge. Future versions of ISODE will be encumbered. STATE OF PORT/CODE: The diff's were minimal. I would have to pull the source off of backup tapes and run diff if anyone needs them. The compiled installation (libraries, include files, the 'quipu' X.500 server, SNMP agent, etc) can be made available easily. REQUIRES: The encumbered version of lex is needed to compile the package. Flex chokes. NOTES: ======================================================================== SOFTWARE PACKAGE NAME: PP VERSION: 6.0 DESCRIPTION: A Message Transfer Agent capable of handling X.400, SMTP, and other protocols. YOUR NAME/E-MAIL: huntting@glarp.com AVAILABILITY: PP-6.0 is P/D STATE OF PORT/CODE: Like ISODE, there were minimal changes. REQUIRES: The encumbered version of lex may be needed to compile this package. ISODE-6.0 is also required. NOTES: ======================================================================== SOFTWARE PACKAGE NAME: MetaFont et al.  TeX, LaTeX et al. bash 1.12  dvips 5.47 (I think)  emacs 18.58 (with X11 support)  flex (dont know which version, latest from prep)  ghostscript 2.4 + ghostview  gtar 1.10  kermit 5A(179) BETA (newer than the one in contrib)  sc (spreadsheet)  screen ("virtual console" via ptys)  shar  xcal (x calendar) VERSION: See above. DESCRIPTION: YOUR NAME/E-MAIL: Bernhard.Schneck@physik.tu-muenchen.de AVAILABILITY: STATE OF PORT/CODE: REQUIRES: NOTES: If you need more information about any of these packages drop me a mail. ======================================================================== SOFTWARE PACKAGE NAME: minicom VERSION: 1.2pl1 DESCRIPTION: Communications package. YOUR NAME/E-MAIL: smm@acd4.acd.com ( Steve McCoole ) AVAILABILITY: Can do some limited mailing of diffs. STATE OF PORT/CODE: Working well, one real bug. REQUIRES: NOTES: There is a status indicator on the bottom of the screen. If the program thinks that the modem is on-line, scrolling does not work properly. I'm looking for the problem. The work-around right now is to use the hang up command as soon as you enter the program and it works fine after that. I had to comment out a SIG_IGN call for SIGTINT and initialize some variables before they were used in wkeys.c. ======================================================================== SOFTWARE PACKAGE NAME: nethack VERSION: 3.0 pl 10 DESCRIPTION: Character based adventure game. YOUR NAME/E-MAIL: smm@acd4.acd.com ( Steve McCoole ) AVAILABILITY: Can do some limited mailing of diffs. STATE OF PORT/CODE: REQUIRES: NOTES: Had to put an int definition for sprintf in the nethack system.h file under BSD. Had to add the following define to unixtty.c: #ifdef bsdi #define GTTY(x) (ioctl(0, TIOCGETP, (char *)x)) #define STTY(x) (ioctl(0, TIOCSETP, (char *)x)) #endif The rest of the config was basically generic BSD. ======================================================================== SOFTWARE PACKAGE NAME: ImakeTeX (TeX 3.14 & LaTeX) and MetaFont from labrea xfig (R5) ghostscript 2.4 (X & epson) ghostview 1.1 xdvi dvi2ps 2.31 transfig ( from R5) zsh 2.2 tcsh 6.01 gnutar 1.09 bison 1.14 flex 2.3 mg 2a gnu-fgrep 1.0 VERSION: See above. DESCRIPTION: Various ported software. YOUR NAME/E-MAIL: pfp@xs0001.at (Peter Pflaeging) AVAILABILITY: I've got no Internet access (only UUCP) so it would be great to see an archive server (preferable in Europe) where I can mail my binary set. STATE OF PORT/CODE: I've got BSD/386 running since one week. This ported software are the tools I'm using normally. Though - I've compiled it and they work - but I don't know if they are really stable. I haven't seen a bug since the porting. REQUIRES: NOTES: Tips for people who want to port: --------------------------------- Normally the software to port ask for an operating system: First hint is BSD4.3 or BSD4.4. One of the differences is: 386/BSD is POSIX compliant. Though look for the switch -D_POSIX_SOURCE One of the most amusing facts is that prototypes for library functions are in 386/BSD headers. Sometimes you must delete the prototypes from the source of the programs (a good way to look for software quality). X-software is very easy to port. Normally xmkmf -a produces a good Makefile. Problems: --------- The only hard problem I've is: web2c from labrea doesn't work, because either lex or yacc are producing fals C-source. So I've made the first step (generating C-source) on an ULTRIX 4.2 machine. Then I compiled the suite under BSD/386. I will test this with flex and bison again. ======================================================================== SOFTWARE PACKAGE NAME: ups DESCRIPTION: X11 based source level C debugger. YOUR NAME/E-MAIL: mtr@ukc.ac.uk (Mark Russell) AVAILABILITY: Soon - it is being tested by a few people now. I will  make it available by anonymous FTP in the next week or so. STATE OF PORT/CODE: Alpha test - it has not yet been used other than by me. REQUIRES: Access to X server (either on the PC itself or elsewhere). NOTES: ======================================================================== SOFTWARE PACKAGE NAME: tcsh VERSION: 6.02 DESCRIPTION: a popular csh-derived shell with line editing and other bells&whistles. YOUR NAME/E-MAIL: John Kohl AVAILABILITY: pick it up from tesla.ee.cornell.edu:/pub/tcsh/tcsh-6.02.tar.Z STATE OF PORT/CODE: complete. REQUIRES: disk space :-) NOTES: [ pfp@xs0001.at (Peter Pflaeging) also reports a working port of tcsh, but his version is 6.01 ] If you have X11 installed, you can just run this to configure it before building: imake -DUseInstalled -DConfigH="bsd4.4" -I/usr/X11/lib/X11/config Otherwise, edit as directed in README and select bsd4.4 as the system type. It just compiles & works. ======================================================================== SOFTWARE PACKAGE NAME: sc VERSION: 6.8 DESCRIPTION: Spreadsheet calculator--your basic spreadsheet. YOUR NAME/E-MAIL: John T Kohl AVAILABILITY: Pick it up from any comp.sources.unix archive, Volume 23 (e.g. ftp.uu.net:/usenet/comp.sources.unix/volume23/sc6.8/*) STATE OF PORT/CODE: Runs fine. Just compile & install! NOTES: You'll need to configure the Makefile; should be straightforward (look at the stuff marked 'reno' for most of it) [ Bernhard.Schneck@physik.tu-muenchen.de also has this package working, version is not known. ] ======================================================================== SOFTWARE PACKAGE NAME: XLISP-PLUS VERSION: 2.1d DESCRIPTION: Common Lisp-like (getting closer!) interpreter. Originally developed by David Michael Betz for the PC, this version was significantly revised by Tom Almy and others. YOUR NAME/E-MAIL: ddyer@afit.af.mil AVAILABILITY: Original 2.1d sources are ftpable from glia.biostr.washington.edu128.95.10.115 bikini.cis.ufl.edu128.227.224.1 STATE OF PORT/CODE: I've not tested completely, nor eliminated all compiler warnings, but things I have tried work fine and the documentation is good. REQUIRES: Minor changes NOTES: I will respond to email if anyone has problems. ======================================================================== SOFTWARE PACKAGE NAME: Gnu sed VERSION: 1.08 DESCRIPTION: YOUR NAME/E-MAIL: Larry Jones AVAILABILITY: [ This is one of the things that I'm looking to send to one of the archive sites if they don't already have it. ] STATE OF PORT/CODE: REQUIRES: NOTES: A number of people have complained about sed being defective. I finally got some time to look into it and fix it. In a nutshell, the way sed was handling subprograms ('{' and '}') was completely wrong. I've sent the fixes to GNU, but I thought people here would appreciate having the fixed version, so I'm sending this shar. ======================================================================== Section 2. Software that works with minimal/no effort. ======================================================================== thomasm@ingres.com (Tom Markson) mkid2 - adv - The original Colossal cave adventure. zmodem - File transfer protocols. tass - Usenet news reader. tin - Usenet news reader. smail - Version 2.5, mail transport agent ======================================================================== bts!bill@uunet.uu.net ( Bill Hatch ) I have installed the following X packages under bsdi 386. These are NOT ports - using the automated X makefile generator the required changes have been typically 1 to 5 lines of code or Imakefile. xgobi - from statlib xlispstat - from statlib xv-2.21 - from uunet (a big change from the bsdi contrib version) 3dplot - from uunet pbmplus - from uunet ======================================================================== smm@acd4.acd.com ( Steve McCoole ) The following packages are installed on my system with little or no changes to make them work. The ones marked with a (+) only required an xmkmf to get a Makefile. hexcalc - Good X-based programmer's calculator (+) xmartin - Ver 2.2 Generate X root window fractal (+) xcolors - Show colors in X rgb database (+) planet - Generate imaginary worlds ======================================================================== 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 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" Compatiblity routines for re_comp and re_exec using the new regcomp/regexec routines. James da Silva 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. 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 ) I have a PD version of pr, which I have almost done. There is some inconsistencies in how multiple columns/files is handled, which I want to fix before posting it to the net & 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 Patch to pccons.c to allow ALT key to generate META for emacs on BSDI console. John T Kohl This patch makes init do proper "logging out" (according to utmp/wtmp) of users. John T Kohl 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 Fix for select(2) inadvertently turning a very short timeout value into a zero (infinite) sleep request. John T Kohl 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) ======================================================================== Section 4. BSDI Archive Sites ======================================================================== [ There are currently two sites that are 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 , 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 --- Steve McCoole | smm@acd4.acd.com / uunet!acd4!smm Applied Computing Devices, Inc. Terre Haute, IN "The Silicon Cornfield"