Subject: Linux-Development Digest #964
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:     Sat, 30 Jul 94 09:13:05 EDT

Linux-Development Digest #964, Volume #1         Sat, 30 Jul 94 09:13:05 EDT

Contents:
  Display Postscript info (Jason Fiset)
  Re: ARCnet driver for TCP/IP - possible? How hard? (Christopher M. May)
  Re: Truecolor support for XFree86? (Christopher M. May)
  Re: Truecolor support for XFr (Christopher M. May)
  Mounting sector-translated 540MB disks (Dorwin Shields)
  Re: IN2000, 1540cf support?? (Fernandez Ruperez)
  Re: 1.1.36 make problem: 'NULL' undeclared (Chris Tilbury)
  Re: lint on linux? (S. Joel Katz)
  Re: IPX (Thumper.. ask my fiancee!)
  Re: help with garbled sockets: linux<->sun,hp-- (Sergio Mendola)
  Re: APC UPS owners or potential buyers, trying to show user base (Rob Healey)
  patching scsi (Jerry S. Zdenek)
  Ethernet (Jerry S. Zdenek)
  Re: Wanted: The Application which can read *.DBF (Dennis Heltzel)
  Re: Floppy error since 1.1.23 (Brett Bourbin)
  Re: APC UPS owners or potential buyers, trying to show user base (Holger Linne)
  Re: Interest in a new (up to date) LaTeX dist.? (David Kastrup)
  1.1.37 sysv_mmap redefined in mmap.c (Chris Origer)
  Re: Wanted: The Application which can read *.DBF (Mark Bolzern)

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

From: uc452@freenet.Victoria.BC.CA (Jason Fiset)
Subject: Display Postscript info
Date: Sat, 30 Jul 1994 01:37:26 GMT


I would like to know if there are DPS libraries for X avail. for
Linux X-Windows.  If not, could someone tell me where I could
find information on the standard so I can create my own
compatible Libraries. .  Thanks

Jason Fiset
jfiset@sea-to-sky-freenet.bc.ca
-- 
Sea to Sky Freenet Member

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

From: cmay@titan.ucs.umass.edu (Christopher M. May)
Subject: Re: ARCnet driver for TCP/IP - possible? How hard?
Date: 30 Jul 1994 00:37:49 GMT

Michael Dillon (mpdillon@coho.halcyon.com) wrote:
: I just checked the HOWTO's on www.linux.org and it appears that there is
: no ARCnet driver for TCP/IP nor any project to create one. Is this correct?
: Am I the first person to consider this, or has anyone else tried and failed?
: If so, I would appreciate e-mail addresses to discuss the project with.

There have been a number of people who have proposed this, and basically,
the argument comes down to the fact that you can get ethernet which 
is already supported well, for very good prices if you look.

All NE2000 cards are supposed to work well.  

Theoretical limit to Arcnet: 2.5Mbps
"                  " Ethernet: 10Mbps.

I've seen these cards for as little as $39.
Yeah, it's four times as expensive, but it's 4 times faster, and 
it is already supported. You just need to find a good deal.

From what I've heard there are actually some advantages to 
Arcnet, such as longer cabling distances.

I actually have 2 Arcnet cards and an 8 port active hub that I bought
for use with novell netware 2.2.  The cards and the hub are pretty
much no-name, and I've not been able to get rid of this stuff, but I
have complete documentation and dos/novell 2.2 drivers and diags.

If you want it, I'll sell it cheap, make me a reasonable offer.
--

-Chris May, Computer Science, University of MA, Amherst
-       Technical Assistant, P.C. Maintenance Lab


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

From: cmay@titan.ucs.umass.edu (Christopher M. May)
Subject: Re: Truecolor support for XFree86?
Date: 30 Jul 1994 00:48:11 GMT

William Hoffman (wmhoffma@crab.rutgers.edu) wrote:
: I've been wondering if there is any effort being made to add truecolor
: and/or hicolor support to XFree86.  I have a truecolor capable card,
: and it really makes me puke to have to boot DOS and run Windoze in
: order to get 24-bit color.  Can anyone enlighten me?

: George Hoffman

Hi, The XFree team has made it clear to me that this is a long way off.
It is not expected to be in X11R6 3.1.  Maybe it'll be in 4.0, 
who knows, not me.  I've heard that the limitation is mainly in the 
display server code, so if your card supports it, you might be 
able to get the source and hack it if your card manufacturer will
provide programming info. Maybe you can start a "TRUECOLOR" project,
and coordinate the project for your card, and exchange experiences
with others attempting the same thing for other cards.

I might attempt this at some point, however, since my card is only
1MB, and can only support around 640x480 in truecolor, I was thinking
I'd wait until I hear which cards are/will be supported, then buy one,
attempt to hack a driver, and if it doesn't work, at least I can just wait
for the official support.

I'd like to get either the ATI MACH 64, or the S3 964 based cards
with 4 MB of VRAM.  It might be worth it to write a driver for
one of these hot cards, but I'd be hard pressed to waste 
hours of effort to see jpg's in truecolor at 640x480.
These cards are supposed to get around 300K Xstones!

Or just wait until XFree is patched, and get inevitably better card 
which will be out then.
 
--

-Chris May, Computer Science, University of MA, Amherst
-       Technical Assistant, P.C. Maintenance Lab


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

From: cmay@titan.ucs.umass.edu (Christopher M. May)
Subject: Re: Truecolor support for XFr
Date: 30 Jul 1994 00:48:39 GMT

Riku Saikkonen (riku.saikkonen@compart.fi) wrote:
: >I've been wondering if there is any effort being made to add truecolor
: >and/or hicolor support to XFree86.  I have a truecolor capable card,
: >and it really makes me puke to have to boot DOS and run Windoze in
: >order to get 24-bit color.  Can anyone enlighten me?

: XFree86 doesn't support it (yet), but svgalib does. That means that most
: non-X graphics programs will work in 24-bit...

: -=- Rjs -=- riku.saikkonen@compart.fi - IRC: Rjs
: "It is useless to meet revenge with revenge: it will heal nothing."
:  - J.R.R. Tolkien

Not for S3.

--

-Chris May, Computer Science, University of MA, Amherst
-       Technical Assistant, P.C. Maintenance Lab


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

From: parprods@ecn.uoknor.edu (Dorwin Shields)
Subject: Mounting sector-translated 540MB disks
Date: 27 Jul 1994 14:56:34 GMT

   I'm using Ontrack-software with my Western Digital 540MB hard disk--
and as it uses sector translation, I can't mount it under linux--or I don't
think I can--what I'm asking is -Is there a way I can mount it?--I formatted
it down originally so that linux would recognize it--but PC Tools made a 
big fuss about it--and I think that's why my dos partition crashed last week--
when I restored I install ontrack--thanks for any help, 

Dorwin

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

From: jipferur@sisb00 (Fernandez Ruperez)
Subject: Re: IN2000, 1540cf support??
Date: 27 Jul 1994 17:44:31 GMT

Scott Mckinsey (mckinsey@rmii.com) wrote:
: I am getting an Always IN2000 and Adaptec 1540CF soon and was
: Wondering if they will work reliably.

      I have a very old hardware setup running 0.99 kernel, with a new
1542CF and it works perfectly. I only use it for the SCSI CD-ROM. Not the
floppy interface, nor any SCSI disk drive. The kernel comes from the 
Ygdrassil distribution.

      Ray Fernandez

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

From: cjt@aspen.estate.warwick.ac.uk (Chris Tilbury)
Subject: Re: 1.1.36 make problem: 'NULL' undeclared
Date: 27 Jul 1994 07:48:51 GMT

Mark Evans (evansmp@mb52112.aston.ac.uk) wrote:
: stick a #define NULL 0 anywhere in /usr/src/linux/include/linux/timer.h

Which spills out no end of warnings about NULL being re-defined, since
it's defined in /usr/src/linux/include/linux/types.h as

#define NULL    ((void *) 0)

I'm no coder, so for all I know, there could be practically no
difference between 

        ((void *) 0)

and

        0

If there is, however, I'd guess you could end up breaking code in a
fairly undefined manner by doing this.

"#include <linux/types.h>" near the top of "timer.h" would strike me
as a less risky solution, and a bit cleaner.

Chris (just trying this out now)

--
Inet: C.Tilbury@warwick.ac.uk      Phone: +44 203 523430,  Fax: +44 203 524444
 Chris Tilbury, Estates Office, University of Warwick, Coventry, CV4 7AL, UK.
    Click<A Href="http://information.estate.warwick.ac.uk/~cjt/">Here</a>

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

From: stimpson@panix.com (S. Joel Katz)
Subject: Re: lint on linux?
Date: 29 Jul 1994 22:58:29 -0400

In <rfhCtptFK.3zJ@netcom.com> rfh@netcom.com (Robert F. Hutson) writes:


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

>Thanks.

        <sigh> This question comes up every two weeks. No there is no 
lint for Linux. 'gcc -Wall' should do everything you need though.

        SJK


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

From: warner@mtu.edu (Thumper.. ask my fiancee!)
Subject: Re: IPX
Date: 29 Jul 1994 23:50:35 -0400

David G. Boney (dboney@cs.ttu.edu) wrote:
: Hi, 
:       Where can I find info on how to use the ipx stuff in the kernel?
: David G. Boney                                AF&AM
Any info would be VERY nice!!!  (I am also interested... As if you couldn't
tell!!!)
Thanks!


--
                -Nate
"Apple is a low cost producer of the Mac." - an executive at Packard Bell
"Our earth is degenerate in these latter days.  Bribery and corruption are
 common.  Children no longer obey their parents. Every man wants to write a
 book....  The end of the world is evidently approaching." 
                      - On a stone slab carved in 2800 B.C. in Assyria

 This poster is a little off the wall.....

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

From: mendola@progress.com (Sergio Mendola)
Subject: Re: help with garbled sockets: linux<->sun,hp--
Date: 27 Jul 1994 14:45:55 GMT
Reply-To: mendola@progress.com

In article kht@constellation.ecn.uoknor.edu, parprods@hellcat.ecn.uoknor.edu (Dorwin Shields) writes:
>
>
>   could anyone  help me figure out why my sockets don't seem to work
>when I send data to sun's and hp's--they work fine between linux boxes
>and when a linux box talks to an alpha--but suns and hp's won't
>work--I never get an error during the write and read calls but the data
>is useless--I'm doing things like
>  read(sockfd,&cmd,sizeof(int));
>  write(sockfd,&cmd,sizeof(int));
>    if I try to pass 1 through (cmd=1, then send as above) I get something
>like 16777216 on the sun end--thereafter, whenever I try to read from the 
>linux end I seem to get that number there too--any suggestions --
>I also use reads and writes like:
>  read(sockfd,&xinc,sizeof(double));
>  and read(sockfd,&colors[0],nx*sizeof(double));
>
>Thanks,
>
>Dorwin

I'm just taking a guess here, but it sounds like the problem is with byte ordering.
I'm not too familiar with HP and Sun architectures but I would bet that you are going
from a big endian machine to a little endian machine and vice versa.  To solve this 
problem you can use functions like htonl and ntohl which convert values to and from
network ordering.

example:
sending code

x = htonl(cmd);
write(sockfd, &x, sizeof(int));

on the other end

read(sockfd, &y, sizeof(int));;
x = ntohl(y);

If you are already doing something like this then I'm not sure of the problem. Hope
this helps.

====================================================================
Sergio Mendola                Progress Software Corperation - QAD
7 Commonwealth Ave            email: mendola@progress.com
Gloucester MA, 01930          phone: (617)280-4763
====================================================================

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

Crossposted-To: comp.unix.bsd
From: rhealey@sirius.aggregate.com (Rob Healey)
Subject: Re: APC UPS owners or potential buyers, trying to show user base
Date: Fri, 29 Jul 1994 16:58:58 GMT

In article <JOHNSONM.94Jul28233853@calypso-2.oit.unc.edu>,
Michael K. Johnson <johnsonm@calypso-2.oit.unc.edu> wrote:
>   Really now! Those boxes use an RS-232 interface, right? What do they tell 
>   the computer? If they only communicate one thing (power fail) then it
>   is probably something as simple as shorting the RD and SD lines. Get a
>   technician to check it out for you while you pull the plug.
        
        The Smart-UPS's use some sort of dongle RS232 cable if I remember
        correctly, i.e. it's not a normal RS232 cable since it has extra
        components in it. Once you have one of those cables its some sort
        of 1 or 2 letter commands sort of thing to get info out of the
        UPS.

        It's the cables that hurt since they cost more than a simple 232
        cable.

        The UNIXware software is SCO version too, I don't think they have
        a specific version for any other OS.

                -Rob

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

From: zdenekjs@malachi.Rose-Hulman.Edu (Jerry S. Zdenek)
Subject: patching scsi
Date: 30 Jul 1994 02:07:44 GMT

HELP!!!
I have 3.2 gigs of space available in the form of 8 ESDI drives attached
to 2 emulex MD23 ESDI-SCSI bridgeboards.  I am attempting to patch the
SCSI drivers to recognize the 4 logical units on each emulex board. 
When this happens I will be attempting to write a striping driver for them
I am trying to get rid of a Windows NT server by putting linux on the 
pentium machine.  NT will stripe it would be nice to make linux stripe  
these ancient drives.  But first I must get access to them....
Joe Julicher

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

From: zdenekjs@malachi.Rose-Hulman.Edu (Jerry S. Zdenek)
Subject: Ethernet
Date: 30 Jul 1994 02:08:57 GMT

Is there a driver for a NE 3200 eisa ethernet card yet?????
or how about a compaq flexdesk 32 card?

Joe Julicher

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

From: dheltzel@crl.com (Dennis Heltzel)
Subject: Re: Wanted: The Application which can read *.DBF
Date: 28 Jul 1994 14:37:58 -0700

Michael Dillon (mpdillon@coho.halcyon.com) wrote:
: >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.

This product is Flagship by Workgroup Solutions (wgs@gcs.com), they have 
ported it to Linux and sent me a fax this morning. They are offering it 
for $199, and offering to include a CD copy of Linux for $69 more. I 
think this would be a tremendous boost to Linux as an o/s if the product 
works as well as they claim!

Incidentally, Flagship was reviewed recently in a database magazine, and 
got a very positive review. Also, it is being promoted by a Clipper Ony 
tool reseller.

Anyone have any actual experience with Flagship ?

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

I wonder if they have tried porting the code to UNIX and if so, how well 
it works ?

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

I found one called "dbclib". It is several years old. The C modules 
compiled and ar'ed flawlessly. I'm having a little trouble using it 
because there is no docs (not even a readme) and all the comments are in 
German! Anyone want to help me out with a translation ?


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

From: brett@visix.com (Brett Bourbin)
Subject: Re: Floppy error since 1.1.23
Date: Fri, 29 Jul 1994 15:03:53 GMT
Reply-To: brett@visix.comc.

Try to do a clean build of the kernel (make clean; make zdisk).
It sounds like something is out of sync.  Do you do a make dep
before building?
---
--                             __
Brett Bourbin           \  / /(_  /\/  11440 Commerce Park Drive
  brett@visix.com        \/ / __)/ /\  Reston, Virginia 22091
  ..uupsi!visix!brett    Software Inc  703.758.8230


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

Crossposted-To: comp.unix.bsd
From: hll@lidarh.dkrz.de (Holger Linne)
Subject: Re: APC UPS owners or potential buyers, trying to show user base
Date: Sat, 30 Jul 94 10:29:05 GMT

In article <CtpoIA.JJH@newsserver.aggregate.com>, rhealey@sirius.aggregate.com (Rob Healey) writes:
|>      The Smart-UPS's use some sort of dongle RS232 cable if I remember
|>      correctly, i.e. it's not a normal RS232 cable since it has extra
|>      components in it. Once you have one of those cables its some sort
|>      of 1 or 2 letter commands sort of thing to get info out of the
|>      UPS.
|> 
|>      It's the cables that hurt since they cost more than a simple 232
|>      cable.
|> 
|>      The UNIXware software is SCO version too, I don't think they have
|>      a specific version for any other OS.
|> 
|>              -Rob

Strange -- I own a Smart UPS 600 and it does not need 'some sort of dongle
RS232 cable'. Okay, what you need is a 'special' cable to connect 'pin x' at the
UPS-port to some 'pin y' at the computers port. But the pins are very well
described in the Owner's manual that comes with the UPS (or did they change
their policy ?-- i bought my UPS  in 1993).

According to this manual, there is a pin to turn off the UPS, one to signal
a transfer to battery backup, one to signal if less than 2 minutes of 
backup time left (can be changed to 5 min) and one to turn on the UPS.

I think this is more than required to write a simple UPS - watching
program.

Holger

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

From: dak@hathi.informatik.rwth-aachen.de (David Kastrup)
Subject: Re: Interest in a new (up to date) LaTeX dist.?
Date: 30 Jul 1994 12:04:58 GMT

ron@draconia.hacktic.nl (Ron Smits) writes:

>>>>>> "Byron" == Byron Faber <btf57346@uxa.cso.uiuc.edu> writes:

>    Byron> I am curious whether there is enough interest in a new up
>    Byron> to date LaTeX distribution?

>    Byron> If enough people want one, I can put together a LaTeX
>    Byron> distribution based on the June release standard of LaTeX
>    Byron> 2e.

Slackware comes with LaTeX2e, but I do not know how up to date the version
is. Also, I do find compiler speed and memory usage (about 4MB) a bit out
of sorts. Does it really have to be that bad?
Of course, this is a "bigTeX" with 256k of memory cells.
 David Kastrup        dak@pool.informatik.rwth-aachen.de          
 Tel: +49-241-72419 Fax: +49-241-79502
 Goethestr. 20, D-52064 Aachen
-- 
 David Kastrup        dak@pool.informatik.rwth-aachen.de          
 Tel: +49-241-72419 Fax: +49-241-79502
 Goethestr. 20, D-52064 Aachen

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

From: ctoriger@starbase.neosoft.com (Chris Origer)
Subject: 1.1.37 sysv_mmap redefined in mmap.c
Date: 30 Jul 1994 12:11:40 GMT


Hi, in linux/fs/sysv/mmap.c sysv_mmap is redefined from what it was in
include/linux/sysv_fs.h . I was able to finish compiling the kernel by not
including sysv_fs.h in mmap.c (which probably was not good). Just thought
someone would like to know.  Chris




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

From: mark@gcs.com (Mark Bolzern)
Subject: Re: Wanted: The Application which can read *.DBF
Date: Fri, 29 Jul 1994 23:41:21 GMT

In article <3198fm$qr9@crl4.crl.com>, Dennis Heltzel <dheltzel@crl.com> wrote:
>Michael Dillon (mpdillon@coho.halcyon.com) wrote:
>: >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.
>
>This product is Flagship by Workgroup Solutions (wgs@gcs.com), they have 
>ported it to Linux and sent me a fax this morning. They are offering it 
>for $199, and offering to include a CD copy of Linux for $69 more. I 
>think this would be a tremendous boost to Linux as an o/s if the product 
>works as well as they claim!
>
>Incidentally, Flagship was reviewed recently in a database magazine, and 
>got a very positive review. Also, it is being promoted by a Clipper Ony 
>tool reseller.

FlagShip is successivly ported to Native Linux.  We had to fix quite number
of bugs in Linux to accomplish this, and will be submitting the fixes back
for inclusion in Linux sources.  We ported and tested using the Slackware
Linux 1.0 release.  Please do not ask, as I do not know the specifics. I was
not the one doing the actual porting work.

>Anyone have any actual experience with Flagship ?

I do.... but then I am with the North American distributor of it, so you
can't trust me <g>.

>: 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.
>
>I wonder if they have tried porting the code to UNIX and if so, how well 
>it works ?

Sequiter software has a version of Codebase that will work an a number of 
different Unix versions.  It could be used to write RDDs (Replacable Database
Drivers) for FlagShip.  FlagShip is a far more comprehensive product
than Codebase, as FlagShip is a full implementation of the CA-Clipper
programming language.  There are a large number of third party libraries
and business applications available for Clipper... they are now available
to Linux using FlagShip.  FlagShip integrates very well with C, but expects
to be the main{}.  Codebase on the other hand is a tool that you would
use to add .dbf database access to existing C programs, or as a library
for your C coding.

We have been totally flooded since we broadcast the FlagShip for Linux intro
Fax, and are sold out of stock for FlagShip (we'll have more in a week). 
We have also been flooded with E-Mail since the post I am responding to.  
Please access our ftp server for Info on FlagShip.

ftp.wgs.com
/pub2/wgs/Filelist   A file describing what is available there

log in as ftp , and use your email id as the password.

enjoy

-- 
Mark Bolzern :  mark@gcs.com    USA Tel: (303) 699-7470  Fax: (303) 699-2793 
WorkGroup Solutions, Inc.       The FlagShip "Clipper and XBase on Unix" People
  FlagShip is a 4GL Database Development System & Xbase Porting Tool for Unix
No Runtime Fees   Info at ftp.wgs.com : /pub2/wgs/Filelist OR mail: info@wgs.com

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


** 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
******************************
