Linux-Misc Digest #896, Volume #18                Thu, 4 Feb 99 10:13:16 EST

Contents:
  Re: HElp, i can't compile ([EMAIL PROTECTED])
  Re: Missing modules with kernel 2.2? (Christian Bienia)
  Re: Memory > 64 Mb ("Ben Goble, Lakewood Colorado")
  Re: Environment variables and C (Kai Ruottu)
  Re: Environment variables and C (Sunil Rao)
  Re: DVD Video???? (Derek Cole)
  Re: Opinions about LyX? (Charlie Stross)
  Re: multiple volumen - auto-spanning archive (Jim Reidford)
  Sendmail Problem (Hugues Demers)
  Re: Linux on an overclocked PII (Mick Costa)
  Re: Graphics options greyed out in xconfig 2.2.0 (Tim)
  Re: Can one set up RAID with IDE drives? (Tim Moore)
  Re: Is Microsoft a nasty company ? I'm asking you this question. (Mr S A Penny)
  RedHat on a Compaq Prolient 1600? (A James Lewis)
  Re: Graphics options greyed out in xconfig 2.2.0 (Tim)
  Re: Graphics options greyed out in xconfig 2.2.0 (Tim)

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux
Subject: Re: HElp, i can't compile
Date: 4 Feb 1999 12:07:17 GMT

In alt.os.linux Martin Klarner <[EMAIL PROTECTED]> wrote:
f:>Hi Jarvis,

:>why don't you just set the return type of "main" to "int":

Yes! Do so!
And Why don't you post questions about c-programming to a newsgroup
about c-programming? eg. comp.lang.c
Your question had nothing, repeat: *nothing*, to do with linux!
Haha!



:>#include <stdio.h>
:>int main(void)
:>{
:>        printf("Hello world\n");

:>    return 0;
:>}


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

From: Christian Bienia <[EMAIL PROTECTED]>
Subject: Re: Missing modules with kernel 2.2?
Date: 4 Feb 1999 12:35:23 GMT

Hi c.o.l.m!

> Simply add the following 3 lines to /etc/conf.modules
> 
> alias ppp-compress-21 bsd_comp
> alias ppp_compress-24 ppp_deflate
> alias ppp-compress-26 slhc

Thanks, it works well (at least with two of them). But there is no
module slhc.o! Have I missed to enable an option during
kernel-compilation or what's wrong?

BTW: How do you find out what description (e.g. ppp-compress-26) belongs
to which module (in this case: slhc.o)? Is there a readme or a howto
somewhere?

> 
> and change any references to /dev/cua0 /dev/cua1 etc to /dev/ttyS0
> /dev/ttyS1 etc
> in your serial port setup scripts (rc.serial??)

There is no reference to /dev/cua? in the appropriate script! I found
out, that the error-message only pops up the first time I execute the
"setserial" command. Any ideas?


-- 
Christian Bienia

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

Date: Thu, 04 Feb 1999 03:07:53 -0700
From: "Ben Goble, Lakewood Colorado" <[EMAIL PROTECTED]>
Subject: Re: Memory > 64 Mb

David wrote:
> 
> I use a boot floppy to boot Suse 5.3..
> I tried loading LiLo onto a floppy and setting the lilo.conf with
> mem=80M
> The computer still only sees 64 Mb.
> I'm using a VX motherboard and it does not have a setting in the bios
> about memory over 64 Mb.
> 
> Any suggestions ??

 The line in your lilo.config file should be

           append="mem=80"

include the quotation marks.  After you add that line to your lilo.conf
remember to run lilo by typing
                                /sbin/lilo
                                            so the changes can take place.
--
Ben Goble  Lakewood,  Colorado  USA
bgoble at uswest dot net  bgoble at nyx dot net
A Stranger and a Pilgrim on the Earth

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

From: [EMAIL PROTECTED] (Kai Ruottu)
Crossposted-To: comp.lang.c,gnu.gcc.help
Subject: Re: Environment variables and C
Date: Thu, 04 Feb 1999 13:35:17 GMT
Reply-To: [EMAIL PROTECTED]

On Mon, 01 Feb 1999 11:33:36 +1100, Greg Cannon
<[EMAIL PROTECTED]> wrote:

>I'm writing a Linux application that needs to find certain files
>in its install directory.  I've noticed that many programs (e.g.
>Netscape) solve this problem by using an environment variable.
>
>Great.  So how do I access an environment variable from within C?
>I have a feeling there's some scheme similar to the argc/argv
>method of passing command line parameters, but I don't know the
>details.  Can some kind person point me in the right direction?
>Does it differ depending on your shell? (please say no)

Method #1 :
 
main (argc, argv, envp)
int  argc;
char *argv[];
char *envp[];
{
        int i;

        for (i=0; envp[i] != (char *) 0; i++)
                printf("%s\n", envp[i]);
        exit(0);
}

Method #2:

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

main (argc, argv)
int  argc;
char *argv[];
{
        int i;
        extern char **environ;

        for (i=0; environ[i] != (char *) 0; i++)
                printf("%s\n", environ[i]);
        exit(0);
}


Method #3 :

main()
{
        char *ptr;
        char *getenv();

        if ( (ptr = getenv("HOME")) == (char *) 0)
                printf("HOME is not defined\n");
        else
                printf("HOME is defined as %s\n", ptr);

        exit(0);
}

Source: W. Richard Stevens: "UNIX Network Programming", see also his:
"Advanced Programming in the UNIX Environment".... Highly
recommended...

 Cheers, Kai


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

From: Sunil Rao <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.c,gnu.gcc.help
Subject: Re: Environment variables and C
Date: Thu, 04 Feb 1999 12:45:27 +0000

Volker Borchert wrote:
> 
> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Paul D. Smith) 
>writes:
> |> %% Greg Cannon <[EMAIL PROTECTED]> writes:
> |>
> |>   gc> Great.  So how do I access an environment variable from within C?
> |>
> |> man -k environment
> |>
> |> man getenv
> |> man putenv

putenv() is non-standard.
 
> or use the three argument form for main:
> 
> int main (int argc, char *argv[], char *envp[])
> 
> where envp[i] each contain strings like "TZ=MET", and the end of the
> array is marked with a NULL pointer.

So is that. getenv() is the only way sanctioned by the standard.


--  
 { Sunil Rao }
"A boiled egg, you see, is not merely an egg that has been boiled. 
 It is a self-contained package, an irresistible alliance, of 
 violence and nursery rhymes. To get into it, you must destroy it."
 - Terry Durack in "The Independent on Sunday", as quoted in
                  "Pseuds Corner" of "Private Eye" magazine!

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

From: Derek Cole <[EMAIL PROTECTED]>
Subject: Re: DVD Video????
Date: Thu, 04 Feb 1999 09:43:29 -0400

What about the fact that the Encore kit comes with a decoder board.
One wouldn't need to implement the whole MPEG2/AC-3 decoder in software,
just stream the data from the drive to the board. (I know I make this
sound
much simpler than it really is).  I followed a similar thread last year,
and at
the time I was just learning about DVD's and computers.  The concern was
having
the open source code enforce the region codes and copy protection, but
that was
for a software only solution.  The decoder board and the drive both
enforce
regions codes (I know about the hacks for unlimited region code changes)
and
do the decoding.

I hope someone shares my point of view and has started a project!!
(Anybody??)

Derek

David Steuber wrote: 
> Ben Russo <[EMAIL PROTECTED]> writes:
> -> Ryan McGuigan wrote:
> -> > Hi, I just got a DVD kit, Creative Labs Encore (whatever).  Anyway, is
> -> > there any way to play DVD Movies in linux yet?  From what I've heard the
> -> > drive will work in linux.  I haven't messed with it yet...
> ->
> -> From what I have heard, the DVD drive will work with CD's, but there is no
> -> software to read the DVD file-format or to view the DVD encoded movies..
> 
> Even the DVD files will be visible on a DVD disk.
> 
> In order to make DVD movies play on Linux, someone from a country that
> doesn't prohibit reverse engineering of software will have to do that
> with a Windows DVD player.  It costs a hell of a lot of money to get
> the data required to create a player legitimatly.  Also, you would
> have to make the player a commercial closed source program becuase of
> the NDA.

===============================================================================
Derek Cole                | ...maximize Acceleration in the desired
direction
===============================================================================

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

From: [EMAIL PROTECTED] (Charlie Stross)
Crossposted-To: uk.comp.os.linux
Subject: Re: Opinions about LyX?
Date: Thu, 04 Feb 1999 13:25:09 GMT
Reply-To: charlie @ nospam . antipope . org

Stoned koala bears drooled eucalyptus spittle in awe
as <[EMAIL PROTECTED]> declared:

>Grab hold of LyX 1.0 which is now available and is *very* nice. 

Alternatively, I'd be astonishied if KLyX doesn't hit 1.0 real soon now ;-)


-- Charlie

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

From: Jim Reidford <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.setup,comp.os.linux.questions
Subject: Re: multiple volumen - auto-spanning archive
Date: Thu, 04 Feb 1999 13:52:45 +0000
Reply-To: [EMAIL PROTECTED]

Matias Orchard V. wrote:
> 
> Hi there:
> 
>     how can I put a big file (more than 400 Mb) in couple of zip disk? I
> guess it's using tar, but how it is?
> 
>     does anybody know something like multiple volumen using pkzip under
> dos (auto-spanning if it is WinZip)?
> 
> thanks a lot,
> 
> --
> Mat�as Orchard V.
> [EMAIL PROTECTED]
> ICQ: 460589
> 
> Red Hat Linux 5.2 ~ kernel 2.2.1 ~ KDE 1.0

There is a -M option to tar for multivolume but I've only used it to
span a couple of floppies and that was successful
-- 
Jim Reidford

-- 

"Due to financial constraints,
the light at the end of the tunnel 
has been turned off until further notice !!"

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

From: Hugues Demers <[EMAIL PROTECTED]>
Subject: Sendmail Problem
Date: Thu, 04 Feb 1999 13:12:38 +0000

Hi,

I have a problem sending mail trought sendmail. When I use elm
to send an email it goes trought sendmail and bounce back
saying that hugues@vega is not a valid hostname. Of course it's not
valid,
because I've no network at home  (I'm using redhat 5.0 on my
personal computer). Vega is just a hostname I gave to my computer. Note
that when I use my ISP mail server to send mail all goes well.

Could someone help me on this one?

I've included the complete transcript of the error.

Thanks
Hugues



>From hugues  Tue Dec 15 12:41:11 1998
Return-Path: <MAILER-DAEMON>
Received: from localhost (localhost)
        by vega (8.8.7/8.8.7) with internal id MAA00359;
        Tue, 15 Dec 1998 12:41:11 -0500
Date: Tue, 15 Dec 1998 12:41:11 -0500
From: Mail Delivery Subsystem <MAILER-DAEMON@vega>
Message-Id: <199812151741.MAA00359@vega>
To: hugues@vega
MIME-Version: 1.0
Content-Type: multipart/report; report-type=delivery-status;
        boundary="MAA00359.913743671/vega"
Subject: Returned mail: Data format error
Auto-Submitted: auto-generated (failure)
Status: RO

This is a MIME-encapsulated message

--MAA00359.913743671/vega

The original message was received at Tue, 15 Dec 1998 12:41:09
-0500
from hugues@localhost

   ----- The following addresses had permanent fatal errors
=====
[EMAIL PROTECTED]

   ----- Transcript of session follows -----
... while talking to harfang.cc.umontreal.ca.:
>>> MAIL From:<hugues@vega> SIZE=141
<<< 501 <hugues@vega>... invalid host name vega, check your
configuration.
501 [EMAIL PROTECTED] Data format error

--MAA00359.913743671/vega
Content-Type: message/delivery-status

Reporting-MTA: dns; vega
Arrival-Date: Tue, 15 Dec 1998 12:41:09 -0500

Final-Recipient: RFC822; [EMAIL PROTECTED]
Action: failed
Status: 5.5.2
Remote-MTA: DNS; harfang.cc.umontreal.ca
Diagnostic-Code: SMTP; 501 <hugues@vega>... invalid host name
vega, check your configuration.
Last-Attempt-Date: Tue, 15 Dec 1998 12:41:11 -0500

--MAA00359.913743671/vega
Content-Type: message/rfc822

Return-Path: <hugues>
Received: (from hugues@localhost)
        by vega (8.8.7/8.8.7) id MAA00357
        for [EMAIL PROTECTED]; Tue, 15 Dec 1998
12:41:09 -0500
From: hugues
Message-Id: <199812151741.MAA00357@vega>
Subject: test
To: [EMAIL PROTECTED]
Date: Tue, 15 Dec 1998 12:41:07 -0500 (EST)
Content-Type: text

test

--MAA00359.913743671/vega--




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

From: Mick Costa <[EMAIL PROTECTED]>
Subject: Re: Linux on an overclocked PII
Date: Thu, 04 Feb 1999 08:47:44 -0500

Two things..

First, the 300a's seem to be getting harder and harder to find. I would
suggest getting one sooner than later.  I have a boxed version just
sitting around until I get my new MB and case (yeah, the last time
around I went for an AT MB and now I regret it).

Second, I was all set to get the BH6, but now I am looking at getting
the newer BX-2.  You may mant to see whether the BX-2 provides you with
a better or worse alternative to the BH6.

Frank Hale wrote:
> 
> 
> Yeah I am going to do the same thing get the Abit BH 6 and overclocked a
> Celeron 300A to 450mhz. I have been researching it for sometime now and
> seems everyone with the 300A can get 450mhz easily.
>

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

From: Tim <[EMAIL PROTECTED]>
Subject: Re: Graphics options greyed out in xconfig 2.2.0
Date: Thu, 04 Feb 1999 12:54:24 +0000

Michael.Creasy wrote:

> I was customizing my kernel 2.2.0 last night and noticed that under
> console drivers there is an option to select Matrox g200 support.  The
> option (and all other graphics cards) where greyed out.  Does anyone
> else have this problem ?  I'd like to try as I understand it enables you
> to boot in a graphical mode with and i quote "a spiffy graphical penguin
> displayed on boot".  I just wanted to give a try.  Any ideas ?



Yup, you need to enable experimental kernel features (it's in "Code maturity
levels", or whatever it's called; the first option in the main menu).
Anything that is greyed out is considered to be experimental, but probably
stable enough for use, if you're prepared for the possibility of everything
going horribly wrong. I haven't used the G200 option myself, but the generic
console video driver works fine for me. It's a lot slower than normal text
mode, though (at least, it is on my 4meg s3 ViRGE...). Also, I can only get
X to run at resolutions equal to or lower than the one I boot in, so I tend
not to bother and just use the normal text mode console...

If you do decide to use it, though, you'll need to read
Documentation/fb/*.txt to know *how* to use it.

Tim

tim <at> darkwave <dot> org <dot> uk


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

Date: Thu, 04 Feb 1999 02:37:47 -0800
From: Tim Moore <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Can one set up RAID with IDE drives?

> Has anyone actually done this?  I've read the how-to, the mini-how-to,
> the install,  the setup, the quickstart and the FAQ. I get errors when
> I boot the system and errors when I try to configure it. All the docs
> seem to assume that I know way more that I do. I'm sure that I'm
> missing some config step.

Sorry, all the mind readers are out of town this week and no one cares
what you've read.

It might help if you said what you configured in kernel, what rev,
and what errors, your hardware and other important bits.

What actually happened?

-- 
[Replies: remove the D]

"Everything is permitted.  Nothing is forbidden."
                                   WS Burroughs.

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

From: [EMAIL PROTECTED] (Mr S A Penny)
Crossposted-To: 
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,alt.conspiracy.microsoft,comp.os.linux.x,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Is Microsoft a nasty company ? I'm asking you this question.
Date: 4 Feb 1999 14:16:31 GMT

In article <[EMAIL PROTECTED]>,
        [EMAIL PROTECTED] (jedi) writes:

>               Herding Humans ~ Herding Cats
>Neither will do a thing unless they really want to, or         |||
>is coerced to the point where it will scratch your eyes out   / | \
>as soon as your grip slips.

that's _very_ optimistic
especially in the face of all the evidence to the contrary (cf. all microsoft
users)

SammyTheSnake
-- 
[EMAIL PROTECTED] [EMAIL PROTECTED]
PHUAE / S.A.Penny@(dcs.)Warwick.ac.uk (E)TLA page www.warwick.ac.uk/~phuae/
www.warwick.ac.uk/~phuae/StSim/index.html --=<<latest update: 25/01/99>>==-
--=<<SammyTheSimulation: a neural network based quake bot.>>=-- Status: ~1%

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

From: A James Lewis <[EMAIL PROTECTED]>
Subject: RedHat on a Compaq Prolient 1600?
Date: Thu, 4 Feb 1999 12:06:03 +0000


Hi,

I've been asked to find out if RedHat Linux will have the appropriate
drivers for the hardware in a Compaq prolient 1600... Perhaps somone can
tell me if this is the case and if they are included in the Redhat 5.2
release, or are available as addon packages.  Also, what are the plans
with regard to making a 2.2 based redhat release?

James ([EMAIL PROTECTED])
Vortex Internet
My operating system unders~1 long filena~1, and yours?


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

From: Tim <[EMAIL PROTECTED]>
Subject: Re: Graphics options greyed out in xconfig 2.2.0
Date: Thu, 04 Feb 1999 12:54:55 +0000

Michael.Creasy wrote:

> I was customizing my kernel 2.2.0 last night and noticed that under
> console drivers there is an option to select Matrox g200 support.  The
> option (and all other graphics cards) where greyed out.  Does anyone
> else have this problem ?  I'd like to try as I understand it enables you
> to boot in a graphical mode with and i quote "a spiffy graphical penguin
> displayed on boot".  I just wanted to give a try.  Any ideas ?



Yup, you need to enable experimental kernel features (it's in "Code maturity
levels", or whatever it's called; the first option in the main menu).
Anything that is greyed out is considered to be experimental, but probably
stable enough for use, if you're prepared for the possibility of everything
going horribly wrong. I haven't used the G200 option myself, but the generic
console video driver works fine for me. It's a lot slower than normal text
mode, though (at least, it is on my 4meg s3 ViRGE...). Also, I can only get
X to run at resolutions equal to or lower than the one I boot in, so I tend
not to bother and just use the normal text mode console...

If you do decide to use it, though, you'll need to read
Documentation/fb/*.txt to know *how* to use it.

Tim

tim <at> darkwave <dot> org <dot> uk


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

From: Tim <[EMAIL PROTECTED]>
Subject: Re: Graphics options greyed out in xconfig 2.2.0
Date: Thu, 04 Feb 1999 12:54:37 +0000

Michael.Creasy wrote:

> I was customizing my kernel 2.2.0 last night and noticed that under
> console drivers there is an option to select Matrox g200 support.  The
> option (and all other graphics cards) where greyed out.  Does anyone
> else have this problem ?  I'd like to try as I understand it enables you
> to boot in a graphical mode with and i quote "a spiffy graphical penguin
> displayed on boot".  I just wanted to give a try.  Any ideas ?



Yup, you need to enable experimental kernel features (it's in "Code maturity
levels", or whatever it's called; the first option in the main menu).
Anything that is greyed out is considered to be experimental, but probably
stable enough for use, if you're prepared for the possibility of everything
going horribly wrong. I haven't used the G200 option myself, but the generic
console video driver works fine for me. It's a lot slower than normal text
mode, though (at least, it is on my 4meg s3 ViRGE...). Also, I can only get
X to run at resolutions equal to or lower than the one I boot in, so I tend
not to bother and just use the normal text mode console...

If you do decide to use it, though, you'll need to read
Documentation/fb/*.txt to know *how* to use it.

Tim

tim <at> darkwave <dot> org <dot> uk


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


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