Linux-Development-Sys Digest #577, Volume #6      Sat, 3 Apr 99 17:14:18 EST

Contents:
  Re: Idea:  Make a seperate "i686" tree for Redhat Linux 6.0 (James Goldman)
  Re: can we do float point calculation in kernel module? ([EMAIL PROTECTED])
  $6 for $42000 in four weeks ("Goodwomen")
  Re: Idea:  Make a seperate "i686" tree for Redhat Linux 6.0 (Alexander Viro)
  Dynamic Scripting (Re: Proposal: "Linux 2000 Platform") (Christopher B. Browne)
  Re: Idea: Make a seperate "i686" tree for Redhat Linux 6.0 
([EMAIL PROTECTED])
  Re: gethostbyname broken in glibc? (Juergen Heinzl)
  Re: Compiled 2.2.5 Now, no mouse. (Noah Romer)

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

From: James Goldman <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.misc,linux.redhat.misc,alt.linux,alt.os.linux,comp.os.linux.hardware
Subject: Re: Idea:  Make a seperate "i686" tree for Redhat Linux 6.0
Date: Sat, 03 Apr 1999 14:16:34 -0700

Alexander Viro wrote:
> 
<snip story of foo, bar and of course, baz>

> he's OK with <bar>, can't stand anything else and is on holy crusade
> against authors of <bar>.

True. That's rather annoying isn't it? But then again, I frequently go
off on little crusades about my particular foobar: Microsoft. I said I
don't care anymore, but it's not really true. The kind of hatred any
truly computer-literate person develops for M$ never quite dies. So I
guess I'm guilty, too.

<snip description of lusers>

OK, with this description I can't possibly argue. People like you
described shouldn't be allowed to own computers. They are powerful and
potentially dangerous tools (I mean the computers - although I concede
that the lusers are tools, too). 

So everyone should ask themselves: "Do I really know what I'm doing?"
Actually, scratch that. An luser would always answer "yes" even though
the answer is definitely "no". I must have met a few thousand people
like this - and that's just in college. Here I have to note that most of
said people thought Microsoft was wonderful.

> >big ol' bandwagon again. Linux has become a buzzword.
> Yes. And there is a type that I would call professional advocates.
> Completely dishonest, absolutely ignorant, want to fight for 
> something, no matter what. Most vocal type. BTW, many of them are
> ex-Mac/ex-Amiga/ex-OS/2 advocates - check DejaNews and you'll see.

Hmm.. care to elaborate on this, too? Do you mean people screaming about
how wonderful Linux is/putting down everyone who doesn't use
it/otherwise making asses of themselves/otherwise making asses of the
rest of the Linux community? Yes, then I agree. I'll rail agaist M$ as
much as the next guy (and probably more), but the fact is that the rest
of the world needs enlightenment about the true nature of M$. What they
don't need is to be put down. God knows we get enough of that sort of
thing as it is.

> fact that people in <foo> speak on a different language. "What? They 

Here's another thing that's going to give me away, but where does this
"foo" come from? I see it all over the place.

James



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

From: [EMAIL PROTECTED]
Subject: Re: can we do float point calculation in kernel module?
Date: Sat, 03 Apr 1999 20:53:12 GMT

Do you imply that the context-switching FP registers is more efficient in a 
Pentium II PC?

In article <7e5sm2$knu$[EMAIL PROTECTED]>, Peter Samuelson 
<[EMAIL PROTECTED]> wrote:
>[<[EMAIL PROTECTED]>]
>> I'm now writing some kernel modules and want to do some float point
>> computing there. I tried a little bit and it seems work. But I'm not
>> sure if there are any potential risks to do so.
>
>Are you saving and restoring floating point registers?  If not, you had
>better hope all your user processes don't mind getting them clobbered.
>
>I.e. no, it is not safe.  And it is definitely not safe if your module
>runs on a 386 without an 80387.
>
>For bare 386 compatibility, as well as because context-switching the FP
>registers is quite expensive on anything older than a PPro, the kernel
>does not automatically save and restore them for itself; code that
>wants to use those registers is on its own.  Thus there is little or no
>FP, MMX or 3DNow! in the kernel.
>

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

From: "Goodwomen" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.hardware,comp.os.linux.m68k,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.powerpc,comp.os.linux.setup
Subject: $6 for $42000 in four weeks
Date: Sat, 3 Apr 1999 22:24:01 +0400



THIS REALLY CAN MAKE YOU EASY MONEY!! IT WORKS!!! BUT YOU HAVE TO FOLLOW IT
TO A LETTER FOR IT TO WORK!!!!
A little while back, I was browsing through newsgroups, just like you are
now, and came across an article similar to this that said you could make
thousands of dollars within weeks with only an initial investment of $6.00!
So I thought," Yeah, right, this must be a scam", but like most of us, I was
curious, so I kept reading.

Anyway, it said that you send $1.00 to each of the 6 names and address
stated in the article. You then place your own name and address in the
bottom of the list at #6, and post the article in at least 200 newsgroups.
(There are thousands) No catch, that was it. So after thinking it over, and
talking to a few people first, I thought about trying it. I figured what
have I got to lose except 6 stamps and $6.00, right? Like most of us I was a
little skeptical and a little worried about the legal aspects of it all. So
I checked it out with the U.S. Post Office (1-800-725-2161) and they
confirmed that it is indeed legal! Then I invested the measly $6.00. Well
GUESS WHAT!!... within 7 days, I started getting money in the mail! I was
shocked! I figured it would end soon, but the money just kept coming in. In
my first week, I made about $25.00. By the end of the second week I had made
a total of over $1,000.00! In the third week I had over $10,000.00 and it's
still growing. This is now my fourth week and I have made a total of just
over $42,000.00 and it's still coming in rapidly. It's certainly worth
$6.00, and 6 stamps, I have spent more than that on the lottery!!

Let me tell you how this works and most importantly, why it works....also,
make sure you print a copy of this article NOW, so you can get the
information off of it as you need it. STEP 1: Get 6 separate pieces of paper
and write the following on each piece of paper "PLEASE PUT ME ON YOUR
MAILING LIST." Now get 6 US $1.00 bills and place ONE inside EACH of the 6
pieces of paper so the bill will not be seen through the envelope to prevent
thievery. Next, place one paper in each of the 6 envelopes and seal them.
You should now have 6 sealed envelopes, each with a piece of paper stating
the above phrase, your name and address, and a $1.00 bill. What you are
doing is creating a service by this. THIS IS ABSOLUTELY LEGAL! Mail the 6
envelopes to the following addresses:

#1) Grant
P.O.Box 703394
New Smyrna Beach, FL 32170 USA

#2) MIKE ELEFANT
502 N. FRANCES ST. 510E
MADISON WI 53703 USA

#3) Gerry
P.O. Box 854
Pomona, NJ 08240 USA

#4) Hope
112 E. Madison St.
Paulsboro, NJ 08066 USA

#5)Quishia
P.O. Box 174
Clarksboro, NJ 08020-0174 USA

#6) Alex
P.O. Box 1
Russia, Moscow 117630

STEP 2: Now take the #1 name off the list that you see above, move the other
names up (6 becomes 5, 5 becomes 4, etc...) and add YOUR Name as number 6 on
the list. STEP 3: Change anything you need to, but try to keep this article
as close to original as possible. Now, post your amended article to at least
200 newsgroups. (I think there are close to 24,000 groups) All you need is
200, but remember, the more you post, the more money you make! ---

DIRECTIONS-----HOW TO POST TO NEWSGROUPS------------ Step 1) You do not need
to re-type this entire letter to do your own posting. Simply put your cursor
at the beginning of this letter and drag your cursor to the bottom of this
document, and select 'copy' from the edit menu. This will copy the entire
letter into the computers memory. Step 2) Open a blank 'notepad' file and
place your cursor at the top of the blank page. From the 'edit' menu select
'paste'. This will paste a copy of the letter into notepad so that you can
add your name to the list. Step 3) Save your new notepad file as a .txt
file. If you want to do your postings in different sittings, you'll always
have this file to go back to. Step 4) Use Netscape or Internet explorer and
try searching for various newsgroups (on-line forums, message boards, chat
sites, discussions.) Step 5) Visit these message boards and post this
article as a new message by highlighting the text of this letter and
selecting paste from the edit menu. Fill in the Subject, this will be the
header that everyone sees as they scroll through the list of postings in a
particular group, click the post message button. You're done with your first
one!

Congratulations...THAT'S IT! All you have to do is jump to different
newsgroupes and post away, after you get the hang of it, it will take about
30 seconds for each newsgroup!
**REMEMBER, THE MORE NEWSGROUPS YOU POST IN, THE MORE MONEY YOU WILL MAKE!!
BUT YOU HAVE TO POST A MINIMUM OF 200** That's it! You will begin reciving
money from around the world within days! You may eventually wany to rent a
P.O.Box due to the large amount of mail you will receive. If you wish to
stay anonymous, you can invent a name to use, as long as the postman will
deliver it. **JUST MAKE SURE ALL THE ADDRESSES ARE CORRECT.**

Now the WHY part: Out of 200 postings, say I receive only 5 replies (a very
low example). So then I made $5.00 with my name at #6 on the letter. Now,
each of the 5 persons who just sent me $1.00 make the MINIMUM 200 postings,
each with my name at #5 and only 5 persons respond to each of the original
5, that is another $25.00 for me, now those 25 each make 200 MINIMUM posts
with my name at #4 and only 5 replies each, I will bring in an additional
$125.00! Now, those 125 persons turn around and post the MINIMUM 200 with my
name at #3 and only receive 5 replies each, I will make an additional
$626.00! OK, now here is the fun part, each of those 625 persons post a
MINIMUM 200 letters with my name at #2 and they each only receive 5 replies,
that just made me $3,125.00!!! Those 3,125 persons will all deliver this
message to 200 newsgroups with my name at #1 and if still 5 persons per 200
newsgroups react I will receive $15,625,00! With a original investment of
only $6.00! AMAZING! When your name is no longer on the list, you just take
the latest posting in the newsgroups, and send out another $6.00 to names on
the list, putting your name at number 6 again. And start posting again. The
thing to remember is, do you realize that thousands of people all over the
world are joining the internet and reading these articles everyday, JUST
LIKE YOU are now!! So can you afford $6.00 and see if it really works?? I
think so... People have said, "what if the plan is played out and no one
sends you the money? So what! What are the chances of that happening when
there are tons of new honest users and new honest people who are joining the
internet and newsgroups everyday and are willing to give it a try? Estimates
are at 20,000 to 50,000 new users, every day, with thousands of those
joining the actual internet. Remember, play FAIRLY and HONESTLY and this
will work.





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

From: [EMAIL PROTECTED] (Alexander Viro)
Crossposted-To: 
comp.os.linux.misc,linux.redhat.misc,alt.linux,alt.os.linux,comp.os.linux.hardware
Subject: Re: Idea:  Make a seperate "i686" tree for Redhat Linux 6.0
Date: 3 Apr 1999 14:44:42 -0500

In article <[EMAIL PROTECTED]>,
James Goldman  <[EMAIL PROTECTED]> wrote:
>Alexander Viro wrote:
>> IMHO it's RH *trouble*. Bad luck, if you prefer such term. Discussing
>> what *might* happen is pretty much pointless - RH made a kind of press
>> that attracted an odd crowd of gimme-Windows-not-from-Evil-Empire
>> lusers. 
>
>So what's wrong with that? Getting away from Bills Happy Point'n'Drool
>Playgroud is exactly what got me started on Linux. Now that I've got it
>all set up and I have a clue how to use it, I actually have come to love
>it for its features and could no longer care less about Microshaft. Or
>whether anybody else switches, for that matter.

        Well, let me put it that way: it's one thing if <foo> is not satisfied
with the way <bar> works and wants to look what else is out there. Pretty
reasonable. It's a different thing if <foo> doesn't like an attitude of
<bar>'s authors and wants to find somebody else who would give a clone
of <bar> but wouldn't be such an asshole. May be reasonable too (ahem...
there is one particular MTA...). And it's *totally* different thing if <foo>
tries to con/force/whine everybody into turning <baz> into <bar> clone, since
he's OK with <bar>, can't stand anything else and is on holy crusade against
authors of <bar>.

>> It's about luserness. Quite a different thing. RH got a lot of newbies
>> (probably more than other distributions, but I suspect that nobody has
>> numbers) *plus* almost all lusers. The thing being, lusers are much
>> more vocal...
>
>True, but how do you distinguish the two? For me, a Linux luser is one
>who expects Linux to be exactly like windows and gets really annoyed
        Oh, that's just one kind. Luser... well, it's a mental disorder.
Pathological fear of learning, extremely short attention span when it
comes to anything even remotely computer-related; always blaming somebody
else ("you've changed something and it's broken now"); belief that computers
are black magic things; suspension of common sense ("It doesn't print! Ummm?
What does it say? Ehhh... It says "out of paper"... What? Insert paper? Why is
it needed?!?"); belief that somebody can fix the problem by pure voodoo with
*no* specific information about the problem (they *always* start from "it is
broken" or something equally meaningless, e.g. "the net is sloooow" or, better
yet, "Internet is down" (sure... WWIII began, didn't ya know?)); etc.
        They are sick. And I mean medical sense of the word. It's very common
disease. Many things are responsible for spreading this disease, MS not the
last of those things. Add PC Sick, National Shitquirer and other magazines of
the same level. Add cyberpunk authors. Add ST (they did helluva lot wrt.
suspension of common sense when it comes to any technology). Add MS brethren
a-la Apple (they've started even before MS). Add the fact that luserness is
contagious (there is some kind of immune system, but one has to develop it
in the first hand)...

>when it isn't. But who's fault is it that the Linux world is rapidly
>filling up with this ilk? I'll tell you who: Microsoft and general
>ignorance.
        See above.

>People have been stuck with DOS/Win31/95/98/NT/CE/2000 for so long they
>can't imagine anything else. That's M$'s influence. And now there's this
>big ol' bandwagon again. Linux has become a buzzword. 
        Yes. And there is a type that I would call professional advocates.
Completely dishonest, absolutely ignorant, want to fight for something, no
matter what. Most vocal type. BTW, many of them are ex-Mac/ex-Amiga/ex-OS/2
advocates - check DejaNews and you'll see.

>I consider this rather bizarre, in a way. I mean, if you've been
>speaking only English all your life and you decide to learn Norwegian or
>something, you'd be an idiot to expect it to be the same, wouldn't you?
>Yet so many people think in just that way about operating systems.
>That's the ignorance part.
        <chuckle> See stories about US tourists *completely* amazed by the
fact that people in <foo> speak on a different language. "What? They don't
speak English? Boy, whadda bunch of retards!". Especially funny when <foo>
being UK...

>For me, switching to Linux was exactly what I expected. I mean, I *knew*
>it would be different in the same way learning DOS was a pain when my
>experience up to that time was Commodore64 (don't laugh - I loved that
>machine!). So I knew I'd have to read a lot to get good.  
        Hear, hear...

-- 
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid.  Get yourself a better computer" - Dilbert.

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

From: [EMAIL PROTECTED] (Christopher B. Browne)
Subject:  Dynamic Scripting (Re: Proposal: "Linux 2000 Platform")
Reply-To: [EMAIL PROTECTED]
Date: Sat, 03 Apr 1999 18:07:02 GMT

On 03 Apr 1999 12:39:43 -0500, Adam P. Jenkins <[EMAIL PROTECTED]> posted:
>[EMAIL PROTECTED] (Christopher B. Browne) writes:
>> #!/usr/bin/perl
>> $EDITOR = "jed";
>> $xemacsps = `ps aex | grep gnuserv | wc -l`;
>> $xemacsps --; 
>> $xemacsps --; 
>> $emacsps = `ps aex | grep emacs | wc -l `; 
>> $emacsps --;
>> $emacsps --;
>> if ($xemacsps > 0) {
>>     $EDITOR = "gnuclient";
>> } elsif ($emacsps > 0) {
>>     $EDITOR = "emacsclient";
>> }
>> $command = $EDITOR . " " . $ARGV[0];
>> print $command, "\n";
>> exec $command;
>
>This is completely off-topic, but a couple of things about your script
>confuse me.  I use something similar to this on my computer.
>
>1) Why do you use the 'e' option to ps? (This doesn't hurt anything
>   though.) 

Um...  Because I use ps in too many environments, and haven't bothered
to figure out minimizations of ps commands...

>2) Why do you decrement $xemacsps and $emacsps twice?

Probably because the "e" option pulled an extra parent process into
the list of processes found...

>3) If you run 'ps ax |grep gnuserv', sometimes grep will find two
>   lines; itself and the actual gnuserv command, and sometimes it will
>   only find gnuserv.  At least it's that way on my system; it's
>   non-deterministic whether grep will print 1 or 2 lines.  A trick to
>   make grep never find itself is to write 'ps ax |grep "[g]nuserv"'.
>   This avoids having "gnuserv" in the grep commandline.

Slick.  I like that.  The "extra count due to grep" is precisely the
reason for subtracting values from the results of wc.

>So I would rewrite the above script as
>
>#!/usr/bin/perl
>$EDITOR = "jed";
>$xemacsps = `ps ax | grep "[g]nuserv" | wc -l`;
>$emacsps = `ps ax | grep "[e]macs" | wc -l `; 
>if ($xemacsps > 0) {
>    $EDITOR = "gnuclient";
>} elsif ($emacsps > 0) {
>    $EDITOR = "emacsclient";
>}
>$command = $EDITOR . " " . $ARGV[0];
>print $command, "\n";
>exec $command;

It probably needs to be augmented to be aware of the additional
line-number (e.g. +42) argument that can come out of running
EDITOR/VISUAL via (say) hitting "v" when viewing a file using less.

If a particular editor supports jumping in to a particular line, 'tis
nice to request that; if it doesn't, the argument should be ignored.

Multiplexing is pretty cool...
-- 
Those who do not understand Unix are condemned to reinvent it, poorly.  
-- Henry Spencer          <http://www.hex.net/~cbbrowne/lsf.html>
[EMAIL PROTECTED] - "What have you contributed to free software today?..."

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

From: [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
Crossposted-To: 
comp.os.linux.misc,linux.redhat.misc,alt.os.linux,comp.os.linux.hardware
Subject: Re: Idea: Make a seperate "i686" tree for Redhat Linux 6.0
Date: Sat, 03 Apr 1999 16:06:45 -0600



Jeremy Crabtree wrote:

> John Thompson allegedly wrote:
> >Jeremy Crabtree wrote:
> >>
> >> (Sorry, I just couldn't resist...;)
> >>
> >> [EMAIL PROTECTED] allegedly wrote:
> >> [SNIP]
> >>
> >> >Are you saying the the X windowing system is a worthless
> >> >piece of software, because you can use linux with virtual consoles only?
> >>
> >> YEAH! X is WORTHLESS for /exactly/ that reason! Heck, I even have
> >> root-menus on my consoles! ;P
> >>
> >> (BTW, I really do have root-menus on my consoles ;)
> >
> >So?
> >
> >I have *root beer* on my console, but I'm not bragging about
> >it; I'm looking for a towel.
>
> Hrm...got root.beer stuck on tty* huh? Better check in
> /pub/linen_closet and, failing that, /pub/laundry/clean
> for towels.tgz
>
> BTW, don't worry about the compression, it will expand
> itself as it consumes the root.beer



Boy, this is the exact reason I don't bring anything other than
water into my office.  I also keep a box of kleenex next to the
computer.

Rick



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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Subject: Re: gethostbyname broken in glibc?
Date: Sat, 03 Apr 1999 22:06:08 GMT

In article <[EMAIL PROTECTED]>, Bob Berman wrote:
>I recently installed glibc (2.0.7pre6) following the wonderful instructions
>given by Frodo Looijaard at huizen.dds.nl. It went very smoothly and all the
>tests checked out fine. The nice thing about his directions is it makes it a
>snap to switch back and forth between libc environments.

Congratulations ... 2.1.0 is the release version 8) ... okay, forgive
me that one and ...

>Anyway, the problem I've discovered is that gethostbyname() does not work in

... it does, I'd 2.0.7pre6 too.

>glibc. Is this a known problem? If I build my test program using libc5, it runs
>fine. Under glibc it hangs. It doesn't even seem to time out. Is there some
>change I need to make somewhere to get gethostbyname() to work? Or a patch for
>glibc or what?
>
>My compiler is gcc 2.8.1, OS is Linux 2.0.35.

You need the file /etc/nsswitch.conf and it must be set up right,
so it is possibly your programme does not hang but is busy waiting.

See the info files for more but here is an example ...
##
# /etc/nsswitch.conf
#
passwd:         files
shadow:         files
group:          files
hosts:          files dns [NOTFOUND=return UNAVAIL=return]
ethers:         files
protocols:      files
services:       files
rpc:            files
... and you might leave out the dns [...] part.

Cheers,
Juergen

-- 
\ Real name     : J�rgen Heinzl                 \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /
  \ Phone Private : +44 181-332 0750              \                  /

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

From: [EMAIL PROTECTED] (Noah Romer)
Subject: Re: Compiled 2.2.5 Now, no mouse.
Date: 3 Apr 1999 19:52:05 GMT

Jonathan Adams ([EMAIL PROTECTED]) wrote:
: Hi all-
:   I have compiled 2.2.5 on my home system. The build seemed to go well,
: no errors, boots fine, finds and loads modules. However, when I try to
: start X, it barfs and tells me "could not start mouse, no such device"
: or something to that effect.
:   I've re-compiled it numerous time now turning on and off all the mouse
: options to no avail. I noticed that in the kernel config for 2.0.36
: there is a basic mouse support option in addition to PS/2 and other
: types. In the 2.2.5 config there is the "Mice" section which seems to be
: for PS/2 mice and some different bus mice. I didn't find an option for
: basic mouse support like there used to be. Am I missing some thing?

Check your /dev/mouse. Is it pointing to cua[x] or ttyS[x]? I recently
upgraded my system to 2.2.5 (from 2.0.36) and ran into a very similar
problem. 2.2.x wants to use ttyS[x] instead of cua[x], so I deleted
/dev/mouse (which was pointing at /dev/cua0) and made a new link to
/dev/ttys0. However, as soon as I did that, X would die on startup
complaining that it couldn't access my mouse. I changed /dev/mouse to
point to cua0, and now X runs fine. I still get warnings from the kernel
telling me to switch from cua0 to ttyS0, but I can deal w/ that. Now if I
could only figure out why minicom can't open /dev/modem ever since I moved
to 2.2.x (it doesn't make any difference whether it points to cua1 or
ttyS1), ah well ppp still works.

-- 
Noah Romer              |"Listen, I'm a politician which means I'm a cheat and
[EMAIL PROTECTED]       |a liar, and when I'm not kissing babies I'm stealing 
PGP key available       |their lollipops."  
by finger or email      |       - Jeffrey Pelt _Hunt for Red October_

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


** 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.development.system) 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-Development-System Digest
******************************

Reply via email to