Subject: Linux-Development Digest #305
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:     Sun, 12 Dec 93 00:13:09 EST

Linux-Development Digest #305, Volume #1         Sun, 12 Dec 93 00:13:09 EST

Contents:
  Re: What is JAM? (Re: What tools would you use on Linux for business applications?) (Vince Skahan)
  Re: Booten mit Adaptec 1542C (Christopher Shaulis)
  Re: FD_ series of commands (Matthias Urlichs)
  Re: Does LINUX support Magneto-Optical (MO) drives ? (Mike Horwath)
  Re: Booten mit Adaptec 1542C (Mike Horwath)
  Re: Merry $*!@ing Christmas! (Jon Gefaell)
  How to publish mods? (GARY MALTZEN)
  Linux runs COFF binaries? (Edward Baichtal)
  The wonderful thing about NCSA and source code (was a rather rude title) (Michael.Witbrock@cs.cmu.edu)
  Re: How to publish mods? (Kai Petzke)
  Re: Merry $*!@ing Christmas! (Mark Krause)
  Re: Does LINUX support Magneto-Optical (MO) drives ? (Drew Eckhardt)
  Re: Booten mit Adaptec 1542C (Eric Youngdale)
  Re: What is JAM? (Re: What tools would you use on Linux for business applications?) (Stan Young)

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

From: vince@victrola.wa.com (Vince Skahan)
Subject: Re: What is JAM? (Re: What tools would you use on Linux for business applications?)
Date: 10 Dec 1993 18:04:52 -0800

longyear@netcom.com (Alfred Longyear) writes:
>spj@ukelele.gcr.com (Guru Aleph_Null) writes:

>>In article <1993Dec8.223434.12433@porthos.cc.bellcore.com>,
>>Martin Zam <marz@cococay.NoSubdomain.NoDomain> wrote:
>>>If you were to attempt this on Linux, what tools would you choose and why?
>>>I'm looking (hoping) for JAM-like functionality in the development tools.
>>>This ought to make for a lively discussion!  Have at it!

>>It ought to, because my first question is: What is JAM?

>JAM - Just Another Make ???
>      ^    ^       ^

>If so, it compiles cleanly on Linux. Just get the source and compile it.
>(Source is in the alt.sources archive site near you.)


there's also a 'JAMM' X-based add-on for the Interbase database.

-- 
     ---------- Vince Skahan --------- vince@victrola.wa.com -------------
              Today's words to delete from the English language:
                "Buttafuoco", "Bobbitt", "Michael Jackson"

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

From: cjs@netcom.com (Christopher Shaulis)
Subject: Re: Booten mit Adaptec 1542C
Date: Sat, 11 Dec 1993 06:38:56 GMT

arnd@BOELKSTOFF.cilnet (Arnd) writes:

>I'm using an Adaptec 1542C with a Toshiba 1 GB Drive and an 250 MB Quantum IDE drive as bootdrive.
>I've just problems booting the SLS bootdisk with the adapter BIOS enabled. Is it possible to boot from flopy with the BIOS enabled ?
>Any help would be very nice.

I have a similar configuration (different IDE). Its very possible. The trick
is to turn off all the frills in the BIOS. Dynamic scan goes off.. and just
about everything else under the advanted options menu of the setup program.

Also be sure your first scsi drive is at ID #0, otherwise the card will 
be unable to make use of the drive with dos and LILO will fail.
 
If ya need any aditional help, send me E-mail.

Christopher

  ___     _  ___   ____  _  _ ___ _____  ___  ___  __  __     ___  ___  __  __ 
 / __|_  | |/ __| / __ \| \| | __|_   _|/ __|/ _ \|  \/  |   / __|/ _ \|  \/  |
| (__| |_| |\__ \/ / _` | .` | _|  | | | (__| (_) | |\/| | _| (__| (_) | |\/| |
 \___|\___/ |___/\ \__,_|_|\_|___| |_|  \___|\___/|_|  |_|(_)\___|\___/|_|  |_|
==================\____/=======================================================


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

From: urlichs@smurf.sub.org (Matthias Urlichs)
Subject: Re: FD_ series of commands
Date: 10 Dec 1993 11:30:22 +0100

In comp.os.linux.development, article <2dlnq3$459@gaia.ucs.orst.edu>,
  jacobsd@solar.cor2.epa.gov (Dana Jacobsen) writes:
> 
>   ((p)->fds_bits[(n)/NFDBITS] |= (1 << ((n) % NFDBITS)))
> 
Makes sense.

> where the Linux FD_SET is:
> 
>   __asm__ __volatile__("btsl %1,%0": \
>         "=m" (*(fd_set *) (fdsetp)):"r" ((int) (fd)))
> 
Does (roughly :-) the same thing.

>   Now, the SunOS FD_SET may be evaluated, but gcc 2.4.5 doesn't think the
> asm version can.  None of the documentation I've seen really mentions
> whether anything other than FD_ISSET has a return value.  This may be a
> simple question (replace the "if(FD_SET())" with "FD_SET(); if(FD_ISSET())")

If you look at the above code, "if(FD_SET())" is always true, hence the if...
stuff is really superfluous. I'd consider it a bug.

The author _might_ have wanted to code along the lines of a test-and-set 
operator, i.e. they wanted to check if the bit was set before.
Needless to say, this won't work; if you want it to, use (under Linux)
the set_bit and clear_bit inline functions from asm/bitops.h. Don't forget
to compile with -O or they won't be inlined. These are not used in the
standard FD_SET / FD_CLR macros because you usually don't need the return 
value, and gcc can't optimize inline assembler code.

> but it might be nice to see the documentation explain this a little better.
> This would of course be the Linux documentation since we're not going to
> change either SunOS or Comer's book.  It's also interesting that this
> works on SunOS.  Fluke or feature?

Bug. In the code using the macros, of course; as written, neither the
SunOS nor the Linux versions can be sensibly used as an expression.
(Assuming the context in which FD_XXX macros are used. ;-)

-- 
"Laundry increases exponentially in the number of children."
                -- Miriam Robbins
-- 
Matthias Urlichs        \ XLink-POP N|rnberg   | EMail: urlichs@smurf.sub.org
Schleiermacherstra_e 12  \  Unix+Linux+Mac     | Phone: ...please use email.
90491 N|rnberg (Germany)  \   Consulting+Networking+Programming+etc'ing      42

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

From: root@jacobs.mn.org (Mike Horwath)
Subject: Re: Does LINUX support Magneto-Optical (MO) drives ?
Date: 11 Dec 1993 09:01:19 GMT

Hmm..  I have used one, but never tried to eject the disk while it was
mounted.  Don't think I want to do it either except on a test filesystem.

--
Mike Horwath    IRC: Drechsau   BBS: Drechsau   LIFE: lover
root@jacobs.mn.org  drechsau@jacobs.mn.org
Jacob's Ladder  612-588-0201  UUCP, UseNet, Linux files, BBS

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

From: root@jacobs.mn.org (Mike Horwath)
Subject: Re: Booten mit Adaptec 1542C
Date: 11 Dec 1993 09:03:11 GMT

Arnd (arnd@BOELKSTOFF.cilnet) wrote:
: I'm using an Adaptec 1542C with a Toshiba 1 GB Drive and an 250 MB Quantum IDE drive as bootdrive.
: I've just problems booting the SLS bootdisk with the adapter BIOS enabled. Is it possible to boot from flopy with the BIOS enabled ?
: Any help would be very nice.

: A. Hekermans

Read the SCSI FAQ (HOW-TO?) to find out more in detail, but basically:

Turn off extended drive mapping (more than 2 drives under dos)
Turn off > 1 gig drive support
Turn off dynamic scan of SCSI bus

Basically, turn everything to default, and your system will work
just dandy.

--
Mike Horwath    IRC: Drechsau   BBS: Drechsau   LIFE: lover
root@jacobs.mn.org  drechsau@jacobs.mn.org
Jacob's Ladder  612-588-0201  UUCP, UseNet, Linux files, BBS

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

Crossposted-To: comp.infosystems.www,comp.windows.x,comp.windows.x.i386unix,comp.windows.x.motif,gnu.misc.discuss,comp.sources.d
From: jeg7e@Hopper.ITC.Virginia.EDU (Jon Gefaell)
Subject: Re: Merry $*!@ing Christmas!
Date: Sat, 11 Dec 1993 16:18:53 GMT

In article <1993Dec7.184826.15665@gallant.apple.com>,
David Casseres  <casseres@apple.com> wrote:
>In article <CHMB0z.ALE@murdoch.acc.Virginia.EDU> Jon Gefaell,
>jeg7e@Hopper.ITC.Virginia.EDU writes:
>>NCSA is not some private corporation, you do realize this don't you? It is
>>paid for by the taxpayers money and should be responsive to the needs of the
>>community it is intended for. If those people (your underwriters and audience)
>>are complaining, you need to hear that and respond. If you want to do your
>>own thing then start your own company with your own capital. In the meantime
>>you work for us. 
>>
>>There are very valid reasons that we don't want to spend our money having
>>people like you develop for a platform that will require us to spend even
>>more money on Yet Another Library. There may be reasons that you feel you
>>need to do so anyways... These should be communicated effectively and without
>>insults of the type you sling about to your paying customers/clients..
>
>Why, those rat fink bastards at NCSA!  They developed Mosaic to run only on
>the platforms THEY chose, so if you have a TRS-80 or an Amiga or an Apple III,
>and you want to run Mosaic, you have to go out and spend YOUR money and BUY
>one of the platforms THEY chose to support!  Heinous!  Inexcusable!  They
>should have used the taxpayers' money to support these systems, and besides,
>they should have reimplemented Motif or at least done the extra work to avoid
>using anything that isn't FREE.  And then they had the gall to give Mosaic
>away for FREE!  And then, after being abused for a few days by a bunch of
>incredibly well-informed, mature, courteous, reasonable, rational people on
>the Net, one of them was so unbelievably ill-bred as to complain about it!
>
>Call in Jesse Helms, these people are as bad as (insert your favorite artistic
>villain here).  Cut their funding.  Send them to Somalia.  Make them write
>everything in Basic and Fortran.  Make them support Mosaic on HyperCard and in
>Excel macros.  That'll teach those smartass SOB's a lesson and remind them of
>whom they are working for.

You obviously have a personal agenda to promote instead of trying to understand
what I wrote. Unfortunate. I specificaly mentioned that there are reasons to
promote either side of the argument, but that the insults hurled by the Mosaic
developer were heinous and counter to the mission of NCSA.

I've gotten tons of flames for what I said but I stand by it. Religious
Zealots with nothing more than Jihad on their minds can use my /dev/flame
(a humorous? link to /dev/null) :)
-- 
Any opinions expressed herein are not necessarily those of The University.
__________________________________________________________________________
\ \  /  Jon Gefaell, Computer Systems Engineer    | Amateur Radio, KD4CQY
 \/\/  A UNIX guy doing Netware - ITC/Carruthers  | -Will chmod for Food-
  \/  The University of Virginia, Charlottesville |  Hacker@Virginia.EDU
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

From: gary.maltzen@tstation.technix.mn.org (GARY MALTZEN)
Subject: How to publish mods?
Date: Fri, 10 Dec 1993 02:41:00 GMT

I have modified the SCSI tape driver (st.c) of 0.99-pl11 to work with
StoragTek 9-track (variable length) tapes as well as block-oriented devices
like my Archive Viper 2150. Assuming this is of interest to the community,
how do I go about making the changes generally available?
 * RM 1.2 00734 *

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

From: edwardb@netcom.com (Edward Baichtal)
Subject: Linux runs COFF binaries?
Date: Sat, 11 Dec 1993 16:56:24 GMT


I did not know which other linux board was appropriate for this, but I am
wondering, if linux runs COFF binaries at all?
-- 
Edward Baichtal
edwardb@netcom.com

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

From: Michael.Witbrock@cs.cmu.edu
Crossposted-To: comp.infosystems.www,comp.windows.x,comp.windows.x.i386unix,comp.windows.x.motif,gnu.misc.discuss,comp.sources.d
Subject: The wonderful thing about NCSA and source code (was a rather rude title)
Date: Sat, 11 Dec 1993 15:29:25 -0500

<bold><excerpt>Excerpts from netnews.comp.infosystems.www: 7-Dec-93 Re:
Merry $*!@ing Christmas! David Casseres@apple.com
(2032)</excerpt></bold><nl>
<nl>
<excerpt>so if you have a TRS-80 or an Amiga or an Apple III,<nl>
and you want to run Mosaic, you have to go out and spend YOUR money and
BUY<nl>
one of the platforms THEY chose to support!  Heinous!  Inexcusable!
 <nl>
</excerpt><nl>
No you don't have to if you have an Amiga. Since the source code to Mosaic
is available, it can be ported easily to other machines (well, easily to
the Amiga, mostly a matter of #defines to turn Motif into Intution, perhaps
with more difficulty to a TRS-80 or Apple III :-) ).   <nl>
<nl>
Information on the Amiga Port of Mosiac is available via the web: <nl>
If an effort to <lt>A
HREF=3D"http://insti.physics.sunysb.edu/AMosaic/amosaic.html">Port NCSA
Mosaic to the Amiga interests you, click here<lt>/A> for AMosaic. <nl>
<nl>
(Here's the URL, in case the newsposter got confused with the angle
brackets: http://insti.physics.sunysb.edu/AMosaic/amosaic.html )<nl>
<nl>
Michael<nl>
=======<nl>
Michael Witbrock. witbrock@cs.cmu.edu <lt>a
href=3D"http://www.cs.cmu.edu:8001/Web/People/mjw/mjwhome.html">this is a
NCSA mosaic hyper-document URL.<lt>/a><nl>

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

From: wpp@marie.physik.tu-berlin.de (Kai Petzke)
Subject: Re: How to publish mods?
Date: 11 Dec 1993 20:59:41 GMT

In <931211015109330@tstation.technix.mn.org> gary.maltzen@tstation.technix.mn.org (GARY MALTZEN) writes:

>I have modified the SCSI tape driver (st.c) of 0.99-pl11 to work with
>StoragTek 9-track (variable length) tapes as well as block-oriented devices
>like my Archive Viper 2150. Assuming this is of interest to the community,
>how do I go about making the changes generally available?

- Write a good README for it.
- Install the unmodified version of 0.99-pl11 to another directory
  (like /usr/src/oldlinux).
- Do a "make mrproper" to your modified kernel.
- Cd to /usr/src, and do a
        diff --unified --recursive --new-files oldlinux linux
- Put that file, and the README, into a tar file, gzip this tar file.
- Upload it to tsx-11.mit.edu.
- Send e-mail to ftp-linux@tsx-11.mit.edu describing your package.
- Write an announcement to col.announce.

If your patches are small, put everything into an e-mail, and post it
to col.announce.

If you cannot ftp and your file is big, uuencode the tar'red version,
and e-mail it to somebody, who has ftp access.
--
Kai
wpp@marie.physik.tu-berlin.de
Advertisement by Microsoft in a well-known German magazine:
        If you don't like our programmes, then make your own ones.
However, they expect you to use Microsoft products for this -:)

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

From: mkrause@mitre.org (Mark Krause)
Crossposted-To: comp.infosystems.www,comp.windows.x,comp.windows.x.i386unix,comp.windows.x.motif,gnu.misc.discuss,comp.sources.d
Subject: Re: Merry $*!@ing Christmas!
Date: 9 Dec 1993 13:07:12 GMT

In article <CHMB0z.ALE@murdoch.acc.Virginia.EDU>, jeg7e@Hopper.ITC.Virginia.EDU (Jon Gefaell) writes:
>
> NCSA is not some private corporation, you do realize this don't you? It is
> paid for by the taxpayers money and should be responsive to the needs of the
> community it is intended for. If those people (your underwriters and audience)
> are complaining, you need to hear that and respond. If you want to do your
> own thing then start your own company with your own capital. In the meantime
> you work for us. 
> __________________________________________________________________________
> \ \  /  Jon Gefaell, Computer Systems Engineer    | Amateur Radio, KD4CQY
>  \/\/  A UNIX guy doing Netware - ITC/Carruthers  | -Will chmod for Food-
>   \/  The University of Virginia, Charlottesville |  Hacker@Virginia.EDU
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Give me a break!!!  I am sick and tired of all these whiners.  Everyone
on the NCSA Mosaic team should be applauded for all of the work that they
have done over the past year.  Did you not read all of Eric's note and
see that he even went to the trouble to develop an Athena version of Mosaic.
Yeah sure our tax dollars fund NCSA, but I think they have produced more
per dollar than most any other Federal program this year.

BTW, I am a Virginia tax payer, what have YOU done for ME lately Mr. Gefaell?

Stop your whining!

-- 
Mark A. Krause                  mkrause@mitre.org
The MITRE Corporation           Mail Stop W273
7525 Colshire Drive             (703)883-7642 (Voice)           
McLean, VA 22102                (703)883-6478 (Fax)

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

From: drew@kinglear.cs.colorado.edu (Drew Eckhardt)
Subject: Re: Does LINUX support Magneto-Optical (MO) drives ?
Date: Sat, 11 Dec 1993 02:29:37 GMT

In article <1993Dec10.171421.15763@aio.jsc.nasa.gov>,
Sohail M. Parekh <sohail@rhonda.jsc.nasa.gov> wrote:
>
>Does LINUX support Magneto-Optical (MO) drives ? 

Yes.

>I am looking at the 
>Fugitsu 3.5 inch drive that support 128M on the each drive. The I have
>read a little bit on the technology and the drive and it looks good. As 
>you all know MO optical drives are READ/WRITE drives  where the READ/WRITE
>access is much slower then a normal magnetic drive but you can you use the
>media like normal floppy drives. Although its expensive then DAT Tapes but
>the media life is much longer. Any way, the drives provide a standard SCSI
>(or SCSI-II) interface.
>
>I have the following questions:
>
>a) Since the drives have standard SCSI interface and will be connected
>   to my standard scsi card, do I even need any additional driver support ?

You need to have your kernel configured for SCSI, with the low level 
driver for your host adapter, and the SCSI disk driver.

>b) How will the MO-floppy change detection will take place ? Is it gonna be
>   similar to the way floppy driver detects floppy drive change ?

Unmount the disk, eject it, insert a new one, and the drive will generate 
a contingent allegience condition.  Linux will see this the next time 
you go to use the drive and will make sure that the right magic happens.

>c) Last but not least as anyone dared to use these drives on Linux yet ?

People have used all sorts of Magneto-Optical drives under Linux, ranging 
from the various 128M units to gigabyte Maxtor Tahitis.

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

From: eric@tantalus.nrl.navy.mil (Eric Youngdale)
Subject: Re: Booten mit Adaptec 1542C
Date: Sun, 12 Dec 1993 02:24:13 GMT

        Could someone who has a little bit of experince with the kernel
hacking, a 1542C, and perhaps a disk > 1Gb please send me an email message?

-Eric
-- 
"The woods are lovely, dark and deep.  But I have promises to keep,
And lines to code before I sleep, And lines to code before I sleep."

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

From: syoung@pecanpi.atl.us.ga (Stan Young)
Subject: Re: What is JAM? (Re: What tools would you use on Linux for business applications?)
Date: Sun, 12 Dec 1993 02:09:04 GMT


In article <1993Dec8.223434.12433@porthos.cc.bellcore.com>,
Martin Zam <marz@cococay.NoSubdomain.NoDomain> wrote:
>If you were to attempt this on Linux, what tools would you choose and why?
>I'm looking (hoping) for JAM-like functionality in the development tools.
>This ought to make for a lively discussion!  Have at it!

Martin, the only suggestion I have would be to look at termcap/terminfo.
I expect the JAM folks haven't ported it over to Linux. :-)

(For those who were asking about what JAM is, it is a terminal-independent,
platform-independent application development tool.)




-- 
==============================+=======================================+
Stan Young                    | Serendipity is looking in a haystack  |
syoung@pecanpi.atl.ga.us      | for a needle and discovering the      |
                              | farmer's daughter.  - Julias H. Comroe|

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


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