Re: Compiling Qt 3.1 with Xft support under RedHat 8.0?

2002-11-05 Thread Tzafrir Cohen
On Mon, 4 Nov 2002, Hetz Ben Hamo wrote:

  Have a look at redhat's qt source RPM.

 I really would be hesitant about this..

 QT in RH 8.0 is a very different QT then other distributions have, and it
 includes:

 * GCC 3.2 patches

Otherwise it won't build on redhat 8 (and on mandrake 9, actually)

 * XFT1  XFT-2 patches

Which is what dvir wanted, IIRC.

 * Some patches from QT-3.1 and some from 3.0.5 version

 All in all - it's a mish mash version of QT, which NO one supports it. You
 file a bug against it to trolltech, and it will be automatically kicked out.
 You file a bug in RH's bugzilla - and probably no one will answer...

(regarding gcc3.2: mandrake's guys share the same problem)

Two good things to say about RH8:

- both mozilla, qt(+kde) and gtk2(+gnome2) use fontconfig (xft2). This
  makes fonts settings so much easier.

http://fontconfig.org/

- Changed the default locale to a UTF-8 one. Less unreadable file-system
  problems, less uncoherency with kde/gnome2

Sometimes a distro has to think not only about what is the easiest way to
install a certain package and make it work, but how to make all the
packages work together well.

-- 
Tzafrir Cohen
mailto:tzafrir;technion.ac.il
http://www.technion.ac.il/~tzafrir



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Fwd: Where'd the cpu cycles go ?

2002-11-05 Thread Guy Baruch

3.5 orders of magnitude suggests he went from ram access (perhaps cache) 
to disk access.
my guess is your configuration of 8.0 takes more memory = he's thrashing.

what does free tells him in each case ?


Hetz Ben Hamo wrote:

Be careful with RH 8. 0 if you plan to use it on some heavy workload with some 
scripts...

Thanks,
Hetz


 


--
-- regards

+---
+ Guy Baruch , Plasma Laboratory, Weizmann Institue.
+ mailto:guybar;plasma-gate.weizmann.ac.il
+ phone: 972-8-934-2211
+---

They hang the man and flog the woman
That steal the goose from off the common,
But let the greater villain loose
That steals the common from the goose.

-- English folk poem, circa 1764
	http://bostonreview.mit.edu/BR27.3/bollier.html




=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Fwd: Where'd the cpu cycles go ?

2002-11-05 Thread Hetz Ben Hamo
Well, the answer is a big different...

If you run this script with en_US encoding and NOT utf8 - you would see the 
missing speed. Apparently there's a bug with grep when it comes to utf8 
handling (redhat and Alan confirmed that)..

So, if you're running lots of scripts on RH 8.0, maybe you should add a simple 
en_US encoding to the beginning of your script...

Thanks,
Hetz

On Tuesday 05 November 2002 08:46, Gilad Ben-Yossef wrote:
 On Mon, 2002-11-04 at 23:10, Hetz Ben Hamo wrote:
  Be careful with RH 8. 0 if you plan to use it on some heavy workload with
  some scripts...

 Warning: This email is written before the first coffee of the morning.
 Please forgive me in advance... :-)

 I'm probably stupid (see above), but he didn't mention running it on the
 same *computer*. I mean, I would expect much more for this to be a
 result of some hardware related problem (HD operating with DMA off for
 example or some such) rather then some the wide VM problem it seems to
 be hinting at.

 In short, I think something is wrong in his configuratrion (and this may
 or may not be related to RH8.0) rather then to a bug somwewhere.

 Gilad


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Fwd: Where'd the cpu cycles go ?

2002-11-05 Thread Tzafrir Cohen
On Tue, 5 Nov 2002, Hetz Ben Hamo wrote:

 Well, the answer is a big different...

 If you run this script with en_US encoding and NOT utf8 - you would see the
 missing speed. Apparently there's a bug with grep when it comes to utf8
 handling (redhat and Alan confirmed that)..

 So, if you'rerunning lots of scripts on RH 8.0, maybe you should add a simple
 en_US encoding to the beginning of your script...

Actually: 'en_US' is not guaranteed to exist. And is not guaranteed not to
be UTF-8. 'C' will always be there.  it is pure ascii. (And it is 4
letters shorter, which is why I have not suggested 'POSIX' ;-) )

-- 
Tzafrir Cohen
mailto:tzafrir;technion.ac.il
http://www.technion.ac.il/~tzafrir



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Dynamic DNS

2002-11-05 Thread Yotam Rubin
On Mon, Nov 04, 2002 at 11:13:55PM +0200, Oleg Kobets wrote:
 You seem to misunderstood me.
 
 I configured a fully working system twice now, one with Suse and one with
 Debian and it works perfectly. The problem is with RedHat 7.3.
 
 DHCP failes to update Bind. Other then that both work ok. (ie I get leases
 and resolving)
 
 So, I ask again, any ideas about the unauthorized messages ?

With such a generic and non-descriptive error message, how can you possibly
expect anyone to know the answer? In order to find the culprit, you should
take common debugging measures. Set named's debug level to a high value
(See named's manual page for further details), run it through strace and
so forth. After you have collected more informative messages, you may forward
them to the list. Letting us have a glimpse at your configuration might also
be an OK idea.

Regards, Yotam Rubin



msg23067/pgp0.pgp
Description: PGP signature


loghost

2002-11-05 Thread Ben-Nes Michael
Hi All

I want one of my NAS to write its logs through one of my linux syslog deamon

I know a linux server can be configured to enable other machines to write to
its logs using syslog.conf

Any one can point me to the relevant meterial ?
or give me short example how such task can be done ?

Thanks in Advance.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: loghost

2002-11-05 Thread Tzafrir Cohen
On Tue, 5 Nov 2002, Ben-Nes Michael wrote:

 Hi All

 I want one of my NAS to write its logs through one of my linux syslog deamon

 I know a linux server can be configured to enable other machines to write to
 its logs using syslog.conf

 Any one can point me to the relevant meterial ?
 or giveme short example how such task can be done ?

 Thanks in Advance.

A recent article:

  http://www.linuxsecurity.com/feature_stories/feature_story-123.html

Anyway, syslog-ng is supposed to also support remote logging through tcp.

-- 
Tzafrir Cohen
mailto:tzafrir;technion.ac.il
http://www.technion.ac.il/~tzafrir



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Compiling Qt 3.1 with Xft support under RedHat 8.0?

2002-11-05 Thread Tzafrir Cohen
One other thing...

On Mon, 4 Nov 2002, Hetz Ben Hamo wrote:

  Have a look at redhat's qt source RPM.

 I really would be hesitant about this..

 QT in RH 8.0 is a very different QT then other distributions have, and it
 includes:

[snip]

 * Some patches from QT-3.1 and some from 3.0.5 version

 All in all - it's a mish mash version of QT,

One way to tell those patches (if the spec file does not mention them
specifically): after you replace the source tarball with the one from qt
3.1, chances are those patches will not apply. patch may even ask you if
this is a reversed patch (-r).

Identify their numbers, and remove the corresponding %patch line from the
%prep phase of the spec file.

-- 
Tzafrir Cohen
mailto:tzafrir;technion.ac.il
http://www.technion.ac.il/~tzafrir



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: gnomecal to KOrginizer

2002-11-05 Thread Tzafrir Cohen
On Tue, 5 Nov 2002, Ilan Finci wrote:

 Hi,
 Probably this is should not be to hard to accomplish, but I failed doing
 so and couldn't find a solution.

 I've been using gnomecal (version 1.2.0) for a while, and I now want to
 move to KOrganizer (version 3.0.2).

 Both applications use vCalender to save the data, but different formats
 (gnomcal is older format).  I've tried to save the file from gnomecal and
 then read it in KOrganizer, but it didn't work.

Isn't vCalendar a standard format? It may not reperesent the full
information of the calendar, but it should be readable by both programs,
right?

What exactly is didn't work? What exactly happens?


-- 
Tzafrir Cohen
mailto:tzafrir;technion.ac.il
http://www.technion.ac.il/~tzafrir



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Rootless Cygwin/XFree86

2002-11-05 Thread Eran Tromer
Greetings,

Some time ago I consulted this list about good X servers for Windows
(it's easier and far cheaper to access Linux from Windows than the
reverse; I need both). Back then, the conclusion was that there is no
satisfactory free solution, so I've been using Starnet's X-Win32 [1].

Well, there's some progress on the free front. The Cygwin port of
XFree86, which until recently worked only in single-window mode (which I
consider unusable), now features a rootless mode where every X window
appears in an independent Windows window.

Rootless mode is not yet integrated into CVS, but you can grab the
source or a working binary from the test builds page (I used Test68):

  http://xfree86.cygwin.com/devel/shadow/changelog.html

Performance is quite good, though CPU usage is high. You still can't
switch window focus between X apps using Alt-Tab or the Windows taskbar,
but only using the mouse or X-based stuff (my favorite is having the
Windows taskbar on bottom and KDE panel on top, both with auto-hide).
Apparently in rootless mode XFree86 still uses its own pixel buffers
rather than using the Win32 GDI, so you get all the fancy stuff such as
the RENDER extension (read: antialising) and XKEYBOARD (read: keyboard
language switching).

All Hail Matsuzaki Kensuke!

  Regards,
Eran Tromer


[1] X-Win32 is closed source, and a single license costs from $140 for a
standard license (1 year of upgrades) to $60 for a box-specific
time-limited student license. It's reasonably stable (server reset
needed about every 10 days of extensive use), and works very well though
it doesn't support some fancy stuff like the RENDER extension.
The alternative is Hummingbird Exceed, which is more expensive and
somewhat annoying in myriad small ways.


=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: Laptop screen is blanking out

2002-11-05 Thread Arie Folger
Low tech solution: did you try to fiddle with the switch in the lid that 
switches the screen on and off when opening and closing the lid? works for me 
when apm messes up a little, both under X and in console.

Arie Folger



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




SOLUTION Re: resizing /

2002-11-05 Thread Arie Folger
I ended up finding some spare place to store an interim / partition, modified 
/etc/fstab to allow booting in that partition and mounting of the original / 
in /mnt/spare.

Thing to watch out for: since grub looks for its config file on the original 
/, one should really carry out the entire migration in one session. However, 
even with no services running, fdisk told me it couldn't reload the partition 
table, so I had to reboot with a rescue disk (the RH installation cd #1, just 
type linux rescue at the prompt), and only then remount the new / and copy to 
it the contents of the interim /.

Finally, I wondered why I had a kernel panic, and after some searching found 
that RH had once autonomously given a name to the original / partition; the 
label was / (I know, this is confusing). So once I realized that and issued 
e2label /dev/hda5 /, the thing was solved.

I guess I would have had less trouble using parted after having booted with 
the rescue disc...

Arie



=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]




Re: gnomecal to KOrginizer

2002-11-05 Thread Ilan Finci
It seems that there are different versions of the format. When I've 
tried to open the file saved from gnomecal in KOrgenizer, I get a pop-up 
with the message:
   Couldn't load calender '/homes/ifinci/test.ics'

Nothing more.
When looking at the files, they have a different version field (1.2.0 
for the gnome file, and 2.0 for the KOrgenizer one), and of course a 
different  PRODID field (changing this field to the KOrgenizer value 
didn't help).

If it will help, I can attach the 2 versions of the files.

bye,
Ilan



Tzafrir Cohen wrote:
On Tue, 5 Nov 2002, Ilan Finci wrote:



Hi,
Probably this is should not be to hard to accomplish, but I failed doing
so and couldn't find a solution.

I've been using gnomecal (version 1.2.0) for a while, and I now want to
move to KOrganizer (version 3.0.2).

Both applications use vCalender to save the data, but different formats
(gnomcal is older format).  I've tried to save the file from gnomecal and
then read it in KOrganizer, but it didn't work.



Isn't vCalendar a standard format? It may not reperesent the full
information of the calendar, but it should be readable by both programs,
right?

What exactly is didn't work? What exactly happens?





=
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word unsubscribe in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]