Linux-Misc Digest #946, Volume #26 Sun, 28 Jan 01 09:13:01 EST
Contents:
Re: MS to Enforce Registration - or Else ([EMAIL PROTECTED])
Re: MS to Enforce Registration - or Else ([EMAIL PROTECTED])
Re: I NEED TO BOOT W/OUT A FLOPPY ([EMAIL PROTECTED])
Re: what news reader do you use? ([EMAIL PROTECTED])
Re: How do I set up an SSL https directory in linux/unix? (Michael Heiming)
Re: ie for linux ([EMAIL PROTECTED])
Re: configuring debian ("Peter T. Breuer")
Re: Proliant 2500R + Red Hat 6.2 - RAID5 suddenly loses drives (jwk)
Re: how to unzip a .zip file (John Thompson)
Re: Potato & upgrading w/*.tar.gz (John Hasler)
Large .jpg files (Joshua Beard)
Re: why can't i find any good GUI file managers? (Mark Bratcher)
Re: MS to Enforce Registration - or Else (Mark Bratcher)
[slakware] bin upgrade to glibc (2.1.2->2.2.1)? (Ray Fencey)
Resolving Virtual IP address ([EMAIL PROTECTED])
Re: MS to Enforce Registration - or Else ("Joseph T. Adams")
Re: MS to Enforce Registration - or Else ("Joseph T. Adams")
Re: what news reader do you use? (Lee Webb)
Re: <time.h> clock() function in gcc 2.91.66 on Linux (Dennis Yelle)
Re: <time.h> clock() function in gcc 2.91.66 on Linux (OT) ("Tim Prince")
KSIRC Tells Me That DSIRC is Dead... ("Meron Lavie")
KPPP Problems ("Meron Lavie")
Re: How to put LILO in 1st sector of boot partition ? (Lee Webb)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Sun, 28 Jan 2001 09:12:11 GMT
Mark Bratcher wrote:
>
> Oh, I get it now.
>
> This all falls under the "misc" part of "comp.os.linux.misc". :-)
>
This is comp.os.linux.misc!?! I thought it was comp.os.linux.humor! ;0
jamess
--
"On the side of the software box, in the 'System Requirements' section,
it said 'Requires Windows 95 or better'. So I installed Linux."
-Anonymous
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: MS to Enforce Registration - or Else
Date: Sun, 28 Jan 2001 09:23:13 GMT
Cubic Meter wrote:
>
> Well, now, it isn't as deep as that. Microsoft dominates the desktop market
> because it was free to pursue that and push its product hard. I don't see
> anything wrong with that. MS has recently went over the line in some of its
> tactics, but that may be subsiding. As someone else points out, there are
> no American OSs that are open source? America has never developed anything
> for the free software community? Bull. It doesn't have anything to do with
> politics as much as your post has made it out to be.
>
> Besides, about the registration thing, just wait awhile and someone will
> have a registration code cracker out. Take WinZip as an example. They give
> a free full version evaluation copy, which promts you for a reg code every
> time you start it. I went surfing on the web and found a simple little
> cracker prog that generates a fake reg code and viola. Now, I'm not
> condoning it, but what the hell. Someone will be out w/ an M$ cracker soon.
>
> m^3
There already is a crack. Just a few posts back there was a link to an
article. The article contained a crack.
jamess
--
"On the side of the software box, in the 'System Requirements' section,
it said 'Requires Windows 95 or better'. So I installed Linux."
-Anonymous
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: I NEED TO BOOT W/OUT A FLOPPY
Date: Sun, 28 Jan 2001 09:31:36 GMT
Dave Brown wrote:
>
> In article <[EMAIL PROTECTED]>, Ryan wrote:
> >I just installed Linux Mandrake 7.2 and everything works fine except
> >LILO. I can boot fine from a floppy but I can't see the LILO boot without
> >the floppy. I tried to reinstall LILO in the MBR but I don't think I did
> >it correctly. Please help me and info would be appreciated...
>
> It may be too late...
>
> Your linux installation (at least, the kernel image), must be located
> below 8 GB (i.e., 1024 cylinders). At least that's the case with most
> motherboards and most versions of lilo out there. Some newer motherboards
> have an 'extended BIOS' data area for disk addresses above 8 GB, but I
> believe you need the latest version of Lilo to access that.
>
> In lieu of the above, the solutions are to 1) boot from diskette, 2) use
> "loadlin" at a command prompt in Win (best to boot Win in DOS mode, as
> loadlin does not shutdown Windows gracefully), 3) create a small partition
> below the 1024-cylinder limit for /boot (where the kernel image is stored)
>
> --
> Dave Brown Austin, TX
Try this: boot your box with the floppy, once it's up type lilo at the
prompt. This may fix your problem, if it doesn't it should give you some
information on what is going on.
jamess
--
"On the side of the software box, in the 'System Requirements' section,
it said 'Requires Windows 95 or better'. So I installed Linux."
-Anonymous
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.misc
Subject: Re: what news reader do you use?
Date: Sun, 28 Jan 2001 09:39:01 GMT
Martin Herrman wrote:
>
> On Sat, 27 Jan 2001 07:52:55 -0500, Rinaldi J. Montessi <[EMAIL PROTECTED]>
> wrote:
>
> > Netscape. I've "used 'em all" and always end up using NS again.
> > Versatility, configurability, secure server capability, plain text,
> > html, etc. And most newbies will have some idea about how to use the
> > gui for setting it up. It's very "point and click"-ish.
>
> But NS is slow and crashes. That way I've lost some e-mail when
> I just started using Linux. Now I'm using pine for my e-mail
> and slrn for my news. Pretty good, fast and not so hard to
> learn.
>
> Martin
>
> --
> Linux Gebruikers Handleiding v1.2 : http://2mypage.cjb.net
> Debian GNU/Linux 2.2.17 Toshiba P233 MHz, 32 Mb RAM
> 2:35pm up 3:55, 2 users, load average: 0.39, 0.12, 0.04
> Western Civilization, that would be a good idea!
> My bike: a black&gold Suzuki GS500E 1992 (25 kW)
Netscape hasn't crashed on me in a long time.
jamess
--
"On the side of the software box, in the 'System Requirements' section,
it said 'Requires Windows 95 or better'. So I installed Linux."
-Anonymous
------------------------------
Date: Sun, 28 Jan 2001 10:25:29 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: How do I set up an SSL https directory in linux/unix?
Hello,
An Metet wrote:
> I would like to set up ssl capability from my website to whoever views it.
> The system has a program called ssleay. I'm aware that this has been
> outdated by the newer openssl.
>
> I need to know how to do it. The faqs are cryptic. Let me start by
> asking,
>
> 1. What would be the name of my https directory? For my http docs, I use
> public_html. Do I have to make a separate one?
No, you setup a virtualHost that is listening on port 443, you can choose
which directory you want.
>
>
> 2. What would be the commands for me to initiate the ssleay or openssl
> for the files in that directory in order for others to read them as https
> files?
>
> I know all this has to be more simple than I can make out of the
> documentation. I'm really pretty lazy and not a programmer. I don't want
> to be a programmer. In fact, I don't have the brains to be a programmer.
> So if anybody here can explain it simple to me I would appreciate it.
1. get openssl from http://www.openssl.org
2. get modssl from http://www.modssl.org
configure the above with support for your apache and compile/install the
above.
3. Make a cretificate and a CA to sign your cerificate, asuming you want it
only for your private needs and
don't need a commercial signed certificate (verysign...)
4. Configure apache Vhost with SSLEngine On listening on port 443.
As SSL is something not that easy, I would consider that you get a good book
about apache, if you can't figure it out
from the available docs. (Apache Web-Server from mitp, written by Lars
Eilebrecht is a nice read and has detailed
instructions on setting up a SSL aware apche)
Good luck
Michael Heiming
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: ie for linux
Date: Sun, 28 Jan 2001 09:46:59 GMT
"Sudhakar R." wrote:
>
> mNo, but it almost runs under wine --
> mI can get the window up and running, but the menus and buttons are a bit
> mscrewed still.
> m
>
> I have installed wine from the codeweaver web-site and tried running ie5
> from my Windows ME installation. I get error 2 and the error log says
> "uanble to find /c/windows/..../ie.exe" or to something of that
> effect. I was wondering if there's anyone out there who's been using ie
> under wine successfully.
>
> If yes, plz pass on some tips on how to get it working.
>
> Thanx in advance
> -sud
Make a mount point called c in your / directory and mount the c drive
there. This is of course, if you have a Windows drive on the same
computer as Linux. I used to do this with my Gravis sound card.
jamess
--
"On the side of the software box, in the 'System Requirements' section,
it said 'Requires Windows 95 or better'. So I installed Linux."
-Anonymous
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: configuring debian
Date: Sun, 28 Jan 2001 09:56:18 GMT
Steve Lamb <[EMAIL PROTECTED]> wrote:
> On Sat, 27 Jan 2001 19:47:16 GMT, john connolly <[EMAIL PROTECTED]> wrote:
>>I have debian potato installed but it doesn't recognize my ethernet card
>>(3com509...) on startup. What needs to be set in the config-2.2.17 file
>>to fix this? Currently
>>CONFIG_NET=y
>>CONFIG_NET_VENDOR_3COM=y
> Erm, why not just use menuconfig or xconfig?
For him, fine. For us, the .config is what we need to see.
Obviously (:-), he needs
CONFIG_EL3=m
It's an EtherLink III. Maybe his difficulty IS that he is trying to
edit the config file instead of using make meuconfig or xconfig ..
Peter
------------------------------
From: [EMAIL PROTECTED] (jwk)
Crossposted-To:
comp.os.linux.hardware,alt.sys.pc-clone.compaq,alt.sys.pc-clone.compaq.servers,comp.os.linux.admin,comp.os.linux,comp.os.linux.redhat,comp.os.linux.setup
Subject: Re: Proliant 2500R + Red Hat 6.2 - RAID5 suddenly loses drives
Date: 28 Jan 2001 09:53:02 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 27 Jan 2001 13:37:29 GMT, The Archimage
<[EMAIL PROTECTED]> wrote:
>> Second, are there any log-messages that might indicate WHY some drives
>> failed?
>Logs below. They are long.
>
>Jan 26 06:05:10 archimage kernel: SCSI disk error : host 0 channel 0 id
>3 lun 0 return code = 2
>Jan 26 06:05:10 archimage kernel: scsidisk I/O error: dev 08:31, sector
>1747688
>Jan 26 06:05:10 archimage kernel: raid5: Disk failure on sdd1, disabling
>device. Operation continuing on 6 devices
This is the important part, I think. What happens after a disk has
failed is interesting, but it shouldn't fail in the first place.
Is it always at the same sector? Always the same disk? Is there
something always happening just before these errors?
The message seems awfully short to me, when I get a scsi-error it looks
something like this:
Jan 5 13:13:30 middle kernel: scsi : aborting command due to timeout : pid 6254,
scsi0, channel 0, id 1, lun 0 Read (10) 00 00 01 a9 ca 00 00 20 00
Jan 5 13:13:30 middle kernel: sym53c8xx_abort: pid=6254 serial_number=6272
serial_number_at_timeout=6272
Jan 5 13:14:00 middle kernel: scsi : aborting command due to timeout : pid 6263,
scsi0, channel 0, id 1, lun 0 Read (10) 00 00 01 aa d0 00 00 20 00
Jan 5 13:14:00 middle kernel: sym53c8xx_abort: pid=6263 serial_number=6282
serial_number_at_timeout=6282
Jan 5 13:14:31 middle kernel: scsi : aborting command due to timeout : pid 6274,
scsi0, channel 0, id 1, lun 0 Read (10) 00 00 01 ac 30 00 00 20 00
Jan 5 13:14:31 middle kernel: sym53c8xx_abort: pid=6274 serial_number=6294
serial_number_at_timeout=6294
Jan 5 13:15:06 middle kernel: scsi : aborting command due to timeout : pid 6537,
scsi0, channel 0, id 1, lun 0 Read (10) 00 00 01 cb 77 00 00 04 00
Jan 5 13:15:06 middle kernel: sym53c8xx_abort: pid=6537 serial_number=6558
serial_number_at_timeout=6558
If it is always the same sector, it still looks like a hardware failure.
If it varies, perhaps a driver / cabling problem?
Good luck,
Jurriaan
--
All this being the case, I feel that the off-worlder's opinions should
be carefully heeded.
True, said Morlock, especially in view of the powerful warship.
Jack Vance - Nightlamp
GNU/Linux 2.2.19pre7 SMP 2x1402 bogomips load av: 0.05 0.17 0.08
------------------------------
From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: how to unzip a .zip file
Date: Sat, 27 Jan 2001 20:12:48 -0600
[EMAIL PROTECTED] wrote:
> I had made a zip file using PKZIP for DOS. I wanted something out of it
> while I was running Linux and tried gunzip on it. The filename is INT.ZIP
> gunzip successfully extracted the first file out of it, then it said
> something like multiple files found, skipping the rest. Then I thought
> there must be an option to tell gunzip to extract multiple files, and
> that I could use it on PKZIP files.
Use "unzip" instead:
[john@starfleet john]$ uname -ar
Linux starfleet 2.2.18 #8 Thu Jan 4 11:45:33 CST 2001 i686
unknown
[john@starfleet john]$ unzip -v address.zip
Archive: address.zip
Length Method Size Ratio Date Time CRC-32 Name
======== ====== ======= ===== ==== ==== ====== ====
650890 Defl:X 134898 79% 09-05-00 21:10 c08a3b07
address.txt
======== ======= === =======
650890 134898 79% 1 file
--
-John ([EMAIL PROTECTED])
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: Potato & upgrading w/*.tar.gz
Date: Sun, 28 Jan 2001 05:49:14 GMT
J.W. Sargent writes:
> Debian V2.2
> Desire to upgrade to latest:
> util-linux
> modutils
> e2fsprogs
> ppp
> Up until now I've always used dselect...
I strongly suggest that you try apt-get.
> ... but the lastest in the above
> aren't avail in a deb pkg so I've got the tar.gz files.
I've been running 2.3 and 2.4 kernels for quite a while now and I've not
had to install anything from tarballs. Everything you need is in the
archive:
Required util-linux 2.10q-1
Required modutils 2.4.1-2
Required e2fsprogs 1.19-3
Required ppp 2.4.0f-1
> Again, any advice will be greatly appreciated..
Install apt and add this line to your /etc/apt/sources.list:
deb http://http.us.debian.org/debian testing main
As root, type
apt-get update; apt-get install util-linux modutils e2fsprogs ppp
Now install your kernel. I suggest that you use kernel-package.
BTW, there is a 2.4 source package in unstable.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: Joshua Beard <[EMAIL PROTECTED]>
Subject: Large .jpg files
Date: Sun, 28 Jan 2001 05:36:03 -0600
Whenever certain programs save as .jpg the files is very large and will
not open, as if it's not really a .jpg file. Saving as .jpeg works just
fine, but not as .jpg. GIMP will save correctly, but apps such as the
Gnome screen shooter applet won't and neither will the command "import
-w picture.jpg" This is on Mandrake 7.2. I've never had this problem
on any other distribution. Can somone provide any info? Thanks
Josh.
------------------------------
From: Mark Bratcher <[EMAIL PROTECTED]>
Subject: Re: why can't i find any good GUI file managers?
Date: Sun, 28 Jan 2001 11:33:41 GMT
jim cason wrote:
>
> I have been playing with Linux since the early 90's, so I am not knocking it
> at all. I make my living from M$ technology, but enjoy seeing Linux flurish
> and would love to see it make some real competition for M$. However, why is
> this the case? Windows Explorer will allow you to copy these large
> directories either by GUI Explorer or by Command Prompt. It seems to me that
> if Linux is going to be serious in the corporate space (especially at the
> desktop), then it has got to improve in these areas, small as they may seem.
> Thoughts?
>
I don't see what you're lacking in the Linux GUIs.
I use just the Gnome file manager program. I can copy entire folders
with it or just files just fine. What file managers and/or GUIs have you
attempted to use?
>From the command line, you can use the cp command. If you use "cp -r"
you can copy entire directories recursively. If you want to preserve all
the attributes, you can use "cp -a". Have you looked at "man cp"?
The only thing I can think of off hand that my Linux GUI is missing
that's in, say, Windows 98, is the dumb little dog that pops up in the
corner and gives useless help. :-)
--
Mark Bratcher
mailto:[EMAIL PROTECTED]
=========================================================
Escape from Microsoft's proprietary tentacles: use Linux!
------------------------------
From: Mark Bratcher <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: Sun, 28 Jan 2001 11:36:48 GMT
[EMAIL PROTECTED] wrote:
>
> Mark Bratcher wrote:
> >
> > Oh, I get it now.
> >
> > This all falls under the "misc" part of "comp.os.linux.misc". :-)
> >
> This is comp.os.linux.misc!?! I thought it was comp.os.linux.humor! ;0
>
:-) :-)
--
Mark Bratcher
mailto:[EMAIL PROTECTED]
=========================================================
Escape from Microsoft's proprietary tentacles: use Linux!
------------------------------
From: Ray Fencey <[EMAIL PROTECTED]>
Subject: [slakware] bin upgrade to glibc (2.1.2->2.2.1)?
Date: Sun, 28 Jan 2001 12:09:40 GMT
hi all
i'm currently considering an upgrade of the c libs (libc 2.1.2) that
are on my linux box - slackware 7.0 dist - by grabbing the bins taht
are dist from the slackare-current archive for which the libc version
is 2.2.1
can anyone tell me if this is problematic just to 'dump' the new bins
onto my linux box... i've had a look at the gnu/fsf site for problems
wrt upgrading glibc but the only issues i found were with upgrading pre
glibc (ie libc.5) to glibc.
any info, pointers would be appreciated
rgrds
ray
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED]
Subject: Resolving Virtual IP address
Date: Sun, 28 Jan 2001 12:51:29 GMT
Hi,
I am using Redhat linux 6.2 wiht 10 virutal ip addresses (say
192.168.1.1 to 192.168.1.10) are configured.
I am running a UDP socket program that binded on 8000 and for all IP
addresses. So if I send a UDP packet to either of this address at 8000,
my program will receive the packet. Here I have a problem, I want know
on which IP address I am receiving the packet. For example, if the
packet is addressed to 192.168.1.1 then I want to identify this IP
address in my program.
Is there any solution to find out the IP address where I am receiving
the UDP pacekt ? But I can easily find out the remote address.
Your help is greatly appreciated !
Thanks,
Mathi.
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Joseph T. Adams" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: 28 Jan 2001 13:24:15 GMT
In comp.os.linux.advocacy Erik Funkenbusch <[EMAIL PROTECTED]> wrote:
: Sorry, Open Source was essentially created by RMS, an American who followed
: his principles for something like 10+ years before Linus got on the
: bandwagon. Why do you people like to think the US never invents anything?
That is incorrect. RMS has nothing to do with "Open Source," and
admits that free software predates him by a long time - he may have
popularized, written, and supported a great deal of it himself, but
the idea is at least as old as computing itself.
Joe
------------------------------
From: "Joseph T. Adams" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: MS to Enforce Registration - or Else
Date: 28 Jan 2001 13:29:48 GMT
In comp.os.linux.advocacy [EMAIL PROTECTED] wrote:
:>Personally, I think that EVERYONE in America should have to apply for
:>citizenship, just like immigrants.
:>
:>How many of the "government owes me a paycheck for my mere existance"
:>ignorami would be prevented from voting until they demonstrated an
:>understanding of our history and Constitution in a Citizenship application.
: What makes you think that such people even bother to vote?
The fact that nearly half of the people who vote, vote for Democrats,
and nearly all the rest vote for Republicans, who are only slightly
less inclined to trash the Constitution and the rights of individual
human beings than are Democrats.
Joe
------------------------------
From: [EMAIL PROTECTED] (Lee Webb)
Subject: Re: what news reader do you use?
Date: 28 Jan 2001 13:25:26 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 27 Jan 2001 22:16:15 -0500, charlie <[EMAIL PROTECTED]> wrote:
>knode isn't bad, and Pan is basically an Agent clone...try them both
>
>> slrn is a great and efficient little reader. ...Edwin
>>
>> On Sat, 27 Jan 2001 01:32:59 -0500, JuanMa <[EMAIL PROTECTED]> wrote:
>> >On Sat, 06 Jan 2001 04:19:22 GMT, "blix" <[EMAIL PROTECTED]>
>> >wrote:
>> >
>> >>I am currently using PAN... it seems to be the closest to the newsreader
>> >>I am used to on my Windows machine (MS Outlook Express).
>> >>
>> >>But I've been trying to use emacs to read the news but find it very
>> >>non-intuitive and cumbersome. Is it worth it to learn to read the news
>> >>in emacs?
>> >>
>> >>What news readers do you all use?
>> >>
I've used various ones: Netscape, slrn, Pan, KNode, Pine.
I just don't like the GUI ones:
Netscape: bloated, prone to crashes.
Pan: nice but not stable enough. I think this would be my choice of GUI
reader if it were more stable.
KNode: don't like. Seems far too slow (and I'm on an Athlon 900!!!)
Pine: O.K., but I prefer to keep email and news separate. Not as
repsonsive as slrn.
I always seem to return to slrn: fast, very configurable, stable.
Lee.
------------------------------
From: Dennis Yelle <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c++.moderated
Subject: Re: <time.h> clock() function in gcc 2.91.66 on Linux
Date: 28 Jan 2001 08:37:26 -0500
Rene Girard wrote:
[...]
> I am running Caldera eDesktop 2.4 Linux OS on a P166 with 80 MB of RAM.
> I am trying to use
> the "clock()" function of the <time.h> header to time the execution of a
> set of C++ statements with
> gcc 2.91.66. A sample of the code look like this:
>
> #include <time.h>
>
> clock_t tstart, tend;
> double t1;
>
> tstart = clock();
> .
> .
> set of C++ statements ( mainly loops)
>
> .
> .
> tend = clock();
>
> // calculate the execution time
>
> t1 = (tend - tstart)/CLK_TCK;
=======================^^^^^^^
I think you will get more accurate answers if you divide
by CLOCKS_PER_SEC instead of CLK_TCK.
You just got (un)lucky that on some systems the
two constants have the same value.
Actually, I write it this way:
t1 = double(tend - tstart)/double(CLOCKS_PER_SEC);
because I want to make sure that I do the division with doubles.
Dennis Yelle
--
I am a computer programmer and I am looking for a job.
There is a link to my resume here:
http://table.jps.net/~vert/
[ Send an empty e-mail to [EMAIL PROTECTED] for info ]
[ about comp.lang.c++.moderated. First time posters: do this! ]
------------------------------
From: "Tim Prince" <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c++.moderated
Subject: Re: <time.h> clock() function in gcc 2.91.66 on Linux (OT)
Date: 28 Jan 2001 08:38:03 -0500
Reply-To: "Tim Prince" <[EMAIL PROTECTED]>
t1 = (tend - tstart)/(double)CLOCKS_PER_SEC;
Ansi C didn't come in until 1989. Your style is considerably older than
that. Even back then, you might not have wanted to truncate to a whole
number. CLOCKS_PER_SECOND is likely to be 1000000, but you might as well
get it the correct way, from <time.h>. The results of clock() are likely to
step by .01 seconds. Caldera is not one of those versions of linux where
clock() is known to be broken. Yes, there are such.
It's not gcc which decides how clock() works. It's glibc. There may even
be a man or info page in Caldera.
"Rene Girard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I do not know if this is the appropriate newsgroup to ask the question
> below. If it is not , please
> indicate to which newsgroup I should submit the question below.
>
> I am running Caldera eDesktop 2.4 Linux OS on a P166 with 80 MB of RAM.
> I am trying to use
> the "clock()" function of the <time.h> header to time the execution of a
> set of C++ statements with
> gcc 2.91.66. A sample of the code look like this:
>
> #include <time.h>
>
> clock_t tstart, tend;
> double t1;
>
> tstart = clock();
> .
> .
> set of C++ statements ( mainly loops)
>
> .
> .
> tend = clock();
>
> // calculate the execution time
>
> t1 = (tend - tstart)/CLK_TCK;
>
> I tried this code with Borland C++ v4.52 and v5.01 under Win95, Win
> NT4.0 and Win 2000 and it works fine i.e. the values obtained for "t1"
> are reasonable when compare to my watch. Of course the values calculated
> by the program under thos OS is more accurate than my watch but the time
> measured by the watch is of the same order of magnitude. Under these OS
> CLK_TCK which is the number of "tick" per second, is equal to 1000. When
> I am trying to do the same thing with gcc 2.91.66 under Linux the
> program calculates very large execution time i.e. "t1" above is very
> large > 10000 seconds and CLK_TCK is equal to 100.
>
> I would like to know what I should do to use the function clock() of
> <time.h> corectly. I am puzzled that it does not work well with gcc
> 2.91.66 under Linux as it is an ANSI C++ function.
[ Send an empty e-mail to [EMAIL PROTECTED] for info ]
[ about comp.lang.c++.moderated. First time posters: do this! ]
------------------------------
From: "Meron Lavie" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux,comp.os.linux.networking,comp.os.linux.setup
Subject: KSIRC Tells Me That DSIRC is Dead...
Date: Sat, 27 Jan 2001 18:41:23 +0200
I am a Linux/RH7 newbie.
I tried to use the KSIRC IRC client. After succesfully getting a connection
to the Internet, I then press on KSIRC, but then get an error message saying
that I the DSIRC is dead, and that I should read the installation
instructions. I can not find any installation instruvtions, except for a
/usr/share/... /ksirc HTML page, whi is basically useless.
Any ideas?
--
Meron Lavie
[EMAIL PROTECTED]
NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME: ANTI-SPAM!
------------------------------
From: "Meron Lavie" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux,comp.os.linux.networking,comp.os.linux.setup
Subject: KPPP Problems
Date: Sat, 27 Jan 2001 18:38:48 +0200
I am a Linux/RH7 newbire, who is experiencing 2 problems with PPP:
I can use the _Redhat Linux_ dialup tool within KDE, with no problem
whatsoever, however with KPPP:
1) I can successfully dialup when I'm root, but from without root I'm always
asked for the root password. Why shouldn't everyone be allowed to use the
modem? How can I enable modem usage for all accounts?
2) After dialing and succesfully connecting, no applications can be brought
up - clicking on their icon/menu item does nothing. On the other hand, if I
already have a console/shell window open, I can execute commands such as
ping, ftp, etc., so I know I have a network connection. However, being able
to use my browser would be nice...
Any ideas?
TIA,
--
Meron Lavie
[EMAIL PROTECTED]
NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME: ANTI-SPAM!
------------------------------
From: [EMAIL PROTECTED] (Lee Webb)
Subject: Re: How to put LILO in 1st sector of boot partition ?
Date: 28 Jan 2001 13:23:18 GMT
Reply-To: [EMAIL PROTECTED]
On Sun, 28 Jan 2001 02:12:45 GMT, John Hasler <[EMAIL PROTECTED]> wrote:
>Patrick Machado writes:
>> I think once overwritten, the bootsector cannot be recovered unless you
>> got a copy
>
>Lilo makes just such a copy. From the lilo man page:
>
> -u device-name
> Uninstall lilo, by copying the saved boot sector
> back. A time-stamp is checked.
Additionally, if Lilo is already on the MBR, you should be able to use your boot
disk (you *do* have one, don't you) to get into DOS and do an fdisk /mbr to
restore the MBR. Only problem is: this'll work for Win9x - not sure about 2000.
If Linux is screwed such that you can't load it, pop in your CD and autoboot it
(if possible): you will be able to subsequently mount your root partition and
then edit /etc/lilo.conf or lilo -u etc...
Lee.
------------------------------
** 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 by posting to comp.os.linux.misc.
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
******************************