Subject: Linux-Misc Digest #785
From: Digestifier <Linux-Misc-Request@senator-bedfellow.MIT.EDU>
To: Linux-Misc@senator-bedfellow.MIT.EDU
Reply-To: Linux-Misc@senator-bedfellow.MIT.EDU
Date:     Mon, 7 Mar 94 22:13:07 EST

Linux-Misc Digest #785, Volume #1                 Mon, 7 Mar 94 22:13:07 EST

Contents:
  Re: Idiot resistant "rm" (was: Re: I'm an idiot!!!! (rm -fr /usr)) (John F. Haugh II)
  Re: "ls" IN TECHNICOLOR!!!! (hkennedy@mercury.ncat.edu)
  Problems routing between LAN and internet (Rob Newberry)
  Re: Linux Fax Programs (Gert Doering)
  Installing Linux (Steve Havelka,,,)
  Stacker 4.0 with Dosemu (cc2955@albnyvms.bitnet)
  Sanyo CD support (Radivoj Suvacarov)
  Re: pronunciation of linux (Mike Mills)
  Re: Script tool for Researchers Toolkit (Rob Janssen)
  Re: Installing Linux (Bruce Wielinga)
  Linux system price quote... (Robert Logan)
  Re: Comments wanted on various ftape drives. (David Wright)
  Re: Multitasking... (David Charlap)
  Re: Linux on a Thinkpad (David Fox)
  Re: Pascal compiler for linux (David Fox)
  Re: Problems routing between LAN and internet (Charles Hedrick)
  Re: [ANSWER] Re: file system repair (in general and in particular e2fs) (Stephen Tweedie)

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

From: jfh@rpp386 (John F. Haugh II)
Subject: Re: Idiot resistant "rm" (was: Re: I'm an idiot!!!! (rm -fr /usr))
Reply-To: jfh@rpp386.cactus.org (John F. Haugh II)
Date: Mon, 7 Mar 1994 03:10:39 GMT

In article <1994Mar4.230157.21481@kf8nh.wariat.org> bsa@kf8nh.wariat.org (Brandon S. Allbery) writes:
>In article <1994Mar4.041148.9134@rpp386>, jfh@rpp386.cactus.org (John F. Haugh II) says:
>+---------------
>| >    return 0;
>| 
>| I wrote the code 6 or 8 years ago, so I'm not sure about this, but
>| I believe I did that for a system where that assertion isn't true.
>+------------->8
>
>Radio Shack Model 16 Xenix was one, if I remember correctly.  I got mildly
>bent out of shape with Tandy over that one.  ---I've heard rumors of systems
>where returning from main() dumped core, too...

Well, that would make sense then.  Because in '88 when I wrote that I
had a Radio Shack Model 16 on the net as just plain "rpp".  My last
Model 16 was "rpp68k" which was sold for scrap last year.  It was a
nice OS in its time, but compared to SVR4 it was pretty crappy.
-- 
John F. Haugh II  [ NRA-ILA ] [ Kill Barney ] !'s: ...!cs.utexas.edu!rpp386!jfh
Ma Bell: (512) 251-2151 [GOP][DoF #17][PADI][ENTJ]   @'s: jfh@rpp386.cactus.org
 There are three documents that run my life: The King James Bible, the United
 States Constitution, and the UNIX System V Release 4 Programmer's Reference.

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

From: hkennedy@mercury.ncat.edu
Subject: Re: "ls" IN TECHNICOLOR!!!!
Date: Mon, 7 Mar 1994 17:44:36 GMT

In article <CM9s8s.n2s@mercury.wright.edu> stu1084@alpha.wright.edu (Christopher Shamis) writes:
>
>Recently a buddy of mine upgraded his kernal to a slackware version, and i
>noticed soon after that his "ls" command was using different colors, for
>different file extentions.  Where can I get the source for this version of
>"ls" ????  I would *LOVE* to install it on all the machines I use.

Should be at any linux ftp site. Look under file utilites. I forgot the
name. This was the first thing that I turned off!

>
>If *you* know /anything/ about this program please E-Mail me at :

>Stu1084@Discover.wright.edu 
>
>And who-ever wrote the program... your a SAVIOR!!!  Could you port it to
>MS-DOS Please?????
>

Just give 4DOS or if you have OS/2 - 4OS2 a try. This has been a feature of
this command.com replacment for years.

>--bye
>
>
>Chris
>stu1084@discover.wright.edu

Helen
hkennedy@ncat.edu
 

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

From: rob-n@clark.net (Rob Newberry)
Crossposted-To: comp.os.linux.admin,comp.os.linux.help
Subject: Problems routing between LAN and internet
Date: 7 Mar 1994 04:39:11 GMT

I am having difficulty with linux routing information between my LAN
and the internet.  Currently, I have a linux machine which is attached
to my LAN using ethernet, with a SLIP modem connection to my provider,
Clark internet services.  Following is a description of my problem, and
I would appreciate anyone's help in a solution to the problem.  Perhaps
someone else knows something with our set up that I am not doing 
correctly.  Anyway, if anyone could help, I'd really appreciate it.

Here is the situation:

(first a diagram)

oldmac.eats.com---|
                  |
devps2.eats.com---|
                  |
devmac.eats.com---|---dedalus.eats.com ---(SLIP)---- CLARKNET
                  |
bloom.eats.com----|
                  |
server.eats.com---|

dedalus.eats.com is a 486 running linux. oldmac and devmac are both 
running MacTCP.  The other machines are Windows pcs running either
Microsoft's WFWG TCP/IP stack or Chameleon.  The local (eats.com) machines
are connected on a thinnet cable (the diagram is not exact in its
representation of this).

OK, here's what happens.  From dedalus, I can telnet anywhere.  It has
a clark.net address, after all (198.17.243.209).  The other machines
can't telnet yet, because their IP's (199.73.33.x) are not in the
routing tables outside clarknet yet (time to gripe at Sprint again,
I suppose).  The bizarre problem is:  If I use either of two shareware
telnet clients (WinQVT or telw) on Windows machines (bloom, devps2 or
server) to get to a clarknet machine -- explorer or sun1 -- the following
happens:

  1) I get a login prompt & login. 

  2) I get a password prompt & type it in.

  3) I get a "CHOOSE TERMINAL TYPE" and I do.

  4) The session hangs.

Now if, at the "CHOOSE TERMINAL TYPE" prompt, I hit ^C and break out of
the log in script, it doesn't hang.  Consequently, I have been able to
narrow it down to this command: "cat -s /etc/motd" that causes bad 
packets to be received by the telnet clients.  So if, for example, I
do break out of the login script and get a command line, and I type
"cat -s /etc/motd", the session will hang.

More bizarre is that if I use VersaTerm on the Mac or the telnet client
from NetManage, they work fine.  Why would "cat -s /etc/motd" cause problems
for some clients and not others?  I would think it was the QVT software,
but they are used by other people, and I myself have used it in the past.
In fact, before I installed the linux box, we had an AT doing the routing
for us using PCRoute.  At that time, QVT worked fine.  

Could anyone tell me what might be causing this problem, or who
to ask?  I have posted to the news groups, and no one else seems to have the
situation where they have a network on the other side of a SLIP connection,
only a single machine.  It's bound to be some problem on my end, but
my routing tables appear correct.  tcpdump for linux doesn't work properly,
so I can't analyze the actual packets from machine to machine--perhaps 
someone at clark could run tcpdump there between explorer and one of my
machines, and we could look at the output. 

Rob



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

From: gert@greenie.muc.de (Gert Doering)
Subject: Re: Linux Fax Programs
Date: Mon, 7 Mar 1994 15:06:21 GMT

pclink@qus102.qld.tne.oz.au (Rick) writes:

>gert@greenie.muc.de (Gert Doering) writes:

>>As mentioned above, FlexFax (from sgi.com), efax (sunsite / tsx-11), and
>>mgetty+sendfax (sunsite, tsx-11).

>>Which one did I forget?

>There's vfax (ZyXEL only) on sunsite in /pub/Linux/apps/comm/vfax10.tar.z,
>and the GNU product, net-fax-3.2.1.  You can get netfax from any GNU
>archive, and patches for compiling on Linux are available on sunsite
>as /pub/Linux/apps/comm/net-fax-3.2.1.linux-patch.

Yes, true. I did not mention them, because vfax is so ZyXEL-specific, and
the original poster did not ask about ZyXEL fax programs but fax programs
in general (that's why I also did not mention the excellent "ZyXEL"
program for voice / data / fax operations), and because I've never been
able to make GNU NetFax work reliably...

gert
-- 
I've got a signature breakdown! Anybody got a spare one?

Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-3243328                         gert.doering@physik.tu-muenchen.de

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

From: shavelk@agora.rain.com (Steve Havelka,,,)
Subject: Installing Linux
Date: 23 Feb 94 11:14:24 GMT

Is it possible to install Linux on a machine with only 2 meg of memory?
I've got a 386sx-16 with 2 meg of ram and a 40 meg HD, and would like to
use Linux.  Is it possible to do this without upgrading?

-- 
Steve Havelka
shavelk@agora.rain.com

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

From: cc2955@albnyvms.bitnet
Subject: Stacker 4.0 with Dosemu
Reply-To: cc2955@albnyvms.bitnet
Date: Mon, 7 Mar 94 15:21:09 GMT

Has anyone manage to get stacker 4.0 to work with dosemu0.4pl4?  I just managed
to get stacker for OS/2 to work.  But, I want to see if it's worth it to
upgrade to stacker 4.0.  If someone has got it working please tell me you
success story, and how you get it working.  Thanks.

                                                Charley


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

From: suvac@andrews.edu (Radivoj Suvacarov)
Subject: Sanyo CD support
Date: 7 Mar 1994 21:03:36 GMT

I am just curious if anyone else has seen Media Vision's add about
MV Resource kit. It is a double speed Sanyo CD with a PAS+ (8 bit
sound card) plus a pair of speakers for $189. The access time is
350ms and the drive is SCSI 1. Does it mean automathic support by
Linux environment, provided the drive is connected to a supported
SCSI adapter (Adaptec 1542b), or should there be something we should
be aware of before deciding to buy it?

If anyone knows a little bit more about this, please respond to 
        suvac@andrews.edu
-- 
*****************************************************************
*  Radivoj Suvacarov        * (616)   473-2009  (home)          *
*  402 W. Ferry             *                                   *
*  Berrien Springs MI 49103 *   suvac@andrews.edu               *

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

From: sam@ms.uky.edu (Mike Mills)
Subject: Re: pronunciation of linux
Date: 7 Mar 1994 14:23:04 -0500

kjetilho@ifi.uio.no (Kjetil Torgrim Homme) writes:

>+--- Kevin Lentin:
>| I always presumed linux would be pronounced similarly to Linus which
>| I pronounce as desribed above. I'd love a definitive answer.

>Linus -> /'li:nus/ or "Lee-noos" in English approximation (note that
>         the 's' is not voiced, and the 'l' is "clear", like in "leaf")

>Linux is then /'li:nuks/ or "Lee-nooks".

>The vocal quality of "u" can vary in much the same way "u" does. Hope
>this helps :-)


>Kjetil T.


Hmm...if Linus has a soundcard, how about getting a digital sample of the
correct pronunciation and putting it on an ftp site?  
(Hmmm...I can picture my machine booting with a digitized sample from
Linus saying "Welcome to Linux")  ;-)


-- 
--Mike Mills              E-Mail:  sam@ms.uky.edu, {rutgers, uunet}!ukma!sam
--(606) 263-0721 (home)                      mike@ukpr.uky.edu

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

Crossposted-To: alt.amateur-comp,comp.unix.misc
From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Script tool for Researchers Toolkit
Date: Mon, 7 Mar 1994 20:06:40 GMT
Reply-To: pe1chl@rabo.nl

In <2lejfi$e4h@news.ysu.edu> ae547@yfn.ysu.edu (Ronda Hauben) writes:

>I have begun working on some unix script tools to help
>me do research and below is one tool that I've found
>quite helpful. 

> 
> 
>Script Searchtool for Researcher's Toolkit
> 
>I have a series of files I have named
>        unixtool.000
>        unixtool.001
>           .
>           .
>           .
>           .
> 
>        unixtool.040
> 
>I wanted to be able to search in the files
>for some keyword like MAC or tool etc.
> 
>Then I wanted to be able to have a list
>of the filename, linenumber and the word
>that I am searching for with the full
>line of the context of the word.
>The following gives me the list of the one
>line references that contained the keyword
>in all my unixtool.0* files.
> 
>$ grep -n word unixtool.0*  >  newfile
> 
>However, I wanted to print up the context
>of the reference by getting the 5 lines
>before and the 5 lines after the line
>that contained the keyword.

Then try using: grep -n5 word unixtool.0*

(this works using GNU grep)

Rob
-- 
=========================================================================
| Rob Janssen                | AMPRnet:   rob@pe1chl.ampr.org           |
| e-mail: pe1chl@rabo.nl     | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU     |
=========================================================================

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

From: wielinga@dingo.cc.uq.oz.au (Bruce Wielinga)
Subject: Re: Installing Linux
Date: 7 Mar 1994 23:18:25 GMT

Steve Havelka,,, (shavelk@agora.rain.com) wrote:
> Is it possible to install Linux on a machine with only 2 meg of memory?
> I've got a 386sx-16 with 2 meg of ram and a 40 meg HD, and would like to
> use Linux.  Is it possible to do this without upgrading?

This is a question I would also be interested in. I know that all the fun and 
fancy stuff like X, etc would page horibly but could I get the basic system
runnig? I have a small 2meg labtop. previous attempts useing UMSDOS have
failed as I run out of memory on login, However I think I will try again
attempting to cut my background stuff to the bone and setting up swap
in my rc. Ill also have to prepare a speciel kernel. Any data on previous
attempts would be appricated however I do intend to experiment with this.
> -- 
> Steve Havelka
> shavelk@agora.rain.com

Bruce
wielinga@physics.uq.oz.au


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

From: robert.logan@windmill.com (Robert Logan)
Subject: Linux system price quote...
Date: 7 Mar 1994 15:16:53 -0600

Sorry to have to post this here....

Would the person who was interested in a price quote on a new system with
Linux installed please contact me with your normal mail address. The address
"jk4089%albnyvms.bitnet@uacsc2.albany.edu" was returned 'host unknown' to my
system.

Thanks.

Robert.Logan@windmill.com

again, no flames please, but this is where his original post came from.

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

From: dmw@prism1.prism1.com (David Wright)
Subject: Re: Comments wanted on various ftape drives.
Date: 7 Mar 94 14:02:49 GMT

>>>>> "LJL" == Louis J LaBash <lou@minuet.siue.edu> writes:

  LJL> RSN: I plan on buying a low-cost internal tape backup system.
  LJL> Preliminary shopping showed considerable price differences
  LJL> between IOMEGA, Colorado Memory Systems, and Conner drives.  The

        Stay away from Colorado drives, if at all possible. They are pretty
non-standard (a moot point for Linux, but important if you ever have the need
to run another version of Unix or OS), and other "compatible" drives are
available for around the same price. The Wangtek 3080PK drives are very nice,
will use both 80mb & 120mb tapes (don't believe the Colorado hype. The drives
are only 120mb - the rest is due to "best guess" compression results), and
they are fairly reliable. The normal drive package comes with more than you
will need if you are going to run Linux (DOS & Windows versions of Central
Point Backup, etc), but you can get the drive by itself with no extra software
for a decent price...

        Also be aware that Irwin-style drives can NOT format their own tapes
(unless you buy tapes that are truely "blank", and not preformatted) unless
you bulk-erase them first (do you have a bulk eraser? :-), and even then it is
not reccomended (by Irwin, anyway). "Normal" QIC-40/80 drives do not have
this problem. That said, you should usually spring for the extra cost of
pre-formatted tapes nomatter what drive you get. Either that or be prepared to
sit around for 80-120 minutes (each) while they dang things format....


                                                Dave

--
  ____________________________________________________________________________
 |        /\ /          | Prism Computer Applications        |  David Wright  |
 |      -/--\--         | 14650 Detroit Ave, Suite LL40      | dmw@Prism1.COM |
 |      /____\          | Lakewood, OH 44107  USA            |  216-228-1400  |

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

Crossposted-To: comp.os.os2.advocacy,comp.os.ms-windows.advocacy
From: david@visix.com (David Charlap)
Subject: Re: Multitasking...
Date: Mon, 7 Mar 1994 23:42:49 GMT

In article <1994Mar4.101932.5494@swan.pyr>, Alan Cox <iiitac@swan.pyr> wrote:
>In article <CM2By9.CKD@visix.com> david@visix.com (David Charlap) writes:
>>And these task-switching OP codes aren't even used by OS/2.  Some IBM
>>people (about a year ago) said that the overhead in using them is a
>>waste, because they save information that the OS is already saving in
>>the course of its normal operation.
>
>This isn't uncommon a situation. Because you tend to save all registers
>before calling an interrupt handler or on kernel syscall entry you often
>don't need to save registers again when you switch tasks as a result
>of this. 

I never said it was strange.  I only said it to show why the presence
or lack of task-switching op-codes in a processor has little (if any)
effect on how an OS will perform.
-- 
David Charlap        | The contents of this message are not the opinions of
Visix Software, Inc. | Visix Software, or of anyone besides myself.
david@visix.com      +-----------------------------------------------------
Member of Team-OS/2  |

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

From: fox@graphics.cs.nyu.edu (David Fox)
Subject: Re: Linux on a Thinkpad
Date: 07 Mar 1994 20:50:32 GMT

In article <1994Mar7.084907.8553@gdunix.gd.chalmers.se> alex@psyalex.psy.gu.se (Alex Frausin) writes:

] Yes, you're wrong ;-) When Big Blue introduce the 750c they switched
] to ISA bus.  Dunno why, but I think it was a smart move.

No kidding!  Is anyone running on one of these?  Does the
mouse substitute work?  If so I want one...

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

From: fox@graphics.cs.nyu.edu (David Fox)
Subject: Re: Pascal compiler for linux
Date: 07 Mar 1994 20:53:19 GMT

In article <2l431g$2kn@wumpus.cc.uow.edu.au> jhalar@wumpus.cc.uow.edu.au (john halar) writes:

] Are there any pascal compilers running on a linux box out
] there?  I need a pascal compiler for a specific task and 
] was wondering if there was an ftp site that would have 
] the software?

The program p2c provided in most Linux distributions
compiles Pascal code into C (which can then be compiled
to assembler.)

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

From: hedrick@geneva.rutgers.edu (Charles Hedrick)
Crossposted-To: comp.os.linux.admin,comp.os.linux.help
Subject: Re: Problems routing between LAN and internet
Date: 8 Mar 94 01:40:50 GMT

rob-n@clark.net (Rob Newberry) writes:
>More bizarre is that if I use VersaTerm on the Mac or the telnet client
>from NetManage, they work fine.  Why would "cat -s /etc/motd" cause problems
>for some clients and not others?  I would think it was the QVT software,
>but they are used by other people, and I myself have used it in the past.
>In fact, before I installed the linux box, we had an AT doing the routing
>for us using PCRoute.  At that time, QVT worked fine.  

Unfortunately it's not uncommon to have problems that show up only
between a particular pair of implementations.  Different
implementations use different approaches.  A bug may never be
triggered when talking to BSD, but when talking to Linux it causes a
hang because Linux does things slightly differently than BSD.  We've
seen a hang between Linux and one particular brand of terminal server.
I'm fairly sure it's a bug in the terminal server, triggered by
something (perfectly legal) that Linux does but no one else does.
I've given Linus a patch that will prevent Linux from doing that, as
well as some other things that are legal but unusual.  I assume it
will be in pre-1.0a.

However the most likely problem is something involving fragmentation
or MTU's.  Is it possible that QVT can't reassemble fragmented
packets, and you've got the MTU set lower on Linux than you did in
PCroute (so that it now fragments where it didn't before)?  Or perhaps
you have the MTU set too large, and the other end is rejecting
packets?  (That could be implementation-specific.  Suppose that QVT is
using larger packets than the other implementations, so only it sees
the problem.)  Also, there were problems in versions up to about
0.99pl15f that would cause packet forwarding not to work with CSLIP.
As far as I know, those have been fixed.

In general I don't know of any way to find problems like this without
looking at packet traces.

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

Crossposted-To: comp.os.linux.help,comp.os.linux.admin
From: sct@dcs.ed.ac.uk (Stephen Tweedie)
Subject: Re: [ANSWER] Re: file system repair (in general and in particular e2fs)
Date: Mon, 7 Mar 1994 22:19:01 GMT


Hi,

In article <1994Mar3.224400.19067@ctp.com>, pdrap@ctp.com (Patrick
Draper) writes:

> I've screwed up my filesystem twice now, and e2fsck reported only a couple
> things wrong with the filesystem. When I had e2fsck repair the problems,
> the list became bigger. After running it again, the list was even bigger.
> Well, you get the idea. I decided that re-installing was easier. After all,
> if I ran e2fsck 30 times or so and cleaned everything up, how in the hell
> do I know if all the files are still there?

> Is there a newer version of e2fsck that works better? I'm using the one that
> comes with the SLS 1.03 package.

Uggh.  Don't.  SLS has a pretty old version of e2fsck; you'd be MUCH
better off with the current release from e2fsprogs-0.4a (you can find
it in /pub/linux/BETA/ext2fs on tsx-11.mit.edu or ftp.ibp.fr).

By the way, there is also a mature alpha version of e2fsck in
/pub/linux/ALPHA/ext2fs on the same sites.  The alpha is MUCH faster,
and can correct more problems.  I use it myself, and it works like a
charm.  Future e2fsprogs distributions will be based around this alpha
fsck.

Cheers,
 Stephen.
---
Stephen Tweedie <sct@dcs.ed.ac.uk>   (JANET: sct@uk.ac.ed.dcs)
Department of Computer Science, Edinburgh University, Scotland.

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


** 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-Misc-Request@NEWS-DIGESTS.MIT.EDU

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

    Internet: Linux-Misc@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-Misc Digest
******************************
