Linux-Misc Digest #654, Volume #21                Fri, 3 Sep 99 07:13:07 EDT

Contents:
  Re: set up c++ development environment (Kenny A. Chaffin)
  Re: Please help to chose the OS of Linex (DeAnn Iwan)
  Re: XAWTV and NO SOUND (Miguel Rodriguez Penabad)
  Re: Amiga, QNX, Linux and Revolution (John Birch)
  Re: Amiga, QNX, Linux and Revolution (John Birch)
  Information about Perl (Ivan Balanya Jimenez)
  Re: HELP with Partioning Strategy (James Andrews)
  Re: C vs C++ for Open Source projects (Mark Wooding)
  Re: Sendmail & popserver (Pam Luchini)
  Re: Disappearing news servers in Netscape (John Thompson)
  Re: C vs C++ for Open Source projects (Mark Wooding)
  Re: Best Linux Distro? / Best GUI? (Ed Summers)
  Re: from hda1 2 hdb1? (Raffaello Brecht)

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

From: [EMAIL PROTECTED] (Kenny A. Chaffin)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: set up c++ development environment
Date: Fri, 3 Sep 1999 03:36:00 -0600

In article <P1Dz3.1139$[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
> 
> : Are there any Usenet-wide policies that prohibit this?
> 
> Maybe we could arrange to have everything cross-posted to comp.lang.c, and
> let them get flamed to death.
> 

<grin> Yeah, those guys are _real_ fun....


KAC
-- 
KAC Website Design
Custom Programming, Web Design, and Graphics
[EMAIL PROTECTED]    -     http://www.kacweb.com

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

From: [EMAIL PROTECTED] (DeAnn Iwan)
Subject: Re: Please help to chose the OS of Linex
Date: Fri, 03 Sep 1999 09:49:54 GMT

On Thu, 2 Sep 1999 23:48:54 +0800, "Sam" <[EMAIL PROTECTED]> wrote:

>Dear Sirs,
>
>I am a starter of Linex.  Could any one of you could teach me which version
>of Linex should I try to start?
>
>RH6? or susie?  I heard that RH is better.  And the menu book of Susie is
>better, but it is not user friendly.  Moreover, how about chinese Linex?
>Because I want to use it in office and some documents are in Chinese?
>
>Please help :-)
>
>Sam
>

           Suse comes with a lot (6 CDs) of stuff at a very low price
(about $30 US,street price).  It is my favorite distribrution.  It is
more of an "engineer's distribution" that lets you have a lot of set
up control but is also pretty automatic.

         Caldera is probably the easiest to install--you can even
install it from Windows by clicking on an icon.

         Red Hat is in between the two.

         Turbo Linux specializes in a lot of asian languages (and may
have better character set support, from rumors I hear).

          Any of the distributions will get you started, though.

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

From: Miguel Rodriguez Penabad <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.
Subject: Re: XAWTV and NO SOUND
Date: Fri, 03 Sep 1999 11:33:04 +0200

Ben Vince wrote:
> 
> I'm using XAWTV and a WinView 601 TV capture card (with philips tuner) i am
> having trouble getting the sound to work in it. The picture is crystal
> clear and i have been able to tune my UK Cable box into it with no trouble.
> But it is a bit pointless without sound! My sound card is a AWE 64 (ISA)
> and it works with everything else in Linux Redhat 6 (including XWINDOWS of
> course!) but just not in XAWTV. This problem is really annoying me, please
> help.

Hi, I have the same card and couldn't make it work with sound until I
got the
2.2.11 kernel (now I have the 2.2.12 and it works great)
Just download the kernel and look at
/usr/src/Documentation/video4linux/bttv/README.WINVIEW
It is now supported.

BTW, I am ***NEVER*** going to buy anything else from Leadtek. They
don't give a damn about customers, don't reply to e-mails (unless, of
course, they come from resellers :(, ...)

> 
> Regards,
> 
> Ben Vince
> 
> ps I have had some problems when the XAWTV application just doesn't work,
> do you recommend having to install it all again. It is saying that
> /dev/video is not there! I know it is and i've use insmod bttv.o card=0
> radio=1 funtion, but nothing, please could you help with this matter? Is it
> something to do with the .xawtv configuration file? or the bttv Makefile?

I guess it has something to do with the bttv Makefile. I think there was
a file named "update" in bttv/driver, try ./update in this dir

Hope this helps
        Miguel


> Email me:  [EMAIL PROTECTED]  thanks for all your help.
> 
> ------------------  Posted via CNET Linux Help  ------------------
>                     http://www.searchlinux.com


===============================================================================
Miguel Rodriguez Penabad                [EMAIL PROTECTED]
Debian 2.1 [2.2.12]                     Linux user 24962
===============================================================================

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

From: [EMAIL PROTECTED] (John Birch)
Crossposted-To: comp.os.qnx,comp.sys.amiga.misc
Subject: Re: Amiga, QNX, Linux and Revolution
Date: Fri, 03 Sep 1999 10:01:02 GMT
Reply-To: johnb<nospam>@invision.co.uk

On 02 Sep 1999 10:10:42 PDT, [EMAIL PROTECTED] (Guy Macon) wrote:

>Amiga isn't talking about using Linux or QNX.  They are talking about
>using the Linux or QNX kernel and writing an Amiga Style OS around it.

Well, your comment _appears_ correct for the current strategy of
Amiga, putting the OE on top of Linux. But I think the original QNX
idea was to take QNX (all of it including photon) and to improve a
number of its features (specifically the multimedia and Java aspects).
Certainly all the screen shots and hype at the time seemed to point in
the direction of using the core QNX componenets (i.e. kernal
filesystems Dev Net etc etc - plus photon with extras). I think this
is basically continuing now with Phase 5. Some of the new
announcements on the QSSL web site are very promising in this respect
- both the Citrix and the Java Enterprise stuff could have a major
impact on a home QNX system. Imagine a home server running QNX (or
derivative) with satellite screens (using photon ditto), that could
still host Windows apps using Citrix and support full Java.

>the QNX kernel is (in my opinion) technically superior.
Of course... ;-)

>This is, of course, relative; the Linux kernel is really really good.
>I still have great hopes for Amiga.
I don't, I think Amiga is now dead, (except as a Linux PC with custom
desktop and some nifty Java apps). I have high hopes for Amirage.

>If they start with the QNX kernel
(which they have dropped in favour of Linux)
>and write an OS on top of it that is at least as good as the original
>Amiga had, with the ability to dual boot and run Linux or Microsquish,
>they can capture a niche market and have 0.1% to 1% of the PC market,
>with a slim chance of doing much better.  That's enough to make a nice
>profitable division of Gateway.
They probably will offer Linux / Windows dual boot, with amiga
compatible FS for Linux and classic amiga emulation. Plus some of the
Java Amiga objects. It will sell to Linux / Amigans but it won't
really be an Amiga. I think Gateway need the Amiga name to avoid
upsetting MS too much.


regards John B.


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

From: [EMAIL PROTECTED] (John Birch)
Crossposted-To: comp.os.qnx,comp.sys.amiga.misc
Subject: Re: Amiga, QNX, Linux and Revolution
Date: Fri, 03 Sep 1999 10:05:23 GMT
Reply-To: johnb<nospam>@invision.co.uk

On Thu, 02 Sep 1999 17:17:05 GMT, [EMAIL PROTECTED] (Jeffrey C.
Dege) wrote:

>_Every_ Amiga user I knew in the old days moved to Linux years back.
>A few of them still use the Amiga as well.  Most have abandoned it.

>We're all still rather fond of the Amiga, and rather nostalgic about it.
>There are a number of things about the Amiga that I really wish would
>make it into the mainstream.  But Linux does a number of things right
>that the Amiga got flat wrong.  (Memory protection between processes,
>actual process control, OS tracking of resource allocation, etc.)

QNX does a number of things right that Linux does flat wrong (true
_uncrashable_ (almost) micro kernel, real time performance etc)

>Now it may well be that the few holdouts who are still hanging on have
>some sort of gripe against Linux, but I'll lay odds that there are
>far more former Amiga users in the Linux camp than there are current
>Amiga users.

I'm sure you're right, the problem for QNX is that few people know how
good it is because it is so expensive (aimed at a different market).


regards John B.


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

From: Ivan Balanya Jimenez <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,alt.uu.comp.os.linux.questions
Subject: Information about Perl
Date: Fri, 03 Sep 1999 12:10:33 +0200

Hello,

My name is Ivan and I was wondering how to know about the modules of
Perl that are installed in the Perl package.
I was told that there is a command that can tell tou that, but I don't
know which is it.

Thankyou,
                Ivan

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

From: James Andrews <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.questions,comp.os.linux.setup,linux.redhat.misc,alt.os.linux,comp.os.linux
Subject: Re: HELP with Partioning Strategy
Date: Fri, 03 Sep 1999 10:27:18 +0000

Hmm, cant point you directly to any books or sites, but I can give you
some hints if you like:

Firstly partitioning decisions are not that imperative.  Breaking
filesystems down into partitions can help robustness a great deal, and
linux's method of achieving this is by mounting seperate partitions on
the root filesystem as commonly used directories.  This does entirely
depend on what you are intending to use the system for.  It is always
possible to make lots of smaller partitions then link in common
directories using symbolic links to keep them safely on a seperate
partition.  The same can be achieved to divide up user file space. 
Generally, for simplicity, I would go for about a quarter of the space
to the root (/), between a third and a half to /home (if you intend to
have quite a lot of users, maybe even more than that, again, it depends
on disk size, I wouldnt use more than 3 gig for the root filesystem, any
excess is probably better devoted to the home directories).  For some
reason all of the information I have seen suggests having a couple of
hundred meg for /var (about 200-300?), though mine only currently has
23Mb used, and I have a lot of software on my system.  It is also a good
idea to have some space devoted to a /tmp directory, as commonly
accessed and manipulated files are more prone to error (however small
the chance, its bigger if you play with it ;-).  Last of all, it might
be an idea to use a realtively large space for an /arc directory (lots
of linux/unix users around the world just said, "huh?").  I use it to
store archives of software installed on the system, rpms, tar files,
gzipped files.  Because its a seperate partition is means you have a
good chance of recovering all of your software should another part of
the disk fail.  It can be useful to archive some other components of
your system and keep them here too (anything you dont want to lose...
can help to have a seperate partition to back up onto, a second hard
disk is better for this purpose though, if you have one).

As for adding user accounts, as we say in Glasgow, piece of pish.  Login
as root and use the adduser command to add a person, eg:

adduser Bob

Then give them a default password with passwd, eg:

passwd Bob

You will be prompted to enter a password twice, make it something
simple, give it to the user, then they can log in.  Once logged in the
user can use passwd again, without a parameter to change their password
to whatever they want.

Da da.. easy huh?  Most linux distributions actually have some kind of
control panel with a nice graphical front end for user adding etc, so
you may not even need half of this, good luck,

James

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

From: [EMAIL PROTECTED] (Mark Wooding)
Crossposted-To: gnu.misc.discuss
Subject: Re: C vs C++ for Open Source projects
Date: 3 Sep 1999 10:37:11 GMT
Reply-To: [EMAIL PROTECTED]

[Reformatting perpetrated.]

Jonathan Thornburg <[EMAIL PROTECTED]> wrote:
> Peter Seebach <[EMAIL PROTECTED]> wrote:
>
> > a C++ programmer will know that you should always write (if, for
> > some insane reason, you must use malloc() in C++)
> >
> >     int *p = (int *) malloc(sizeof(int));
> >
> > while any C programmer who re-read things since '90 or so will know
> > it's
> >
> >     int *p = malloc(sizeof(int));
> 
> Well, the former is legal in _both_ langauges, no less efficient,
> still works reliably on systems whose header files don't have full
> ISO C prototypes, and is recommended by at least some contemporary C
> experts.  See, for example, section 16.1 of Harbison & Steele's latest
> (4th) edition, dated 1995.

It also hides a diagnostic if you forgot to include <stdlib.h>.  This I
consider to be a major disadvantage.

I never make this mistake in my own code: my fingers automatically type

  #include <errno.h>
  #include <stdio.h>
  #include <stdlib.h>
  #include <string.h>

at the top of source files before thinking about what I actually need;
however, omitting the cast has quite often saved me some embarassment
when editing other people's code.

> > There are a lot of subtle differences in the idiomatic and clear
> > usage of the languages.  People who use C++ are unlikely to
> > appreciate the scope of utility of function pointers in C, because
> > they've got "better ways to do that", and won't have bothered to
> > pick up such an obscure and useless feature.
> 
> More precisely, people who use C++ and who are not competent in C
> and who have never bothered to read a decent C book and who have
> never read an article discussing the many and varied uses of function
> pointers.

I suspect that Mr Seebach is referring to those unfortunates who try to
program in `C/C++'.  These induhviduals are, I suspect, unworthy of
considerarion in a discussion about good style.

-- [mdw]

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

From: Pam Luchini <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.networking
Subject: Re: Sendmail & popserver
Date: Fri, 3 Sep 1999 03:22:22 -0700

When trying to run the fetchmail command I get the error message\
fetchmail: no mailservers have been specified.
I ran the mc file tcpproto.mc to create a cf file for sendmail.cf
and I only added DOMAIN(generic) to the actual file before compiling.  I
am running a small internal tcp network with a linux box and serveral
windows 95 workstations. =20

At one point I could actually get mail using Eudora lite to check for
mail.  Mail on the server itself has gotten worse. =20

I configured several files: db.mydomain.hosts, db.###.###.###.hosts,
named.ca and resolv.conf and this gave me dns (verified with nslookup),
but the mail just gets worse.  Any ideas?

How and where do I specify a mailserver?

Thanks - Pam

On Tue, 24 Aug 1999 [EMAIL PROTECTED] wrote:

> With sendmail, add to the script that calls fetchmail
>=20
> Assuming you are running fetchmail as already suggested as a daemon.
> (Brackets show example output)
>=20
> eg:
>=20
> fetchmail  (fetchmail process at 120 awakened)
> sendmail -q
>=20
> This will force sendmail to process the mail queue and=20
> send out whilst fetchmail is receiving. This could be=20
> done in the ppp script after the connection is=20
> established or run manually or from crontab?
>=20
> The is no need to HUP sendmail!
>=20
> Hope this helps
>=20
> Alex=20
> [EMAIL PROTECTED] (rm edy!)
>=20
> Thorsten Lau <[EMAIL PROTECTED]> wrote:
> : "H=E5kan Trygg" schrieb:
>=20
> :> Hi all
> :>
> :> I am trying to setup a local mail sever. (=3Dchanging from NT to Linux=
 :-)
> :>
> :> 1. We have a "multi-pop" mail account, not UUCP, from the ISP.
> :>    All mail that is designated to our domain is placed in this pop
> :>    account and a small mail reader program reads all this mail and
> :>    resends these mail to the local mail popserver.
> :> 2. We do not have a direct line to our ISP. We uses an ISDN router
> :>    and for reducing call charges we want the mail program only collect
> :>    mail at designated times.
> :>    Outgoing mail are transferred from the local mail server to the ISP
> :>    mail server at the same time as the multipop account is read
> :>
> :>
> :> So.....
> :> 1. How to read the popmail and forward it to the local mailserver?
> :>    Is there any small utility program?
>=20
> : I used =B4fetchmail=B4 for this problem,
> : its easy to configure via a resource file. This fetches mails from diff=
erent
> : accounts, and resends it to the local mailboxes.
>=20
> : Best wishes,
> :     Thorsten Lau.
>=20
>=20
>=20
>=20
>=20


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

From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: Disappearing news servers in Netscape
Date: Thu, 02 Sep 1999 21:57:23 -0600

Christopher Fonnesbeck wrote:
> 
> I discovered an annoying "feature" in NS 4.61 for Linux.  All news
> servers which are not the default news server disappear from the list
> when next you start up the application.  Anyone else find this problem??

Using NS v4.61 here I've noticed that if Netscape can't
contact a news server when you start it up it won't display
it in the list.  But if you start it up another time when it
can contact the server it will.  Eg, I run a local server on
my home lan which shows up every time I start Netscape.  But
my ISP's news server only shows up when I am connected to
the ISP.

-- 

-John ([EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (Mark Wooding)
Crossposted-To: gnu.misc.discuss
Subject: Re: C vs C++ for Open Source projects
Date: 3 Sep 1999 10:46:41 GMT
Reply-To: [EMAIL PROTECTED]

Gergo Barany <[EMAIL PROTECTED]> wrote:
> Johan Kullstam <[EMAIL PROTECTED]> wrote:
> >[EMAIL PROTECTED] (Peter Seebach) writes:
> >> There are plenty of people who can generate things that some
> >> compilers will eventually accept as C, but which are fundementally
> >> awful code.  We do not want these people maintaining "C".
> >
> >are you saying that
> >
> >#include <stdio.h>
> >
> >int main(
> >    int argc,
> >    char *argv[])
> >{
> >    printf("hello world\n");
> >
> >    return 0;
> >}
> >
> >is fundamentally awful?  note that this classic is valid in both C
> >and C++.
> 
> I would say that it's a less than perfect implementation in C (I can't
> speak for C++). The parameters to main() are not used, and printf() is
> overkill for printing a simple string + newline sequence.  Unless your
> compiler optimises those mistakes away, your program is a bloated
> memory hog (well, sort of).

The arguments to `main' are, in most implementations, passed regardless
of whether they're declared or used.  This will make no difference to
the program's performance: a sensible compiler will notice that the
arguments aren't used and use the registers for something else.

As to the use of `printf', well, it's traditional. ;-)

The program is, at least, correct and portable.  This is a major
advantage over an awful lot of rubbish I've seen produced by `C/C++'
programmers.

If you want a bloated memory hog which prints the classic greeting shown
above, I can direct you towards GNU Hello.

-- [mdw]

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

Date: Fri, 03 Sep 1999 06:51:59 -0400
From: Ed Summers <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Best Linux Distro? / Best GUI?



John Girash wrote: jg

>
> : --
> : "Gun control proposals are nothing more than a modern liberal
> : suggestion that government, which is unable to protect its citizens,
> : makes sure those citizens cannot defend themselves."
> :          - Robert. H. Bork
>
> ??? Guns hurt more people through accidents than through intentional use.
>     Therefore gun control is making sure citizens cannot hurt themselves.
>     (Whether you think this is a good thing or not is a different matter.)

    True also for cars, knives, baseball bats, lawn mowers, motorcycles,....
Should the government controll/ban these items...    (food for thought)
Ed ...

>
> --
> "don't listen when you're told about the best days in your life     Spirit of
>  a useless old expression, it means passing time until you die."     the West
>  /\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\/
>   -- John Girash -- girash @ cfa.harvard.edu - http://skyron.harvard.edu/ --


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

From: Raffaello Brecht <[EMAIL PROTECTED]>
Subject: Re: from hda1 2 hdb1?
Date: Fri, 03 Sep 1999 11:56:08 +0200

Jim Engstrom wrote:
> 
> I want to be able to move my Linux from hda to hdb without reinstall,
> any way to do this?
> Need that strange OS (win) as first OS in my system (damn my boss!). I
> can do a reinstall without problems, but my OS is runing so perfect just
> now and it look nice to :-)

HI !
that´s quiet easy ... after partitioning your hdb mount it at ... lets
say
/mnt/mnt1 and do "cd /mnt/mnt1 ; tar cvp -exclude=/mnt/mnt1 / | tar xfp
-"
after this you have to remove the contents of /mnt/mnt1/proc/* and
edit your /mnt/mnt1/etc/fstab to get your mountpoints and swappartys
right ... do not forget to edit /mnt/mnt1/etc/lilo.conf
then "cat /boot/vmlinuz-{whatever your LILO loads} >/dev/fd0 &&
rdev /dev/fd0 /hdb1 && sync"
this creates a bootable floppy which looks for its root-device on hdb1.
boot from this floppy and run lilo ...
If your BIOS has no problems booting from hdb1, then you´re all set
... i guess :)

-- 
Raffaello Brecht
FON: 05361 / 9-36882
E-Mail: [EMAIL PROTECTED]

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


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Misc Digest
******************************

Reply via email to