Subject: Linux-Activists Digest #283
From: Digestifier <[email-masked]>
To: [email-masked]
Date: Sun, 3 Oct 93 22:13:07 EDT

Linux-Activists Digest #283, Volume #6            Sun, 3 Oct 93 22:13:07 EDT

Contents:
  Re: LILO Default to MSDOS? (Warrior Of Darkness)
  Re: How can one switch between DOS and LINUX? (David Barr)
  Re: Oakdriver for X (Benny Holmgren)
  Telnet hangs FIXED! (Brett Michaels)
  compile problem? trivia.. (Jeff Stern)
  Install Slackware Problem. (Chan Chi Chiu)
  Re: compile problem? trivia.. (JEFF EPLER)
  Brauche Hilfe zu p2c / Linux SLS 1.02 ([email-masked])
  Re: SoftLanding Message (Xavier Gachon)
  Re: Forward: QIC-80 (Dave Burgess)
  Re: Linux Where, Space? (Hasan Diwan)
  Re: Windows NT, Linux and DOS all together? (Mark A. Davis)
  Re: HARDWARE: Mitsumi LU005S CD-ROM anyone? (Walter Doerr)
  Re: Install Slackware Problem. (Aron Bonar)
  Re: Windows NT, Linux and DOS all together? (Aron Bonar)
  Re: Busmice (Jerome Lacroix)
  Re: compile problem? trivia.. ([email-masked])
  Re: Oakdriver for X (Steve Goldman)
  precompiled ext2 fs progs v0.3c released (Cameron L. Spitzer)
  Re: SoftLanding Message (Ideas for Brainstorming)

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

Date: Sun, 3 Oct 1993 16:26:18 CET
From: Warrior Of Darkness <[email-masked]>
Subject: Re: LILO Default to MSDOS?

Greetings,

I would also like to do what is needed to setup LILO to boot DOS by default,
since my system is also used by DOS *puke* users who would prefer booting
straight DOS without having to specify the OS explicitly on bootup. So if there
is a possibility to do this, please post it here!

Thx,
DrAkHaI

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

From: [email-masked] (David Barr)
Subject: Re: How can one switch between DOS and LINUX?
Date: 3 Oct 1993 17:05:16 GMT

[email-masked] writes:

>Dear everybody,
>I would like to know how one can switch from DOS to LINUX at
>different time.  Like if I want to use DOS for one thing, later on I
>want to use Linux. Do I have to reboot the computer and insert the
>boot disk to do that? Please help me on that.
>New to Linux,
>Gabriel

No, you can use LILO to rewrite the boot sector on your hard drive
with a program that is run at boot time and lets you choose which
partition to boot off of.  LILO and it's docs are included with SLS.

David

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

From: [email-masked] (Benny Holmgren)
Subject: Re: Oakdriver for X
Date: 3 Oct 1993 17:33:00 GMT
Reply-To: [email-masked]

In article [email-masked], [email-masked] (OPV 5-51 - THE ORANGE FARM) writes:
>Hello Linuxers
>
>I am looking for a oakdriver so that i can run X in color. Let me state it
>this way, I have looked for one but could not find one and now I am
>asking you if you have found one or maybe if you come across one if you
>could send it to me.
>
>Thank you very much. 8-)
>

I'm running X in colour with an OAK videoboard. Found an Xfree386 that
had been hacked to support it somewhere but I can't remember where. 
If you're interested i can send you the binary (dont have any sources).

/ Benny

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

From: [email-masked] (Brett Michaels)
Subject: Telnet hangs FIXED!
Date: 3 Oct 1993 14:10:19 -0400

Telnet is fixed for me under SLIP.  Header compression needs to be turned 
off.  It would be nice to have this in DIP/ifconfig :).

Many Thanks to all those who send me mail!

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

From: [email-masked] (Jeff Stern)
Subject: compile problem? trivia..
Date: 3 Oct 93 18:30:03 GMT

=====
main(v,c)char**c;{for(v[c++]="Hello, world!\n)";
(!!c)[*c]&&(v--||--c&&execlp(*c,*c,c[!!c]+!!c,!c));
**c=!c)write(!!*c,*c,!!**c);}
=====

FYI: Anyone want to try compiling this on Linux0.99.12 with gcc 2.4.5?
It only gets segmentation faults, but I know it works fine on other
machines (decmips, for instance). When I call the input file "hello.c"
and type "gcc hello.c -o hello", the problems are twofold:

1) First, if you just try to execute the executable (which has 
   rwx permissions in all fields) it says "hello: command not found"
   so you have to say: ./hello.  Isn't this kind of disadvantageous?

2) Secondly, even when you type ./hello, you get:
HSegmentation fault (core dumped)
   which looks like it started to print this out, and then had problems.

Comments, anyone?
===========================================================================
Jeff Stern <[email-masked]>
"Timex Sinclair UNIX.. coming soon to a dealer near you."
===========================================================================

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

From: [email-masked] (Chan Chi Chiu)
Subject: Install Slackware Problem.
Date: Sat, 2 Oct 1993 04:40:00 GMT

I've tried to install slackware but failed, here's detail.

I've used fdisk in Linux to define Linux Native, Swap partition, then
tried 'setup'.
After a lot of questions, it seems that it starts copying files, but I
always see 'Not enough spaces', 'Directory not exist' something like
that.
I don't know whether the problem comes from formatting harddisk in the
setup process, as it seems that an error messages appear in the process.

Can anyone tell me what I should do?

thanks in advance.

cheers,
Charles Chan
([email-masked])

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

From: [email-masked] (JEFF EPLER)
Crossposted-To: comp.os.linux,comp.lang.c.misc
Subject: Re: compile problem? trivia..
Date: 3 Oct 1993 19:32:06 GMT

Please do not use the comp.os.linux group -- It is scheduled to go
away soon.

[email-masked] (Jeff Stern) writes:

>=====
>main(v,c)char**c;{for(v[c++]="Hello, world!\n)";
>(!!c)[*c]&&(v--||--c&&execlp(*c,*c,c[!!c]+!!c,!c));
>**c=!c)write(!!*c,*c,!!**c);}
>=====

>FYI: Anyone want to try compiling this on Linux0.99.12 with gcc 2.4.5?
>It only gets segmentation faults, but I know it works fine on other
>machines (decmips, for instance). When I call the input file "hello.c"
>and type "gcc hello.c -o hello", the problems are twofold:

>1) First, if you just try to execute the executable (which has 
>   rwx permissions in all fields) it says "hello: command not found"
>   so you have to say: ./hello.  Isn't this kind of disadvantageous?

This is deliberate:  It is a dos-ism to include the current directory
in the path searched for executable files.  There was a recent thread
about this (misplaced) in some col group -- The issue is probably
addressed in the FAQs of comp.unix.questions and/or comp.unix.shells

>2) Secondly, even when you type ./hello, you get:
>HSegmentation fault (core dumped)
>   which looks like it started to print this out, and then had problems.

This can be compiled by
gcc -fwritable-strings -o foo foo.c

I didn't try to read the obfuscated code, but this appears to indicate
that the program tried to write to the string "Hello, world!" which
can apparently be forbidden. (By the ANSI standard?  Or is
-fwritable-strings needed to make GCC ansi-compliant?  I don't know.)

Please note that the question was originally asked about Linux, and I
just tested the above on a sunOS with 2.4.5 GCC.  I doubt that I've
made a fool of myself in any signifigant manner, however.  gcc without
the -fwritable-strings on the sun failed just like it's supposed to
under Linux.

On the MIPS did you use GCC?  The same version of GCC?  Or did you use
the vendor's cc?

Followups to comp.lang.c -- This isn't really too appropriate to a
comp.os.linux group.

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

From: [email-masked]
Subject: Brauche Hilfe zu p2c / Linux SLS 1.02
Date: Sun, 3 Oct 1993 05:04:10 GMT

 Hi !

Kann mir mal jemand einige kommentierte Programme mailen, die per
p2c uebersetzbar sind  ? (am Besten mit 'ner Zeile, wie man 
p2c und danach den Gnu aufzurufen hat...)

Thanks, Andy Pohl
[[email-masked]]

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

From: [email-masked] (Xavier Gachon)
Subject: Re: SoftLanding Message
Date: 3 Oct 1993 18:30:13 +0100

Brett Michaels ([email-masked]) wrote:
: Anyone know how to get rid of the softlanding message that appears just
: before the login prompt?

modify your /etc/issue

... one more but this respons help me to test my news package.
-- 
[email-masked]   shagshag:(1).40.30.04.68
                                 login : new
nuucp : no password              ouverture d'un compte
(ACTUELMENT EN TRAVAUX donc pas 24h/24, plutot 10h/24 )

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

From: [email-masked] (Dave Burgess)
Crossposted-To: comp.os.386bsd.bugs
Subject: Re: Forward: QIC-80
Date: 3 Oct 1993 15:51:41 -0500

By the way, about two weeks ago, there was an announcement for a
QIC-40/80 device driver that would let DOS back up the 386BSD partition
using an image backup format.  I have just used it to back my drive up,
and I am please to say that version 1.1 (which is the most recent
version) works at least as well as advertised.

While this does not get a native *BSD driver for the tapes written, it
does allow us to at leat back up the hard drive while we get it going.

The program is available from ftp.uni-duisberg.de (I think).  I have put
version 1.1 up for anonymous FTP here in the pub directory.  It is
called rawdsk11.zip and is a DOS zip file.

-- 
======
TSgt Dave Burgess
NCOIC AL/Management Information Systems Office
Brooks AFB, TX

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

From: [email-masked] (Hasan Diwan)
Subject: Re: Linux Where, Space?
Date: 3 Oct 1993 20:59:46 GMT

Kerry J. Parson > Hasan Diwan Re: Linux Where, Space
>1.  This newsgroup is going away.  Use one of
comp.os.linux.help/announce/admin/misc/development.<

Thank you for this information.

>2.  In c.o.l.help (at least), read the regularly posted article entitled
(something like)  READ THIS BEFORE POSTING.  It will either tell you what
you want to know, or tell you how to find out.<

I've done that. 
                                                                 
--+Hasan+--
Fido: 1:109/349.9000
Internet: [email-masked]
          [email-masked]
          [email-masked]
Prodigy: nrsm79b (Beta-testing Mail Manager)

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

From: [email-masked] (Mark A. Davis)
Subject: Re: Windows NT, Linux and DOS all together?
Date: Fri, 01 Oct 1993 20:51:33 GMT

[email-masked] writes:

>Anyone know if you can or cannot have MSDOS/DRDOS, Windows NT and Linux all
>on one PC?

Why?  Wait a few and you will be able to run Unix with Linux, MS-"DOS" under
dosemu (or a separate partition), & MS-"Windows" under WINE (or under the 
MS-"DOS" partition).  NT has almost 0 software which isn't just MS-"Windows"
software....

-- 
  /--------------------------------------------------------------------------\
  | Mark A. Davis    | Lake Taylor Hospital | Norfolk, VA (804)-461-5001x431 |
  | Sys.Administrator|  Computer Services   | [email-masked]   .uucp |
  \--------------------------------------------------------------------------/

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

From: [email-masked] (Walter Doerr)
Subject: Re: HARDWARE: Mitsumi LU005S CD-ROM anyone?
Date: 3 Oct 93 17:44:25 GMT

[email-masked] (Grant R. Guenther) writes:

[...]
|Watch out, though, the patches on tsx-11 DO NOT support the LU005S.  The
|code in pl13 does.  I'm using pl10, so I used the kernel patches from 
|mcd-0.3 and modified them for the mcd.c and mcd.h that are in the pl13 
|source kit.

What about support for the new Mitsumi FX001 doublespeed drive?
Is the FX001 compatible to the LU005?
What significance has the letter "S" anyway? Is this some kind of version
"number" that is relevant (to the kernel software perhaps)?

-Walter

-- 
   Walter Doerr   =*=   [email-masked]   =*=   FAX: +49 2421 66910
              "The poor folks who only have 100MBytes of RAM five years
from now may not be able to buffer a 16MB packet, but that's their
tough luck."              (John Gilmore on Mon, 10 Oct 88 18:10:21 PDT)

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

From: [email-masked] (Aron Bonar)
Subject: Re: Install Slackware Problem.
Date: 3 Oct 1993 23:27:29 GMT

In article <[email-masked]>, [email-masked] (Chan Chi Chiu) writes:
|> 
|> I've tried to install slackware but failed, here's detail.
|> 
|> I've used fdisk in Linux to define Linux Native, Swap partition, then
|> tried 'setup'.
|> After a lot of questions, it seems that it starts copying files, but I
|> always see 'Not enough spaces', 'Directory not exist' something like
|> that.
|> I don't know whether the problem comes from formatting harddisk in the
|> setup process, as it seems that an error messages appear in the process.
|> 
|> Can anyone tell me what I should do?
|>

First off...you have to format your swap partition before you run "setup".
Use "mkswap" or something of that nature. It tells you on the screen what
you use.  Then run "setup"... and remember you have to have about 90 megs 
of space for the complete install. 

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

From: [email-masked] (Aron Bonar)
Subject: Re: Windows NT, Linux and DOS all together?
Date: 3 Oct 1993 23:32:09 GMT

In article <[email-masked]>, [email-masked] (Mark A. Davis) writes:
|> [email-masked] writes:
|> 
|> >Anyone know if you can or cannot have MSDOS/DRDOS, Windows NT and Linux all
|> >on one PC?
|> 

You can use LILO to boot different partitions of your hard drive that have 
different OS's on them. OS/2 Boot manager also works well. (Its the only part
of OS/2 that I kept. )

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

From: [email-masked] (Jerome Lacroix)
Subject: Re: Busmice
Reply-To: [email-masked] (Jerome Lacroix)
Date: Mon, 4 Oct 1993 00:29:51 GMT

In a previous article, [email-masked] (Tony Cifelli) says:

>
>Has anyone got the busmouse that comes with the ATI Graphics Ultra Plus
>(NOT the Pro), to work with X on Linux?  It uses IRQ2.  This can be 
>changed if necessary.  Right now the mouse pointer sits in the middle 
>of the screen, and is locked up.
>
>Once this is figured out, I will publish my Xconfig and the magic
>formula to make this work for all others in the same predicament.
>
>regards,
>Tony. 
>-- 
>[ Tony Cifelli, B.C.S., M.Math.       [email-masked] ]
>[ President                                   Bus: 613-723-7218 ]
>[ cifelli systems & software inc.             Fax: 613-723-7472 ] 
>[ 6 Gurdwara Rd. Suite 200 - Nepean, Ontario - K2E 8A3 - CANADA ]
>

From what I encountered with my Logitech mouse on a Microsoft Inport, the
Linux kernel expects the bus mouse to be configured for IRQ 5 by default. 
You seem to have two choices.  Switch your mouse IRQ to 5, or as in my
situation, modify the file busmouse.h in the /linux/kernel/char_drv
directory to reflect your current IRQ and recompile the kernel.  It worked
for me.  Good Luck!

Jerome Lacroix
[email-masked]

-- 

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

From: [email-masked]
Subject: Re: compile problem? trivia..
Date: Mon, 4 Oct 1993 00:28:32 GMT

Jeff Stern ([email-masked]) wrote:
: =====
: main(v,c)char**c;{for(v[c++]="Hello, world!\n)";
: (!!c)[*c]&&(v--||--c&&execlp(*c,*c,c[!!c]+!!c,!c));
: **c=!c)write(!!*c,*c,!!**c);}
: =====

: FYI: Anyone want to try compiling this on Linux0.99.12 with gcc 2.4.5?
: It only gets segmentation faults, but I know it works fine on other
: machines (decmips, for instance). When I call the input file "hello.c"
: and type "gcc hello.c -o hello", the problems are twofold:

: 1) First, if you just try to execute the executable (which has 
:    rwx permissions in all fields) it says "hello: command not found"
:    so you have to say: ./hello.  Isn't this kind of disadvantageous?

   It hasn't got the *slightest* thing to do with GCC or the program.  You
have to use ./ because . isn't in your current path.  This is usually
considered to be a security feature.
: 2) Secondly, even when you type ./hello, you get:
: HSegmentation fault (core dumped)
:    which looks like it started to print this out, and then had problems.

   Secondly, the code, as you posted it, cannot compile under *any*
correct C compiler.  Where is your declaration/definition for v?  Please
post an accurate copy.  Though it appears that you've taken an example 
from the obsfucated C contest.

- Rich

-- 
Rich Mulvey                 Amateur Radio: N2VDS              Rochester, NY
[email-masked]         "Ignorance should be painful."

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

From: [email-masked] (Steve Goldman)
Subject: Re: Oakdriver for X
Date: Mon, 4 Oct 1993 01:18:56 GMT

  I contributed sources that will be included with Xfree86 2.0
for supporting oak 67/77 chipsets. Until that is public you can get
my latest version of the server (and sources) via anonymous ftp.

  Compressed binaries of the oak driver for linux on the machine 
ns.encore.com and the files are in the directory /pub/development/languages/C 
and should be obvious. The sources and a readme history are there also.

   Four people, that I know of, have gotten copies of it. One user is reporting
problems which I haven't looked into yet. The others haven't reported problems
other than one report of not being able to get a properly sized/positioned
color 800x600 screen. I've been using it pretty extensively and haven't
had any problems. I'm interested in other users reports. 

  One of the problems that the first user reported is that the server doesn't
get the clocks correctly. I've noticed that startup can be touchy and if
there is some other activity on the machine that the clocks come out wrong.
I've avoided this by adding a clocks line to my Xconfig. The clocks you can 
expect for an OTI-67/77 are:
25 28 65 45 14 18 40 36

Steve Goldman, Encore Computer Corp          (919) 481-3730
901 Kildaire Farm Rd., bldg D  Cary, NC  27511       USA
internet: [email-masked] 

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

Crossposted-To: comp.os.linux.help.misc,comp.os.linux
From: [email-masked] (Cameron L. Spitzer)
Subject: precompiled ext2 fs progs v0.3c released
Date: Sun, 3 Oct 1993 23:03:56 GMT

You'll know your mke2fs is old if it complains:
>"Unable to find a block for ...".
or you might have the older "Cannot allocate i-node..." problem.

In [email-masked] (in c.o.l.announce), Remy Card announced:
> The new release of the second extended file system support programs
>[...] should soon be moved to [sunsite.unc.edu:]
/pub/Linux/system/Filesystems/ext2.

To help out folks installing Linux for the first time, I grabbed
e2fsprogs-0.3c.tar.gz from sunsite, compiled it (with gcc-2.4.5
and libc-4.4.1), and made a little floppy using the new binaries.
Then I copied the new binaries, man-pages, and the README onto it.

You may want to use this mke2fs and e2fsck instead of the older ones
which are probably in the SLS or MCC you grabbed a week or more ago.

I'm packing the files two ways.  There's a gzipped tar
and a gzipped 360KB image of the little floppy.
If you don't have room to "untar" the tar.gz,
you can gunzip the little floppy onto a floppy (any size :-),
mount -t ext2 it in your second floppy drive,
and execute mke2fs directly from there.  This may be easier and
safer than trying to make room on your ramdisk or boot/root floppy.
After fdisk, you might make a 100 MB filesystem on partition 2 this way:
  mkdir /zlor
  mount -t ext2 /dev/fd1h360 /zlor
  /zlor/mke2fs -tv /dev/hda2 100000
  umount /zlor

The files are 
  e2bin3c.tgz (the gzipped tarfile) and
  e2bin3c.egz (the gzipped file system image)
in /pub/Linux/Incoming on sunsite and will move to
system/Filesystems/ext2 soon.
These files replace e2bbin.tgz and e2bbinfs.gz.

LSM entry follows.

Cameron in San Jose California

Begin2
Title        = The ext 2 fs support programs, precompiled
Version      = 0.3c
Desc1        = dirdump displays a directory structure
Desc2        = e2fsck checks a file system consistency
Desc3        = mke2fs creates a file system
Desc4        = mklost+found re-creates the directory lost+found
Desc5        = tune2fs changes the parameters of a file system
Desc6        = The kit of 5 tools are compiled and packed 2 ways
Desc7        = for use during initial installs when compiler
Desc8        = is not yet available.
Desc9        = e2bin3c.tgz is a gzipped tarfile with executables and manpages.
Desc9        = e2bin3c.egz is a gzipped 360K ext2 file system image.
Desc10       = with the same files, for use with 2nd floppy drive etc.
Author       = Remy Card
AuthorEmail  = [email-masked]
Maintainer   = Cameron Spitzer
MaintEmail   = [email-masked]
Site1        = sunsite.unc.edu
Path1        = /pub/Linux/system/Filesystems/ext2
File1        = e2bin3c.egz
FileSize3    = 33262 bytes
File1        = e2bin3c.tgz
FileSize3    = 32290 bytes
Required1    = should work with GCC or SLS boot/root diskette
Required2    = e2bin3c.egz requires 2nd floppy drive
CopyPolicy1  = Freely Restributable, Copyright by Remy Card
Keywords     = Filesystem e2fs efs2 ext2 install precompiled
Entered      = 03OCT93
EnteredBy    = Cameron Spitzer
CheckedEmail = [email-masked]
End

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

From: [email-masked] (Ideas for Brainstorming)
Subject: Re: SoftLanding Message
Date: Mon, 4 Oct 1993 02:08:31 GMT

My system:

        485-50

        ATI Ultra Pro 2 meg

        PAS 16 sound card

        32 meg of RAM

        Adaptec 1542B

        Segate 4385N 315 meg

        Quantum 200S 200 meg

        Quantum 120S 120 meg

        Sony 541 CD-ROM

My system is mainly used as a DOS/Windows system. I am trying to set up

the Quantum 120 for a Linux system. When I boot the Linux A1 disk it ID's

all 3 drives, the CD and sound card correctly. However when I try to issue

the command "fdisk /dev/sdc" it tells me that it cannot open that device.

From the docs I assume that the system will support more than 2 SCSI drives.

ie:

        Hard drive device names are:

                /dev/hda    First IDE drive

                /dev/hdb    Second IDE drive

                /dev/sda    First SCSI drive

                /dev/sdb    Second SCSI drive

        ...and so on. 

Where am I going wrong? I am able to partition the 3rd drive for DOS 

using Adaptec's software. All of the SCSI ID's are set correctly.

Everything appears to be correct with the exception that to Linux the

3rd drive does not exist.

Please Email response to [email-masked]

Thank You,

        Harvey

-- 
=============================================================
 Harvey MacKenzie             [email-masked]
=============================================================

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

** 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.99pl9 released on April 23, 1993

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