Linux-Misc Digest #785, Volume #19                Thu, 8 Apr 99 13:13:08 EDT

Contents:
  Re: Shebang on redhat (Ernesto =?US-ASCII?Q?Hern=E1ndez-Novich?=)
  Re: New Microsoft News (Mykool)
  Problem running tksh on Redhat Linux (Mike Woinoski)
  Re: Web server setup... (Marco Giuliani)
  Re: Running as root? ("Billy Crafton")
  Re: Support for S3 Trio3D with AGP? Please.. ("pv")
  Re: Linux on a non-state-of-the-art PC ? (Abdullah Ramazanoglu)
  Support for S3 Trio3D with AGP? Please.. ("John Cardoso")
  Re: New Microsoft News (Frank Sweetser)
  Re: Which Flavour of Linux? _ No flamemongering intended (Matthias Warkus)
  Shutdown problem with gpm ("Joachim Johansson")
  fetchmail/exim/procmail (Arcady Genkin)
  Kernel Traffic #13 is out ([EMAIL PROTECTED])
  Re: Running as root? (Joseph T. Adams)
  Bizarre FTP/Modem problem: stalls on RPM files (Stephen Cornell)
  Re: ip-up alternative? (Matthew Bafford)
  Re: Why Linux still isn't my standard boot-up OS, or what are the (Andrew D Matuszak)
  Re: HELP, testing file on CDROM w/o copying to HD (Ken Harrington)

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

From: Ernesto =?US-ASCII?Q?Hern=E1ndez-Novich?= <[EMAIL PROTECTED]>
Subject: Re: Shebang on redhat
Date: 7 Apr 1999 17:41:48 GMT

AJ <[EMAIL PROTECTED]> wrote:
: Is there any one who might have an idea why "#!" (shebang) will not work on
: my Redhat 5.2?  it is a pretty recent install, and I just noticed this when
: trying to fool
: around with some Perl (#!/usr/bin/perl). (This is not a path problem.) It
: will not work on shell calls either, #!.bin/sh, /bin/bash., etc .

Make sure is exactly in column _one: of the _first_ line.

-- 
Ernesto Hern�ndez-Novich - [EMAIL PROTECTED] - Running Linux 2.2.1
Just another Unix/Perl/Java hacker.
One thing is to be the best, and another is to be the most popular.
Unix: Live free or die!

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

From: Mykool <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x
Subject: Re: New Microsoft News
Date: Thu, 08 Apr 1999 08:17:46 -0400

brian moore wrote:
> 
> You're contradicting yourself.
> 
> You hated programming, remember?

Not really, I hate cooking but I still do it.  I wish I could cook
better than I can now.  Is that a contradiction?  I think not.  I still
do hate programming.  I wish I could do it better so that I would have
an easier time in classes.  You try too hard to find flaws and put words
into my mouth that you miss the points that I've tried to make.  Just a
case of not being able to see the forest through the trees.

> --
> Brian Moore                       | "The Zen nature of a spammer 

-- 
Michael Barnhill
[EMAIL PROTECTED]
http://www.prism.gatech.edu/~gte294f
ICQ 13526262

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

From: Mike Woinoski <[EMAIL PROTECTED]>
Subject: Problem running tksh on Redhat Linux
Date: Thu, 08 Apr 1999 09:48:07 -0400

I'm trying to install tksh from the AT&T ast-97-i386 package under
Redhat 5.1. I downloaded the ast base, make, and util packages and the
fixed libshell.so. I installed all three packages as described in the
README files, including running the bin/use script.  When I try to start
tksh, it fails with a "Floating exception" message. All the other ast
commands that I tested, including ksh, seemed to run fine. Any idea what
the problem could be?

Thanks,
Mike

-- 

Mike Woinoski                      Pine Needle Consulting
mailto:[EMAIL PROTECTED]

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

From: Marco Giuliani <[EMAIL PROTECTED]>
Subject: Re: Web server setup...
Date: Wed, 07 Apr 1999 12:47:27 +0100


==============455F2A6C42D3273B2CC3FF6E
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Sccoaire,

You need to create this folder within all the user directories. I used www as
the folder name for the server here and had a script to create the folder within
all the existing users folders. As far as all new users are concerned you can
create a script to add a user which incorporates the creating of the www folder.
When you now point to http://domain/~user   you are really pointing to
/home/user/www.


Sccoaire wrote:

> In my srm.conf file, i have this line:
> UserDir public_html
>
> And in the description above it says that that directive will a make it so
> that users can have their web pages under http://domain/~user
> It doesn't work for me. First of all, no public_html folder has been created
> under the users, is that something that i have to do manually? Even for new
> users? I don't quite understand that, can you let me know? Thanks,
>
> Parsec

==============455F2A6C42D3273B2CC3FF6E
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Sccoaire,
<p>You need to create this folder within all the user directories. I used
www as the folder name for the server here and had a script to create the
folder within all the existing users folders. As far as all new users are
concerned you can create a script to add a user which incorporates the
creating of the www folder. When you now point to <a 
href="http://domain/~user">http://domain/~user&nbsp;</a>&nbsp;
you are really pointing to /home/user/www.
<br>&nbsp;
<p>Sccoaire wrote:
<blockquote TYPE=CITE>In my srm.conf file, i have this line:
<br>UserDir public_html
<p>And in the description above it says that that directive will a make
it so
<br>that users can have their web pages under <a 
href="http://domain/~user">http://domain/~user</a>
<br>It doesn't work for me. First of all, no public_html folder has been
created
<br>under the users, is that something that i have to do manually? Even
for new
<br>users? I don't quite understand that, can you let me know? Thanks,
<p>Parsec</blockquote>
</html>

==============455F2A6C42D3273B2CC3FF6E==


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

From: "Billy Crafton" <[EMAIL PROTECTED]>
Subject: Re: Running as root?
Date: Thu, 8 Apr 1999 10:53:15 -0400
Reply-To: "Billy Crafton" <[EMAIL PROTECTED]>


Houben S.H.M.J. <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> oak <[EMAIL PROTECTED]> writes:
>
<snip>
> > installing software,
>
> OK, you need root access for that one. But I'm not installing software
> all the time...
>
<snip>

One thing you could do is to add another group with only yourself and root,
chgrp on /usr/local and set permissions to 775. This will give you and root
full access to /usr/local for installing any files and no other users can
install or
delete file there.

> Seriously though, when the system is set up properly, things like
> PPP and mounting/unmounting can be done from the user account.
> I only use the root account for installing and configuring software.
> That's quite seldom; weeks pass without me su-ing into the root account.

I seldom install software as root if I can avoid it. I prefer to setup the
software
so that it does not have full access to the system in case it crashes hard.
It's a lot
easier to re-install a package than redo your system.

Just my preferences.



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

From: "pv" <[EMAIL PROTECTED]>
Subject: Re: Support for S3 Trio3D with AGP? Please..
Date: Thu, 8 Apr 1999 17:45:08 +0200

John Cardoso wrote in message <7eifnp$[EMAIL PROTECTED]>...
>XFree86 doesn't seem to support the new(?) S3 Trio3D video card
>that comes with the IBM 300GL that means no X server.
>Can anybody help????


are you using the latest Xfree ei. 3.3.3.x from www.xfree86.org

good luck
pv



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

From: Abdullah Ramazanoglu <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: Re: Linux on a non-state-of-the-art PC ?
Date: Thu, 08 Apr 1999 17:59:33 +0300

I'm using Cyrix 486 DX2/80 with 16MB memory. Installed RedHat 5.2 in
server class. i.e. it runs most of the daemons. I also fire up X on
startup. Though the daemons are not used heavily, several housekeeping
jobs are fired up regularly, making a somewhat memory race between
daemons. All in all, it runs quite fast with no swapping... until I run
Netscape 4.08, a real memory hog. In such a fully configured system it
hogs %48 of memory, meaning its memory need equals to the whole the
rest!
I'm actively seeking to replace it with something decent, such as Opera
(coming end of 2H99) or the last release of Mozilla from mozilla.org (I
haven't investigated its memory requirements though).
In short, Linux is very fast and lean. But Netscape is waaay too fat and
bloated.

T Ojala wrote:
> On one hand, I found a web site (starting from www.linux.org, under
> something like "Why Linux is better...") stating that Linux is well
> capable of running Netscape on a 486, 8 MB platform. On the other, a
> colleague said that Pentium 133 or better with 64 MB is good (after
> having had some problems with Pentium 233/32).
-- 
Abdullah Ramazanoglu      (  aramazanoglu AT demirbank DOT com DOT tr  )

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

From: "John Cardoso" <[EMAIL PROTECTED]>
Subject: Support for S3 Trio3D with AGP? Please..
Date: Thu, 8 Apr 1999 11:50:18 -0300

XFree86 doesn't seem to support the new(?) S3 Trio3D video card
that comes with the IBM 300GL that means no X server.
Can anybody help????
Thanks
- John



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

From: Frank Sweetser <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.x
Subject: Re: New Microsoft News
Date: 08 Apr 1999 11:46:14 -0400

Mykool <[EMAIL PROTECTED]> writes:

> brian moore wrote:
> > Not really.  Those who have a knack for programming can start really
> > cheap.  A Linux box, a compiler, and the need is all that it
> > really takes.
> 
> This is true.  But to create some more intricate programs that people
> sometimes use, requires some type of education.  Whether they learn it
> for free or pay for it, it still requires some type of learning.

education, yes; formal education, no.  i'd say i've learned about 5% of my
programming skills from a professor, the rest from finding and reading good
books (as opposed to the ones assigned for the class) on my own, asking
questions of people who are good programmers, and reading other's source
code. 

> > If they don't have the knack or the yen, no amount of schooling will
> > give it to them.
> 
> Can I use this as an excuse to my CS profs?  I doubt they will accept
> it.  When I see some CS majors struggling over a program, should I tell
> them that no matter how much they try, they won't get it?  I doubt they
> would want to hear that.

whether they want to hear it or not is irrelevant to whether it is true or
not.  

the simply fact is, there are aspects of computer science that are *hard*.
not just simple rote memorization of constants and API's, not just learning
a new syntax for a new language, but problems that underneath require a
signifigant number of brain cells to get through.  we don't expect everyone
to be able to hack advanced calculus, why should everyone be able to hack
advanced computer science?

-- 
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net  | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5        i586 | at public servers
"Problem solving under linux has never been the circus that it is under
AIX."
(By Pete Ehlke in comp.unix.aix)

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

From: [EMAIL PROTECTED] (Matthias Warkus)
Subject: Re: Which Flavour of Linux? _ No flamemongering intended
Date: Thu, 8 Apr 1999 08:41:06 +0200
Reply-To: [EMAIL PROTECTED]

It was the Thu, 8 Apr 1999 05:47:53 +0100...
..and M.B <[EMAIL PROTECTED]> wrote:
> Dear reader...
> 
> I'm confused!  I have obtained a copy of Redhat 5.0 in a boxed set with
> extra drivers etc, now I have 5.2 from a magazine. 

Red Hat is fairly OK, though 5.2 is probably already a bit outdated.

> A colleague at Uni
> suggested SUSE 6

What you should get is SuSE 6.1 which is already out in Germany and
will soon be out on the other side of the pond, too. That is, if you
want SuSE.

> and another one suggested Slackware.

Nothing for beginners, I think.

>  A book I saw in the
> shop came with Caldera OpenLinux and god knows how many others there are.

Caldera's new OpenLinux looks good, but Caldera is a rather
business-oriented distribution; they don't ship any beta or alpha
software, thus they haven't got any of that real bleeding-edge stuff.

> Is one version of Linux any better / easier / faster etc that any other.  I
> understand that SUSE has something called Yaste and KDE but he didn't
> explain why that was a good thing!

YaST (Yet another Setup Tool) is a nice, graphical console tool to
manage about everything in your SuSE system. I couldn't live without
it. KDE is a very nice desktop environment.

mawa
-- 
"An Amiga a day keeps the Apples away"
                                 -- David Jung, U. of Adelaide, S. Oz.

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

From: "Joachim Johansson" <[EMAIL PROTECTED]>
Subject: Shutdown problem with gpm
Date: Thu, 8 Apr 1999 17:22:31 +0200

Hi,
Finally, I got X working on my Dell XPSR450 machine, i.e. I had to download
the latest version. However another problem arised insted. After using X,
and shutting down the machine it hangs after propting "Shutting down gpm
mouse services:" when I use the command "Shutdown -h(r) now". However using
the Poweroff-command works fine. The mouse is a MS Intellimouse PS/2.
Why? What can I do to fix it?

Thanks a bunch

/Linux-beginner, Joachim Johansson



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

Crossposted-To: linux.debian.user,comp.os.linux.setup
Subject: fetchmail/exim/procmail
From: Arcady Genkin <[EMAIL PROTECTED]>
Date: Thu, 08 Apr 1999 15:39:29 GMT

Hi all:

I'm quite confused trying to configure my email delivery here...

Which of them needs which? Do I need to configure all 3 of them? Do I
need to *have* all three of them?

RE. Fetchmail - fetchmailconf doesn't work for me because it can't
find some library. In any case I prefere configuring it through the
.fetchmailrc file. However, I failed to find instructions on the
structure of that file... Can you point me in the right direction or
maybe post a copy of your .fetchmailrc?

Here's as far as I have got:

poll "pop1.sympatico.ca"
protocol pop3
username "MY_USERNAME"
password "MY_PASSWORD"
mda "/usr/bin/procmail -d %s"

My question are:(1) What does the fifth line mean?
(2) Where do I specify in which local directory to place new mail?

I want to configure gnus to be my mail reader.

-- 
Arcady Genkin
"I opened up my wallet, and it's full of blood..." - GsYDE

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

From: [EMAIL PROTECTED]
Subject: Kernel Traffic #13 is out
Date: Thu, 08 Apr 1999 16:09:35 GMT

The latest issue is at <http://www.kt.opensrc.org/kt19990408_13.html>, and
there's also an editorial about the "GNU/Linux" vs. "Linux" controversy.

The table of contents of this week's issue is:

            General
            Stats For This Week
            Editorial: The "Linux" vs. "GNU/Linux" debate
            Threads From linux-kernel
               1.OOPS in NTFS [linux 2.2.3]
               2.linux-2.2.3-ac4 on SPARC doesn't link
               3.Programatically scrolling VCs?
               4.Frame Buffer
               5.[PATCH] linux/net/ipv4/arp.c, kernel 2.0.36 (& 2.0.37-pre9)
               6.CODA - thank you for userfs ;-)
               7.Opening 5000 file descriptors in linux??
               8.timer interrupts & scheduling
               9.asm debugger for linux?
              10.Linux-2.2.5 - and a vacation
              11.[linux-usb] Alternate USB support - test code

Enjoy!

Zack

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: [EMAIL PROTECTED] (Joseph T. Adams)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Running as root?
Date: 8 Apr 1999 16:22:04 GMT

oak ([EMAIL PROTECTED]) wrote:
: 
: The problems with not running as root get old after a while; ppp,
: floppy and other devices, installing software, etc. 

You do know how to set the setuid bit right?  (man chmod)  You can
make any process that calls ppp or the floppy drive run as setuid
root, if you're sure that no one outside your system can run that
process.

Unix security seems a little arcane at first if you're not used to it,
but once you start to understand (and I think I'm starting to
understand - not sure I'm all the way yet) it really does make sense. 
Many things are restricted to root by default, for very good reason,
but in almost every case you can override that restriction through
user accounts, groups, ownership, permissions, and links.


Joe

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

From: Stephen Cornell <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Bizarre FTP/Modem problem: stalls on RPM files
Date: 08 Apr 1999 17:12:12 +0000

I get consistently good, fast dialup PPP connections from home using
a laptop (kernel 2.0.36) and PCMCIA V90 modem, except for one bizarre
problem.  When I try to download large RPM files (>500kb, say) the
download stalls after a few tens of kilobytes, and refuses to restart.
While the FTP download is stalled, I can still use the PPP connection
to surf the web, telnet etc. normally.

The problem occurs consistently using a variety of FTP clients
(Netscape, lynx, gftp, ncftp), with a variety of hosts (anonymous FTP
servers or various machines), using several different ISP's (including
a few who support V90 and one that only supports up to V34) and over
different phone lines.  I've checked for classic problems such as IRQ
conflicts, and I've also tried using irqtune or tweaking the arguments to
pppd.

A borrowed modem worked fine, so the indications are that the problem
lies with my modem.  However, what is truly bizarre is that only RPM
files are affected, not tarballs, images, etc.  If I gzip the RPM
files before trying the download (which merely serves to juggle the
bits around a bit without changing the file size significantly) then
it proceeds without a problem.  If I use `split' on the RPM file, ftp
still chokes on the first few tens of kilobytes, though it can download
the later parts.

Presumably there is a particular sequence of bits in the RPM files
that is either seen by the modem as an escape sequence (I'm told this
can happen), or that is somehow interfering badly with the data
compression.  What's still more maddening is that I didn't have this
problem a couple of months ago, and it started without my having
conciously interfered with the modem's registers - I have of course
done a bit of this since the troubles started, though I think I've
always reset them correctly.

Anyone seen anything like this before?

--
Stephen Cornell          [EMAIL PROTECTED]         Tel/fax +44-1223-336644
University of Cambridge, Zoology Department, Downing Street, CAMBRIDGE CB2 3EJ

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

From: [EMAIL PROTECTED] (Matthew Bafford)
Subject: Re: ip-up alternative?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 08 Apr 1999 14:06:19 GMT

On Thu, 08 Apr 1999 07:33:10 GMT, oak <[EMAIL PROTECTED]>
lucked upon a computer, and thus wrote the following:
) I tried
) 
) /usr/X11R6/bin/xterm -e /usr/local/bin/vim &
) 
) in ip-up but I never saw anything.

Try:

/usr/X11R6/bin/xterm -e /usr/local/bin/vim >&/tmp/foo &

then dial up and see if you get any output in foo.

[snip]
) Thanks!

Hope This Helps!

) -Tony

--Matthew

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

From: Andrew D Matuszak <[EMAIL PROTECTED]>
Subject: Re: Why Linux still isn't my standard boot-up OS, or what are the
Date: Thu, 8 Apr 1999 09:22:37 -0400

Rick,=20
=09don't do much perl do you?

On Wed, 7 Apr 1999 [EMAIL PROTECTED] wrote:

>=20
>=20
> J=FCrgen Exner wrote:
>=20
> > David Dineen <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]...
> > > I'm not sure about Perl being intuitive. Powerful, useful, omnipotent=
,
> > > certainly, but intuitive? I wrote a Perl script a while ago to
> > > automate a website (produce HTML from text file with meta data). To
> > > get rid of the newline character from the variable $m I had to do
> > > this:
> > >
> > > $m =3D~ s/\n$//;
> > >
> > > Obvious, isn't it?
> >
> > What was wrong with "chomp"?
> >
> > BTW: this is mentioned on page 14(!) of the camel book. If you didn't e=
ven
> > make it to page 14....
>=20
> chomp?  Could you per chance mean chop?  That won't work for the problem
> he gave.
>=20
> Rick
>=20
>=20
>=20


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

From: Ken Harrington <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: HELP, testing file on CDROM w/o copying to HD
Date: Thu, 08 Apr 1999 09:35:27 -0700

Why not just do something like
tar c (cdrom mount dir) > /dev/null

"Glenn T. Jayaputera" wrote:

> I need to test a number of CDs that I suspect had some
> problem with it. To test its readability I have to copy
> the whole CD to a HD and wait for any I/O error.
> After that I have to delete those files copied and start
> the process again for different CD.
>
> What I would like to achive is to make my Linux box read
> the files from the CDROM _without_ actually copying the
> files onto my HD.  How do I go about it? I looked at
> cp command but there is no switch that I can make it do
> what I want.
>
> thanks in advance
> glenn


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


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

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

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to