Linux-Misc Digest #732, Volume #23                Thu, 2 Mar 00 15:13:03 EST

Contents:
  /boot/module-info RH6.1 (Joe Glenn)
  Re: compile/link error gcc with c++ (Bob Hauck)
  Re: Controlling a modem (TAPI?) (Alex Butcher)
  Re: system requirements? ("MW")
  Re: recursive grep? (JCA)
  Re: learning c++ with gcc-2.95...clear screen? (Alex Vrenios)
  WebCams (Simon E. John)
  Re: recursive grep? (Vilmos Soti)
  Gtk-CRITICAL (Eric Freed)
  how to create screen shot in Linux
  Re: Xlib: connection to ":0.0" refused by server (John Moran)
  Re: how to create screen shot in Linux (Dances With Crows)
  Re: Can I do this? (eRob)
  Re: WINE (Rick Ellis)
  Re: PINE-like prog ? ([EMAIL PROTECTED])
  EHLO suppression in sendmail 8.9.3 ("Omid Saadatfard")
  Re: Can I do this? (Alex Vrenios)
  Re: Why would Mandrake install stall? (Jon)
  Re: Why would Mandrake install stall? (Jon)
  Re: recursive grep? (Paul Kimoto)
  Re: compile/link error gcc with c++ (Paul Kimoto)

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

From: Joe Glenn <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.setup
Subject: /boot/module-info RH6.1
Date: Thu, 02 Mar 2000 11:52:06 -0600

I am running redhat 6.1.  I have installed a new kernel (2.2.14).

My qestion is: where does the file /boot/module-info come from?
It seems to be out of date now.

Thanks
Joe


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

From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: compile/link error gcc with c++
Date: 2 Mar 2000 18:15:20 GMT
Reply-To: bobh{at}slc{dot}codem{dot}com

On Thu, 02 Mar 00 08:26:07 GMT, Martijn Brouwer
<[EMAIL PROTECTED]> wrote:

>Yes that was true. Now I use g++, and everything compliles and linkes well, 
>but the program just does not do anything (should say: "Hello World!").

I'll bet you named it "test".  There's a utility in /usr/bin called
"test".  Try "./test".

-- 
 -| Bob Hauck
 -| Loose Cannon
 -| http://www.bobh.org/

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

From: [EMAIL PROTECTED] (Alex Butcher)
Crossposted-To: comp.os.linux.setup,uk.comp.os.linux
Subject: Re: Controlling a modem (TAPI?)
Date: Thu, 02 Mar 2000 18:16:05 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 01 Mar 2000 17:14:58 GMT, Dimitris Terzis <[EMAIL PROTECTED]> wrote:
>Hi guys...
>
>I am trying to figure out what is the best (easier/fastest) way of
>controlling a modem from a Linux application.

To control the /modem/ directly, you'll need to open the modem device
(convention dictates that there should be a symlink called '/dev/modem'
pointing to the real serial device). Take a look for a terminal emulator
such as minicom to find out how.

> I have a Linux box and
>want to make it establish a dialup connection with a remote Windows NT
>machine, so that the two can thenafter communicate via standard TCP/IP
>sockets.

Under Red Hat, the standard way to bring up the first PPP connection would
be to use 'ifup ppp0' or assume that there's a permanent connection and
leave the user to setup dial-on-demand if there isn't. Why does your app need
to bring the PPP connection up by itself?

>The way I see it, I need to use a telephony API on my Linux box, which
>means that, other than a few API calls, everything should be
>transparent (i.e., as if the Linux and WinNT machines were on a LAN).
>Is this a valid assumption? Could someone please give me an idea
>(sample code, or just the libraries I should use) as to how this can be
>done efficiently?
>
>Thanks,
>
>Dimitris

*NIX uses a very different approach to Windows; a) you should call external
programs wherever possible rather than building that functionality directly
into your program, and b) *NIX programs generally do one thing and do it
completely. Welcome to a new world. :)

Best Regards,
Alex.
-- 
Alex Butcher   Using Linux since '95 - because windows are too easy to break.
Berkshire, UK  URLBLAST:slashdot.org:www.freshmeat.net:www.deja.com:lwn.net:
PGP:0x33489FD3 www.tomshardware.com:www.stardiv.de:www.gimp.org:www.google.com

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

From: "MW" <[EMAIL PROTECTED]>
Crossposted-To: comp.windows.x.kde,linux.redhat.install
Subject: Re: system requirements?
Date: Thu, 2 Mar 2000 10:21:21 -0800

Just thought I'd jump in here. A couple of points:

1. The original post was not just about CPU requirements, it's just at that
time I was not aware that memory was the problem.
2. I think it's perfectly reasonable for KDE or other desktop developer
organizations to post recommended minimums for CPU and RAM on their websites
(Gnome does have this, BTW). It's not a question of the number of
combinations, just some minimums.  It is CLEARLY NOTICEABLE that 32MB RAM is
does not result in acceptable performance with KDE.  And I'm not talking
about using kfm for a browser or anything else. I'm talking about just
loading the desktop, no apps. I'm sure you can think of reasonable criteria
for a system's memory being acceptable, e.g. amount of swapfile use.
3. Let me emphasize that I'm not trying to slam the developers of KDE or any
other open source software. Y'all should be commended for doing the work you
do, getting no recompense only complaints. It's just that I think it's a
very small thing to ask to post a minimum recommended memory size on your
web page.
4. For the rest of you that are wondering about the memory requirements,
here's my experience. I brought the total up to 48 MB and this results in
good performance with KDE and also with Gnome.

David Faure wrote in message <[EMAIL PROTECTED]>...
>
>
>Gerald Willmann wrote:
>>
>> On Thu, 2 Mar 2000, David Faure wrote:
>>
>> > > You claim it's not a memory hog - please back that up with numbers.
>> > You claim it is a memory hog - please back that up with numbers.
>> > And please read my posts.
>>
>> no, I never claimed anything - I just wonder.
>> And I certainly won't compile and install it to see for myself only
>> because the developers refuse to give any concrete info regarding memory
>> footprint.
>
>So you are speaking about something you have no idea about ?
>Great, that is really going somewhere.
>
>What if I gave you numbers ? You would certainly say
>"X MB for this ? That's a memory hog, for sure"
>and I would say "No, that's perfectly acceptable".
>Then what ?
>Where have you seen a scale of what is considered too much
>memory used by an application ? There is no such thing.
>
>Just like you can call excuses what are perfectly
>reasonable and technically accurate explanations,
>you can call a memory hog any program running on any computer.
>
>> Btw, I read the rest of your post and was tempted to call it excuses
>> which in my last post I didn't.
>
>What ???? Did you actually read that web page I pointed you to ?
>It's NOT about excuses !! It's about doing actual measurements instead
>of just looking at wrong numbers.
>
>And memory usage always has to be weighted against what you can do with
>it.
>You want to save memory ? Install twm and be happy. Or don't even use X.
>
>But I can see you have no intention to do any reasonable thinking about
>the matter, I will therefore stop any correspondence on the subject.
>I have better things to do with my time, for those who actually _USE_
>KDE.
>
>Bye.
>
>--
>David Faure
>[EMAIL PROTECTED] - KDE developer
>[EMAIL PROTECTED] - Mandrake
>[EMAIL PROTECTED] - Cramer Systems
>



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

From: JCA <[EMAIL PROTECTED]>
Subject: Re: recursive grep?
Date: Thu, 02 Mar 2000 10:18:09 -0800

Johnny Johanson wrote:

> [EMAIL PROTECTED] (Frank Miles) writes:
>
> >Thanks to those who responded.  It's in grep-2.4, which (for Debian folk)
> >is in 'potato', but not in the current stable 'slink' (grep-2.2).  There is
> >an rgrep in slink.
>
> For those who don't have this version of grep, combine with find:
>
> find . -type f -name '*' -print | xargs grep 'stringIwant'

    Interesting. I have, for a long time, used

    find . -type f -exec egrep 'stringIwant' {} \; -print

instead, which has always struck me as being kind of slow. I'll sure try
the xargs technique; maybe it'll do the job faster.



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

From: [EMAIL PROTECTED] (Alex Vrenios)
Subject: Re: learning c++ with gcc-2.95...clear screen?
Date: 2 Mar 2000 18:09:16 GMT

Try system("clear);

In article <[EMAIL PROTECTED]>,
 <[EMAIL PROTECTED]> wrote:
>On Thu, 02 Mar 2000 09:36:36 -0700, Patrick O'Neil <[EMAIL PROTECTED]>
>wrote:
>
>>Can someone direct me as to how one would clear the
>>screen in c++ under linux?  I have read dejanews 
>
>If you don't reject a good GUI, I would suggest to install kDevelop1.1. It comes
>with lot of online help and examples.
>
>--
>Eggert Ehmke
>Email: [EMAIL PROTECTED]


-- 
Alex Vrenios
Ph.D. Student
Computer Science Dept.
[EMAIL PROTECTED]

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

From: Simon E. John <[EMAIL PROTECTED]>
Subject: WebCams
Date: Thu, 02 Mar 2000 18:17:46 +0000 (GMT)

I'm thinking of adding a WebCam to my site. I've tried a QuickCam Express and
VC on my Win98SE machine but couldn't get anything much out of either -
crappy drivers/WebCam32 etc.

What's the best WebCam/software to get for a Linux box?

With Windoze you used to have to FTP the JPEGs to your website, but I was
thinking that as I'd only be using the camera when I was online, it would
probably be best to use my machine as a web server (just for the webcam) how
is this done?

I've setup Apache to serve pages around my LAN at home but how do you deal
with outside requests - especially as my ISP uses dynamic IP addressing.

Cheers ;o)

-- 
Simon E. John, BA(Hons), DipM

Email: [EMAIL PROTECTED]
Web: www.suit-u-sir.com

43rd Law of Computing: Anything that can go wr...

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

Subject: Re: recursive grep?
From: Vilmos Soti <[EMAIL PROTECTED]>
Date: Thu, 02 Mar 2000 18:27:27 GMT

JCA <[EMAIL PROTECTED]> writes:

>     Interesting. I have, for a long time, used
> 
>     find . -type f -exec egrep 'stringIwant' {} \; -print
> 
> instead, which has always struck me as being kind of slow. I'll sure try
> the xargs technique; maybe it'll do the job faster.

Yes, it is slower since in this case for each hit generated by find the
grep command will be executed. So, if there are 1000 files, then you
will start grep 1000 times.

Vilmos


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

From: Eric Freed <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Gtk-CRITICAL
Date: Thu, 02 Mar 2000 13:21:04 -0500

Hi, 

I am running GNOME with RedHat 6.1, and whenever I launch linuxconf (in
a term after su to root) I get these warning messages:

Gdk-WARNING **: local not supported by C library

and

Gtk-CRITICAL **: file gtkwidget.c: line 1584 (gtk_widget_map): assertion
'GTK_WIDGET_VISIBLE (widget) == TRUE' failed

The second message appears a number of times. 
Linuxconf works (or appears to); but these messages make me nervous.

does anyone know what these mean and what to do?

Thanks

Eric Freed
[EMAIL PROTECTED]

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

From: <[EMAIL PROTECTED]>
Subject: how to create screen shot in Linux
Date: Thu, 02 Mar 2000 18:30:17 GMT

Is there any screen shot software for Linux? I have checked it in CNET in 
"Download", they are for Windows  or Apple.

--
Posted via CNET Help.com
http://www.help.com/

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

From: John Moran <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: Xlib: connection to ":0.0" refused by server
Date: Thu, 02 Mar 2000 12:34:58 -0600

In this case the problem is in the "magic cookie".
He is not using host based security to xhost probably won't.
help ( but then it can't hurt either).

Need to check out xauth.

When root started the X server a a magig cookie file was written 
it root's home directory, anyone wishing to connect to the 
X server must have a copy of that file in their home directory.
At least I think that's how it works.
-- 
+-----------------------------------+------------------------+
| John Moran                        | [EMAIL PROTECTED] |
| Siemens Power Transmission        | (612) 536-4404         |
|            and Distribution, LLC. |                        |
| 7725 Northland Dr.                |                        |
| Brooklyn Park, Mn 55428-1540      |                        |
+-----------------------------------+------------------------+

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: how to create screen shot in Linux
Date: 02 Mar 2000 14:05:11 EST
Reply-To: [EMAIL PROTECTED]

On Thu, 02 Mar 2000 18:30:17 GMT, [EMAIL PROTECTED] 
<<[EMAIL PROTECTED]>> shouted forth into the ether:
>Is there any screen shot software for Linux? I have checked it in CNET in 
>"Download", they are for Windows  or Apple.

CNET, as a whole, seems to know nothing about Linux at all.  And there are
other places besides CNET to download software.  Try a couple of the major
clearinghouses for Linux software:
  http://www.freshmeat.net
  http://www.linuxberg.com
"xv" can take screenshots.  So can Ksnapshot, KDE's screenshot utility.
You may even have one or the other installed already; "which xv" or "which
ksnapshot" to see.  Read the man page for xv to find out how to use it;
"man xv".  Ksnapshot has reasonable online help included.

-- 
Matt G / Dances With Crows        \          In the MS-DOStrix,
There is no Darkness in Eternity   \----\    there is no fork().
But only Light too dim for us to see     \    
    ===== Usenet: ceci n'est pas une guerre des flammes =====


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

Subject: Re: Can I do this?
From: [EMAIL PROTECTED] (eRob)
Date: 02 Mar 2000 19:17:03 GMT

John,

Try this... download the file to your Windows machine, then use ftp to copy 
the file to your Linux machine.

Windows has a command-line ftp client: c:\windows\ftp.exe if you are 
acquainted with the open and put commands. Or, snag a copy of WS_FTP or the 
like.

Later,

In article <kaVt4.628$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>Is it possible to download a Linux file using  Windows 98 and then somehow
>install it to Linux?  I have a winmodem and am unable to go onto the web
>with Linux.
>
>Thanks,
>John



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

From: [EMAIL PROTECTED] (Rick Ellis)
Subject: Re: WINE
Date: 2 Mar 2000 19:21:50 GMT

In article <pMWs4.1236$[EMAIL PROTECTED]>,
Tony <[EMAIL PROTECTED]> wrote:

>I have OpenLinux 2.3 - does anyone know how to enable WINE.. I appears to be
>installed but I do use it? Is there something else I need to do in order to
>use it?

Take a look at http://www.winehq.com/

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

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

From: [EMAIL PROTECTED]
Subject: Re: PINE-like prog ?
Date: Thu, 02 Mar 2000 19:45:58 -0500

Hello

Thank you for your answers. Actually, it seems that it's more
complicated to make it work than I expected. I used to use Outlook,
and since I have Linux, I use Kmail, which is nice, but not powerful
enough. Ok, that means that I use POP3 for incoming mail and SMTP for
outgoing mail. Mutt doesn't like this, neither do Pine (well, just a
little bit).

After a few
hours reading manpages and websites, I figured out how to retrieve my
mails from the POP3 server to my /var/spool/mail/$HOME. Nice, I can
read my mails with #mail
Still, I cannot send mails through my SMTP server. I think sendmail
is what I need, but I don't know how to configure it... Is it
simple to do and to explain ? Because it does much more than i need,
and it's quite uneasy to find the piece of information I'm looking for.

Last question. Should I use Pine or Mutt ?

Thanks a lot for your help,

Sacha

> In article <89gda6$8d4$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
>>Hello
>>
>>I've installed PINE on my Linux RH6.1, but unfortunaltely,
>>it seems that there are no filters for the incoming mails...
>>that's a pitty because otherwise, this prog is really
>>what I was looking for. Do you know another PINE-like
>>prog which provides more features, including filters,
>>spelling, multi-level directories and so on. And maybe also
>>news functions.
>>
>>Hope someone knows. Thanks a lot.
>>
>>Sacha
> 
> Take a look at procmail and qmail, filtering you can use for your emails
> that comes in /var/mail/$USER.  
> 
> -dc

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

From: "Omid Saadatfard" <[EMAIL PROTECTED]>
Subject: EHLO suppression in sendmail 8.9.3
Date: Thu, 2 Mar 2000 14:38:26 -0500

Hi there,

Does anybody know how is it possible to disbale EHLO in sendmail 8.9.3

Thanks
Omid





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

From: [EMAIL PROTECTED] (Alex Vrenios)
Subject: Re: Can I do this?
Date: 2 Mar 2000 19:33:07 GMT

In article <kaVt4.628$[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
>
>Is it possible to download a Linux file using  Windows 98 and then somehow
>install it to Linux?  I have a winmodem and am unable to go onto the web
>with Linux.
>
Certainly. I use Win98 to dial into my ISP, download a tar file, for example,
then I copy the file into the "shared" disk drive. I reboot to get to Linux,
copy that file into where it ought to go, then extract the tar'ed info. If
you do not have a shared area, you can mount the Win98 file system to Linux.
If these two OSs are not on the same box, use ftp or whatever to get the file 
across. Good luck.


-- 
Alex Vrenios
Ph.D. Student
Computer Science Dept.
[EMAIL PROTECTED]

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

From: Jon <[EMAIL PROTECTED]>
Subject: Re: Why would Mandrake install stall?
Date: Thu, 02 Mar 2000 19:30:22 GMT

Hello,

I said that my problem was exactly the same as yours, but that isn't quite 
accurate.  Here's my situation.  Mine is a new install from scratch.  I 
have 2 hard drives:  a 3.5 GB and a 850 MB.  I have a 512 MB linux native 
partition labeled that is root, a 100 MB swap partition, and a 200 MB linux 
native labeled /home.  I am using System Commander 2000 for my 
boot/partitioning utility.  The install process informs me that I have a 
log of the installation at /tmp/install but I can't very well see that if 
the install won't complete.  I hope this helps.


Thanks,

Jon
b_trayed wrote:
> 
> 
> Should I turn off PnP(Plug n pray) in the BIOS? I have an existing 
Mandrake
> (same version 6.0)on it, but am trying to keep my /usr. SHould I just 
wipe
> both /hda1 and /hda5 clean and start from scratch?
> 
> It actually makes it this far: loading glibc2.1 but stops right before
> the status bar makes it all the way through.
> 
> I tried upgrading but I have messed my root dir somehow, and the install
> notices this and says this doesn't seem to be a valid root something, 
that's
> why I chose 'Install' instead of upgrade.
> 
> Think it's all the new HW? e.g. Voodoo1 + Stealth 3D for video, 32 M RAM,
> MAXTOR 24x CDROM (which aws detected nicely), SB 16 card, HSP modem, 
mouse in
> serial port (which failed to detect for some reason) Suggestions or 
advice
> from existing Mandrake 6.0 reinstallers or anybody would be greatly
> appreciated!
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.


--
Posted via CNET Help.com
http://www.help.com/

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

From: Jon <[EMAIL PROTECTED]>
Subject: Re: Why would Mandrake install stall?
Date: Thu, 02 Mar 2000 19:30:16 GMT



Hello,

I am having the same problem as you...to the letter.  I am very frustrated. 
 I have searched faq's, posted to newsgroups, and attempted to reinstall 
many times.  As to your question about PNP, My PNP OS was never enabled and 
I still have this problem.  If you find anything out please drop me a note 
at [EMAIL PROTECTED]

I promise to do the same for you.

Thanks and good luck!


Jon Hurd
b_trayed wrote:
> 
> 
> Should I turn off PnP(Plug n pray) in the BIOS? I have an existing 
Mandrake
> (same version 6.0)on it, but am trying to keep my /usr. SHould I just 
wipe
> both /hda1 and /hda5 clean and start from scratch?
> 
> It actually makes it this far: loading glibc2.1 but stops right before
> the status bar makes it all the way through.
> 
> I tried upgrading but I have messed my root dir somehow, and the install
> notices this and says this doesn't seem to be a valid root something, 
that's
> why I chose 'Install' instead of upgrade.
> 
> Think it's all the new HW? e.g. Voodoo1 + Stealth 3D for video, 32 M RAM,
> MAXTOR 24x CDROM (which aws detected nicely), SB 16 card, HSP modem, 
mouse in
> serial port (which failed to detect for some reason) Suggestions or 
advice
> from existing Mandrake 6.0 reinstallers or anybody would be greatly
> appreciated!
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.


--
Posted via CNET Help.com
http://www.help.com/

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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: recursive grep?
Date: 2 Mar 2000 15:02:22 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, JCA wrote:
> Johnny Johanson wrote:
>> find . -type f -name '*' -print | xargs grep 'stringIwant'

>    Interesting. I have, for a long time, used
>
>    find . -type f -exec egrep 'stringIwant' {} \; -print
>
> instead, which has always struck me as being kind of slow. I'll sure try
> the xargs technique; maybe it'll do the job faster.

The "-exec ..." version has the (possible) disadvantage that because each
grep sees only one filename argument, the name of the matching file doesn't
get printed.

I am not sure whether the GNU "find | xargs" combination makes sure that
the xarg-ed command (grep) sees more than one filename as the argument, but
to get around this (possible) problem it is conventional to use instead
$ find . -type f -print | xargs grep someString /dev/null
which means that here grep will always see multiple files (/dev/null and
the real targets) as arguments.

If you are paranoid (about filenames with spaces), you might want to read
the findutils info pages about the find "-print0" and xargs "-0" arguments.

-- 
Paul Kimoto             <[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: compile/link error gcc with c++
Date: 2 Mar 2000 15:06:07 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Bob Hauck wrote:
> I'll bet you named it "test".  There's a utility in /usr/bin called
> "test".  Try "./test".

Even /usr/bin/test doesn't get run much, because in most shells "test" is a
builtin.

-- 
Paul Kimoto             <[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