Re: [gentoo-user] Kernel 2.6 and desktop responsiveness under cpu load

2004-02-06 Thread Diego Zamboni

> I have been using the 2.6 kernel for a while in my system
> and noticed that the desktop is not responsive under cpu load.
> kernel gentoo-sources-2.4.22-r5 is better for me in this
> respect.

I have the exact opposite experience - my desktop responsiveness has
improved dramatically since switching to 2.6. One relevant setting is
CONFIG_PREEMPT (under Processor type and features in menuconfig), which
you want to be set for a desktop system.

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] directing STDOUT over ssh

2004-02-05 Thread Diego Zamboni
is there a way to pipe it into a file over ssh?  something like this?

  $ find . > ssh [EMAIL PROTECTED]:/path/to/file
find . | ssh [EMAIL PROTECTED] 'cat > /path/to/file'

The whole command, including the redirection, must be inside quotes, 
for it to be interpreted at the remote machine.

--Diego

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Using transparent terminal...

2004-02-04 Thread Diego Zamboni

> i m using Eterm and aterm, both can be transparent...  (tested with: 
> blackbox, fluxbox and KDE 3.x)

There seems to be a confusion:

Most modern terminal programs (aterm, Eterm, gnome-terminal, konsole,
etc.) plus some others (Kopete, gdesklets, etc.) implement
"pseudo-transparency". This is achieved by the program grabbing the
chunk of background underneath its window, and redisplaying it as its
own background. The effect is that of a transparent (or translucent)
window, but it is not really transparent: if your "transparent" window
is on top of some other window, it will still show the background image,
and not the window underneath.

Real transparency, or alpha blending, is a more profound feature that
makes it possible to have any object have transparency. Because it's
implemented by the graphics or window engine (e.g. X11, or Quartz in
MacOS X), it allows any application to have transparency, and it is
"true transparency": if you place a transparent window over another
window, the back window shows through the transparent one, even as it
updates.

Real transparency does not exist in standard X11. Some other systems, as
the aforementioned Fresco, implement it, but are not very stable yet.
See number 2 in http://wiki.fresco.org/FrescoVsX.

I understood the original poster was asking about true transparency, and
the answer is "you can't, not in standard XFree86". What you have seen
in the screenshots are pseudo-transparent terminals (which work mostly
OK most of the time, and look nice).

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] What doesnt work with 2.6 ?

2004-02-04 Thread Diego Zamboni
On Wed, 2004-02-04 at 00:48, William Kenworthy wrote:
> There's lots of "use 2.6" messages here, but does anyone have a list of
> what doesnt work/needs work list for general desktop machines before I
> take the leap?

The only thing that has been somewhat problematic for me is that OpenAFS
still does not work with 2.6. I don't need it always, so it's not been a
showstopper, but from the discussion in the openafs lists, it looks like
it might be a while before it's ported.

Other than that, I have nothing but good things to say about 2.6.
Particularly interactive performance is fantastic - I almost never feel
my system slowing down, even under the highest loads.

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Time planner?

2004-02-02 Thread Diego Zamboni
Just wondered if anyone could recommend a good 'time planner' in
portage? By which I mean something I can log what I've worked on for
specific periods of time[*] ... if that makes any sense.
I haven't used it, but this looks like what you describe:

http://gttr.sourceforge.net/

--Diego

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Progress bars??

2004-02-01 Thread Diego Zamboni
3-STARTUP SCRIPTS...
Others have said this already, but... I also strongly disagree with you 
here - I think the Gentoo startup scripts are one of its best features. 
I absolutely love only having to specify which system depends on which 
other, and let the system figure the startup order automatically.

--Diego

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] vcron

2004-01-29 Thread Diego Zamboni
Anyone know why they changed the package name?
http://forums.gentoo.org/viewtopic.php?t=114461#705085

The main thread for this topic now seems to be:
http://forums.gentoo.org/viewtopic.php?t=121455
--Diego

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] lock screen

2004-01-29 Thread Diego Zamboni

> xscreensaver depend from GNOME and I do not want download it

It needs gtk (either gtk1 or gtk2), but not Gnome. You can set the USE
flags to remove the Gnome dependencies (at least in theory, I haven't
tried it):

# USE="-gnome" emerge -pv xscreensaver

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] lock screen

2004-01-29 Thread Diego Zamboni
On Thu, 2004-01-29 at 17:13, Koala wrote:
> Please can someone on this list suggest me a tool to lock my screen 
> (with enlighenment).

xscreensaver or xlockmore are stand-alone screen savers. Both are in
portage.

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] directing program output

2004-01-28 Thread Diego Zamboni
 
> i run "cvs update > /dev/null" or "cvs update | sed -e 's//yyy/'" 
> it still prints the same thing it always does.  how do i capture this 
> information?

cvs prints many of its messages to standard error (STDERR) instead of
standard output. In bourne-like shells (including bash), you use 2>
instead of > to redirect stderr (in csh-like shells it's different). See
the bash (or csh) man page for more information. Additionally, Google
found these pages with some information and examples:

http://tomecat.com/jeffy//shredir.html
http://www.losurs.org/docs/redirection

In your example, if you wanted to pass both stdout and stderr (this is,
everything cvs prints out) to a command, you could simply do:

cvs update 2>&1 | sed -e 's//yyy/'

If you wanted to pass only stderr, it gets more complicated:

(cvs update > /dev/null) 2>&1 | sed -e 's//yyy/'

Again: these examples work only in Bourne shell and its derivatives.

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] SpamAssassin not as good as before :(

2004-01-28 Thread Diego Zamboni
> Did so many spammers changed their spam technics? What could be done (if 
> possible only with SA's help) to reach my hit rate of 99% again? An update 
> to SA version 2.60 did not change anything :(

I noticed the same starting some time ago (1-2 months as well). I think
spammers have started using new techniques, including:

- Long sequences of random dictionary words in their messages, which
perhaps make it look more "normal" to filters.

- Full paragraphs or sentences from "normal" text, arguably with the
same purpose.

What I did a couple of weeks ago was to finally read the man page for
sa-learn and started training SA's Bayesian filter. Since then, it has
gone back to catching almost all spam, even those using the above
techniques.

I had been manually putting spam in a separate folder, so I just trained
sa-learn against that as spam, and my regular inbox as "ham".

If you have not been training the SA Bayesian filter, give it a try - it
seems to work very well.

--Diego


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] using keyboard for middle mouse button

2004-01-23 Thread Diego Zamboni

> Select once with the mouse.  Then, while typing in a shell (or text
> editor), paste many times with keyboard shortcut.

I think xcb may do what you want. It allows manipulation (including
pasting) of the X cut buffers. It's in portage.

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rpm

2004-01-22 Thread Diego Zamboni
On Thu, 2004-01-22 at 16:26, Jakub Krajcovic wrote:
> Thank you guys for all of your experiences / answers. That just about
> covers my level of curiosity. But believe me, after a year and a half
> of rpm dependency hell, i never want to install another rpm package...
> :-)

Amen.

Perhaps also worth mentioning: there is an portage eclass file
(/usr/portage/eclass/rpm.eclass) for unpacking and installing rpm
packages, so it's relatively painless to write an ebuild file that
downloads and installs an RPM file, but registers it with portage.

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mysql & php ?

2004-01-22 Thread Diego Zamboni

> $ emerge -pv mod_php
> 
> And you'll get a list of it's options ("+" are the configured USE
> options);
> 
> [ebuild  N] dev-php/php-4.3.4-r3  +X +crypt -curl -firebird -flash
> -freetds -gd -gd-external +gdbm -imap -informix -ipv6 +java +jpeg -ldap
> -mcal -memlimit +mysql +nls -oci8 -odbc +pam +pdflib +png -postgres +qt
> -snmp +spell +ssl -tiff +truetype +xml2 -yaz +berkdb +ncurses +readline 

The continuation to this answer is that you can temporarily assign the
USE environment variable to modify features you want to enable/disable,
for example:

# USE="curl firebird -pam" emerge -pv mod_php

(which enables curl and firebird support, disables pam)

the assignment of USE flags may affect dependencies, so you may see
additional packages being installed. Once you are satisfied with what
you have, just remove the -p option to actually do the install.

To find out what a flag stands for, you can use the euse command:

# euse -i firebird
firebird [-] [ ] [G] Adds support for the Firebird relational database

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Emerge updating world

2004-01-19 Thread Diego Zamboni

> I would like to know if there is some way for asking to emerge to
> continue to update the packages for the target world, even if one of
> them failed to build.

Although I haven't tried it, I believe that's what the --skipfirst
option is for. From the man page:

   --skipfirst
  This action is only valid when used with --resume.   It  removes
  the  first  package  in the resume list so that a merge may con-
  tinue in the presence of  an  uncorrectable  or  inconsequential
  error.   This  should  only  be used in cases where skipping the
  package will not result in failed dependencies.
So I 
assume when one package fails, you run "emerge --resume --skipfirst", and it will 
continue with the package after the one that failed.

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Hot to resolve USE package dependencies?

2004-01-18 Thread Diego Zamboni
 Is there a tool that would allow me to see, what does it means when
package A can be build with/without use of package B? It would be very
helpful while I'm trying to compile _as_little_ as I only can.
The euse command (part of portage) with the -i flag, prints the 
definitions from the use.desc file:

	euse -i flag

--Diego

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Vmware Module compile error

2004-01-16 Thread Diego Zamboni

> Could it have anything to do with SMP, Preemptible kernel, HPET?
> Here's the processor type part of my kernel config: 

I honestly have no idea. Here's the diff between your config and mine (<
is yours, > is mine). Significant differences seem to be I don't have
HPET set, nor APIC, but I don't really know what effect these things may
have...

Cheers,
--Diego

20c20
< # CONFIG_MPENTIUM4 is not set
---
> CONFIG_MPENTIUM4=y
22c22
< CONFIG_MK7=y
---
> # CONFIG_MK7 is not set
34c34
< CONFIG_X86_L1_CACHE_SHIFT=6
---
> CONFIG_X86_L1_CACHE_SHIFT=7
43,44c43
< CONFIG_X86_USE_3DNOW=y
< CONFIG_HPET_TIMER=y
---
> # CONFIG_HPET_TIMER is not set
48,51c47
< CONFIG_X86_UP_APIC=y
< CONFIG_X86_UP_IOAPIC=y
< CONFIG_X86_LOCAL_APIC=y
< CONFIG_X86_IO_APIC=y
---
> # CONFIG_X86_UP_APIC is not set
53c49,50
< # CONFIG_X86_MCE is not set
---
> CONFIG_X86_MCE=y
> CONFIG_X86_MCE_NONFATAL=y
65d61
< # CONFIG_EFI is not set



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Vmware Module compile error

2004-01-16 Thread Diego Zamboni
Hi,

> I (try to)use kernel 2.6.1 with vmware.
> Compiling the modules by calling vmware-config.pl gives the following 
> error:

Are you using the vmware-workstation ebuild? There are some external
patches (in particular,
http://platan.vc.cvut.cz/ftp/pub/vmware/vmware-any-any-update48.tar.gz)
that need to be applied for VMware to work under 2.6. The ebuild applies
it automatically.

> /tmp/vmware-config6/vmmon-only/linux/hostif.c:643: too few arguments to 
> function `do_mmap_pgoff'

I have not seen this warning. With the vmware-any-any patch applied, I
see some warnings, but the modules compile and load OK.

> Is vmware compatible with 2.6.1?

Yes, I'm running it right now. I have the
app-emulation/vmware-workstation-4.0.5.6030 ebuild installed.

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Macintosh volumes

2004-01-16 Thread Diego Zamboni

> Is it possible to mount Macintosh extented HFS volumes?
> I have hfs in my kernel, i mount with his command :

You can get the hfsplus driver from http://www.ardistech.com/hfsplus/

If you are using 2.6.x, to make it compile properly, you need to comment
out lines 73-83 of hfsplus/wrapper.c. Other than that, it seems to work
perfectly. I haven't tried it with 2.4.x

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] To ebuild or not to ebuild

2004-01-15 Thread Diego Zamboni

> 1.  Check bugzilla - many times people create ebuilds and put them in bugzilla.  
> They may not ever get into portage but they are available for use.  I've gotten 
> several from bugzilla.

1.5 Google for "packagename gentoo" - I've found ebuilds that people put
in their own web pages.

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] To ebuild or not to ebuild

2004-01-15 Thread Diego Zamboni

> But once in while, you want a package that
> hasn't make it into ebuild yet what to do? If you download the package
> and install it by hand will it mess up your portage?

It should not mess up your portage if you install things by hand. But
the "nice to the community" thing to do would be to create an ebuild for
the package, and submit it. It's quite easy, portage takes care of most
common tasks automatically.

See http://www.gentoo.org/doc/en/gentoo-howto.xml and
http://www.gentoo.org/doc/en/ebuild-submit.xml

--Diego



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Emerge problem

2004-01-14 Thread Diego Zamboni

But then, how can I update all the package of my gentoo without
upgrading to the latest unstable release if I have to use
ACCEPT_KEYWORDS to be able to run 'emerge -UuD world' ?
Hm.. from your original post:

!!! all ebuilds that could satisfy "virtual/linux-sources" have been 
masked.
!!!(dependency required by "media-sound/alsa-driver-0.9.8" 
[ebuild])
I don't have my gentoo box handy at the moment, but I would assume that 
you need to install one of the -sources packages (gentoo-sources, 
gentoo-dev-sources, etc.) to satisfy the virtual/linux-sources 
dependency. Do you have any of them?

--Diego

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] New User Question

2004-01-14 Thread Diego Zamboni
A good idea, but I've only experienced major headaches when switching
between distros.  I copied everything I needed off the machine in
question, and burned everything down to the point of repartitioning the
hard drives.
Yes, that's what I did too. What I tried to say was that I didn't start 
from a stage1 or stage2 build (which involves a lot of first-time 
compiling). I installed a GRP (which contains only pre-compiled 
packages) so that my new system would be usable as soon as possible (I 
was installing on my main machine), and only afterward I did an "emerge 
sync; emerge -UDpv system; emerge -UDpv world" to compile everything to 
the latest versions from source.

--Diego

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] Emerge problem

2004-01-14 Thread Diego Zamboni
I think I only have few package that needs the x86 keyword and it 
would be pitty to upgrade everything in a unstable state because of 
these few packages...
Exactly - you only use ACCEPT_KEYWORDS="~x86" for installing/upgrading 
the packages that you want to have in their unstable versions. In bash 
(root's default shell) the easiest way of doing it is to specify the 
variable in the same command line as the command:

# ACCEPT_KEYWORDS="~x86" emerge -v package

In this way, the variable doesn't become permanently set. Of course, if 
you use it with "emerge world", then you _will_ update everything to 
the latest unstable release.

--Diego

--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] New User Question

2004-01-14 Thread Diego Zamboni
1>  The install document refers tp GRP repeatedly.  [IE: If you are not
using GRP...]  What is GRP?  I don't see any obvious answers in the
install doc.  It's possible I've missed something, but...
It's there, near the beginning of the installation instructions:

Note: A complete Gentoo Linux 2-CD set contains the Gentoo Reference 
Platform, which is a complete pre-built Gentoo Linux system including 
GNOME, KDE, Mozilla and OpenOffice. The Gentoo Reference Platform 
("GRP") was created to allow rapid Gentoo Linux package installations 
for those who need this capability.

What I did when switching my system to Gentoo was to follow the 
instructions for GRP, so that I had a working system soon, and later I 
"emerge sync"ed and upgraded to latest versions of everything by 
recompiling from source.

How does Gentoo deal with
this sort of thing, or is the user supposed to figure out any/all
dependancies on their own, by looking at compilation errors?
Ah, you're in for a nice surprise. Dependency management is one of the 
nicest features in Gentoo. It will automatically install any 
dependencies needed by a package (you can review what it will do by 
using "emerge -pv something" when you want to install something, the -p 
stands for "pretend"). Dependencies are also nicely handled in init 
scripts, for example, so that services on which others depend are 
started first.

Have fun,
--Diego
--
[EMAIL PROTECTED] mailing list