Linux-Misc Digest #606, Volume #24               Fri, 26 May 00 11:13:02 EDT

Contents:
  Re: post dual boot win98 problems (David Efflandt)
  Re: Q: how to set up my sound card? (Dances With Crows)
  linux-2.4.0-test1.tar.bz2 (Young4ert)
  6 certifications in 30 Days and 15+ College Credits!!! ("Harold S. Frydman")
  How to tell which linux I'm in (* Tong *)
  DVD playing in Mandrake 7.0 (David Efflandt)
  Re: RH 6.0 (HD) installation problem (DeAnn Iwan)
  Re: PHP vs Java (Andreas Kahari)
  Re: hangs (for a while) for "eth0" (Lori Holder)
  Re: Freewwweb slow ? (Rootman)
  fork in shell-scripts ("Marc")
  custom boot disk question (Xiaolan Ling)
  Re: How to tell which linux I'm in (Andreas Kahari)
  pcmcia card services for storm linux 2000 rain dist. ("Kendal L. Montgomery")
  Samba and printing limits (Rafael)
  Re: How to tell which linux I'm in (* Tong *)
  Netscape 4.72/.73, Bus Errors, Crashes, Annoyance (J Bland)
  Re: PHP vs Java (Mark Wilden)
  Re: PHP vs Java ("Peter Antypas")
  Re: how to enter a bug report against linux? (Leslie Mikesell)
  Re: fork in shell-scripts (Andreas Kahari)
  Re: Bash vs. Korn shell Problem (Dave Brown)

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: post dual boot win98 problems
Date: 26 May 2000 13:10:17 GMT
Reply-To: [EMAIL PROTECTED]

On 26 May 2000 02:17:46 GMT, Yshoko <[EMAIL PROTECTED]> wrote:
>I`ve got win 98 and linux running on a maxtor 15 g hard drive.
>But windows is trying to read the linux boot partition as another drive and
>searches for minutes every time I open a program.
>
>I have four partitions,
>
>win,
>linux,
>fat32 data
>linux swap
>
>in `my computer`
>win = c:
>linux = d
>fat32 dat = e
>
>what`s going on.

Windows should never see real Linux partitions.

Sounds like you may have created your Linux partitions with something that
thinks they are FAT partitions (you didn't use DOS/Win FDISK to do that
did you?).  From Linux fdisk see if the Linux partition types are Linux or
Linux swap and if not, make them so (t fdisk command).  If they are
already Linux partitions, try toggling the dos compatibility flag on your
Linux partitions.  Then if they still show up in Windows try removing any
disk devices from Window's device list and reboot.


-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Q: how to set up my sound card?
Date: 26 May 2000 09:15:20 EDT
Reply-To: [EMAIL PROTECTED]

On 26 May 2000 12:49:23 GMT, [EMAIL PROTECTED] 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>When I wake up the machine, the sound no longer works until rebooting
>or running sndconfig. I compiled the relevant drivers in the kernel,
>instead of having them in modules. While I had the sound support as
>modules in an earlier version, I could run 
>'/etc/rc.d/init/sound restart' after every wake up, which repared the 
>sound system, but since the driver is configured into the kernel,
>/etc/rc.d/init/sound no longer exists. 

...this is one of the reasons why you should configure the drivers as
modules.  

>I know I should go back to modular drivers, but I'd rather not experiment
>with the kernel unless it's absolutely necessary.

"Experiment"?  It sounds like you already know what you need to do:

cd /usr/src/linux
make menuconfig
(change all the *s in the Sound part to Ms)
make dep bzImage modules modules_install
etc, etc.
then run lilo and reboot.  

You shouldn't even have to do anything manually to get sound back after
you suspend.  Check the man page for apmd, paying close attention to the
-r option.  I have a small script hooked in to apmd -r that unloads and
immediately reloads the sound module, which prevents suspend from messing
up my sound.

-- 
Matt G / Dances With Crows              \###| You have me mixed up with more
There is no Darkness in Eternity         \##| creative ways of being stupid?
But only Light too dim for us to see      \#| Beer is a vegetable.  WinNT
(Unless, of course, you're working with NT)\| is the study of cool. --MegaHAL

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

Date: Thu, 25 May 2000 19:26:37 -0400
From: Young4ert <[EMAIL PROTECTED]>
Subject: linux-2.4.0-test1.tar.bz2

Hi,

For those of you who dare to play with the Linux-2.4 kernel, 
here is the place you can download from:

        ftp://ftp.kernel.org/pub/linux/kernel/v2.4

Let's see how much bugs can be fixed.

-- 
[EMAIL PROTECTED]

PS> Remove the "4" from e-mail address to respond.

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

From: "Harold S. Frydman" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.certification.cisco,alt.certification.mcse,alt.certification.network-plus,alt.os.linux
Subject: 6 certifications in 30 Days and 15+ College Credits!!!
Date: Fri, 26 May 2000 13:21:32 GMT

This is a multi-part message in MIME format.

=======_NextPart_000_0079_01BFC6F4.03774050
Content-Type: text/plain;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

http://certcoach.homestead.com

MCSE, MCP+I, CCNA, LPI (Linux Professional Institute), A+, Network+
15 College Credits from Regents University, a fully accredited program =
offered by the State University of New York.

Hello...

I'd like to introduce a new concept in Certification Boot Camps. =
CMAdmin, Inc. is proud to announce the Certified Master Administrator =
program. The CMA program has been designed for those who wish to get =
all, or most, of the IT Certifications quickly and with the most hands =
on experience.

This program is not for everyone. But if you have the time to devote, we =
guarantee not only that you will pass all the exams, but that you will =
get the real-world experience that 30 HARDCORE days will provide.=20

How can we accomplish this? By providing the highest level of service =
the industry has to offer. Our instructors are top of the line, our =
classes are limited to 10 students with 3 Certified Instructors...that's =
3 students per Instructor...noone even comes close. State-of-the-art =
Labs and classrooms, including Cisco Routers.=20

All your needs are taken care of. From first class accomodations (your =
own villa with full kitchen, cable TV, quiet, Jacuzzi, Laptop for extra =
study. Full meals (customized meal plans available), transportation, =
laundry and maid service. In other words we leave nothing to chance. The =
only thing you have to worry about is learning, training, studying and =
passing the tests.

For more info please email [EMAIL PROTECTED]
or call (718) 544-2234.

Thank you and good luck.


=======_NextPart_000_0079_01BFC6F4.03774050
Content-Type: text/html;
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2><A=20
href=3D"http://certcoach.homestead.com">http://certcoach.homestead.com</A=
></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>MCSE, MCP+I, CCNA, LPI (Linux Professional =
Institute), A+,=20
Network+</FONT></DIV>
<DIV><FONT size=3D2>15 College Credits from Regents University, a fully =
accredited=20
program offered by the State University of New York.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Hello...</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>I'd like to introduce a new concept in Certification =
Boot=20
Camps. CMAdmin, Inc. is proud to announce the Certified Master =
Administrator=20
program. The CMA program has been designed for those who wish to get =
all, or=20
most, of the IT Certifications quickly and with the most hands on=20
experience.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>This program is not for everyone. But if you have =
the time to=20
devote, we guarantee not only that you will pass all the exams, but that =
you=20
will get the real-world experience that 30 HARDCORE days will provide.=20
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>How can we accomplish this? By providing the highest =
level of=20
service the industry has to offer. Our instructors are top of the line, =
our=20
classes are limited to 10 students with 3 Certified Instructors...that's =
3=20
students per Instructor...noone even comes close. State-of-the-art Labs =
and=20
classrooms, including Cisco Routers. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>All your needs are taken care of. From first class=20
accomodations (your own villa with full kitchen, cable TV, quiet, =
Jacuzzi,=20
Laptop for extra study. Full meals (customized meal plans available),=20
transportation, laundry and maid service. In other words we leave =
nothing to=20
chance. The only thing you have to worry about is learning, training, =
studying=20
and passing the tests.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>For more info please email <A=20
href=3D"mailto:[EMAIL PROTECTED]">[EMAIL PROTECTED]</A></=
FONT></DIV>
<DIV><FONT size=3D2>or call (718) 544-2234.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=3D2>Thank you and good luck.</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

=======_NextPart_000_0079_01BFC6F4.03774050==


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

From: * Tong * <[EMAIL PROTECTED]>
Subject: How to tell which linux I'm in
Date: Fri, 26 May 2000 10:35:14 -0300

Hi,

just a few very newbie questions.

I have my friend installed debian for me. How can I know that which
version of debian I'm runing?

More orver, here's the info I got by 'uname -a' from a famous site, 

Linux sdf 2.0.36 #5 Sat May 13 22:56:46 GMT 2000 i686 unknown

how can I know more detail info about it, e.g. vender, version...
anything. 

Thanks

-- Tong
Anti-spam: remove underscore(s) to reply.
Welcome to my homepage http://members.xoom.com/suntong001/
  - All free contribution & collection
  - freeware &  music from the heavens

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

From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.os.linux.portable
Subject: DVD playing in Mandrake 7.0
Date: 26 May 2000 13:35:31 GMT
Reply-To: [EMAIL PROTECTED]

Does anyone know if the kernel that comes with Mandrake 7.0 is patched to
be able to play DVD?  It comes with a program called 'nist' that is
supposed to be able to play DVD, but nist appeared to be still under
development at that time and docs are minimal.

I tried to follow a more recent DVD-Playing-HOWTO (May 2000) using the
LiViD utilities, and 'ac3dec' compiles, but 'oms' does not, due to
undefined variables and other problems.  Since 'oms' appears to be what
hooks these to the kernel, I think the Mandrake 2.2.14 kernel might not be
patched or at least not recent enough.

Is there a kernel with DVD support that would plug into Mandrake 7.0
easily or do I need to get a generic kernel?  I did link /dev/dvd to
/dev/hdc (my cdrom).  I am not using the built-in sound modules anyway
because my Sony F450 needs the commercial opensound.com drivers.  But I do
need pcmcia support for my nic (which works currently).

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

From: DeAnn Iwan <[EMAIL PROTECTED]>
Subject: Re: RH 6.0 (HD) installation problem
Date: Fri, 26 May 2000 09:45:20 -0400

This is a multi-part message in MIME format.
==============A8976440527E1260F5423CD7
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

     Does the BIOS see the hard disk?  If so, does it have it correctly
identified (cyl/heads/sectors)?  If the BIOS cannot see the hard disk
properly, then it will not be able to connect any operating system to it
appropriately.

     If the BIOS does not see the hard disk, then you need to work on it
from that point of view.  You can probably find some AMI reference on
the net if you do not have documentation from the computer.  Sometimes,
you can tell a BIOS your disk is a dumb type (like type 1), and then
have the BIOS see enough of the disk to run its own update program to
correctly characterize it.

     If the BIOS does see the hard disk, then try loading up on OS you
can completely run from a floppy or RAM (rescue disk distributions of
linux are available on the net, as is DRDOS, or you may have an image on
your RH cdrom that you can rawrite/dd from another machine).  Then try
to access the hard drive from the rescue OS.  You may be able to
fdisk/format/set-up-file-system then.

     If you still have problems, post more info.

[EMAIL PROTECTED] wrote:
> 
> Oh Mighty Ones,
> 
> I have an old 486 (Cyrix Dx2 66 MHz) based PC, with a matching old Ami
> Bios firmware. I also have Quantum Fireball SE, 3.2 GB HD, and a Sanyo
> CD driver. Yesterday I decided to put a video card and a floppy drive
> and an ethernet card in the box, and set it up as a router + firewall for
> my home LAN, running Red Hat 6.0. The HD contains rubbish (if anything),
> due to a failed attempt to use it in a similarly old machine running Win95.
> Because that machine only recognised 504 MB of the HD, after several
> attempts of using every combination of (W95) fdisk, format c: and sys c:,
> this attemt was abandoned.
> 
> First I tried to install Linux starting straight from a RH 6.0 boot disk,
> and then CD ROM. I reached the stage in the setup process, where it starts
> to set up the file system, and asks whether to use Disk Druid or fdisk.
> I tried both (in subsequent attempts), both neither worked. The error
> message is this:
> "Failed to stat (then open) /tmp/syslog. No such file or directory."
> 
> If I go to a shell prompt (vty 2), and create this file, then the following
> error appeares:
> "You don't have any hard disks available! You probably forgot to configure
> a SCSI controller."
> 
> Since my HD is EIDE, I chose no SCSI support when asks. Needless to say no
> /dev/hda exists when I try to run 'fdisk /dev/hda' manually. Yet, at boot
> time it does recognise correctly both the HD (with its FAT partitions) and
> the CD.
> 
> I tried to partition (under DOS) the HD in several different ways, formattedit
> (again DOS), installed MS-DOS 6.2 on it, no change. In fact, when I did
> install DOS on the HD, PC still refused to boot from it, just stopped frozen
> (didn't try booting from the floppy, when it was the secondary choice).
> Using Dos's fdisk correctly states that the first, primary partition, starting
> from the begining of the HD is bootable (A flag). I also run Norton'd disk
> doctor on it, and it also checked out without error.
> 
> I ran out of ideas. Anybody can possibly help?
> 
> TIA,
> Akos
==============A8976440527E1260F5423CD7
Content-Type: text/x-vcard; charset=us-ascii;
 name="diwan.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for DeAnn Iwan
Content-Disposition: attachment;
 filename="diwan.vcf"

begin:vcard 
n:;diwan
x-mozilla-html:FALSE
version:2.1
email;internet:[EMAIL PROTECTED]
fn:diwan
end:vcard

==============A8976440527E1260F5423CD7==


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

From: Andreas Kahari <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.unix.programmer,comp.os.linux.advocacy
Subject: Re: PHP vs Java
Date: Fri, 26 May 2000 13:44:06 GMT

I don't know of any links to the info you want and I'm not an authority
on neither PHP nor Java but I do know that PHP is executed by the server
and that Java programs are executed by the client. So if you expect to
have a lot of clients connecting to your server you have to remember
that large PHP codes might slow things down for you (this might not be a
big issue).

And as usual, the choice of programming language depends on what you
want to do. Are you looking at PHP and Java for doing queries to
databases or for doing GUI stuff or something completely different?
Which language have the best API for the tasks that you want to perform?

/A

In article <[EMAIL PROTECTED]>,
  Ben Chausse <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We have a webserver on Debian 2.2 with apache 1.3.12 & mod_perl 1.21
and
> I would like to know what is the best between PHP and Java (.php or
> .jsp) ????
>
> Do you know any web pages about benchmark test on PHP and Java ???
>
> Thanks ...
>
> Ben0iT ...
>
>

--
# Andreas K�h�ri, <URL:http://hello.to/andkaha/>.
# All junk email is reported to the appropriate authorities.


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: Lori Holder <[EMAIL PROTECTED]>
Subject: Re: hangs (for a while) for "eth0"
Date: Fri, 26 May 2000 08:43:42 -0500

Is it a hot ethernet connection?  I find that when I don't have my system jacked
into the net at boot time it really screws with the eth0 initializiation - it
takes forever, and then often fails.  That's with 6.1, though.

Steve wrote:

> On Sun, 21 May 2000 19:06:41 -0700, Simon Huang wrote:
> >hi, i am using a "westell" adsl modem with a "kingston kne110tx" ethernet
> >card on my redhat 6.2 system. each time my computer boots, it stop for a
> >while for starting the device "eth0" and then say "failed". can anyone tell
> >me what's the problem?
>


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

From: Rootman <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,alt.os.linux
Subject: Re: Freewwweb slow ?
Date: Fri, 26 May 2000 14:04:55 GMT

Mine varied wildly, got 20k connections to almost 50k. Mail was
excrutiatingly slow all the time.

I guess the thing is "what do you expect for nothin'?".  I broke down
and actually got a local ISP after account freezups, no email and busy
signals all the time.  Never getting a response to tech support email
(to this date from almost 30 days ago) sealed it's doom.

It's alright if you can put up with the slow and non existant service.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  Sandhitsu R Das <[EMAIL PROTECTED]> wrote:
>
> I'm getting slow connections with freewwweb. Is there any fine tuning
> necessary in the startup scripts or something to get a better
> connection ?
> I've made their page my homepage and visit it right after ppp is
> established. What's the kind of data transfer rate with netscape
> people are getting ?


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: "Marc" <[EMAIL PROTECTED]>
Subject: fork in shell-scripts
Date: Fri, 26 May 2000 16:05:22 +0200

Hello,

I've got following question.
Is there a possibility to do sth. like a fork in a shell-script?
I have a process that does a certain job. I would like to fork+exec and
observe the father-process.
But as I found out there doesn't seem to be a fork in bash and ksh. Does
anybody know a workaround, except writing a C-program that does it?

Any help is appreciated,

Marc



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

From: Xiaolan Ling <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,uk.comp.os.linux
Subject: custom boot disk question
Date: Fri, 26 May 2000 15:07:43 +0100

Hi,

I just made a boot disks set, including one bootdisk and one root
disk. It works, but...

rm and mv doesn't work. When I use rm, I always get an error message,
like:

rm: invalid option -- i
Usage: rm [-S] [-s secs] [-f secs]

How to solve it?

It is based on Debian2.1, the kernel is 2.0.38.


Thanks in advance!

lin

       __o=A0      o
     _`\<,_     Z
    (_)/ (_)   />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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

From: Andreas Kahari <[EMAIL PROTECTED]>
Subject: Re: How to tell which linux I'm in
Date: Fri, 26 May 2000 14:15:05 GMT

In article <[EMAIL PROTECTED]>,
  * Tong * <[EMAIL PROTECTED]> wrote:
> Hi,
>
> just a few very newbie questions.
>
> I have my friend installed debian for me. How can I know that which
> version of debian I'm runing?
>

Try looking in the file "/etc/debian_version".


> More orver, here's the info I got by 'uname -a' from a famous site,
>
> Linux sdf 2.0.36 #5 Sat May 13 22:56:46 GMT 2000 i686 unknown
>
> how can I know more detail info about it, e.g. vender, version...
> anything.

Vendor of what? Version of what?

/A

--
# Andreas K�h�ri, <URL:http://hello.to/andkaha/>.
# All junk email is reported to the appropriate authorities.


Sent via Deja.com http://www.deja.com/
Before you buy.

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

Reply-To: "Kendal L. Montgomery" <[EMAIL PROTECTED]>
From: "Kendal L. Montgomery" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,linux.misc
Subject: pcmcia card services for storm linux 2000 rain dist.
Date: Fri, 26 May 2000 10:22:07 -0400

Has anyone successfully set up pcmcia-cs-3.1.15 or any other pcmcia card
services successfully on Storm Linux 2000 Rain Release?

I am having trouble getting it to compile and install.

Kendal Montgomery
Findlay Industries, Inc.
[EMAIL PROTECTED]



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

From: Rafael <[EMAIL PROTECTED]>
Subject: Samba and printing limits
Date: Fri, 26 May 2000 16:40:18 +0200
Reply-To: [EMAIL PROTECTED]

I am running samba at our institution. We was using before WIndows NT
and Pcounter program for counting pages people was printing.  How to do
this on Linux


Rafael


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

From: * Tong * <[EMAIL PROTECTED]>
Subject: Re: How to tell which linux I'm in
Date: Fri, 26 May 2000 11:44:29 -0300

Andreas Kahari wrote:
> 
> In article <[EMAIL PROTECTED]>,
>   * Tong * <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > just a few very newbie questions.
> >
> > I have my friend installed debian for me. How can I know that which
> > version of debian I'm runing?
> >
> 
> Try looking in the file "/etc/debian_version".

wow, thanks

> 
> > More orver, here's the info I got by 'uname -a' from a famous site,
> >
> > Linux sdf 2.0.36 #5 Sat May 13 22:56:46 GMT 2000 i686 unknown
> >
> > how can I know more detail info about it, e.g. vender, version...
> > anything.
> 
> Vendor of what? Version of what?

Sorry, I mean whether it is debian/slackware, RH 6.0 or RH 6.1... that
sort of things

-- Tong
Anti-spam: remove underscore(s) to reply.
Welcome to my homepage http://members.xoom.com/suntong001/
  - All free contribution & collection
  - freeware &  music from the heavens

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

From: [EMAIL PROTECTED] (J Bland)
Subject: Netscape 4.72/.73, Bus Errors, Crashes, Annoyance
Date: 26 May 2000 14:32:32 GMT

Hi,

   Like a few other people out there it seems I'm being plagued by Netscape
and its horriblness.

The version that comes with SuSE 6.4, 4.72, consistently exits whenever
trying to run anything via a plugin (and most other things too), and my
friend now has had it do the same when trying to enter a password for a
site.

The error it always gives is "Bus Error". This friend is now returning to
windows purely because of this, he needs to access a web site and he can't
do it on Linux. Period.

*Is* there any definitive answer to this continual Bus error problem, other
than downgrading to 4.71 (and on my SuSE install, at least, it won't even
work anymore). 4.73 seems to have exactly the same problems.

Strole on Konquorer, I'm utterly fed up Netscape's shitness. It's holding
back people here from going fully Linux as we *still* don't have a competent
web browser.

Frinky

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

From: Mark Wilden <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help,comp.unix.programmer,comp.os.linux.advocacy
Subject: Re: PHP vs Java
Date: Fri, 26 May 2000 15:42:48 +0100

Andreas Kahari wrote:
> 
> I don't know of any links to the info you want and I'm not an authority
> on neither PHP nor Java but I do know that PHP is executed by the server
> and that Java programs are executed by the client.

Actually, Java applets are executed by the client. Java applications
(including JSP pages) are executed by the server, and deliver results as
HTML pages to the client.

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

From: "Peter Antypas" <[EMAIL PROTECTED]>
Subject: Re: PHP vs Java
Date: Fri, 26 May 2000 08:53:10 -0600

I have done a little bit of both. There is a fundamental difference between
the two which IMHO makes JSP a little sloppy for a large volume production
site. It has to do with the fact that the JVM has no notion of class garbage
collection. Once a class is compiled and loaded, it will remain in memory
for the lifetime of the VM (even if no instances exist).This means that you
have to shut down and restart the JSP engine for it to load the new versions
of your beans whenever you need to modify them. That's not the case with PHP
because server side scripts are interpreted every time they execute.

JSP's advantage may be speed (JIT compilers like IBM's JRE have been getting
really good) but the new Zend engine in PHP4 may make that a non-issue. Has
anyone done a benchmark?

Another thing I dislike about JSP is that the mapping of CGI parameters to
bean properties only works with Strings and nothing else. So you have to
deal with type conversions and validation in your Java code. Also, JSP uses
cookies for session management and I think it's the only way they have
implemented that. With PHP4 you have the option of using URL parameters (I
believe the links can be automatically modified to contain a session
argument).

Just a few quick thoughts
Peter


Ben Chausse <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> We have a webserver on Debian 2.2 with apache 1.3.12 & mod_perl 1.21 and
> I would like to know what is the best between PHP and Java (.php or
> .jsp) ????
>
> Do you know any web pages about benchmark test on PHP and Java ???
>
> Thanks ...
>
> Ben0iT ...
>



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

From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: how to enter a bug report against linux?
Date: 26 May 2000 09:59:26 -0500

In article <8gls7a$9s7$[EMAIL PROTECTED]>,
Donal K. Fellows <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
>Mark Wilden  <[EMAIL PROTECTED]> wrote:
>> I don't think there's anything wrong with that, actually. It's an XP
>> tenet to 'embrace change' rather than try to restrain it with
>> over-specification.
>
>OTOH, under-specification can lead to horrendous bugs, including ones
>of the sort that cause no crashes, incorrect answers or lost chunks of
>memory.  (Yeah, I've had this kind in my own code causing memory usage
>to grow from around 100MB to over 4GB[*] on the same input; failure to
>specify an interface tightly enough was the root cause.)  The trade
>off between flexibility and bug control makes the problem of producing
>specifications very interesting indeed...

Changes to a basically working system almost always introduce new
bugs and problems, but you can't make improvements without some
change.  Without some kind of unit testing as soon as the code
becomes complicated enough that you can't trace it in your head
you have no way of knowing if a change is an improvement or
not, or how likely it is that you just broke a lot of other things.

If you are trying to fix an existing bug you might take the
approach that things can't get any worse and plunge ahead anyway
and if you are doing something entirely new you don't have to
worry about existing code depending on current behavior but
that phase is mostly over in Linux development.

  Les Mikesell
    [EMAIL PROTECTED]

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

From: Andreas Kahari <[EMAIL PROTECTED]>
Subject: Re: fork in shell-scripts
Date: Fri, 26 May 2000 14:48:53 GMT

In article <8gm0b1$[EMAIL PROTECTED]>,
  "Marc" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I've got following question.
> Is there a possibility to do sth. like a fork in a shell-script?
> I have a process that does a certain job. I would like to fork+exec
and
> observe the father-process.
> But as I found out there doesn't seem to be a fork in bash and ksh.
Does
> anybody know a workaround, except writing a C-program that does it?
>
> Any help is appreciated,
>
> Marc
>
>

Try putting a '&' after the command. The following line executes the
script 'child.sh' and saves its PID in the variable 'CHILDPID':

child.sh & CHILDPID=$!

This might or might not be what you wanted.

/A

--
# Andreas K�h�ri, <URL:http://hello.to/andkaha/>.
# All junk email is reported to the appropriate authorities.


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Dave Brown)
Crossposted-To: comp.unix.questions,comp.unix.shell
Subject: Re: Bash vs. Korn shell Problem
Reply-To: [EMAIL PROTECTED]
Date: 26 May 2000 10:06:59 -0500

In article <[EMAIL PROTECTED]>, Steven Buehrle wrote:
>In comp.unix.questions Ken Abrahamsen <[EMAIL PROTECTED]> wrote:
>> Under the Korn shell (AIX 4.3.2), the following does properly initialize the
>> stated Wkdy Mon Day Time Zone Year variables from the date command:
>> (from within a ksh script):
>> date | read Wkdy Mon Day Time Zone Year
>
>> However, under RH6.1 (BASH), the variables Wkdy Mon Day Time Zone Year do
>> not get set (are null).
>
>The bash man page hints to the reason when it describes pipelines. Its
>explained much better in the bash FAQ however. See
>ftp://ftp.cwru.edu/pub/bash/FAQ

Thanks for pointing out this problem.  I have to teach Linux and bash to 
people with Korn shell experience, and like to be able to mention differences.
Since bash and ksh claim "POSIX" compliance (at least, to some greater extent),
they should work alike.

It's hard for me to understand why bash would spawn child-processes to 
implement the pipe, but that seems to be the "excuse" that the FAQ uses.  
It would seem that, if Korn shell can "make the connection" without a 
subprocess, bash could also. 

-- 
Dave Brown  Austin, TX

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


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