Re: [gentoo-user] HIJACKING THREADS

2008-06-13 Thread Dirk Heinrichs
Am Freitag, 13. Juni 2008 schrieb ext Iain Buchanan:

 1. find email from list
 2. click email address in to field (new email to that recipient is
 created)
 3. write subject
 4. write email
 5. send

or (in KMail, given that one uses its mailing list functions):

1a. hit ctrl-shift-n in the folder where the recipient list is stored, 
or
1b. right-click on the folder name, select new message to mailing list
2. write subject
3. write email
4. send

Who has a shorter way? ;-)

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Cleaning up installation / two glibc versions

2008-06-13 Thread Dirk Heinrichs
Am Donnerstag, 12. Juni 2008 schrieb ext Dimitrios Ropokis:

 This is not a real solution,

Yes, it is.

 a problem has to be solved with tools that gentoo offers,

Oh, didn't know emerge is not a Gentoo tool. Sorry.

 In my mind no,
 because the installed system must be ready to help itself!

It is. emerge -e is the way to go.

Bye...

Dirk

BTW: Please don't top post.
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Cleaning up installation / two glibc versions

2008-06-13 Thread Dirk Heinrichs
Am Donnerstag, 12. Juni 2008 schrieb ext Nicolai Beuermann:
 You are right it´s not a real solution. Only a solution to get back the
 old (and working) system with two installed versions of glibc in package
 database.

So emerge -ep world shows it would re-install 2.3.4.

quickpkg glibc-2.3.4 (just in case...)
emerge -C glib-2.3.4
  
   you mean to unmerge glibc-2.3.4?
   When I do this my system is no longer useable. emerge wouldn´t work.

OK, didn't see that in previous messages. In this case, you could have 
re-emerged python before unmerging 2.3.4.

   Marvelously i´ve repaired it via reemerging glibc-2.6.1 via a live cd
   and chroot...

OK, good to know.

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] htaccess file

2008-06-13 Thread Joseph

I have in my main htaccess file the following condition, is it still needed:
-code
# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

IfModule mod_rewrite.c
RedirectMatch permanent (.*)cmd.exe(.*)$ http://www.microsoft.com
RedirectMatch permanent (.*)root.exe(.*)$ http://www.microsoft.com
RedirectMatch permanent (.*)\/_vti_bin\/(.*)$ http://www.microsoft.com
RedirectMatch permanent (.*)\/scripts\/\.\.(.*)$ http://www.microsoft.com
RedirectMatch permanent (.*)\/_mem_bin\/(.*)$ http://www.microsoft.com
RedirectMatch permanent (.*)\/msadc\/(.*)$ http://www.microsoft.com
RedirectMatch permanent (.*)\/MSADC\/(.*)$ http://www.microsoft.com
RedirectMatch permanent (.*)\/c\/winnt\/(.*)$ http://www.microsoft.com
RedirectMatch permanent (.*)\/d\/winnt\/(.*)$ http://www.microsoft.com
RedirectMatch permanent (.*)\/x90\/(.*)$ http://www.microsoft.com
/IfModule

IfModule mod_setenvif.c
  IfDefine SSL
SetEnvIf User-Agent .*MSIE.* \
 nokeepalive ssl-unclean-shutdown \
 downgrade-1.0 force-response-1.0
  /IfDefine
/IfModule
--end code--


Can somebody enlighten me what below RewriteCond protect against? :-/

RewriteEngine On
RewriteCond %{QUERY_STRING} :/ [NC]
RewriteRule ^ - [F]

--
#Joseph
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] HIJACKING THREADS

2008-06-13 Thread Neil Bothwick
On Fri, 13 Jun 2008 08:16:11 +0200, Dirk Heinrichs wrote:

 Who has a shorter way? ;-)

In Claws Mail, hit New while in the ML folder :)


-- 
Neil Bothwick

Press any key to continue or any other key to quit


signature.asc
Description: PGP signature


Re: [gentoo-user] HIJACKING THREADS

2008-06-13 Thread Dirk Heinrichs
Am Freitag, 13. Juni 2008 schrieb ext Neil Bothwick:
 On Fri, 13 Jun 2008 08:16:11 +0200, Dirk Heinrichs wrote:
  Who has a shorter way? ;-)

 In Claws Mail, hit New while in the ML folder :)

That would be as short, but not shorter, right?

Bye...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)162 234 3408
Configuration Manager   | Fax:  +49 (0)211 47068 111
Capgemini Deutschland   | Mail: [EMAIL PROTECTED]
Wanheimerstraße 68  | Web:  http://www.capgemini.com
D-40468 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] HIJACKING THREADS

2008-06-13 Thread Neil Bothwick
On Fri, 13 Jun 2008 10:12:53 +0200, Dirk Heinrichs wrote:

  In Claws Mail, hit New while in the ML folder :)  
 
 That would be as short, but not shorter, right?

It would if you wrote a shorter email :P


-- 
Neil Bothwick

Random access is the optimum of the mass storages.


signature.asc
Description: PGP signature


Re: [gentoo-user] HIJACKING THREADS

2008-06-13 Thread Hemmann, Volker Armin
On Freitag, 13. Juni 2008, Neil Bothwick wrote:
 On Fri, 13 Jun 2008 08:16:11 +0200, Dirk Heinrichs wrote:
  Who has a shorter way? ;-)

 In Claws Mail, hit New while in the ML folder :)

what if I am in a ml folder but don't want to send a mail to that ml? Removing 
adress again?
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] python Tkinter

2008-06-13 Thread David Harel

Hi,

I need Tkinter: http://wiki.python.org/moin/TkInter .
In /etc/portage/package.use I added:
dev-lang/python (-nocxx) (-nothreads) tk

trying the package as explained in Step 1 in the above link:
$ python
Python 2.5.1 (r251:54863, Mar 12 2008, 14:21:54)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
Type help, copyright, credits or license for more information.
 import _tkinter
Traceback (most recent call last):
 File stdin, line 1, in module
ImportError: No module named _tkinter


Any idea?

--
Regards.

David Harel,

==

Home office +972 77 7657645
Fax:+972 77 7657645
Cellular:   +972 54 4534502
Snail Mail: Amuka
   D.N Merom Hagalil
   13802
   Israel
Email:  [EMAIL PROTECTED]


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] python Tkinter

2008-06-13 Thread Justin

David Harel schrieb:

Hi,

I need Tkinter: http://wiki.python.org/moin/TkInter .
In /etc/portage/package.use I added:
dev-lang/python (-nocxx) (-nothreads) tk

trying the package as explained in Step 1 in the above link:
$ python
Python 2.5.1 (r251:54863, Mar 12 2008, 14:21:54)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
Type help, copyright, credits or license for more information.
 import _tkinter
Traceback (most recent call last):
 File stdin, line 1, in module
ImportError: No module named _tkinter


Any idea?


Please past th output of emerge dev-lang/python -vp.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] python Tkinter

2008-06-13 Thread Daniel Heemann
On Fri June 13 2008, David Harel wrote:
 Hi,

 I need Tkinter: http://wiki.python.org/moin/TkInter .
 In /etc/portage/package.use I added:
 dev-lang/python (-nocxx) (-nothreads) tk

 trying the package as explained in Step 1 in the above link:
 $ python
 Python 2.5.1 (r251:54863, Mar 12 2008, 14:21:54)
 [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
 Type help, copyright, credits or license for more information.

   import _tkinter

 Traceback (most recent call last):
   File stdin, line 1, in module
 ImportError: No module named _tkinter

Afaik you need to build python with the 'tk' USE flag enabled.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] python Tkinter

2008-06-13 Thread Edward Hades
On Fri, Jun 13, 2008 at 3:38 PM, Daniel Heemann [EMAIL PROTECTED] wrote:
 On Fri June 13 2008, David Harel wrote:
 In /etc/portage/package.use I added:
 dev-lang/python (-nocxx) (-nothreads) tk

 Afaik you need to build python with the 'tk' USE flag enabled.

That he did. David, you sure you have recompiled python _after_ adding tk flag?


-- 
Henny Youngman  - When I told my doctor I couldn't afford an
operation, he offered to touch-up my X-rays.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] python Tkinter

2008-06-13 Thread Justin


That he did. 



  


That was what I wanted to find out. If there is another entry in 
package.use, negating the first then he doesn't. We cannot be sure right 
now.




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] HIJACKING THREADS

2008-06-13 Thread Neil Bothwick
On Fri, 13 Jun 2008 11:25:18 +0200, Hemmann, Volker Armin wrote:

  In Claws Mail, hit New while in the ML folder :)  
 
 what if I am in a ml folder but don't want to send a mail to that ml?
 Removing adress again?

Yes, unless you habitually write mails to other addresses while in
mailing list folders, in which case you would not use this feature.


-- 
Neil Bothwick

Bother, said Pooh as his Mercedes smashed into the tunnel support.


signature.asc
Description: PGP signature


Re: [gentoo-user] python Tkinter

2008-06-13 Thread Kenneth Prugh
On Fri, 13 Jun 2008 12:55:39 +0300
David Harel [EMAIL PROTECTED] wrote:

 Hi,
 
 I need Tkinter: http://wiki.python.org/moin/TkInter .
 In /etc/portage/package.use I added:
 dev-lang/python (-nocxx) (-nothreads) tk
 
 trying the package as explained in Step 1 in the above link:
 $ python
 Python 2.5.1 (r251:54863, Mar 12 2008, 14:21:54)
 [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
 Type help, copyright, credits or license for more information.
   import _tkinter
 Traceback (most recent call last):
   File stdin, line 1, in module
 ImportError: No module named _tkinter
  
 
 Any idea?
 

Uh, the module is called Tkinter, so: import Tkinter

http://docs.python.org/lib/module-Tkinter.html

-- 
Ken69267


signature.asc
Description: PGP signature


Re: [gentoo-user] python Tkinter

2008-06-13 Thread Edward Hades
On Fri, Jun 13, 2008 at 6:13 PM, Kenneth Prugh [EMAIL PROTECTED] wrote:
 Uh, the module is called Tkinter, so: import Tkinter

 http://docs.python.org/lib/module-Tkinter.html

 --
 Ken69267


Tkinter is a high-level interface, _tkinter is a low-level one.

http://docs.python.org/lib/node685.html


-- 
Bill Watterson  - There is not enough time to do all the nothing we
want to do.
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] Thunar and encrypted partitions

2008-06-13 Thread Florian Philipp
Hi list!

I'm trying to get thunar-volman to mount a luks-encrypted partition.
Has anyone ever done it?

I can plug the hard drive in and the first partition (plain NTFS) is
recognized and can be mounted. The second partition (Ext3 on luks),
however, is completely ignored. If I execute thunar-volman
--device-added with the hal udi, nothing happens, no message, no
nothing.

Thunar is compiled with the crypt-USE flag, of course.

Thanks in advance!

Florian Philipp


signature.asc
Description: PGP signature


Re: [gentoo-user] python Tkinter

2008-06-13 Thread Kenneth Prugh
On Fri, 13 Jun 2008 18:34:34 +0400
Edward Hades [EMAIL PROTECTED] wrote:

 On Fri, Jun 13, 2008 at 6:13 PM, Kenneth Prugh [EMAIL PROTECTED]
 wrote:
  Uh, the module is called Tkinter, so: import Tkinter
 
  http://docs.python.org/lib/module-Tkinter.html
 
  --
  Ken69267
 
 
 Tkinter is a high-level interface, _tkinter is a low-level one.
 
 http://docs.python.org/lib/node685.html
 
 

Alright, I guess I just misunderstood and assumed wrong because that
very page states that the low level interface should never be used
directly.

Although, I suspect now that Tkinter would fail too.

-- 
Ken69267


signature.asc
Description: PGP signature


Re: [gentoo-user] python Tkinter

2008-06-13 Thread Daniel Pielmeier
2008/6/13, David Harel [EMAIL PROTECTED]:
 Hi,

 I need Tkinter: http://wiki.python.org/moin/TkInter .
 In /etc/portage/package.use I added:
 dev-lang/python (-nocxx) (-nothreads) tk

 trying the package as explained in Step 1 in the above link:
 $ python
 Python 2.5.1 (r251:54863, Mar 12 2008, 14:21:54)
 [GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)] on linux2
 Type help, copyright, credits or license for more information.
  import _tkinter
 Traceback (most recent call last):
  File stdin, line 1, in module
 ImportError: No module named _tkinter
 

 Any idea?

Did you update python and forgot running python-updater?

 Python 2.5.1 (r251:54863, Mar 12 2008, 14:21:54)

Maybe you can try a python version which is in the tree 2.5.1 is not
anymore as i can see where 2.5.2 is the current version avaiable in
the tree. Another option would be trying a stable version of python,
afaik 2.4.x ist stable at the moment.
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] ALSA plug device

2008-06-13 Thread Grant
I'm trying to make sure any audio sent to my USB DAC sound card
(snd-usb-audio driver) is 16-bit/44.1khz.  I plan to test with this
syntax:

# cat /root/.asoundrc
pcm.usb_audio {
type hw
card 0
}
pcm.usb_audio_44 {
type plug
slave {
pcm usb_audio
rate 44100
}
}

But I get a problems opening audio device error when writing
mpd.conf like this:

audio_output {
typealsa
nameUSB Monica
deviceusb_audio
}

That is, I can't get it to work even if specifying the hw card, so I
must have a syntax problem.  I do think it's with .asoundrc.  Can
anyone help me out here?

- Grant
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] SOLVED [was: vmware problem]

2008-06-13 Thread David Relson
On Fri, 13 Jun 2008 11:06:01 +0930
Iain Buchanan wrote:

 On Thu, 2008-06-12 at 21:16 -0400, David Relson wrote:
  On Fri, 13 Jun 2008 09:23:51 +0930
  Iain Buchanan wrote:
  
   David - at this point I'd try a couple of things.  Since you've
   upgraded your linux-headers, it's a good idea to recompile your
   system libc, as per the elog message.
   
   Also, since you're getting version error messages, recompile your
   kernel and reboot into it.  Just to make sure, as you've just done
   headers and libc (may be a long shot, but may as well rule it
   out).
   
   Then unload all vm* modules and recompile them also.  (Say no to
   all vmware-config questions first, then second time around say
   yes!).  If it doesn't work, downgrade to a previous version of
   modules and try them. I use vmware-modules-1.0.0.11-r1 because
   that's the only version that works with workstation 4, which I
   have a license for.
   
   Finally, if this all still fails, try with an earlier kernel and
   see if it magically works.  Then you know it's probably a new
   kernal feature thats bugging you!
   
   I hope you have a few spare clock cycles for all this compiling :)
  
  Hi Iain,
  
  I've been using 'uname -r' and its reporting '2.6.25-gentoo-r4'
  matches the module path,
  i.e. /lib/modules/2.6.25-gentoo-r4/misc/vmnet.ko, in the invalid
  module message.  I'm as certain as can be that there's no mismatch
  here.
 
 don't be so sure!  Do you know that you won't get the same message if,
 for example, you used different compilers for the kernel and the
 module? In my experience, this message can appear when the actual
 kernel number is ok, but it's been compiled differently...
 
  Also, I've removed all vm* packages and reinstalled vmware-server
  (and whatever it pulls in, i.e. vmware-modules).  This was done
  after removing all vmware entries from /etc/portage/package*, so
  the vm* packages are all stable versions -- no ~amd64 versions.
  
  Haven't tried rebuilding glibc ...
  
  Instead I've installed the latest stable amd64 versions of 2.6.24
  sources and headers.  The kernel is now being built.  I should know
  before too long whether this helps.
 
 good! Let's see what happens...

I've reverted to 2.6.24, emerged vmware-modules, run vmware-config.pl
and am pleased to report that the vmware-modules are loading without
complaint and that vmware-server is running.

I did _not_ disable CONFIG_MODVERSIONS or rebuild glibc.

Regards,

David
-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] syslog-ng logging problem

2008-06-13 Thread Erik Danielsson

Hello!

I'm unable to get the logging up and running as it should.
I've tried syslog-ng, which seems to be pretty much what I need, but it 
keeps spamming my logs with a weird error message I can't seem to figure 
out.


It fills the logs with

syslog-ng[9533]: Error opening file for writing; filename='/dev/tty12', 
error='Permission denied (13)'


and never stops. It pushes the CPU usage up to almost 100% as well.

What's going on?

Best wishes
Erik
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] syslog-ng logging problem

2008-06-13 Thread Miika Linnapuomi
Sat, 14 Jun 2008 01:24:41 +0200
Erik Danielsson [EMAIL PROTECTED] wrote:

 Hello!
 
 I'm unable to get the logging up and running as it should.
 I've tried syslog-ng, which seems to be pretty much what I need, but
 it keeps spamming my logs with a weird error message I can't seem to
 figure out.
 
 It fills the logs with
 
 syslog-ng[9533]: Error opening file for writing;
 filename='/dev/tty12', error='Permission denied (13)'
 
 and never stops. It pushes the CPU usage up to almost 100% as well.
 
 What's going on?
 
 Best wishes
 Erik

Unsure why it would use 100% cpu, but check that /dev/tty12 exists and
is writable by root. Or you could just remove references to /dev/tty12
in /etc/syslog-ng/syslog-ng.conf

Thanks

Miika


signature.asc
Description: PGP signature


Re: [gentoo-user] syslog-ng logging problem

2008-06-13 Thread Nicolas Sebrecht

Erik Danielsson [EMAIL PROTECTED] a écrit:

 syslog-ng[9533]: Error opening file for writing;
 filename='/dev/tty12', error='Permission denied (13)'

Check '/etc/syslog-ng/syslog-ng.conf'.

You should have thoses lines :
destination console { usertty(root); };
destination console_all { file(/dev/tty12); };

Give us the result of :
$ grep tty /etc/syslog-ng/syslog-ng.conf

$ man syslog-ng.conf

-- 
Nicolas Sebrecht

-- 
gentoo-user@lists.gentoo.org mailing list