Subject: Linux-Development Digest #962
From: Digestifier <Linux-Development-Request@senator-bedfellow.MIT.EDU>
To: Linux-Development@senator-bedfellow.MIT.EDU
Reply-To: Linux-Development@senator-bedfellow.MIT.EDU
Date:     Fri, 29 Jul 94 19:13:09 EDT

Linux-Development Digest #962, Volume #1         Fri, 29 Jul 94 19:13:09 EDT

Contents:
  lint on linux? (Robert F. Hutson)
  bugs in Slackware 2.0.0 (Richard L. Goerwitz)
  Re: ping -f crashes (at least) linux-1.1.29 (Michael Bongartz)
  Re: Cannot Compile New Kernel (nick leroy)
  Re: Hayes ESP suport (Mark Stockton)
  mounting DOS diskette fails under 1.1.36 (Henning Holtschneider)
  Re: Floppy error since 1.1.23 (Yan Zhou)
  Re: Wanted: The Application which can read *.DBF (Jonathan Dasteel)
  Re: Wanted: The Applicat (Lau)
  Re: Dosemu won't work with >1.1.29 <1.1.35 and recompile won't help (Rick Percival)
  Re: 1.1.35 make problem: exhausted memory (Lee Yew Nam)
  Re: shared Libs and X11 don't work in Linux (Kaleb KEITHLEY)
  Re: 1.1.36 make problem: 'NULL' undeclared (David Flood)
  Re: Interest in a new (up to date) LaTeX dist.? (Florian La Roche)
  Re: Kernel PCMCIA card & socket services request (Donald Becker)

----------------------------------------------------------------------------

From: rfh@netcom.com (Robert F. Hutson)
Subject: lint on linux?
Date: Fri, 29 Jul 1994 18:45:20 GMT


Is there a version of lint for linux?  Where might I find it (or is it
hiding under a different name)?

Thanks.

-- 
                          ~ bob (Bob Hutson)
==========================================================================
       bab@swdc.stratus.com (not a typo)              San Jose, CA
       rfh@netcom.com                                (408) 559-5320

------------------------------

From: goer@quads.uchicago.edu (Richard L. Goerwitz)
Subject: bugs in Slackware 2.0.0
Reply-To: goer@midway.uchicago.edu
Date: Tue, 26 Jul 1994 04:14:01 GMT

Where is the correct place to discuss possible bugs in a specific
distribution, and possible remedies, as well as general comments on
the environment?

-- 

   -Richard L. Goerwitz              goer%midway@uchicago.bitnet
   goer@midway.uchicago.edu          rutgers!oddjob!ellis!goer

------------------------------

From: micha@mubo.saar.de (Michael Bongartz)
Subject: Re: ping -f crashes (at least) linux-1.1.29
Date: Sat, 23 Jul 1994 14:06:19 GMT

On 18 Jul 1994 17:54:18 GMT in comp.os.linux.development,
        Guenther Thomsen (thomsen@cs.tu-berlin.de) wrote:

: if I try ping -f vera from doma ( both 8Mb RAM, linux 1.1.29, libc-4.5.26 
: connected by ppp-2.1.2a ) my system crashed and I got following
:  last messages:

Get 1.1.33, and the problem is solved.

-- 
            Life would be much easier, if we had its source code!

EMail:  micha@mubo.saar.de     /\/\     University:      bongartz@cs.uni-sb.de
Voice:  0681/556-54           /    \    Fax + Modem (ZyX 19k2): +49 681 556-34
SnailMail: Michael Bongartz,    Hohe Wacht 18,     66119 Saarbruecken, Germany

------------------------------

From: nick leroy <nick.leroy@mixcom.mixcom.com>
Subject: Re: Cannot Compile New Kernel
Date: Fri, 29 Jul 1994 17:47:33 GMT

>       Where I can get the updated version of ld which can accept the 
>-qmagic option?

Try: sunsite.unc.edu:/pub/Linux/GCC/linux-binutils-1.0.tar.gz

-Nick

+--------------------------------------+-------------------------------------+
| /`-_     Nicholas R LeRoy            | Linux -- What *nix was meant to be. |
|{     }/  nick.leroy@mixcom.com       | gcc   -- What C was meant to be.    |
| \   */   Camtronics, LTD, PO Box 950 |  Escape the Gates of Hell with      |
| |___|    Hartland, WI 53029          |   The choice of a GNU generation... |
+--------------------------------------+-------------------------------------+

-- 
+--------------------------------------+-------------------------------------+
| /`-_     Nicholas R LeRoy            | Linux -- What *nix was meant to be. |
|{     }/  nick.leroy@mixcom.com       | gcc   -- What C was meant to be.    |
| \   */   Camtronics, LTD, PO Box 950 |  Escape the Gates of Hell with      |
| |___|    Hartland, WI 53029          |   The choice of a GNU generation... |
+--------------------------------------+-------------------------------------+

------------------------------

From: marks@schooner.sys.hou.compaq.com (Mark Stockton)
Subject: Re: Hayes ESP suport
Date: Fri, 29 Jul 1994 18:11:13 GMT
Reply-To: marks@schooner.sys.hou.compaq.com

Kai Kretschmann (kai@kmk.rhein-main.de) wrote:
: Hello,

: did  anyone already try  an  Hayes ESP  serial card  under  Linux?  It
: should  be hardware compatible to   normal UART's with some functional
: restrictions.  Full   features might   only   be available  by special
: drivers, any experiences?
: -- 
: Kai Kretschmann,
:   >>>   FidoNet:  2:2461/312, 21:491/1161, 16:100/6006   <<<
:   >>>   Internet: kai@fix.kmk.rhein-main.de              <<<
:   >>>   FAX/BBS:  +49-6172-305379                        <<<

I have one.  It works fine as a 16550.  A driver needs to be written
to make use of it's extended features.  

--
Mark Stockton
Advanced Customer Support 
Compaq Computer Corporation
marks@schooner.sys.hou.compaq.com

------------------------------

From: hh@hhdo.ping.de (Henning Holtschneider)
Subject: mounting DOS diskette fails under 1.1.36
Date: Thu, 28 Jul 1994 11:14:58 GMT

Hi!

I just tried to mount a dos formatted diskette. mount tries to access the
drive (the drive lamp flashes up and the head seeks over the floppy disk)
but then stops with:

       mount: block device /dev/fd0 is not permitted on its filesystem

I also tried kernel version 1.1.33, the problem is the same. I had no
problems with earlier kernels and mounting hard drive partitions also works.

What is wrong there?

                <-gninneH<-
-- 
      Henning Holtschneider * Bauernkamp 41 * 44339 Dortmund * Germany
   Telefax: +49 231 7285296 * Home: hh@hhdo.ping.de * Work: hh@venture.net
  mail to my home address w/ the subject "GET PGP" to get my PGP public key

------------------------------

From: yanz@staff.cs.su.oz.au (Yan Zhou)
Subject: Re: Floppy error since 1.1.23
Date: 26 Jul 1994 04:25:27 GMT

In article <6038@sparky.mdavcr.mda.ca> bruce@mdavcr.mda.ca (Bruce Thompson) writes:

   Sascha Klein (sklein@ramz.ing.tu-bs.de) wrote:
   : Hi,

   : I have a floppy error since kernel 1.1.23. I tested all kernels until
   : 1.1.31. When I use the command

   :    dd if=/dev/fd0 of=/dev/null

   : I get lots of messages

   :    Weird - unlocked, clean and not uptodate buffer on list ...

   Just to add another data point, I've jumped from 1.1.18 to
   1.1.32/33/34 and I'm getting the same behavior. The main thing I'd
   like to know is if the data I'm writing to floppy is getting there!
   It's tough to do backups when your backup device is non-functional!
   [:-)] Time to break out vmlinuz.good (1.1.18)

I have got same kind of problems with 1.1.23 (and I had to switch back
to 1.0.9).  When I used `dd' to copy a zImage to floppy, the driver motor
stayed on (for ever :-(, sometimes with error messages.).  Has this been
fixed in later patches (1.1.34 ?)

Cheers,
Yan

-- 
--
Yan ZHOU (Room G87A, Madsen)

------------------------------

From: jbd@laplata.dasteel.com (Jonathan Dasteel)
Subject: Re: Wanted: The Application which can read *.DBF
Date: 29 Jul 1994 19:28:29 GMT
Reply-To: jbd@dasteel.com

>>>>> "Dennis" == Dennis Heltzel <dheltzel@crl.com> writes:

    Dennis> : Seems to me there is some other kind of source code
    Dennis> floating around the : net for dBase compatible
    Dennis> databases. Maybe this question should be asked : in an
    Dennis> MS-DOS or a database newsgroup since you would get better
    Dennis> : leads there. Once you get source code, porting to Linu
    Dennis> should be easy.

Here is a Perl package which reads dBaseIII files. Call dbopen with
the file name. Call dbread with *var, and it will return successive
records, with the record in field order in @var, and in %var indexed
by field name. Use dbheader to determine structure of the database.
Just a quick hack.

--jbd

#!/bin/sh
# This is a shell archive (produced by shar 3.49)
# To extract the files from this archive, save it to a file, remove
# everything above the "!/bin/sh" line above, and type "sh file_name".
#
# made 07/29/1994 19:23 UTC by jbd@laplata
# Source directory /usr/tx/schwab-2.0/perl
#
# existing files will NOT be overwritten unless -c is specified
#
# This shar contains:
# length  mode       name
# ------ ---------- ------------------------------------------
#   2750 -rwxr-xr-x dBaseIII.pl
#
shar: saving dBaseIII.pl (Text)
# ============= dBaseIII.pl ==============
if test -f 'dBaseIII.pl' -a X"$1" != X"-c"; then
        echo 'x - skipping dBaseIII.pl (File already exists)'
else
echo 'x - extracting dBaseIII.pl (Text)'
sed 's/^X//' << 'SHAR_EOF' > 'dBaseIII.pl' &&
#!/usr/local/bin/perl
#  $Id: dBaseIII.pl,v 1.1 1993/09/15 16:53:32 jbd Exp jbd $
# $Log: dBaseIII.pl,v $
# Revision 1.1  1993/09/15  16:53:32  jbd
# Initial revision
#
X
package dBaseIII;
X
sub i2s {
X    local($num)=@_;
X    local($b1,$b2)=unpack("C C",$num);
X    return $b2*256+$b1;
}
X
sub i2l {
X    local($num)=@_;
X    local($b1,$b2,$b3,$b4)=unpack("C C C C",$num);
X    return ($b2<<8)+($b1<<0)+($b4<<24)+($b3<<16);
}
X
X
sub main'dbopen {
X    ($ifile)=@_;
X
X    local($buffer);
X
X    open( ifile ) || die "$ifile: $!";
X
X    read(ifile,$buffer,32);
X    ($dbversion,$yy,$mm,$dd,$num_recs,$hdr_length,$rec_size)
X       =unpack('C C C C a4 a2 a2',$buffer);
X
X    # these  were in intel order
X    $num_recs=&i2l($num_recs);
X    $num_recs++;
X    $hdr_length=&i2s($hdr_length);
X    $rec_size=&i2s($rec_size);
X
X    $num_fields=(($hdr_length-1)-32)/32;
X    
X    local($buffer);
X    for(local($field_num) = 0;$field_num < $num_fields;$field_num++) {
X       read(ifile,$buffer,32);
X       ($fname[$field_num],
X        $ftype[$field_num],
X        $faddress[$field_num],
X        $flength[$field_num],
X        $fcount[$field_num])
X       =unpack('A11 a a4 C a',$buffer);
X    }
X
X    # throw away ^D
X    read(ifile,$buffer,2);
X
X    $rec_num = 0;
}
sub main'dbheader {
X    local(*raw)=@_;
X    print raw "   version: $dbversion\n";
X    print raw "        yy: $yy\n";
X    print raw "        mm: $mm\n";
X    print raw "        dd: $dd\n";
X    print raw "  num_recs: $num_recs\n";
X    print raw "hdr_length: $hdr_length\n";
X    print raw "  rec_size: $rec_size\n";
X    print raw "num_fields: $num_fields\n";
X
X    for(local($field_num) = 0;$field_num < $num_fields;$field_num++) {
X       print raw "Field $field_num: <$fname[$field_num]>,$ftype[$field_num],$flength[$field_num]\n";
X    }
X    
}
X
sub main'dbread {
X    return undef if $rec_num >= $num_recs;
X
X    local(*ary)=@_;
X    local($buffer_offset) = 0;
X    local($rec_buffer,$field_buffer);
X
X    read(ifile,$rec_buffer,$rec_size);
X
X    for(local($field_num) = 0;$field_num < $num_fields;$field_num++) {
X
X       $field_buffer = substr($rec_buffer,
X                              $buffer_offset,
X                              $flength[$field_num] );
X       $buffer_offset += $flength[$field_num];
X
X       if($ftype[$field_num] eq 'C' ) {
X           $value = unpack('A*',$field_buffer);
X           # strip leading spaces
X           $value =~ s/^ *//g;
X       } elsif($ftype[$field_num] eq 'N' ) {
X           $value = $field_buffer;
X           $value =~ s/^ *//g;
X       } elsif($ftype[$field_num] eq 'L' ) {
X           ($field_buffer=~/yYtT/)?$value=1:undef $value;
X       } elsif($ftype[$field_num] eq 'M' ) {
X           $value = 'memo field';
X       } elsif($ftype[$field_num] eq 'D' ) {
X           $value = $field_buffer;
X       } else {
X           $value = '!!!!!!';
X       }
X       $ary[$field_num]=$value;
X       $ary{$fname[$field_num]} = $value;
X    }
X    $rec_num++;
X    close ifile if $rec_num >= $num_recs;
X    return 1;
}
X
1;
SHAR_EOF
chmod 0755 dBaseIII.pl ||
echo 'restore of dBaseIII.pl failed'
Wc_c="`wc -c < 'dBaseIII.pl'`"
test 2750 -eq "$Wc_c" ||
        echo 'dBaseIII.pl: original size 2750, current size' "$Wc_c"
fi
exit 0
--
Jonathan Dasteel                     Snail-mail:
(303) 385-4177                       DurangoNet, Inc.
(303) 385-6745    (Facsimile)        777 Main Avenue, Suite 205
jbd@durango.net   (Internet)         Durango, Colorado 81301

------------------------------

From: gabe@io.org (Lau)
Subject: Re: Wanted: The Applicat
Date: 29 Jul 1994 14:16:12 -0400

To: mpdillon@coho.halcyon.com

>Subject: Re: Wanted: The Application which can read *.DBF
>Date: 28 Jul 1994 06:34:15 GMT
>>Regarding *.DBF files in Linux, I was told on 7/22/94 that a
>>commercial development product is now available for Linux.
>>The most interesting characteristic from my perspective is that
>>it allows CA-Clipper CODE to be compiled/run under Linux.  To
>>do that, it clearly has to have the capability of reading/writing
>>to *.DBF files.
>>
>>I was told for a limited time, a single user copy is $200
>>and unlimited user development system is $500.
    
>Better yet is C code to access dBase files. Sequiter Software sells
>CodeBase 5.0 with full C source code and programs written using
>their library can access Clipper and dBase and Fopro files with
>full multi-user record locking abilities and can even co-exist on
>the same network as Clipper/Foxpro apps accessing the same files.
>
>Seems to me there is some other kind of source code floating around the
>net for dBase compatible databases. Maybe this question should be asked
>in an MS-DOS or a database newsgroup since you would get better
>leads there. Once you get source code, porting to Linu should be easy.
>
>--
>Michael Dillon                 Internet: mpdillon@halcyon.halcyon.com
>C-4 Powerhouse                  Fidonet: 1:353/350
>RR #2 Armstrong, BC  V0E 1B0      Voice: +1-604-546-8022
>Canada                              BBS: +1-604-546-2705

    Yes there is already something available in Linux, I've been using it 
for 6 months.  I found it on the comp.sources.misc archive volume 40.  It 
allows access to DBF files but cannot use indexes.  It allows xbase files 
to be manipulated and created from the command line.  There are library 
functions as well.  Oh, its call "dbf".  I compiled it on Yggdrasil 99.pl13 
but it should be easy to compile (I know didly about compiling).
    
    gabe@io.org
    (Kin Lau)
    
---
* UniQWK v3.0 * The Windows Mail Reader
                                                                                 

------------------------------

Subject: Re: Dosemu won't work with >1.1.29 <1.1.35 and recompile won't help
From: rick@kcbbs.gen.nz (Rick Percival)
Date: 25 Jul 94 22:24:56 GMT

lcvanveen@et.tudelft.nl wrote:
: Last week I rebuild Linux to version 1.33 and noticed dosemu0.52 
: wouldn't work anymore. The screen went black and the only thing 
: I could do was shutdown with crtl-alt-del. This morning I went 
: over to Linux 1.1.35 and recompiled dosemu again. I still won't 

I also can't get dosemu to work with >1.1.27.  There has been a rash of 
patches just recently but it doesn't look like any of them have been to fix 
this problem.  I'd really like to use the new UMSDOS support in the 1.1.35 
patch but also need/want dosemu support.

Any chance of checking on this please Linus?

------------------------------

From: lnam%dynasty%linuxpub%csah.sg.com@jaring.my (Lee Yew Nam)
Crossposted-To: comp.os.linux.admin
Subject: Re: 1.1.35 make problem: exhausted memory
Date: 28 Jul 1994 18:17:15 GMT
Reply-To: lnam%dynasty%linuxpub%csah.sg.com@jaring.my

Peter Schmitt (pete@geminga.dartmouth.edu) wrote:
: My 386 has 5M ram and 5M swap.  I am currently running 1.1.34 and got
: the following when trying to make 1.1.35:

: make[2]: Entering directory `/usr/src/linux/drivers/char'
: gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
: -O2 -fomit-frame-pointer -pipe -m386 -c tty_io.c
There is a bug in 1.1.34 which leaks out virual memory. Try to
compile 35 under a kernel < 1.1.30.

Lee.
--
Email Address: lnam%dynasty%linuxpub%csah.sg.com@jaring.my

------------------------------

From: kaleb@x.org (Kaleb KEITHLEY)
Crossposted-To: comp.windows.x.i386unix
Subject: Re: shared Libs and X11 don't work in Linux
Date: 27 Jul 94 13:57:38 GMT

ehritz@vexpert.dbai.tuwien.ac.at (Gerald Ehritz) writes:

>I run into some strange problems trying to compile X11R6pl3 
>I use Slackware 2.0 distribution ...

Linux support in X11R6 is incomplete. You will either have to fix it
yourself, wait for XFree86-3.1, or switch to FreeBSD/NetBSD, or wait
until Linux has real SVR4-style shared libraries.

--

Kaleb KEITHLEY
X Consortium


------------------------------

From: dcflood@u.washington.edu (David Flood)
Subject: Re: 1.1.36 make problem: 'NULL' undeclared
Date: 27 Jul 1994 14:13:49 GMT

nash@dutllu4.gmd.de (Naresh Sharma) writes:

>Have the two of us done some BIG blunder?

Make that 3 people.  Went and got .35 from sunsite and applied the
.36 patch (patch -p < ~/patch36).  And It didn't compile.  Am now
trying just the .35 (compileing it) on my other machine to make sure
that it is the patch.
-- 
=============================================================================
dcflood@u.washington.edu

The above opinions are mine alone and do not reflect anyone elses.
Besides, who wants my opinion anyway?
=============================================================================

------------------------------

From: flla@stud.uni-sb.de (Florian La Roche)
Subject: Re: Interest in a new (up to date) LaTeX dist.?
Date: 29 Jul 1994 22:24:44 +0200

Well, well, ...

I have just recompiled newest xdvi, web2c, dvips and packed them
together. I will also do a new makeindex...

What is still missing is a very good TeX-macros and MetaFont-Macros
package. I still use a big directory for both of these and this is not
too nice.

Aehaem. I have changed MetaFont a little bit. Knuth writes in his book
how you can improve MetaFont. I did it for the 386.
I haven't benchmarked it yet, but it should be nearly 2 times as fast...
One routine is still disabled, but that should only gain minimal extra
speed.

People who are interested in setting up TeX- and Metafont-packages
should please contact me. Hopefully, I can release this huge package
next week...

Florian  La Roche


------------------------------

From: becker@cesdis.gsfc.nasa.gov (Donald Becker)
Subject: Re: Kernel PCMCIA card & socket services request
Date: 29 Jul 1994 16:42:31 -0400

In article <1994Jul29.154410.22830@paonet.org>,
Roger C. Pao <rpao@paonet.org> wrote:
>To whoever is interested in putting a PCMCIA C&S into Linux, I have a
>request.  Please put the PCIC code into the kernel and have it program
>the PCIC before allowing the SCSI drivers to load.

This is a bad idea.  To do it right requires putting the very complicated
CIS parsing code into the unpagable kernel, along with a large exception
table to handle the cards that are known to have an incorrect CIS.

The best current proposal is to have a very simple ioctl() interface to the
chip-specific code which will be used by a user-level CIS
parsing-n-exception program. 

>The reason for this is to allow SCSI PCMCIA cards to be recognized and
>configured to allow the SCSI driver to be able to load without
>source modifications (to configure the card via the PCIC).

Most card drivers still need to be modified to not do horribly evil
thing when the card is removed.  I understand that you are unlikely to do
that with a primary, active SCSI disk, but most PCMCIA SCSI controller will
be used with CD-ROMs or secondary "docking station" disks, and people will
want to move the machine without shutting it down. 

>If someone wants to do this, then the 1522 driver can support the SCSI
>PCMCIA I have without modifications: New Media SCSI Bus Toaster.

>In the meantime, I'm going to try whacking the card by putting the
>PCIC code into the 1522 driver.

I recommend hacking the 1522 driver probe to always "find" an adaptor, and
add an ioctl() to tell it the vital parameters when the card is finally
inserted.

-- 
Donald Becker                                     becker@cesdis1.gsfc.nasa.gov
USRA Center of Excellence in Space Data and Information Sciences.
Code 930.5, Goddard Space Flight Center,  Greenbelt, MD.  20771
301-286-0882         http://cesdis.gsfc.nasa.gov/pub/people/becker/whoiam.html

------------------------------


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: Linux-Development-Request@NEWS-DIGESTS.MIT.EDU

You can send mail to the entire list (and comp.os.linux.development) via:

    Internet: Linux-Development@NEWS-DIGESTS.MIT.EDU

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    sunsite.unc.edu				pub/Linux

End of Linux-Development Digest
******************************
