Linux-Misc Digest #119, Volume #28               Sat, 16 Jun 01 04:13:02 EDT

Contents:
  Re: Newbie C++/Suse question (3FE)
  RH7.1 vs W2K performance benchmarks ("" <[EMAIL PROTECTED]>)
  Re: Linux servers in corporate networks (3FE)
  Re: console beeps: frequency, duration, and loudness (3FE)
  Re: openldap 2.0.10 (Dean Thompson)
  copiling tared software (gabriel)
  Re: console beeps: frequency, duration, and loudness (Dances With Crows)
  Re: MPEG I/II video compressor for Linux? (Dances With Crows)
  Re: What puts the monitor into power saving (yellow light) mode? (Dances With Crows)
  Re: copiling tared software (mwa)
  Re: Problems using RH 7.1 with SiS 630 Graphics Card (Yongchun Zhang)
  Re: bad python display (Holland King)
  Re:  XChat 1.7.7-1 problem (Roger Lindmark)
  Re: Moving from PMMail to Kmail ("Lavinia")
  Re: Fast NICs (Paul E. Larson)
  Re: Give man fish......... (fred smith)
  Re: vi settings (fred smith)
  Re: vi settings (Federico Bravo)

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

From: [EMAIL PROTECTED] (3FE)
Subject: Re: Newbie C++/Suse question
Reply-To: [EMAIL PROTECTED]
Date: Sat, 16 Jun 2001 04:10:26 GMT

On Wed, 13 Jun 2001 10:57:45 +0200, jan vandesompele <[EMAIL PROTECTED]>:
> 
> I'm trying to compile a simple program that includes 'iostream.h' and
> 'fstream.h' like this:
> 
> #include <iostream.h>
> #include <fstream.h>
> 
> When I to "make test", I get the error that the error
> test.c:2 iostream.h: No such file or directory

Don't name it "test".  There's already a test in Unix.


-- 
 Any technology distinguishable from magic is insufficiently advanced.
     TopQuark Software & Serv.  Contract programmer, server bum.
     [EMAIL PROTECTED]        Give up Spammers; I use procmail.


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

From: "<=oneway=>" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: RH7.1 vs W2K performance benchmarks
Date: Sat, 16 Jun 2001 00:23:24 -0400

Are there any RH7.1 vs W2K performance benchmarks?

Thanks in advance



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

From: [EMAIL PROTECTED] (3FE)
Subject: Re: Linux servers in corporate networks
Reply-To: [EMAIL PROTECTED]
Date: Sat, 16 Jun 2001 04:28:53 GMT

On 15 Jun 2001 07:34:57 -0700, nag rao <[EMAIL PROTECTED]>:
> We hear about Linux replacing a lot of UNIX networks in Corporate
> networks. Does anyone have practical experiences on this? In such an
> environment, how are user logins handled to multiple machines? Is
> NIS/NFS the solution Network administrators prefer?

No.  Anyone walking off the street with their laptop configured to
look like another machine in your domain (or just an unused but
allowed IP) will spoof your internal security.

> Want this info to propose to our IS dept.

Don't.  The only place they're acceptable is on a small LAN behind a
firewall.  Depending on the size of your organization, you may have
more threats behind the firewall than otherwise; exactly where NIS/NFS
is inadequate.


-- 
 Any technology distinguishable from magic is insufficiently advanced.
     TopQuark Software & Serv.  Contract programmer, server bum.
     [EMAIL PROTECTED]        Give up Spammers; I use procmail.


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

From: [EMAIL PROTECTED] (3FE)
Subject: Re: console beeps: frequency, duration, and loudness
Reply-To: [EMAIL PROTECTED]
Date: Sat, 16 Jun 2001 04:34:18 GMT

On Fri, 15 Jun 2001 23:08:51 -0230, Neil Zanella <[EMAIL PROTECTED]>:
> 
> Does anyone know where I can find a reference on how to
> produce console beeps of different frequencies, duration,

In X Window, xset can alter the frequency and duration of beeps.


-- 
 Any technology distinguishable from magic is insufficiently advanced.
     TopQuark Software & Serv.  Contract programmer, server bum.
     [EMAIL PROTECTED]        Give up Spammers; I use procmail.


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

From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux.networking
Subject: Re: openldap 2.0.10
Date: Sat, 16 Jun 2001 14:34:30 +1000


Hi Thomas,

> Hello,
> i installed OpenLdap 2.0.10 and tried to create the initial
> database from the following ldif file:

  Have you checked the appropriate LDAP documentation which can be found at
http://www.linuxdoc.org.  There is an entire document describing how to use
the LDAP system.

See ya

Dean Thompson

-- 
+____________________________+____________________________________________+
| Dean Thompson              | E-mail  - [EMAIL PROTECTED] |
| Bach. Computing (Hons)     | ICQ     - 45191180                         |
| PhD Student                | Office  - <Off-Campus>                     |
| School Comp.Sci & Soft.Eng | Phone   - +61 3 9903 2787 (Gen. Office)    |
| MONASH (Caulfield Campus)  | Fax     - +61 3 9903 1077                  |
| Melbourne, Australia       |                                            |
+----------------------------+--------------------------------------------+

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

From: gabriel <[EMAIL PROTECTED]>
Subject: copiling tared software
Date: Fri, 15 Jun 2001 21:41:07 -0400

when i use the commmand "./configure" i get an error "no no valid cc 
avalible in path, or something likethat.. first it checks for  cc with the 
return of no and then gcc with the same return. 

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: console beeps: frequency, duration, and loudness
Date: 16 Jun 2001 05:01:06 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 16 Jun 2001 04:34:18 GMT, 3FE staggered into the Black Sun and
said:
>On Fri, 15 Jun 2001 23:08:51 -0230, Neil Zanella
><[EMAIL PROTECTED]>:
>> 
>> Does anyone know where I can find a reference on how to
>> produce console beeps of different frequencies, duration,
>
>In X Window, xset can alter the frequency and duration of beeps.

setterm -blength [0-2000]     # in milliseconds
setterm -bfreq                # in Hz

...works for virtual consoles.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Outside of a dog, a book is a man's best
http://www.brainbench.com     /   friend.  Inside of a dog, it's too dark
=============================/    to read.  ==Groucho Marx

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: MPEG I/II video compressor for Linux?
Date: 16 Jun 2001 05:01:07 GMT
Reply-To: [EMAIL PROTECTED]

On 15 Jun 2001 03:13:51 GMT, Joshua Baker-LePain staggered into the
Black Sun and said:
>Dances With Crows <[EMAIL PROTECTED]> wrote:
>> On 14 Jun 2001 17:58:07 GMT, Joshua Baker-LePain staggered into the
>> Black Sun and said:
>>>'man convert'
>>>Part of the ImageMagick suite.
>
>> convert doesn't do MPEG AFAICT.  For MPEG, you want either the old
>I assumed it did.  From 'man convert', under recognized formats:
>       MPEG+  Motion Picture Experts Group file interchange  for�
>              mat.
[snip]
>Of course, I didn't try it, so I could be completely off my rocker.

Ah.  convert apparently will do this, but it requires a helper
application called "mpeg2encode" that is not included in the ImageMagick
suite (at least it did when I tried it) and it took ~10 seconds to grind
through 120 .ppm files and inform me of this deficiency.  mpeg_encode
took roughly 7 seconds to produce a nifty MPEG, and no external
dependencies.  *shrug*.  I'll dig up mpeg2encode and see if it does a
better job or gets better compression or something....

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Outside of a dog, a book is a man's best
http://www.brainbench.com     /   friend.  Inside of a dog, it's too dark
=============================/    to read.  ==Groucho Marx

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

From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.hardware
Subject: Re: What puts the monitor into power saving (yellow light) mode?
Date: 16 Jun 2001 05:01:08 GMT
Reply-To: [EMAIL PROTECTED]

[NG trimmed]
On Fri, 15 Jun 2001 21:06:44 -0500, Leonard Evens staggered into the
Black Sun and said:
>I am running RedHat 7.1 with a Panasonic S70 monitor.  In in gnome I
>choose none for screensaver and power saving mode for the monitor for
>some number of minutes after the screensaver has started, it goes into
>power saving mode.  But if I choose any other screensaver, it doesn't
>go into power saving mode.  I don't know whether or not this is
>specific to my monitor or some minor gnome bug.   But I am now
>curious as to what puts the monitor into power saving mode.
>I can't find any program which admits being connected to that. 

"xset q" should show that DPMS is enabled, and should also show the
inactivity time for each mode.  I don't know--could turning on a
screensaver be disabling DPMS?  The power-saving mode is a feature of
the X-server, and not generally of the screensaver since screensavers
are always drawing something on the screen (not saving power).  Take
with a grain of salt; I don't use GNOME much.

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Outside of a dog, a book is a man's best
http://www.brainbench.com     /   friend.  Inside of a dog, it's too dark
=============================/    to read.  ==Groucho Marx

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

Subject: Re: copiling tared software
From: mwa <[EMAIL PROTECTED]>
Date: Sat, 16 Jun 2001 05:09:46 GMT


try 

rpm -q gcc

if you don't have it, install it...it is the GNU C/C++ compiler 
which is need to build most of open source software out there.


-mwa

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

From: [EMAIL PROTECTED] (Yongchun Zhang)
Crossposted-To: 
comp.os.linux.redhat,comp.os.linux.x,comp.os.linux.questions,comp.os.linux.setup
Subject: Re: Problems using RH 7.1 with SiS 630 Graphics Card
Date: 15 Jun 2001 22:41:07 -0700

Hi, Jesper:

Thank you for your help.

Here is a not-so-complete summary of the difficulties I experienced so
far.

Originally, I installed RedHat 7.1 (with kernel 2.4.2-2). With the
default configuration, the testing of X in the installation phase will
cause the system
to halt. Install RH 7.1 with text boot mode, it works fine. Run
XConfigurator
after login, I was able to avoid system halt in testing the X
configuration. Select Generic Laptop with 1024x768, 8M ram, 640x480
16bit, X works but the screen is shifted, with the lower portion on
the top (you can imagine it). I was able to login and do something
with that resolution. If I selected Generic Laptop with 640*480, the
test of X totally screws. BTW, apply the "NoAccel" option is a bad
idea for me 'coz the text almost can never show up in X windows.

I then tried to rebuild the kernel with the following configurations:

with "Prompt for development and/or incomplete code/drivers" support.
Under "Console drivers", select:

[*] VGA text console
[*] Video mode selection support
[*] Support for frame buffer devices (EXPERIMENTAL)
[*] VESA VGA graphics console
[*] Advanced low level driver options
<*> 8 bpp packed pixels support
<*> 16 bpp packed pixels support
<*> 24 bpp packed pixels support
< > 32 bpp packed pixels support   --- You can activate this
<M> VGA characters/attributes support

And the "make bzImage" failed with the Error as in last mail:


  drivers/video/video.o: In function `SetCRT2Group':
  drivers/video/video.o(.text=0xa02e): undefined reference to 'VBInfo'
  drivers/video/video.o: In function `GetRatePtrCRT2':
  drivers/video/video.o(.text=0xa1dd): undefined reference to 'VBInfo'
  drivers/video/video.o(.text=0xa2b9): more undefined references to
'VBInfo' follow

Next I DL kernel-2.4.5, with the same configuration as above, the 
building was
successful but the machine halts at the booting process,with the
screen turnign
gray and kinda "desolved".

In the light that you had luck with Mandrake 8.0, though being aware
that it is actually the kernel that matters.  I turned to Mandrake 8.0
(I had been playing  with RedHat for 1.5 years, but never Mandrake :-)
). Unfortunately,
it doesn't turn out to be not so lucky either. At the test of X phase
during installation, selecting "Generic Laptop with 1024x768" the test
page for 1024x768, as well as 800x600 looks fine, but the machine
halts no matter I respond with "yes" or "no" or just let it time out.
Test with 640x480 screws.

When I again tried to rebuild the kernel as described in the
reference. "make bzImage" again fails with some errors like:
   init301.o: multiple definition of 'SiSGetLVDSCRT1Ptr'
   init301.o: multiple definition of 'SiSWaitDisplay'
...
in the directory of drivers/viedo/sis

I am new in building kernel, not sure what exactly has gone wrong.

BTW, do you know what does the part  "You must also tell LILO to turn
it on at boot time (I don't know if you can turn it on later, let me
know if it is possible). I use vga=0x317 to get 1024�768�16." in the
reference mean? How to
select that vga=0x317 thing? And to tell LILO to turn what on? That
Module of
"VGA characters/attributes support".

Thanks again and hope you have a nice weekend.

Yongchun

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

From: Holland King <[EMAIL PROTECTED]>
Crossposted-To: comp.lang.python
Subject: Re: bad python display
Date: 16 Jun 2001 05:43:11 GMT

In comp.os.linux.misc Bob Hauck <[EMAIL PROTECTED]> wrote:
: On 15 Jun 2001 17:59:36 GMT, Holland King <[EMAIL PROTECTED]> wrote:

: Do you have KDE's "apply colors and fonts to other apps" button checked
: in the Control Center?  That might have something to do with it.

i can't say for sure offhand, but i do know that it doesn't work under 
gnome either (which i found out with more testing).

-- 
---
Joseph Holland King  | "God whispers to us in our pleasures, speaks in our
                     |  conscience, but shouts in our pains: it is His
                     |  megaphone to rouse a deaf world." C. S. Lewis

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

From: Roger Lindmark <[EMAIL PROTECTED]>
Subject: Re:  XChat 1.7.7-1 problem
Date: Sat, 16 Jun 2001 08:17:17 +0200

208.7.71.51 [hamad] wrote:

> in xchat setup go to notification and then in notify check interval set it
> to 15 sec and it should be fine then, if doesnt work delete ur conf dir rm
> -rf .xchat and start ur xchat again.

Thanks for your suggestions! Notify check interval was already checked to 
15 s, so I deleted all nicks in the Notify list and then it worked. BUT, 
after adding them the problem appeared again.

Your suggestion:
rm -rf .xchat
did work very well and everything seems normal now.

Thanks,

Roger

-- 
Roger Lindmark
OS/2 Warp 4.06
RedHat 7.1

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

From: "Lavinia" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.os2.apps
Subject: Re: Moving from PMMail to Kmail
Date: Fri, 15 Jun 2001 23:12:38 -0700 (PDT)
Reply-To: "Lavinia" <[EMAIL PROTECTED]>

On Fri, 15 Jun 2001 13:59:26 -0400 (EDT), FEEB wrote:

>
>Is there a way how to convert PMMail folder structure to Kmail?
>
>Any comment would be appreciated.

Not the nicest solution, but you could forward all of your saved mail to
yourself and open it in Kmail.

L.




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

Crossposted-To: comp.os.linux.hardware,comp.os.linux.networking
Subject: Re: Fast NICs
From: [EMAIL PROTECTED] (Paul E. Larson)
Date: Sat, 16 Jun 2001 06:44:45 GMT

Chema <[EMAIL PROTECTED]> wrote in news:3B2A1ACD.27F45D68
@NOSPAMetsin.upm.es:

> Hi everybody:
> 
> I am looking for fast and reliable 10/100Mbs NICs for a new cluster. I
> can not find pure speed benchmarks published or press reviews about it.
> The NICs should be well supported under GNU/Linux and I do not mind the
> price, the matter is top speed and a good manufacturer support.
> Please give me your opinions or point me to an adequate URL.
> 

I believe this site will help - 
http://www.dslwebserver.com/main/fr_index.html?/main/nictest.html

Paul

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

From: fred smith <[EMAIL PROTECTED]>
Subject: Re: Give man fish.........
Date: Fri, 15 Jun 2001 23:22:32 GMT

David Means <[EMAIL PROTECTED]> wrote:
: Jeff wrote:
:> 
:> Got a printer connected to a networked Win2k box.
:> I want to access it via my RH7.1 machine.
:> 
:> Where do I start?

: Samba.  http://www.samba.org/

Actually, you may not need to. If you installed enuff parts when you
did the 7.1 install (and I can't say exactly which parts, sorry) you
should be able to run the RH printer config tool (which in 7.0 and
earlier was "printtool" but now is something else) and tell it you want
to print to a SMB printer and fill in the blanks it should "just work".
At lest I've done it that way on RH 6.2 and it worked BEFORE I bothered
to configure Samba.

-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
                      The eyes of the Lord are everywhere, 
                    keeping watch on the wicked and the good.
============================= Proverbs 15:3 (niv) =============================

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

From: fred smith <[EMAIL PROTECTED]>
Subject: Re: vi settings
Date: Fri, 15 Jun 2001 23:18:24 GMT

p8r <[EMAIL PROTECTED]> wrote:
: fred smith <[EMAIL PROTECTED]> wrote:
:>p8r <[EMAIL PROTECTED]> wrote:
:>
:>: OK, this is driving me crazy ... since *when* did vi become an html
:>: editor???  How can I disable this (disgusting) feature?  I suppose I
:>: could just adapt and just ":!vim (filename)" instead of bang-vi, but
:>: decades-old habits are tough to kill, sometimes.  :)  aTdHvAaNnKcSe
:>
:>Obviously vi isn't an html editor (except in the sense it'll edit
:>anything that consists of ascii text characters).
:>
:>Some vi clones make an attempt to render html in a sensible manner. I
:>don't happen to know if VIM does since I don't use VIM. But Elvis does
:>too, and does a decent job of it, mostly (Elvis' help system is written
:>in html). You can switch from whatever the current mode is to the plain
:>text mode by doing ^W-d, and do it again to swtich back. Or issue the
:>command: "dis nor"
:>
: Actually, I did ^w-d, and saw the syntax highlight, and, while that's
: not so bad, I guess I'm still a bit old-school.  :)  And, since I can't

You can turn it off entirely(at least in Elvis) with:
        :dis nor
which is short for
        :display normal

Dunno about Vim.



-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
    "Not everyone who says to me, 'Lord, Lord,' will enter the kingdom of
     heaven, but only he who does the will of my Father who is in heaven."
============================== Matthew 7:21 (niv) =============================

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

From: Federico Bravo <[EMAIL PROTECTED]>
Subject: Re: vi settings
Date: Sat, 16 Jun 2001 08:02:33 GMT

Yes, you're right. That's what I meant.
Federico Bravo.



Dances With Crows wrote:

> On Thu, 14 Jun 2001 06:56:27 GMT, Federico Bravo staggered into the
> Black Sun and said:
> >p8r wrote:
> >> OK, this is driving me crazy ... since *when* did vi become an html
> >> editor???  How can I disable this (disgusting) feature?  I suppose I
> >> could just adapt and just ":!vim (filename)" instead of bang-vi, but
> >> decades-old habits are tough to kill, sometimes.  :)  aTdHvAaNnKcSe
> >I actually don't understand what you mean. I use vi on my RedHat 7.0
> >and it is perfectly equal to the one I used 15 years ago. Nevertheless
> >I'm getting to enjoying vi.
>
> The original vi is closed-source, therefore not available in a
> standard RedHat distro.  In every RedHat distro that I've seen, "vi" and
> "vim" are the same program; they just act differently depending on how
> they are called.  Calling vim with "vi" turns off all the extremely
> useful and nifty features that vim has, and tries to make vim act like
> the original vi.
>
> IMHO, syntax highlighting is a very good thing--it breaks up the
> monotony and can alert you to certain boneheaded typos like mismatched
> parentheses/angle brackets.
>
> --
> Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
> Brainbench MVP for Linux Admin /  Outside of a dog, a book is a man's best
> http://www.brainbench.com     /   friend.  Inside of a dog, it's too dark
> -----------------------------/    to read.  --Groucho Marx


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


** FOR YOUR REFERENCE **

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

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list by posting to comp.os.linux.misc.

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

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

Reply via email to