Linux-Misc Digest #759, Volume #20               Wed, 23 Jun 99 20:13:11 EDT

Contents:
  Re: Garbage in floating point numbers? (Bob Tinsley)
  Re: How to pronounce SuSE? (Shonne)
  Terminal File Manager (Tarkaan)
  Re: Default routing... ("Carl Hilinski")
  Linux and NT integrated user data ("john land")
  Can I put rules in my .xinitrc? (Warren Bell)
  Garbage in floating point numbers? (Ewald Pfau)
  Re: .bash_profile Path question ("J�rgen Exner")
  Re: go back and forward in directory tree (Belgarion)
  Re: How to pronounce SuSE? (Ray Schultz)
  Re: SUID programs: are they normal? (Thomas L|fgren)
  Re: need to mount external ZIP drive (Richard Bumby)
  Missing crt1.o file (Uri Kerbel)
  Linux balkanization a potential blessing (was: Depoliticising the argument (was: The 
End of Free Software)) (Tom Christiansen)
  Re: Run in background (ellis)
  Can I put rules in my .xinitrc? (Warren Bell)
  Re: Best VLB/PCI vid card for RedHat 6.0 (Greg de Freitas)
  Re: Looking for DTP-Software for Linux (Douglas Loss)
  Re: Linux and NT integrated user data (Nicholas E Couchman)
  Can I put rules in my .xinitrc? (Warren Bell)

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

From: Bob Tinsley <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Garbage in floating point numbers?
Date: Thu, 24 Jun 1999 00:01:47 +0100

UNiDoG wrote:
> 
> Rajarshi Bandyopadhyay <[EMAIL PROTECTED]> wrote:
> > Hi all,
> > Please take a look at the following 3-line program.
> > main(){
> > float t=0.001;
> > float u=1/t;
> > printf("%f\n",u);  file://u expected to be 1000
> > }
> > The actual output is 999.999939.
> > On debugging using gdb, we find that t is actually assigned as
> > 0.00100000005. This seems to be the cause of the discrepancy.
> >
> > What is the reason for this garbage at the tail of the fp number?
> > I am writing a program which depends on the precise values of fp
> > numbers and this problem is f****ing it all up!
> >
> > How do I get around it?
> 
> Use   double   for both variables... which will use 64 bits for them (not 32
> like with float)
> This happens because the 32 bit variable uses 1 bit for the sign of the
> exponent, 1 bit for the sign of the actual number, 7 bits for the
> exponent... and only 23 bit for the number (actualy 24 since the first 1
> isn't stored).
> 0.001(dec) = 0.0000000001000001100010010011011101001...... etc (or
> something).... (0.001 can not be stored correctly binary, if i didn't
> miscaclulate)
> which means the computer stores 0.1000001100010010011011101001.... x10^9
> or + 0.10000...... (24 digits) x 10^(+9)
> So, when you calculate something with it, you'll only have something like
> 0.009999999
> Solutions... take more bits to store the variables or use other formulas

Alternative if you need an *exact* representation: hunt down a decent
library
for rational arithmetic.

Cheers,

        -- Bob

> 
> Hope this makes sense :)
> UNiDoG

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

From: Shonne <[EMAIL PROTECTED]>
Subject: Re: How to pronounce SuSE?
Date: Wed, 23 Jun 1999 22:08:26 GMT

Yes, SuSE rocks.  It is pronounced SuSE, like the word moose. A friend
of mine uses the same distribution, and yes he is German.  Ha Ha I think
the German translation is SuSE(like the word moose), or simply like
soose(SuSE)


In article <7kq1io$[EMAIL PROTECTED]>,
  "John Emmer" <[EMAIL PROTECTED]> wrote:
>     Ok, I know this is trivial, but I just did a search on Deja News
and
> looked at their website, and I can't find the answer.  How does one
> pronounce SuSE?  Is it like 'use' or like 'uzi'?
>
> --
>    John Emmer     VidEo GAme eNthusiast, Philosopher,
Programmer/Analyst,
>              Sun Certified Java Programmer 1.1, BA, MA, MS, ABD
>     [EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
>   Vectrex; 7800, Supercharger, Lynx, Jaguar; NES, SNES, Virtual Boy,
N64;
>    Turbo Duo & Express; SG, SGCD, 32X, Saturn; 3DO; PlayStation,
Yaroze;
> C64, A600, A1200, P100, P166, K6-2 400; Arcade Centipede, Spy Hunter,
> Neo-Geo
>
>

--
yes, Linux works.  Good.  Damn Good.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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

From: Tarkaan <[EMAIL PROTECTED]>
Subject: Terminal File Manager
Date: Wed, 23 Jun 1999 18:57:40 -0400

Anyone remember Word Perfect for DOS?  I found a package that was made
back in 1984 or so that had only the file manager.  It was nothing at
all, really, but it was quick, easy to use, and very intuitive.  It
included basic commands only (copy, move, change active directory,
things like that).  Is there something like that for a linux terminal? 
Or do I need to learn C and write one? :)

Just to let you know where I'm coming from, I was really irate when
everyone started using Xtree Gold, I thought it had too many options. :)

Would there be a market for this if I were to write one?  Do you think
people would use it?

-- Jack Tarkaan                                      Kalamazoo, Michigan
-- http://www.bigfoot.com/~tarkaan            mailto:[EMAIL PROTECTED]
-- NO UNSOLICITED E-MAIL AT THIS ADDRESS - Respect privacy - NO SPAM!!!!

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

From: "Carl Hilinski" <[EMAIL PROTECTED]>
Subject: Re: Default routing...
Date: Wed, 23 Jun 1999 19:06:49 -0400

route delete default

will delete it until you reboot. If you go into the redhat network config
tool in xwindows, you can erase it there and it will be gone forever.

ch

R. Alcazar <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hello All,
>
> I have configured my machine with PPP and a dummy ethernet connection.  I
> have to disable the ethernet connection in order to properly run PPP.  I
> understand that this is a routing problem (perhaps my default route is on
my
> ethernet) and I don't know how to fix this.
>
> I probably want to set no default route to my ethernet.  I'm running RHL
> 6.0.  Can anyone advise me on the proper commands or procedures to do
this?
>
>
> Thanks much,
> R. Alcazar
>
>



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

From: "john land" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Linux and NT integrated user data
Date: Wed, 23 Jun 1999 13:46:04 -0500

Anyone have any links, solutions, or scripts to integrating user
administration between Linux systems and NT domains. Specifically single
entry user adds, changes, passwords etc.

Thanks,
john land




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

Date: Wed, 23 Jun 1999 16:19:09 -0700
From: Warren Bell <[EMAIL PROTECTED]>
Subject: Can I put rules in my .xinitrc?

I have two different window managers I use.  Can I put somthing in my
xintrc file that says somthing like

if the option -wm is present with xinit then
exec windowmaker
else 
exec default

can you do this?  If so could somone give me an example?

Thanks
Warren Bell

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

From: [EMAIL PROTECTED] (Ewald Pfau)
Subject: Garbage in floating point numbers?
Date: Thu, 24 Jun 1999 00:10:17 +0200

Rajarshi Bandyopadhyay <[EMAIL PROTECTED]> wrote:

RB>    float t=0.001;
RB>    float u=1/t;
RB>    printf("%f\n",u);  //u expected to be 1000
RB> The actual output is 999.999939. 

Migrate to integers if you want precision. As a saying goes: you didn't
understand the problem if you cannot express it with integers ;)


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

From: "J�rgen Exner" <[EMAIL PROTECTED]>
Crossposted-To: redhat.kernel.general,redhat.general
Subject: Re: .bash_profile Path question
Date: Wed, 23 Jun 1999 11:36:35 -0700
Reply-To: "J�rgen Exner" <[EMAIL PROTECTED]>

Jeremy C. Reed <[EMAIL PROTECTED]> wrote in message
news:Pine.LNX.3.96.990623004144.1910I-100000@sloth...
> try:
>
> PATH=.:$PATH

Oh yeah, excellent idea. May I suggest to mutilate the root account, too?

Please check the UNIX FAQ why having the CWD in the PATH is a bad idea in
the first place.
But having it at the beginning(!) of the PATH is like playing Russian
roulette.

jue
--
J�rgen Exner




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

From: [EMAIL PROTECTED] (Belgarion)
Subject: Re: go back and forward in directory tree
Reply-To: [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
Date: 23 Jun 1999 15:43:11 PST

In article <[EMAIL PROTECTED]>, Vic Mortelmans wrote:
>Hello,
>
>Is there (preferrably in bash) a way to browse the directory tree like
>you do with webpages? I mean going back to the previously visited
>directory,...
>
>I remember vaguely having read about something like this and it will
>probably be a very simple command... but I can't find it. I'm not even
>sure it had to do with bash or even linux.
>

In addition to what others have mentioned, the bash variable $OLDPWD
contains the previous directory you occupied.

-- 
Erik Hollensbe/AKA Belgarion
[EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]
remove "admin" and "127.0.0.1" to reply via email
"I'm sick of limiting myself, to meet your definition..." - Incubus, "Redefine"

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

From: Ray Schultz <[EMAIL PROTECTED]>
Subject: Re: How to pronounce SuSE?
Date: Wed, 23 Jun 1999 13:01:49 -0500
Reply-To: [EMAIL PROTECTED]

Matthias Nott wrote:
> =

> Perhaps like "Sushee"? (just kidding)
> =

> Matthias
> =

> Am Wed, 23 Jun 1999 hat Villy Kruse geschrieben:
> >In article <7kq3r0$[EMAIL PROTECTED]>,
> >John Emmer <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> >>
> >>    For those of you who may still be wondering, it's pronounced as i=
f the
> >>'u' had an umlaut.  Or kind of like in John Phillip _Sousa_.
> >
> >
> >If it should be pronounced as u with umlaut it would have been spelled=
 with
> >u umlaut, as in S=FCSE.
> >
> >There are absolutely no umlaut sound in the name of Sousa.  I'm not ev=
en
> >sure there are any =FC sound at all in the English language; except ma=
ybe
> >dej=E1 vu  if pronounced the real French way.
> >
> >
> >Villy

See:

http://www.suse.com/Support/Doku/FAQ/SuSE-Linux-E-FAQ-2.html

for what SuSE stands for and how to pronounce it.

-=3DRay

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

Crossposted-To: comp.os.linux.security
Subject: Re: SUID programs: are they normal?
From: Thomas L|fgren <[EMAIL PROTECTED]>
Date: 18 Jun 1999 10:07:52 +0200

>>>>> "Ben" == Ben Slusky <[EMAIL PROTECTED]> writes:

    Ben> Ben Armstrong ([EMAIL PROTECTED]) wrote:
         : Without specific examples of why suidperl/sperl are good or
         : bad, it is hard to make an informed decision based on just
         : these comments.

    Ben> Ok...

    Ben> [...]

    Ben> This is one of the things Perl is good for: situations when
    Ben> you want a setuid program that would be clumsy to write in C
    Ben> and dangerous to write in shell. Unless you're sure that
    Ben> you're never going to use a setuid Perl script (and I
    Ben> wouldn't be too sure), don't delete these.

Good point.  Just make sure to 'chmod u-s' them until you actually
need to use it.  suid perl scripts aren't that common, and to have
suid programs when you don't need to is a bad idea.

Tom
-- 
T. Lofgren - Wherever I lay my .emacs, that's my ${HOME}
These opinions are mine, not yours.  Get your own damn opinions.

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

From: [EMAIL PROTECTED] (Richard Bumby)
Crossposted-To: comp.os.linux.setup,redhat.general
Subject: Re: need to mount external ZIP drive
Date: 23 Jun 1999 15:25:29 -0400

tpage <[EMAIL PROTECTED]> writes:

>I have an external Iomega Zip drive and I'm trying to mount it to RH 6.0.
>Has anyone done this.  Please let me know the mount commands if you have.
>thanks...

The important things are whether it is plugged into a parallel port or
a SCSI card, and if parallel, how new your Zip drive is.  Older Zip
drives are well documented in the how-to.  The new ones use the imm
driver.  This is usually available as a module, but you need to load
it using insmod or modprobe (see manpage for more details) before you
can use it.  If you have a disk in the drive when you load the driver,
the system will read its partition table, and a command like 'cat
/proc/partitions' will show the structure of this drive along with all
the others that you already know about.  The drive appears to the
system like a SCSI disk, and Iomega formats the disk so that it is the
fourth partition (even though the first three don't exist).  Once you
have the correct name in the /dev directory, you can mount it like
anything else.
-- 
R. T. Bumby **  Rutgers Math || Amer. Math. Monthly Problems Editor 1992--1996
[EMAIL PROTECTED]       ||   
Telephone:    [USA] 732-445-0277 (full-time message line) FAX 732-445-5530

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

From: [EMAIL PROTECTED] (Uri Kerbel)
Subject: Missing crt1.o file
Date: Wed, 23 Jun 1999 23:41:38 GMT

Hi

Please could someone help me...

After executing 'make dep' during a kernel update (using Red Hat 5.2),
I get an error message stating that the file crt1.o is missing.

Where can I obtain this file and where must I place it?

Any help would be greatly appreciate

TIA

Uri Kerbel
--
[EMAIL PROTECTED]
www.kalbi.demon.co.uk (free Java applets, scripts and utilities)

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

From: Tom Christiansen <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.bsd.misc,gnu.misc.discuss
Subject: Linux balkanization a potential blessing (was: Depoliticising the argument 
(was: The End of Free Software))
Reply-To: [EMAIL PROTECTED] (Tom Christiansen)
Date: 23 Jun 1999 17:51:59 -0700

In gnu.misc.discuss, 
    David Kastrup <[EMAIL PROTECTED]> writes:
:Probably not knowing Linux, 

If that's your premise, I have bad news for you: it's wrong, and as
we all know, a false premise can generate any number of irrelevant and
unverifiable conclusions. :-)

:you might not know that all of these
:"splinters" are using the exactly same kernel, the exactly same
:utilities and the exactly same libraries, even though the currentness
:of the versions might differ.  

I have installed many different versions of Linux, for many years,
time and time again.  And I assure you, they are *very* different.
It's undeniable.

:They differ in their installation
:procedures, the extent of included applications, the choice of
:desktops and a few other trivialities.

You have a radically different notion of triviality than I do!

Application presence and compatibility (read: programs; read: utilities)
are the farthest possible thing from trivialities.  In fact, for
virtually everyone, they're all that matter.  And you can't count on
them *in the least*.  It's nothing short of maddening.

I once had a fricking RedHate system claim to be installing for a
"server" (whatever that meant), newfs my disk (which was fine), and
then not bother to install a dump program -- or more importantly, a
restore program!  Hello?  Knock knock knock.  Is there anybody home?
What the hell were these people thinking?

Or what about the time that xterm -C made the system unbootable due to
a bogus pty link? (Yes, I guess we can blame someone else for that.)

Or what about about the time a Linux distribution install new dynalinked
utilities and then crapped out for lack of disk space before they could
get the libraries in?  That was lots of fun, too.

Then there was upgrading the kernel and all the ptys breaking, and there
being no MAKEDEV script.

And no fricking manpages for anything you need to have.  The shame!

Don't get me started.  And that's really just the bare start of it.
It's a horribly tangled mess, and I could go on all night.  

Do I have something good to say?  Why, yes.  I do.  It's my hope and
belief that the ramifying balkanization of Linux we're now seeing will
improve this terrible situation, because real people won't put up with
this bullshit, and it's a competitive advantage to get these things right.

If I had had anything to do with putting out a Unix distribution as shoddy
as some as these have been, back when that used to be my job, I would have
not only lost my job, I likely would have been held criminally negligent
as well.  And if I had given one of my (multi-million dollar account)
Unix customers something as different as is one Linux distribution to
the next, he would have personally ripped my fingernails out and used
them to eviscerate my eyeballs with.

--tom
-- 
"They called me mad, and I called them mad, and damn them, they outvoted me."
   -- Nathaniel Lee on being consigned to a mental institution, circa 17th c.

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

From: [EMAIL PROTECTED] (ellis)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Run in background
Date: 23 Jun 1999 23:49:16 GMT

In article <[EMAIL PROTECTED]>,
Eric George  <[EMAIL PROTECTED]> wrote:

>Try following you executable with an '&'

That still leaves the process in the shell's process group.

--
http://www.fnet.net/~ellis/photo/

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

Date: Wed, 23 Jun 1999 16:14:27 -0700
From: Warren Bell <[EMAIL PROTECTED]>
Subject: Can I put rules in my .xinitrc?

I have two different window managers I use.  Can I put somthing in my
xintrc file that says somthing like

if the option -wm is present with xinit then
exec windowmaker
else 
exec default

can you do this?  If so could somone give me an example?

Thanks
Warren Bell

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

From: Greg de Freitas <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.os.linux.setup,comp.os.linux.x
Subject: Re: Best VLB/PCI vid card for RedHat 6.0
Date: Thu, 24 Jun 1999 00:53:33 +0100
Reply-To: [EMAIL PROTECTED]

David Lyons wrote:
> 
> I just used a no name S3 2MB board that I bought at fry's for $25, and it
> works beautifully, runs X at 1024x768, and I have had no problems.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^1152x864 looks good too ;-)

> 
> --
> David Lyons
> www.WhereAreMyPants.Com
> Check out or new message boards!
> Dweezel Zappa <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > I am going to build an inexpensive PC to run Red Hat 6.0,
> > and was wondering what the best Video cards are.  I want
> > a video card that is very fast in 2-D, and is 101% supported
> > in X.  Not the most recent vid cards please, (unless is totally rocks
> > and dosent cost too much.)
> >
> >
> > Any Ideas?
> >
> >
> > Thanks so much!
> >
> >
> > Chris.
> >
> > --
> > ____________________________________________________________
> > If you need to email me, my email address is :
> > _cwillison_ at _vrcis_ dot com (and remove the underscores!)
> > ____________________________________________________________
> >
> >
> >

--
Ciao 4 now, Greg.
# Email     :  mailto:[EMAIL PROTECTED]   #
# Email     :  mailto:[EMAIL PROTECTED]    #
#  To Live, To Love, To Learn, To Leave A Legacy.    #


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

From: [EMAIL PROTECTED] (Douglas Loss)
Subject: Re: Looking for DTP-Software for Linux
Date: 23 Jun 1999 18:16:01 -0500

In article <7k0tn9$f58$[EMAIL PROTECTED]>,
        Michael Abmayer <[EMAIL PROTECTED]> writes:
> I'm looking for a DTP-Software for Linux similar to Adobe Pagemaker or
> Quark XPress.
> 
> Michael

There's Xclamation from Axene <http://www.axene.com>, although I'm not 
sure if Axene is still around (it's been a while since I looked at their
website).

-- 
Doug Loss            Democracy substitutes election by the
[EMAIL PROTECTED]    incompetent many for appointment by
(570) 326-3987       the corrupt few.
                        George Bernard Shaw

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

From: Nicholas E Couchman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: Linux and NT integrated user data
Date: Wed, 23 Jun 1999 23:13:00 GMT

I can use the WinNT server manager to access stuff on my Linux computer.
This comes with the new samba (2.x.x).  I can see who is on the Linux
computer and disconnect them if so desired.  I have not found anything in
the way of NT admin from Linux.  I don't even know if this is what you were
asking about, but I tried.
--Nick

john land wrote:

> Anyone have any links, solutions, or scripts to integrating user
> administration between Linux systems and NT domains. Specifically single
> entry user adds, changes, passwords etc.
>
> Thanks,
> john land


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

Date: Wed, 23 Jun 1999 16:15:53 -0700
From: Warren Bell <[EMAIL PROTECTED]>
Subject: Can I put rules in my .xinitrc?

I have two different window managers I use.  Can I put somthing in my
xintrc file that says somthing like

if the option -wm is present with xinit then
exec windowmaker
else 
exec default

can you do this?  If so could somone give me an example?

Thanks
Warren Bell

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


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