Subject: Linux-Activists Digest #6
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Thu, 2 Apr 92 01:15:20 EST

Linux-Activists Digest #6, Volume #2              Thu, 2 Apr 92 01:15:20 EST

Contents:
  False report of mounted disk change (A. V. Le Blanc)
  Re: fdisk -- please try this (A. V. Le Blanc)
  Re: fdisk -- please try this (A. V. Le Blanc)
  Re: where is dd??? (A. V. Le Blanc)
  Re: where is dd??? (A. V. Le Blanc)
  Linux - English pronunciation (Steve Pate)
  Re: What is linux? ("Alex R.N. Wetmore")
  linux usefulness? (Bill Heiser)
  Re: taylor-uucp and smail (Thomas David Rivers)
  Re: ST-506 and IDE ([email-masked])
  Re: What is linux? (Joel M. Hoffman)
  Which compiler(s) should I use to compile the kernel??? (Bill Bogstad)
  Joe editor. (Chuck Boyer)
  advice/proposal on the lp patch (Peter Williams 8169821)
  Re: swapping, how to enable? (Michael Pereckas)
  386BSD & Linux Mirrored on kirk.bu.oz.au (David J. Hughes)
  386BSD & Linux Mirrored on kirk.bu.oz.au (David J. Hughes)
  Re: Booting Linux from a Hard Disk (Charles Hedrick)
  Re: gcc2.1 -- where can I get it? (Michael Hamilton)
  Re: gcc2.1 -- where can I get it? (Michael Hamilton)
  Re: lp patches and laser printers (Al Clark)
  Re: linux usefulness? (Charles Hedrick)

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

From: [email-masked] (A. V. Le Blanc)
Subject: False report of mounted disk change
Date: 1 Apr 92 13:10:05 GMT

Has anyone else seen a rather irritating problem with the
kernel, that the message 'Mounted disk changed - tssk, tssk'
is sometimes printed soon after mounting a disk?

     -- Owen
     [email-masked]

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

From: [email-masked] (A. V. Le Blanc)
Crossposted-To: alt.os.linux
Subject: Re: fdisk -- please try this
Date: 1 Apr 92 07:03:52 GMT

In article <[email-masked]> I wrote:
>I am now ready to release my fdisk for testing.  The file
>/pub/linux/mcc-bin/fdisk-0.9.tar.Z available by anonymous
>ftp from hpb.mcc.ac.uk (and mirrored at banjo.concert.net)
>contains the source (fdisk.c), a Makefile, an executable
>compiled with gcc 1.40...

On my way home, I realised that in making one last minute
change to the source, I introduced a bug (actually two bugs).
In consequence, fdisk-0.91.tar.Z should now be available
from the usual sites without this added feature.

Moral: Don't release software at the end of a long day!

     -- Owen
     [email-masked]

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

From: [email-masked] (A. V. Le Blanc)
Crossposted-To: alt.os.linux
Subject: Re: fdisk -- please try this
Date: 1 Apr 92 07:03:52 GMT

In article <[email-masked]> I wrote:
>I am now ready to release my fdisk for testing.  The file
>/pub/linux/mcc-bin/fdisk-0.9.tar.Z available by anonymous
>ftp from hpb.mcc.ac.uk (and mirrored at banjo.concert.net)
>contains the source (fdisk.c), a Makefile, an executable
>compiled with gcc 1.40...

On my way home, I realised that in making one last minute
change to the source, I introduced a bug (actually two bugs).
In consequence, fdisk-0.91.tar.Z should now be available
from the usual sites without this added feature.

Moral: Don't release software at the end of a long day!

     -- Owen
     [email-masked]

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

From: [email-masked] (A. V. Le Blanc)
Crossposted-To: alt.os.linux
Subject: Re: where is dd???
Date: 1 Apr 92 12:48:30 GMT

In article <[email-masked]> [email-masked] (Will Clark) writes:
>
>I've seen people post about using dd to write to a floppy, but I can't
>find it on tsx-11.

dd is one of the GNU fileutils.  Binary versions can be found in
linux/bin/fileutils.tar.Z at nic.funet.fi (/pub/OS/Linux/bin) and
at mirror sites (banjo.concert.net, hpb.mcc.ac.uk).

A set of patches for the latest fileutils (3.1) can be found in
linux/mcc-interim/patches/filuti31.tar.Z on hpb.mcc.ac.uk and in
its mirror at banjo.concert.net.

     -- Owen
     [email-masked]

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

From: [email-masked] (A. V. Le Blanc)
Crossposted-To: alt.os.linux
Subject: Re: where is dd???
Date: 1 Apr 92 12:48:30 GMT

In article <[email-masked]> [email-masked] (Will Clark) writes:
>
>I've seen people post about using dd to write to a floppy, but I can't
>find it on tsx-11.

dd is one of the GNU fileutils.  Binary versions can be found in
linux/bin/fileutils.tar.Z at nic.funet.fi (/pub/OS/Linux/bin) and
at mirror sites (banjo.concert.net, hpb.mcc.ac.uk).

A set of patches for the latest fileutils (3.1) can be found in
linux/mcc-interim/patches/filuti31.tar.Z on hpb.mcc.ac.uk and in
its mirror at banjo.concert.net.

     -- Owen
     [email-masked]

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

From: [email-masked] (Steve Pate)
Subject: Linux - English pronunciation
Date: 1 Apr 92 13:20:47 GMT

Appologies for this simple question.....but....

How is Linux pronounced?

a) As it reads -> L-in-ux

or

b) L-ie-nux

---Steve

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

Date: Wed,  1 Apr 1992 19:40:00 -0500 
From: "Alex R.N. Wetmore" <[email-masked]>
Subject: Re: What is linux?

Excerpts from netnews.comp.os.linux: 1-Apr-92 Re: What is linux? by Drew
[email-masked] 
> Yes.  However, unlike BSD it will coexist with other operating systems
> on the same physical disk, and it is possible to non-destructively
> repartition under Messy-Loss.

How can you repartition ms-dos drives without loosing info?  is this
some part of dos 5 that i missed?

alex

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

From: [email-masked] (Bill Heiser)
Subject: linux usefulness?
Date: Thu, 2 Apr 1992 01:00:45 GMT

Is Linux to the point where it is "useful" yet?  i.e. can normal multi-user
operation occur?

Can it operate on a SCSI disk?

-- 
[email-masked]   ...!uunet!{think,world}!unixland!bill
Public Access UNIX / USENET / E-MAIL Accounts are available! (508) 655-3848
5 lines  -  Located in Natick, MA   USA    Supporting V.32/PEP/V.42bis, etc.

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

From: [email-masked] (Thomas David Rivers)
Subject: Re: taylor-uucp and smail
Date: 2 Apr 92 01:08:26 GMT

In trying to do the same, I discovered that strtok() in linux was
damaged.

I was able to get most of taylor uucp going by replacing the inline
assembly code with a C version (taken from the net.)

Unfortunately, I was unable to get a reasonable connection going, so
I gave up...

(I sent a note to linus detailing the problem, I don't know if the new
 strtok() got implemented in the 0.95 libraries.  If anyone wants to 
 give taylor-uucp another try, let me know and I'll mail you the
 strtok() I used.)

      - Dave Rivers -

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

From: [email-masked]
Subject: Re: ST-506 and IDE
Reply-To: [email-masked]
Date: Thu, 2 Apr 1992 04:13:53 GMT

I have run Linux-0.12 with DTC7287 RLL controller as primary (16 bit
with interrupt) with Linux partitions and IDE ST3144A as secondardy
controller by using a SILICONE VALLEY (sic) ADP-60 LIB/LIBF IDE host
Adapter with re-initialization BIOS.  MS-DOS operates off both disks and
Linux off the first RLL controller.

I partially worked of running Linux off both controllers.  I believe the
ADP-60 operates by polling without using the HD interrupt.  I was on an
extended business trip and didn't finish making a hd-sec.c for the IDE.
I presently am running Linux-0.95a from the IDE as primary with the RLL
off line (only using 125MB with 62MB off-line (-:  )

If you have a XT type controller [8 bits and hence no interrupt, since
the HD interrupt is on the 16 bit extension part], a regular IDE host
adapter will work.

If you have a AT type controller with interrupt, it must be the primary
with the ADP-60 as secondary.

Cindy at tech support at Hard Drive INternational was very helpful when
I bought the IDE.  She looked up to see that the DTC7287 might work with
the ADP-60.  I have not called to see how the ADP-60 works have
dis-assembled the code and have System BIOS book (Second edition) from
Phoenix Technology (publ Addison-Wesley) ISBN 0-201-57760-7

When Linux hd.c stabalizes will definitely use both drives especially if
somebody else writes hd-sec.c :-)

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

From: [email-masked] (Joel M. Hoffman)
Subject: Re: What is linux?
Date: 2 Apr 92 03:53:40 GMT

In article <4dqZTUK00aw=[email-masked]> "Alex R.N. Wetmore" <[email-masked]> writes:
>Excerpts from netnews.comp.os.linux: 1-Apr-92 Re: What is linux? by Drew
>[email-masked] 
>> Yes.  However, unlike BSD it will coexist with other operating systems
>> on the same physical disk, and it is possible to non-destructively
>> repartition under Messy-Loss.
>
>How can you repartition ms-dos drives without loosing info?  is this
>some part of dos 5 that i missed?

Basically, you defragment the drive, so all of the empty space is at
the end, and then just change the partition table.  And the FAT table.
And some other things....  There was a detailed post on this about a
month and a half ago, I believe.  In princip~ql it's easy.  In
practice, it's difficult.

Of course, you should still backup your HD unless you don't really
mind losing all of your data.

And don't forget to back up your data.

-Joel

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

From: [email-masked] (Bill Bogstad)
Subject: Which compiler(s) should I use to compile the kernel???
Date: 2 Apr 92 03:26:11 GMT

        I finally managed to get Linux reasonably well installed on my
machine, compiled mtools so I can transfer files more easily, and now I want
to try some more serious hacking.  I'm trying to compile the linux 0.95a OS
and its unclear which compiler I should be using.  I curently have both
"newgcc (1.40)" and "2misc/2lib (2.0)".  "newgcc" has some problems compiling
certain files, but my impression is that "2misc/2lib" is "experimental".
Also, does anybody have a file transfer program with the ZMODEM protocol
running under Linux?

                                Thanks,
                                Bill Bogstad

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

From: [email-masked] (Chuck Boyer)
Subject: Joe editor.
Date: 2 Apr 92 04:06:19 GMT

Thanks, whoever compiled 'Joe/e' text editor under Linux 0.95a.
It works just fine. This will be the editor that I will suggest
for 'beginners' to the Linux/unix world. I am going to be working
on remapping the keypads for 101-keyboards to be WordPerfect
like in some respects..... 'F5' key=list files/dir listing/cwd...
And this is what they will be able to use if they choose.

Thankyou once again.

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

From: [email-masked] (Peter Williams 8169821)
Subject: advice/proposal on the lp patch
Date: Thu, 2 Apr 1992 00:13:53 GMT

According to the documentation comments in lp.c/.h machines are expected to
return either 0 or the byte sent during initialization in lp_init if the port
exists.

This has not proved to be the case for at least two machines (the OCT33Mhz and
the Gateway 2000 25Mhz) which returned 170 and 11 respectively. Both machines
reliably returned 255 from nonexistent ports. If this is also the case for
other machines then a test for the returned byte not being 255 may be a more
universally acceptable test for the existence of a port.

-- 
Peter Williams                |e-mail: [email-masked]
Key Centre for Design Quality |phone: +61-2-692 2053 or +61-2-660 6156
University of Sydney          |+++++++++++++++++++++++++++++++++++++++

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

From: [email-masked] (Michael Pereckas)
Subject: Re: swapping, how to enable?
Date: Thu, 2 Apr 1992 04:13:55 GMT

To summerize:  mkswap does not actually create the swapfile.  First a
swapfile of suitable size must be created, then mkswap run on it, then
swapon run.  Thanks to those who responded.

I'd like to add that I'm very excited about linux.  It is an ideal
system to experiment with.  Big enough to run large programs like tex an
emacs, but small enough to run on a machine with limited memory and
disk.

Michael Pereckas

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

From: [email-masked] (David J. Hughes)
Crossposted-To: comp.unix.bsd,alt.os.linux,aus.archives,aus.sources
Subject: 386BSD & Linux Mirrored on kirk.bu.oz.au
Date: 2 Apr 92 04:58:49 GMT

I have added a complete mirror of the Linux distribution from
nic.funet.fi to the archive on kirk.bu.oz.au.  To keep a logical
structure for the archive, the mirror of the 386BSD distribution has
been moved.  The location of the mirrors are :-

        Hostname        : kirk.bu.oz.au
        IP Address      : 131.244.1.1
        Contact         : [email-masked]
        386BSD Path     : /pub/OS/386BSD    <<---- (** New location **)
        Linux Path      : /pub/OS/Linux

Please remember that this machine is in ** AUSTRALIA ** and as such is
for users on AARNet (the Australian Network).  Users from countries
other than Australia should use a more local site.

bambi
   ___                                 David J. Hughes     [email-masked]
  /   \                /  /    /        
 /  __/ __   __   ____/  /    / __          Senior Network Programmer
/    \ /  \ /  \ /   /  /    / /  \  /    Comms Development & Operation
\____/ \__//   / \__/   \___/ /   / /       AUSTRALIA  (+61 75 951450)

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

From: [email-masked] (David J. Hughes)
Crossposted-To: comp.unix.bsd,alt.os.linux,aus.archives,aus.sources
Subject: 386BSD & Linux Mirrored on kirk.bu.oz.au
Date: 2 Apr 92 04:58:49 GMT

I have added a complete mirror of the Linux distribution from
nic.funet.fi to the archive on kirk.bu.oz.au.  To keep a logical
structure for the archive, the mirror of the 386BSD distribution has
been moved.  The location of the mirrors are :-

        Hostname        : kirk.bu.oz.au
        IP Address      : 131.244.1.1
        Contact         : [email-masked]
        386BSD Path     : /pub/OS/386BSD    <<---- (** New location **)
        Linux Path      : /pub/OS/Linux

Please remember that this machine is in ** AUSTRALIA ** and as such is
for users on AARNet (the Australian Network).  Users from countries
other than Australia should use a more local site.

bambi
   ___                                 David J. Hughes     [email-masked]
  /   \                /  /    /        
 /  __/ __   __   ____/  /    / __          Senior Network Programmer
/    \ /  \ /  \ /   /  /    / /  \  /    Comms Development & Operation
\____/ \__//   / \__/   \___/ /   / /       AUSTRALIA  (+61 75 951450)

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

From: [email-masked] (Charles Hedrick)
Subject: Re: Booting Linux from a Hard Disk
Date: 2 Apr 92 04:55:01 GMT

[email-masked] (Joel M. Hoffman) writes:

>Is a copy of /vmunix available somewhere, or does one have to compile it
>from the sources?

/vmunix is simply the bootimage.  It's the same file you would copy
to the floppy.

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

Crossposted-To: alt.os.linux
Subject: Re: gcc2.1 -- where can I get it?
From: [email-masked] (Michael Hamilton)
Date: Wed, 1 Apr 1992 20:49:04 GMT

In article <[email-masked]> [email-masked] (Bryan Collom) writes:
>
>Many people seem to be using gcc2.1 under linux.  Can someone
>please list the ftp sites where I can get gcc2.1 for linux?  I
>searched through the old alt.os.linux postings, but I could not
>find where to get gcc2.1
>
>Thanks,
>
>Bryan Collom
>[email-masked]

I strongly suspect that /pub/linux/binaries/compilers/gcc-2.0 at
tsx-11.mit.edu does in fact contain gcc-2.1.  I've grabbed the
2misc.tar.Z yesterday, and the FAQ INSIDE the tar, talks about 2.1,
not 2.0.  I haven't had a chance to unpack everything, so this is as
much as I can speculate.  The FAQ says you need a 387  OR  linux above
0.95 (so I don't think you need a 387).

I too am at a bit of a loss as to where people are getting their
info.  Is there some other group I should be reading?

-- 
________________
Michael Hamilton, Computer Services Section, Wellington City Council, P.O. Box
2199, Wellington, New Zealand.  Phone: (64) (4)801-3300  FAX: (64) (4)801-3020
Domain: [email-masked]          PSImail: PSI%0530147000090::HAMILTON 

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

Crossposted-To: alt.os.linux
Subject: Re: gcc2.1 -- where can I get it?
From: [email-masked] (Michael Hamilton)
Date: Wed, 1 Apr 1992 20:49:04 GMT

In article <[email-masked]> [email-masked] (Bryan Collom) writes:
>
>Many people seem to be using gcc2.1 under linux.  Can someone
>please list the ftp sites where I can get gcc2.1 for linux?  I
>searched through the old alt.os.linux postings, but I could not
>find where to get gcc2.1
>
>Thanks,
>
>Bryan Collom
>[email-masked]

I strongly suspect that /pub/linux/binaries/compilers/gcc-2.0 at
tsx-11.mit.edu does in fact contain gcc-2.1.  I've grabbed the
2misc.tar.Z yesterday, and the FAQ INSIDE the tar, talks about 2.1,
not 2.0.  I haven't had a chance to unpack everything, so this is as
much as I can speculate.  The FAQ says you need a 387  OR  linux above
0.95 (so I don't think you need a 387).

I too am at a bit of a loss as to where people are getting their
info.  Is there some other group I should be reading?

-- 
________________
Michael Hamilton, Computer Services Section, Wellington City Council, P.O. Box
2199, Wellington, New Zealand.  Phone: (64) (4)801-3300  FAX: (64) (4)801-3020
Domain: [email-masked]          PSImail: PSI%0530147000090::HAMILTON 

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

From: [email-masked] (Al Clark)
Subject: Re: lp patches and laser printers
Date: 1 Apr 92 07:01:41 GMT

In article <[email-masked]> [email-masked] (cm445a17) writes:
>Has anyone used the lp patches witha laser printer?  Last night I
>successfully applied the lp patches on Linux .095a with the ps .095
>patches already installed.  Once I reboted, it told me that I have
>lp1 and lp2, so I went ahead and made the devices for them.  My dot
>matrix printer worked fine (lp1), but my laser (lp2) worked but
>each line was flushed to the right by the size of the previous line.
>For example,
>input:
>This is line 1
>Line 2
>This is the last line
>
>output:
>This is line 1
>               Line 2
>                      This is the last line
>
>Does anybody know why this is happening?????????
>Thanks,
>
>Jaime Jofre

You are outputting the file just as it is on disk; the record separator
is a line feed.  I hacked the following together to use until somebody
puts together a printer daemon.  It just prints a list of files,
adding CR's to LF's.

/* 
 * print.c: Copywrite (92) Al Clark:  distribute freely, don't restrict. 
 *  use lp modified linux kernel; print files changing LF to CR LF.
 *  change LP to be your printer, as reported at boot.
 */

#include <fcntl.h>
#include <unistd.h>
#include <stdio.h>

#define LP "/dev/lp0"
FILE *lp;

int main(int argc, char *argv[])
{ int i;
    lp = fopen(LP,"w");    
    if (!lp)
    { fprintf(stderr,"%s: Can't open\n", LP);
      exit(1);
    }

  if (argc != 1)
    for (i=1; i<argc; i++)
      do_print(argv[i],"");
  else  {
    fprintf(stderr, "Usage: print filename[s]\n");
    exit(1);
  }
}

do_print(char *s)
{ 
    char *p; 
    char buf[200];
    int c;
    FILE *fp = fopen(s,"r");    
    if (!fp)
    { fprintf(stderr,"%s not found\n", s);
      return;
    }
    while ( fgets(buf,200,fp) != NULL) {
         if (feof(fp))
                break;
         for (p = buf; *p!='\0'; p++) {
                c = *p;
                if (*p == '\n') 
                    putc('\r', lp);
                putc(c, lp);
         }
     }
     putc('\f', lp) ;
     return;
}
-- 
Al - [email-masked] - My opinions are my own.
      *** Practice random kindness and senseless acts of beauty! ***

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

From: [email-masked] (Charles Hedrick)
Subject: Re: linux usefulness?
Date: 2 Apr 92 04:56:21 GMT

[email-masked] (Bill Heiser) writes:

>Is Linux to the point where it is "useful" yet?  i.e. can normal multi-user
>operation occur?

Yes.  The 0.95a release includes init, getty, and login.  I'm not sure
what performance would be like with lots of users banging away, but
it certainly will go multiuser.

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

** 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: [email-masked]

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

    Internet: [email-masked]

Linux may be obtained via one of these FTP sites:
    nic.funet.fi				pub/OS/Linux
    tsx-11.mit.edu				pub/linux
    tupac-amaru.informatik.rwth-aachen.de	pub/msdos/replace

The current version of Linux is 0.95a released on March 17, 1992

End of Linux-Activists Digest
******************************