Linux-Misc Digest #438, Volume #18 Sat, 2 Jan 99 10:13:21 EST
Contents:
Re: Whats the best *offline* usenet reader for Linux? (Stan Barr)
egcs/g++ Hello world ([EMAIL PROTECTED])
Re: help me choose license (Alex Butcher)
Re: What is a kernel panic? (David Steuber)
Re: X based news reader suggestions... (David Steuber)
Re: Question on dump and OS backups (David Steuber)
Re: help me choose license (David Steuber)
Re: Whats the best *offline* usenet reader for Linux? (Richard Steiner)
Writing basic device drivers (NewsMan)
Re: CGI & Perl Problem (Andy Birkett)
Where is Console Driver Menu?? ([EMAIL PROTECTED])
Re: suspected stupid question: How to chage owner ([EMAIL PROTECTED])
Re: Best Free Unix? (chas)
Re: libdl.so.2? What is it, where is it? (Needed for Oracle 8i) ([EMAIL PROTECTED])
Re: CD ripper for linux? (Steve Emms)
Re: X based news reader suggestions... (Steve Emms)
Re: egcs/g++ Hello world (Johan Kullstam)
Re: Y2K, Linux & 486 machines. (Richard Steiner)
Re: NOSPAM in addresses.. ("Lee Mitchell")
SCSI Hard disk power saving ? ("Lee Mitchell")
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Stan Barr)
Subject: Re: Whats the best *offline* usenet reader for Linux?
Date: 2 Jan 1999 11:20:43 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 02 Jan 1999 05:31:22 GMT, Eric Hardwick <[EMAIL PROTECTED]>
wrote:
>
>Question is: Which newsreader for Linux (X or console) has these
>features.
>
>1. Allows offline reading.
>2. Follows threads.
>3. Must work with dialup PPP connection to NNTP server.
>
>The ones I have looked at so far (but none in great detail) are Knews
>and Emacs-Gnus. Knews didn't seem very robust and wasn't offline. I am
>still looking at Gnus (which I like).
>
>I have no problem with complicated interfaces but it needs to have the
>features mentioned.
>
>Please let me know what you are all using for usenet reading?
>
>
srln/slrnpull ..... does it all.
Cheers,
Stan Barr [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: egcs/g++ Hello world
Date: Sat, 02 Jan 1999 12:53:30 GMT
#include <iostream>
using namespace std;
main(){
cout << "Hello bear\n";
}
g++ man.cc works just fine.
[bob@bear cppTest]$ egcs main.cc
/tmp/cca027091.o: In function `main':
/tmp/cca027091.o(.text+0x9): undefined reference to `cout'
/tmp/cca027091.o(.text+0xe): undefined reference to `ostream::operator<<(char
const *)'
collect2: ld returned 1 exit status
[bob@bear cppTest]$
Doing 'man egcs' gives the man page for gcc.
So - how dows one use egcs??
Bob
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED] (Alex Butcher)
Subject: Re: help me choose license
Date: Sat, 02 Jan 1999 11:37:08 GMT
Reply-To: [EMAIL PROTECTED]
On Fri, 01 Jan 1999 21:00:20 GMT, steve mcadams <[EMAIL PROTECTED]> wrote:
>On 31 Dec 1998 12:04:00 +0000, James Youngman
><[EMAIL PROTECTED]> wrote:
>...snip
>>Consider the GPL. No, don't press delete yet! You, as the copyright
>>holder, will be able to use your own creation in proprietary products
>>without a problem, but others will not, because of the GPL license.
>>However, the GPL will (I assume) provide the degree of "openness" that
>>you indicate that you would like.
>
>There have been people who say "don't go GPL, go LGPL instead" but I'm
>thinking that GPL might be the best way (no matter how much I may
>disagree with RMS), IF there is something I can do about the
>patch-contribution issue. That's where I come to a dead stop and
>start scratching my head... how to ask people to give me their code to
>sell?
State clearly in your licensing terms that you'll assume that all
contributions have been assigned for you to incorporate into both the Free
and non-Free versions. At least that way, people know what they're getting
into before they contribute. And, as long as you continue to maintain the
Free branch (i.e. just as improvements continue to be made to the 2.0.x
kernel even though 2.1.x is being developed), I think you'll find people
more co-operative than you'd expect.
> That just doesn't seem right. Refuse all contributions?
If you do that, you're missing out on one of the major advantages of OSS.
> Most
>I've received in the past were not of general use
A fix is a fix, right?
>, were fixes that
>fixed a specific problem while breaking several other things, etc. ;
Do a Linus:
- "This feature is never going in my package!"
- "Hmmm... interesting idea, but you need to clean up *this* and prevent
it from breaking *that*"
- "Great, thanks! It'll be in the next release."
- "Um... can you explain what you're trying to do here?"
>but this does not mean there would never be a patch that wouldn't be
>as good or better than what I would code myself. This is my sticking
>point at the moment, and I don't yet know how to deal with it. I
>guess saying upfront that if you send me any patches you are giving me
>all rights to them would be fair enough, but I'm not sure whether I'd
>consider that offensive or not if I was on the contributing end of
>things. -steve
There's always the choice for your users not to contribute. Personally, I'd
find it a pain to have to constantly re-apply my personal patches to the
distribution version and would make every effort to get them incorporated if
they were vaguely generic in nature. I'm lazy like that... :)
>--------------------------------------------------------
>Tools for programmers: http://www.codetools.com/showcase
Best Regards,
Alex.
--
Alex Butcher Using Linux since '95 - because windows are too easy to break.
Berkshire, UK URLBLAST:slashdot.org:www.freshmeat.net:www.dejanews.com:
lwn.net:www.tomshardware.com:www.stardiv.de:www.gimp.org:
------------------------------
From: David Steuber <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: What is a kernel panic?
Date: 01 Jan 1999 22:14:02 -0500
[EMAIL PROTECTED] (Pete) writes:
-> I tried rebuilding my kernel and really mucked it up -- before getting the
-> option to boot the new/old kernel, I got the message:
->
-> kernel panic: VFS: Unable to mount root fs on 3:01
->
-> What is VFS and 3:01? Can someone guess what I did wrong to receive this
-> message?
You probably failed to make the ext2 filesystem part of the kernel
when you did make menuconfig (or xconfig or config).
I briefly considered mailing you my .config file, but then I realized
it would be almost useless to you. Or are you using a Solo 5150
with 3c575B PCMCIA 32 bit Cardbus Ethernet card?
When you have your canned kernel up and running again, read the Kernel
HOWTO on building your own kernel. There are certain pieces that
_must_ be in the kernel for boot to succeed. The file system is one
of them. If you have any PnP devices with driver support, they need
to be modules. You probably want kerneld enabled for loadable module
support. Don't get carried away and try to put everything into the
kernel. If you make it to big, it won't load. You will get an error
message at the end of make zImage.
It took me several attempts to create a good config myself. Now I
don't give it a second thought to recompile the kernel when I change
my hardware configuration. The powers that be have made the process
insanely easy, once .config is setup correctly.
--
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail
"Hackers penetrate and ravage delicate, private, and publicly owned
computer systems, infecting them with viruses and stealing materials
for their own ends. These people, they're, they're terrorists."
-- Secret Service Agent Richard Gill
------------------------------
From: David Steuber <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x,linux.redhat.misc
Subject: Re: X based news reader suggestions...
Date: 01 Jan 1999 22:54:25 -0500
"Jon D. Slater" <[EMAIL PROTECTED]> writes:
-> Can anyone suggest a good x-based news reader?
I use gnus in xemacs. It does everything.
-> Please e-mail suggestions to: JSlater (at) Qualcomm (dot) com
Please use DejaNews to see answers to your posts if you don't read the
news much.
--
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail
"Hackers penetrate and ravage delicate, private, and publicly owned
computer systems, infecting them with viruses and stealing materials
for their own ends. These people, they're, they're terrorists."
-- Secret Service Agent Richard Gill
------------------------------
From: David Steuber <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: Question on dump and OS backups
Date: 01 Jan 1999 22:23:48 -0500
I can't answere your backup question, but I remember forgetting to add
something to my post to your other question.
It is possible to have multiple boot images for Linux. I always make
sure I keep a spare in case I screw up a build. In fact, I also keep
the original canned kernel that I installed. Lilo uses /etc/lilo.conf
to decide which image to boot into. This is my lilo.conf file.
Please don't ask me about the file format. All I did was add two
sections for my other boot images.
# LILO Konfigurations-Datei
# Start LILO global Section
boot=/dev/hda
#compact # faster, but won't work on all systems.
read-only
prompt
timeout=100
vga = normal # force sane state
# End LILO global section
# Linux bootable partition config begins
# primary boot image
image = /vmlinuz
root = /dev/hda3
label = Solo
# canned boot image
image = /vmlinuz.can
root = /dev/hda3
label = canned
# previous boot image
image = /vmlinuz.old
root = /dev/hda3
label = prev
# Linux bootable partition config ends
#
--
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail
"Hackers penetrate and ravage delicate, private, and publicly owned
computer systems, infecting them with viruses and stealing materials
for their own ends. These people, they're, they're terrorists."
-- Secret Service Agent Richard Gill
------------------------------
From: David Steuber <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: help me choose license
Date: 01 Jan 1999 21:32:09 -0500
[EMAIL PROTECTED] (steve mcadams) writes:
-> On 31 Dec 1998 02:04:27 -0500, David Steuber
-> <[EMAIL PROTECTED]> wrote:
->
-> >GPL will gaurantee that no one takes your work and hides it. But it also
-> >means that some commercial vendors may not want it.
->
-> Why wouldn't they? Yes, I really don't "get it". Assuming it's good
-> enough for them to want to use, and they can buy a proprietary license
-> and use it, why wouldn't they want to because it was also GPL'ed? Or
-> are you saying something else?
I was saying something else. As the author of the code, you can sell
a proprietary license to commercial users who don't want their code to
be forced GPL by the GPL license. Sorry if I wasn't clear.
--
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail
"Hackers penetrate and ravage delicate, private, and publicly owned
computer systems, infecting them with viruses and stealing materials
for their own ends. These people, they're, they're terrorists."
-- Secret Service Agent Richard Gill
------------------------------
From: [EMAIL PROTECTED] (Richard Steiner)
Subject: Re: Whats the best *offline* usenet reader for Linux?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 02 Jan 1999 04:58:20 -0600
Here in comp.os.linux.misc, [EMAIL PROTECTED] (Eric Hardwick)
spake unto us, saying:
>Question is: Which newsreader for Linux (X or console) has these
>features.
>
>1. Allows offline reading.
>2. Follows threads.
>3. Must work with dialup PPP connection to NNTP server.
The combination of slrn and slrnpull will meet those requirements.
--
-Rich Steiner >>>---> [EMAIL PROTECTED] >>>---> Bloomington, MN
OS/2 + Linux (Slackware+RedHat+SuSE) + FreeBSD + Solaris +
WinNT4 + Win95 + PC/GEOS + Executor = PC Hobbyist Heaven!
No sentence fragments.
------------------------------
From: NewsMan <[EMAIL PROTECTED]>
Crossposted-To: alt.msdos.programmer
Subject: Writing basic device drivers
Date: Sat, 2 Jan 1999 11:50:21 +0000
The problem I have:
* The Problem: Write device drivers for all the basic components of a
PC/AT compatible which are to run in Protected mode. This will include the
fdc, ide hdc, system timers, dma, vga, keyboard etc.
* The difficulty: I cannot find data sheets for the older chips upon which
current chipsets are based. Plenty of current info is to be had but I want
my drivers to run on any AT compatible which means writing for the basic
chipset.
* What I have: Access to well-documented Linux source code and Ralf
Brown's excellent interrupt and port list but these don't give much in the
way of timings, sequences or or other explanatory comments.
Can someone tell me where to find the original AT specification, listing part
numbers for the chips used (eg 8272 for the fdc) and datasheets for these
chips? If you know of one, a web site for people with similar interests
would also be appreciated. Thanks.
Jason Sclater
------------------------------
From: Andy Birkett <[EMAIL PROTECTED]>
Subject: Re: CGI & Perl Problem
Date: Sat, 2 Jan 1999 11:38:08 +0000
In article <[EMAIL PROTECTED]>, Neil Cherry <[EMAIL PROTECTED]>
writes
>On Sat, 2 Jan 1999 00:30:22 +0000, Andy Birkett wrote:
>>Hi
>>
>>I am running RH5.1 and Apache 1.2 and I am having problems with my CGI
>>Perl scripts. I cannot get my scripts to read or create a file located
>>on the web server, yet when I run the same scripts from a shell, the
>>files are read/created fine.
>>
>>I haven't changed any settings in the Apache conf files, do I need to
>>allow CGI scripts to access the files stored in the HTML directory of
>>the web server. Or is it a file system problem? I have given write
>>access to the directory I want to create my log files in, and Navigator
>>can read the HTML OK, so why can't my CGI scripts?
>>
>>Hope you can help
>
>Probably the directory doesn not have permission for the user nobody
>to write there. I beleive that Apache runs as user nobody. Either
>change permissions or groups (a group that include nobody in it) but
>be wary of these changes as you may open your security on those
>directories.
>
I tried this, but it still didn't work. Security is not a problem, this
is a stand-alone machine, so I gave full access to everyone and it still
fails.
--
Andy Birkett
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.linux,comp.os.linux.setup,linux.redhat.install
Subject: Where is Console Driver Menu??
Date: Sat, 02 Jan 1999 13:08:10 GMT
I am having difficulities locating this Menu in the Kernel Setup.
Where can I find it under Make Menuconfig of Kernel 2.1.99?
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: suspected stupid question: How to chage owner
Date: Sat, 02 Jan 1999 12:01:18 GMT
Change owner with
chown new_user's_name filename
In article <[EMAIL PROTECTED]>,
Mark Worsdall <[EMAIL PROTECTED]> wrote:
> Hi,
>
> If I create as root a directory /usr/www/shadow
>
> how can I make the user shadow have full access to this directory but no
> other user (apart from root)
>
> shadow has a home dir of /usr/home/shadow
>
> --
> Mark Worsdall - Oh no, I've run out of underpants :(
> Home:- [EMAIL PROTECTED] WEB site:- http://www.worsdall.demon.co.uk
> Shadow:- [EMAIL PROTECTED] WEB site:- http://www.shadow.org.uk
> Work:- [EMAIL PROTECTED] WEB site:- http://www.hinwick.demon.co.uk
> TCP/IP gatewaying http://www.hinwick.demon.co.uk/computerDept/
>
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: chas <[EMAIL PROTECTED]>
Crossposted-To:
comp.unix.questions,comp.unix.advocacy,comp.unix.misc,comp.unix.bsd.freebsd.misc
Subject: Re: Best Free Unix?
Date: Sat, 02 Jan 1999 08:30:46 -0800
Reply-To: nobody
One consideration in the SCO vs Solaris decision, both are for
non-commercial use. For education, developers & hobbyists. SCO has
released a Skunkware CD that supports the same free/share ware versions
of the tools we get with FreeBSD, Linux...etc.
Having been an UNIX admin (SCO, AIX, HP/UX) ranked on the order of ease
of setting up, installing and levels of support, I rank the "free"
releases as:
1) FreeBSD
2) SCO
3) Linux ->Any flavor
4) Solaris
The above is like a belly button, every body has one, and that's mine,
for the $.02 it's worth.
Charlie
UNIX uber alles!
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: libdl.so.2? What is it, where is it? (Needed for Oracle 8i)
Date: Fri, 1 Jan 1999 12:34:54 +0100
Reply-To: [EMAIL PROTECTED]
Hi,
My SuSE 5.3 reports a libdl.1.9.9.
You could take a look at ftp://ftp.suse.de
- there is a 'update' area.
mfG and Happy 99 gerald
--
Remember: UNIX is user-friendly .. it's just selective
about who its friends are !
------------------------------
From: [EMAIL PROTECTED] (Steve Emms)
Subject: Re: CD ripper for linux?
Date: Sat, 02 Jan 1999 13:58:19 GMT
Reply-To: [EMAIL PROTECTED]
On 2 Jan 1999 09:59:11 GMT, [EMAIL PROTECTED]
(Robert Hampf) wrote:
>Try Cdparanoia
>(http://www.mit.edu/afs/sipb/user/xiphmont/cdparanoia/index.html)
>for ripping and Blade (http://home8.swipnet.se/~w-82625) for
>encoding.
>
>Also have a look at http://www.tardis.ed.ac.uk/~psyche/cdda/
>http://www.mpeg3.com and http://www.mp3.com.
>
>rh
Cdparanoia is certainly an excellent ripping program. I just wish
it had as good an interface as the windows Audiograbber :(
Steve
==========================
The #1 Linux Directory
http://www.linuxlinks.com/
==========================
------------------------------
From: [EMAIL PROTECTED] (Steve Emms)
Crossposted-To: comp.os.linux.x
Subject: Re: X based news reader suggestions...
Date: Sat, 02 Jan 1999 13:59:08 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 02 Jan 1999 09:26:07 GMT, [EMAIL PROTECTED] (David M. Cook)
wrote:
>I'd probably use Gnus since I use XEmacs all the time, but I don't find the
>article window very readable. I wish they'd use a layout like slrn, but
>maybe it's not possible in an emacs buffer.
>
>Dave Cook
I use Agent, running under WINE emulation. Works very nicely indeed.
Steve
==========================
The #1 Linux Directory
http://www.linuxlinks.com/
==========================
------------------------------
Subject: Re: egcs/g++ Hello world
From: Johan Kullstam <[EMAIL PROTECTED]>
Date: 02 Jan 1999 09:12:50 -0500
[EMAIL PROTECTED] writes:
> #include <iostream>
>
> using namespace std;
>
> main(){
>
> cout << "Hello bear\n";
>
> }
>
>
> g++ man.cc works just fine.
>
> [bob@bear cppTest]$ egcs main.cc
> /tmp/cca027091.o: In function `main':
> /tmp/cca027091.o(.text+0x9): undefined reference to `cout'
> /tmp/cca027091.o(.text+0xe): undefined reference to `ostream::operator<<(char
> const *)'
> collect2: ld returned 1 exit status
> [bob@bear cppTest]$
>
>
> Doing 'man egcs' gives the man page for gcc.
>
> So - how dows one use egcs??
use g++. really!
try g++ -v to see what you are really using as g++. egcs gives you
gcc, g++ &c. it's just gcc under a new global name since it is
(essentially) a development version of gcc.
i bet you are using redhat. they renamed egcs' gcc to egcs and put in
gcc-2723 for gcc due to kernel/gcc/egcs kludges and bugs. hope this
helps.
--
Johan Kullstam [[EMAIL PROTECTED]] Don't Fear the Penguin!
------------------------------
From: [EMAIL PROTECTED] (Richard Steiner)
Subject: Re: Y2K, Linux & 486 machines.
Reply-To: [EMAIL PROTECTED]
Date: Sat, 02 Jan 1999 05:00:19 -0600
Here in comp.os.linux.misc, [EMAIL PROTECTED] spake unto us, saying:
>They are 486 DX and SLC processors. Will I need to replace or fix these
>systems for Y2K compatibility this year ??
>
>How would I even test them ? Is setting the system clock to dec 31/99
>enough or is there more ???
I would test them to see if they process the date rollover correctly,
and if the year resets to 1980 after 23:59 on 31 December 1999, see if
the date can be entered manually with a year of 2000.
My 486 here will not process the rollover correctly (and the year goes
back to 1980), but when I enter 2000 manually after the fact it accepts
that and continues on.
Also, test to make sure that the PC(s) recognize the year 2000 as a
leap year, since February 29, 2000 will be a valid date.
--
-Rich Steiner >>>---> [EMAIL PROTECTED] >>>---> Bloomington, MN
OS/2 + Linux (Slackware+RedHat+SuSE) + FreeBSD + Solaris +
WinNT4 + Win95 + PC/GEOS + Executor = PC Hobbyist Heaven!
Misspelled? Impossible. My modem is error correcting.
------------------------------
From: "Lee Mitchell" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup
Subject: Re: NOSPAM in addresses..
Date: Sat, 2 Jan 1999 14:42:20 -0000
I've got a better solution !
my real email address contains the word spam. If the spammers gather my
email address & remove the word spam, I simply dont get it !
note: I hardly receive any spam whatsoever !, ie maybee 1 per month.
--
Lee Mitchell
[EMAIL PROTECTED]
www.spamtastic.demon.co.uk
Michael Lee Yohe wrote in message ...
>Gee, guys - I guess it's not really a known fact that common email gatherer
>programs know to strip out "nospam" "antispam" and other "spam" references
>from your addresses. Be a little creative or just lay out your email
>address plain n' simple.
>
>
***************************************************************************
> * Michael Lee Yohe Office: TH N318
*
> * UAH ASPIRE System Administrator Office: 256-890-6904
*
> * UAH CS Assistant Administrator Home: 256-828-2667
*
> * Email: [EMAIL PROTECTED] Web: http://www.aspire.cs.uah.edu/mlyohe
*
>
***************************************************************************
>
>
------------------------------
From: "Lee Mitchell" <[EMAIL PROTECTED]>
Subject: SCSI Hard disk power saving ?
Date: Sat, 2 Jan 1999 14:51:43 -0000
Hi folks,
I've got REALY old scsi drive in my linux box that gets very little use.
However it makes a great deal of noise while its doing nothing. Does anyone
know how to set the spindown time for a scsi drive ?
I know how to do it with an IDE device , just not scsi !
Thanks in advance...
--
Lee Mitchell
[EMAIL PROTECTED]
www.spamtastic.demon.co.uk
------------------------------
** 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
******************************