Linux-Misc Digest #815, Volume #23 Sat, 11 Mar 00 17:13:03 EST
Contents:
Mandrake 6.1 shows only 15M on a 256M system (Frank M. Ramaekers Jr.)
banner page (Joel)
Pine and smail (John Loukidels)
Re: Help with Mysql (Bob Hauck)
Helix Gnome Post Installation Problem (Oktay Altunergil)
Re: how do I insert a background image in x window (Ruediger)
GNU tar 1.13 (included w/Slackware 7.0) - Program or Human bug (Hugh McCurdy)
Re: Off Topic Language Trolling (Was: C++ in Linux) (Erik de Castro Lopo)
Re: Looking for code/libraries to interpret HTML (me)
Re: I need Linux for Morons... (Alexander K)
Re: /dev/audio over nfs? (Jeff Dillon)
Re: Advice on PartitionMagic on all-Linux system? ("Duy D.")
Re: Solaris 7 vs Redhat6.1 vs NT4 (Dennis Peterson)
Re: NIS+ (Andre van Dijk)
Re: cdrecord read from ide => scsi ?? (Dances With Crows)
Re: Linux with Soundcard Creative ES1373 PCI (Dances With Crows)
Goofy apache "bug" ("Dheera Venkatraman")
----------------------------------------------------------------------------
From: Frank M. Ramaekers Jr. <[EMAIL PROTECTED]>
Subject: Mandrake 6.1 shows only 15M on a 256M system
Date: Sat, 11 Mar 2000 20:21:17 GMT
I have:
ASUS P5A w/ 256M
Mandrake 6.1 (freshly installed)
X-windows (extremely slow!)
Any Ideas?
------------------------------
From: Joel <[EMAIL PROTECTED]>
Subject: banner page
Date: Sat, 11 Mar 2000 13:19:07 -0700
In Redhat Linux 6.0, how do I get lpr to quit printing the trailing
page the has the user, host,class, and Job info. I marked supress
headers in the printer setup, but still get this page.
Thanks
Joel
------------------------------
From: [EMAIL PROTECTED] (John Loukidels)
Subject: Pine and smail
Date: Sat, 11 Mar 2000 20:31:46 GMT
I need to use pine to bounce email from one user account to another
on my pc at home. When I try to bounce the mail, I get the following
error message written to my smail logfile:
03/11/2000 15:19:42: remote EHLO: invalid operand: 'localhost': from :
hostname must contain a '.'.
In smail's config file, I have set the following flags
-smtp_hello_verify
-smtp_hello_verify_literal
The foregoing are required to allow fetchmail to work properly with
smail.
In addition, I experimented, offline, by inserting the following
into config
smtp_hello_broken_allow=*
(I am not a Linux security expert, but I take it that one shouldn't
try the foregoing at home, as it were, especially if one has a net
link that is always up.)
I received the following smail error message:
03/11/2000 15:24:19: remote EHLO: questionable operand: 'localhost':
from localhost: Host name does not match remote address.
I have set the user domain variable in the sending pine mua as
localhost.localdomain, which is my home pc's name.
Any suggestions?
John
------------------------------
From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: Help with Mysql
Date: 11 Mar 2000 20:35:58 GMT
Reply-To: bobh{at}haucks{dot}org
On 11 Mar 2000 14:27:10 -0500, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>I need some helping getting my Mysql libraries straight ;-) I have the
>databaseitself set up fine. I can connect, set up securities, query,
>etc.
>The problem comes in when I try to write a client in C and link in (or as
>in my case, not) the libraries.
It would help if you would explain what you did and what happened. Saying
"it doesn't work" isn't very helpful since there about 43 million things
that can go wrong when compiling and linking a program.
Telling us what command line you used (post your makefile if you used
one), and what error messages did you got would be a start.
In general, for MySQL, you'll need to include a -L directive to tell the
compiler (the linker really) where the libraries are, possibly a -I for
the header path, and a -lmysqlclient to include the client library.
--
-| Bob Hauck
-| To Whom You Are Speaking
-| http://www.bobh.org/
------------------------------
From: Oktay Altunergil <[EMAIL PROTECTED]>
Subject: Helix Gnome Post Installation Problem
Date: Sat, 11 Mar 2000 20:30:05 GMT
Hi,
I recently installed Helix Gnome. After installation when I try to start
the Gnome desktop I get an error message that says something like 'a
second copy of an already running application is tried to be started do
you want to allow this (the second one will not be restarted) '
Sorry for not being able to provide the exact message. I can supply it if
it is necessary when I get home (sweet home).
I suspect the application in question is the docking toolbar of gnome
because if I say 'no, don't run the second copy' the docking thing doesn't
appear. However if I say yes, this time I get something like the toolbar
but it doesn't have any icons or anything. It looks like a frozen
application and you can't do anything about it. Is there anyone who can
help? If you're not familiar with Helix, can you point me to a fix through
gnome's settings that will allow only one toolbar to start at the start of
gnome? Any help will be appreciated.
Oktay
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Ruediger)
Subject: Re: how do I insert a background image in x window
Date: Sat, 11 Mar 2000 17:59:37 +0200
Reply-To: [EMAIL PROTECTED]
In article how do I insert a background image in x window,
Andrew Wong writes:
> How do I insert a background image in Red Hat 6.0. I can change the color
> by usng "xsetroot" just to change the color, how about the background
> image? Please help.
>
xsetroot -bitmap imagefile
--
Microsoft Windows(tm). A thirty-two bit extension and graphical shell
to a sixteen bit patch to an eight bit operating system originally
coded for a four bit microprocessor which was written by a two-bit
company that can't stand one bit of competition. (Jargon 4.2)
------------------------------
From: Hugh McCurdy <[EMAIL PROTECTED]>
Subject: GNU tar 1.13 (included w/Slackware 7.0) - Program or Human bug
Date: Sat, 11 Mar 2000 20:43:09 GMT
TAPE is set to /dev/fd0
I attempt to do a multi-volume (multi-floppy) restore
with the command
$ tar xvML 1440
I learned about using this command from some Linux document
that I read years ago (1995, 1996?). And it works fine
in tar version 1.12.
However, tar 1.13 in Slackware 7.0 returns
tar: Invalid tape length
Try `tar --help' for more information.
So, either the program is broken or I'm not issuing a
proper command. Which is it?
If I'm "broken" then, could someone give me the proper
command for restoring a tar archive on multiple floppies?
If the program is broken, I could try to fix the bug.
But should I try? Or should I be reporting this somewhere?
(I looked at the source code and it is not clear what the
author intends).
------------------------------
From: Erik de Castro Lopo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Off Topic Language Trolling (Was: C++ in Linux)
Date: Sat, 11 Mar 2000 20:56:47 +0000
Harold Stevens ** PLEASE SEE SIG ** wrote:
>
> In <[EMAIL PROTECTED]>, Erik de Castro Lopo:
>
> [Snip...Re: E. Robert Tisdale language jihad]
>
> |> I can't think of anything offhand that irritates me about C. Care
> |> to tell us what irritates you?
>
> [Snip...]
>
> Why is this language tail chasing in a Linux newsgroup?
>
> Dunno what E. Robert's thingy is about c++ but this is the tenor of a thread
> in comp.lang.fortran (excerpt of message <[EMAIL PROTECTED]>):
>
> But Fortran has been experiencing increasing competition
> from general purpose programming languages lately --
> especially C++.
>
> as if a gaggle of doddering NASA pocket protector types gives two hoots.
>
> Suggest followups in appropriate advocacy groups, not OS discussions.
Yeah, I'v come across rabid dog E. Bob before in comp.dsp. He trolls
around there pretty often as well.
Erik
--
+-------------------------------------------------+
Erik de Castro Lopo [EMAIL PROTECTED]
+-------------------------------------------------+
"He's a born-again Christian. The trouble is, he suffered brain
damage during rebirth."
------------------------------
Date: Sat, 11 Mar 2000 23:27:35 +0200
From: me <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.questions
Subject: Re: Looking for code/libraries to interpret HTML
Juergen Heinzl wrote:
> In article <[EMAIL PROTECTED]>, me wrote:
> >hi
> >
> >i'm looking for any freely distributable code or any libraries i can use
> >to interpret HTML documents. Ideally, something where i can pass
> >the HTML as input, and have the code generate the output without me
> [...]
> What code ? HTML *is* the code.
> [...]
what i mean is:
suppose i have a HTML document. i want some C/C++ code that's able to
interpret the HTML code and give me some nice output, kinda like what a web
browser does. But......i'm writing a little program....and i need it to be
able to interpret HTML docs.....so....is there any C/C++ libraries or
something that i can use?
ali
([EMAIL PROTECTED])
------------------------------
From: Alexander K <[EMAIL PROTECTED]>
Subject: Re: I need Linux for Morons...
Date: Sat, 11 Mar 2000 21:02:22 GMT
In article <8abhm0$snh$[EMAIL PROTECTED]>,
Sage Kim <[EMAIL PROTECTED]> wrote:
> Linux Mandrake 7.0 w/o problems on a computer that I made from
> leftover parts from the attic (Pentium 233, 256MB, 10GB HD, etc).
sounds like quite an attic.
> ...but when I log in, it just throws two terminal windows on blue
> desktop, and I do not know what to do other than some very basic unix
to me this sounds like failsafe-mode. i think that's something about the
computer trying to start the default windowmanager (kde in this case i
think, i also got mdk7 and its like that on my computer) but failing,
and then starting Twm.
Twm is a blue screen with a xterm when it starts.
that happened to me once when i tried swiching windowmanager.
what happens when you rightclick on the blue screen?
do you see a menu with "Twm" on top?
also try typing "kfm" in the xterm. (kde filemanager)
that could give you some icons and stuff on screen, and you will know
that you got kde on the computer (possibly broken though, the config).
i managed to get my kde started by deleting the .Xclients and
.Xclients-default in my home directory.
i only had that problem as root.
but you seem to have it overall.
actually trying to learn from a broken installation (IF that's the case)
would be a bit awkward, i would guess.
you don't seem to have put anything else on the comp.
then perhaps try a reinstall?
did you choose graphical mode as default? perhaps then choose txt next
time, then at least that will work (most probably anyway, the prob seems
to be in X).
to start x from txt-mode you will type:
#startx
thats what i would do (i think:)). but then... i love (re)installing
things:) i am a novice myself here, so i go on trying to learn by trial
and error.
but better wait a while, perhaps a guru will show up and solve your
troubles...
peace / alex
--
--------------------------
[EMAIL PROTECTED]
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Jeff Dillon <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: /dev/audio over nfs?
Date: Sun, 12 Mar 2000 15:32:53 -0600
Check out the Network Audio System.
jeff dillon
tijmen stam wrote:
>
> I want to send audio over my network. Does anyone know more about this?
>
> My situation is this one:
>
> I have two comuters standing next to each other, but only one AWE32
> creative soundblaster.
> - One has a soundcard in it, and i'll refer to it as "soundpc", but is
> too slow to have X on it. The souncard is properly configured in the
> kernel and is working.
> - The other Computer, "Xpc" has no soundcard, but is my usual X pc.
> Sound is also configured in the kernel, and /dev/audio exists, but whan
> you cat a fille to it, it sais "no such device".
> - I have a working NFS system (soundpc as server, but I can change that)
> between them over 10 mb Ethernet.
>
> When from Xpc I cat a file to the /dev/audio on Soundpc, it still gives
> me a "no such device".
> when I put the soundcard in Xpc, it is working there.
>
> My goal is to be able to let Xmms run on Xpc and play mp3 over the
> network, but for now a simple blip is enough.
>
> any suggestions?
> What to do?
>
> other questions:
> - When I have my soundcard configured in the kernel, do I still need
> isapnp.conf?
> - What is the exact scanning frequency of /dev/audio? I clocked it at
> around 8kHz.
>
> p.s. I'ts an experiment, so I don't want the answer "buy a new
> soundcard", or "switch your soundcard" .
>
> p.s.2 do you love techno? do a:
> cat core > /dev/audio
>
> --
> You had mail from Tijmen Stam
>
> Mail me back at [EMAIL PROTECTED]
>
> (reply can take a couple of weeks)
>
> *********************************************************************
>
> I use /-\ /-\ /--\ /-\ /-\ /-\ |-\ /-| By Thorevaelds...
> | | | | | \ | | | | | | \ \/ /
> | | | | | |\ \ | | | | | | \ /
> | | | | | | \ \| | | | | | / \
> | \----\ | | | | \ | \ \---/ / / /\ \
> Yeah... \------/ \-/ \-/ \--/ \-----/ |-/ \-|
--
==============================================================
Jeff Dillon http://www.uiuc.edu/~jdillon
------------------------------
From: "Duy D." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Advice on PartitionMagic on all-Linux system?
Date: Sat, 11 Mar 2000 15:48:48 -0600
Robert Sand wrote:
>
> Steve,
>
> The PM product only runs in windows 95/98/NT. It's nice if you have a system
> with both Win and Linux but in your case you'll need to have a disk with win on
> it in order to do the partitioning/resizing work that PM will let you do.
>
Not entirely true. PM4.0 allows you to create a boot floppy under
linux.
It doesn't include everything, but all the needed functionalities are
there.
------------------------------
From: Dennis Peterson <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.question,comp.unix.solaris,linux.redhat
Subject: Re: Solaris 7 vs Redhat6.1 vs NT4
Date: Sat, 11 Mar 2000 13:42:58 -0800
[EMAIL PROTECTED] wrote:
>
> Hi all....
>
> I have lined up three machines:
> 1) Solaris 7
> 2) NT 4.0
> 3) Redhat 6.1
>
> I have a load Balancer which distributes load i.e. HTTP request to
> any one of these machines behind the Cisco switch (2900series). I have
> made these machines as equal as possible in terms of RAM, MHz, etc.
>
> Now my question?
>
> Is there any software or scripts which can start spitting out X amount
> of HTTP request on these machines while each counting the HTTP request
> they have served within a given time period? If someone has any other
> suggestion I would be glad to share with everyone......
>
> Cheers,
> hallian.
>
Some trivial scripting and wget should do what you want.
dp
------------------------------
From: [EMAIL PROTECTED] (Andre van Dijk)
Crossposted-To: alt.solaris.x86,comp.unix.solaris,comp.unix.admin,alt.os.linux
Subject: Re: NIS+
Date: 11 Mar 2000 20:47:32 GMT
Reply-To: [EMAIL PROTECTED]
Op Sat, 11 Mar 2000 10:46:16 +0800 schreef TomC:
>Hi, I have more than 5 redhat server in my company and every time a new
>staff come then I need to add account in each server. It is very
>inconvenience. I think that can I add a solaris NIS+ server and all the
>linux clients join to it and share the information. Can I? Any HOWTO
>will talk about this?
>Thanks
http://www.suse.de/~kukuk/linux/HOWTO/NIS-HOWTO.html
--
Andre van Dijk
,----------------------------------+-------------+-----------------------.
| mailto:[EMAIL PROTECTED] | icq:4249631 | fax:(+31)(0)208833917 |
`----------------------------------+-------------+-----------------------'
Kyle: We can't miss the final apocoplytic battle between good and evil.
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: cdrecord read from ide => scsi ??
Date: 11 Mar 2000 17:01:46 EST
Reply-To: [EMAIL PROTECTED]
On Sat, 11 Mar 2000 15:22:10 GMT, Dave Thompson
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>I would like to do direct copying from an ide cdrom writing to a scsi cd
>writer, without writing the file to disk in between, for both audio and
>data. For data, with the ide mounted, I can pipe mkisofs to cdrecord
>directly, but how would I do this with audio?
$ cdparanoia -d /dev/cdrom -R 1 - | cdrecord dev=/dev/sg0 -nofix -
$ cdparanoia -d /dev/cdrom -R 2 - | cdrecord dev=/dev/sg0 -nofix -
[...]
$ cdparanoia -d /dev/cdrom -R N - | cdrecord dev=/dev/sg0 -nofix -
$ cdrecord -fix
Since I have only a CD-RW attached, I can't test this. It *should* work.
Why are you using mkisofs, anyway? Why not just:
dd if=/dev/cdrom of=- | cdrecord dev=/dev/sg0 -
if you want to copy data CDs exactly?
--
Matt G / Dances With Crows \ In the MS-DOStrix,
There is no Darkness in Eternity \----\ there is no fork().
But only Light too dim for us to see \
===== Usenet: ceci n'est pas une guerre des flammes =====
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Linux with Soundcard Creative ES1373 PCI
Date: 11 Mar 2000 17:06:01 EST
Reply-To: [EMAIL PROTECTED]
On Sat, 11 Mar 2000 16:30:03 GMT, Fritz <<[EMAIL PROTECTED]>>
shouted forth into the ether:
>I�m a beginner in working with Linux. Since I have installed Suse Linux 6.2
>, I try to set in opperation my above named Soundcard.
>
>Do anyone have experiences with this card?
>What I have to do to install it correctly ("sb" does not work)?
The ES1373 and ES1371 are essentially the same card as far as the kernel
is concerned. Try "modprobe es1371" or if that doesn't work, you have to
compile es1371 support as a module. HTH,
--
Matt G / Dances With Crows \ In the MS-DOStrix,
There is no Darkness in Eternity \----\ there is no fork().
But only Light too dim for us to see \
===== Usenet: ceci n'est pas une guerre des flammes =====
------------------------------
From: "Dheera Venkatraman" <[EMAIL PROTECTED]>
Subject: Goofy apache "bug"
Date: Sat, 11 Mar 2000 22:09:56 GMT
I have Apache installed...
I have a dynamic IP, and www.yi.org provides my domain name, dheera.yi.org,
with the Wildcard Alias option set (i.e. *.dheera.yi.org points to the same
IP).
What I'm trying to do is to get something.dheera.yi.org to automatically
redirect to dheera.yi.org/something.
Apache's virtual hosts are inconvient because it is difficult to set up with
a dynamic IP.
So I did all the ExecCGI, AddHandler cgi-script .cgi etc. etc. etc.
configurations, so that I can put cgi scripts anywhere.
I have the following script, index.cgi, in my /home/httpd/html directory:
#!/usr/bin/perl
print "Content-type: text/html\n";
$a=$ENV{"HTTP_HOST"};
$a=~s/(.*?)(\.)(.*)/$1/i;
if(sqrt($a*$a) ne $a && $a!~/^(dheera)$/i && $a!~/www/i) {
# sqrt($a*$a) ne $a makes sure the URL isn't an IP address
# $a!~/^(dheera)$/i makes sure it isn't my usual dheera.yi.org domain
# $a!~/www/i makes sure it isn't www.dheera.yi.org
print "Location: /".$a."\n\n"; # Redirect the browser
print $a;
}
else { # If it isn't a "subdomain", return contents of
index.html
print "\n";
open(INFILE,"<./index.html");
@lines=<INFILE>;
foreach $line (@lines) {
print "$line\n";
}
close(INFILE);
}
Now.... It works fine and everything... hello.dheera.yi.org redirects to
dheera.yi.org/hello and test.dheera.yi.org redirects to
dheera.yi.org/test...
*but*... asdf.dheera.yi.org just spits out the whole source code of this
script instead of redirecting to dheera.yi.org/asdf.
JUST asdf.dheera.yi.org. Everything else I've tried works. Wierd.
I am just posting this in case there is a security hazard somewhere else
related to this issue (i.e. can anyone get source code of cgi scripts by
going through asdf.yourdomain.com ?)
Dheera Venkatraman
[EMAIL PROTECTED]
------------------------------
** 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
******************************