[gentoo-user] Re: recompiling vim linked to libncursesw

2005-07-27 Thread Moshe Kaminsky
* Fernando Canizo [EMAIL PROTECTED] [27/07/05 07:15]:
 
 Hi all.
 
 I'm having trouble with my encoding using mutt + vim + utf-8,
 basically mi emails are sent with wrong encoding when *replying*. I've
 tracked the problem, searched, readed FAQs and i found that maybe my
 problem is this: that while mutt is linked to libncursesw (wide
 library) vim is to libncurses (normal), this is the output of ldd:

I find it hard to believe that this is the problem. You say that you can 
use utf8 when you are composing (or writing some other stuff), right? 
What are the values of 'encoding' and 'fileencoding' in vim when 
replying?

Moshe


pgp9ih1XLnlC9.pgp
Description: PGP signature


Re: [gentoo-user] [OT] confusing RE doesn't work in diff

2005-07-27 Thread Zhang Weiwu
Mariusz Pękala wrote:
 On 2005-07-25 17:50:37 +0800 (Mon, Jul), Zhang Weiwu wrote:
   My RE must be wrong but I can hardly successfully match a whole line
   like the below example:
   
   This works:
   [EMAIL PROTECTED]:/tmp$ egrep \b*\/[*].*[*]\/\b* Calendar.php
   /* $Id: class.boalarm.inc.php,v 1.1.1.1 2005/03/18 09:17:36
   dawnlinux Exp $ */
   /* $Id: class.boalarm.inc.php,v 1.11 2004/05/23 14:51:27
   ralfbecker Exp $ */
   
   This doesn't work:
   [EMAIL PROTECTED]:/tmp$ egrep ^\b*\/[*].*[*]\/\b*$ Calendar.php
   
   any hint?
 
 man grep:
 The symbol \b matches the empty string at the edge of a word
 
 It seems that '/' is not considered to be a part of a word.
 
 I suppose you may use ^[[:space:]]*/[*].*[*]/[[:space:]]*$ Calendar.php

Thank you! Your RE suggested does work and I discovered this [[:space:]] pretty 
useful. I missed it in man grep.

However there is another strange behavor. This works:

[EMAIL PROTECTED]:/tmp$ cat header.inc.php
?php
/* $Id: header.inc.php.template,v 1.58 2005/07/08 05:00:14 milosch Exp 
$ */
[EMAIL PROTECTED]:/tmp$ grep ^[[:space:]]*/[*].*[*]/[[:space:]]*$ 
header.inc.php
/* $Id: header.inc.php.template,v 1.58 2005/07/08 05:00:14 milosch Exp 
$ */

And this doesn't work:

[EMAIL PROTECTED]:/tmp$ :empty
[EMAIL PROTECTED]:/tmp$ diff -I ^[[:space:]]*/[*].*[*]/[[:space:]]*$ 
header.inc.php empty
1,2d0
 ?php
   /* $Id: header.inc.php.template,v 1.58 2005/07/08 05:00:14 milosch Exp 
$ */

in man it's being said, 
   -I RE  --ignore-matching-lines=RE
  Ignore changes whose lines all match RE.

I read man grep and it seems there are two sets of RE, extended and basic. But 
it's not mensioned in diff(1) wheather or not diff(1) takes extended or basic 
RE. I am using Debian so it should be gnu diff.

Any thing more to teach me?

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem using genkernel

2005-07-27 Thread Neil Bothwick
On Wed, 27 Jul 2005 07:36:23 +0200, Waldemar Tribus wrote:

 Why? If you are comfortable with configuring your kernel by hand, why
 give up control of the process to a tool that is known to cause
 problems for many people?
 
 Just wanted to follow gentoo 2.4 to 2.6 migration guide, 
 to avoid stipud error which i could make if i would do 
 it by myself :)

In my experience, it's easier to fix your own stupid errors than those
made by an automated system...


-- 
Neil Bothwick

Would a fly without wings be called a walk?


pgpAk2hG8DGx1.pgp
Description: PGP signature


Re: [gentoo-user] [OT] confusing RE doesn't work in diff

2005-07-27 Thread Christoph Gysin

Zhang Weiwu wrote:

[EMAIL PROTECTED]:/tmp$ diff -I ^[[:space:]]*/[*].*[*]/[[:space:]]*$ 
header.inc.php empty
1,2d0
 ?php
   /* $Id: header.inc.php.template,v 1.58 2005/07/08 05:00:14 milosch Exp 
$ */

in man it's being said, 
   -I RE  --ignore-matching-lines=RE

  Ignore changes whose lines all match RE.

I read man grep and it seems there are two sets of RE, extended and basic. But 
it's not mensioned in diff(1) wheather or not diff(1) takes extended or basic 
RE. I am using Debian so it should be gnu diff.


If it's not mentioned, it possibly uses basic regular expressions.

try:

$ diff -I '/\* \$Id.*\$ \*/' header.inc.php empty

Christoph
--
echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: keys that don't create keycodes

2005-07-27 Thread Robert Svoboda
* Iain Buchanan [EMAIL PROTECTED] [2005-07-19 09:10]:
 I have a couple of them!  I've tried all the usual ways of detecting
 them - xev and others that do a similar thing but they just don't
 register as keypresses in any standard way.

did you try lineak (it's in portage)? I think there are others, maybe more
advanced.

http://lineak.sourceforge.net/

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



Re: [gentoo-user] recompiling vim linked to libncursesw

2005-07-27 Thread Philip Webb
050727 Richard Fish wrote:
 Fernando Canizo wrote:
 $ ldd `which vim` | grep curses
 libncurses.so.5 = /lib/libncurses.so.5 (0xb7f98000)
 $ ldd `which mutt` | grep curses
 libncursesw.so.5 = /lib/libncursesw.so.5 (0xb7f8f000)

I too use Mutt + Vim -- ie Gvim --  sometimes Vim + UTF8 (not with Mutt)
 I never have problems.  However, my Mutt doesn't seem to use Curses :

  root: log ldd `which vim` | grep curses
  libncurses.so.5 = /lib/libncurses.so.5 (0xb7f9a000)
  root: log ldd `which mutt` | grep curses
  root: log emerge -pv mutt 
  ...
  [ebuild R ] mail-client/mutt-1.5.8-r2 
   -buffysize -cjk +crypt -imap -mbox -nls -nntp -sasl +slang +ssl -vanilla

-- 
,,
SUPPORT ___//___,  Philip Webb : [EMAIL PROTECTED]
ELECTRIC   /] [] [] [] [] []|  Centre for Urban  Community Studies
TRANSIT`-O--O---'  University of Toronto
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recompiling vim linked to libncursesw

2005-07-27 Thread Thomas Dickey
On Wed, Jul 27, 2005 at 01:12:23AM -0300, Fernando Canizo wrote:
 Hi all.
 
 I'm having trouble with my encoding using mutt + vim + utf-8,
 basically mi emails are sent with wrong encoding when *replying*. I've
 tracked the problem, searched, readed FAQs and i found that maybe my
 problem is this: that while mutt is linked to libncursesw (wide
 library) vim is to libncurses (normal), this is the output of ldd:

It won't matter for vim.  vim is a termcap application, and is doing the
interpretation of locales by itself.  The distinction between ncurses and
ncursesw only applies to curses applications.  (ncurses provides low-level
interfaces for termcap and terminfo applications).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpzFJhxYDQxj.pgp
Description: PGP signature


Re: [gentoo-user] recompiling vim linked to libncursesw

2005-07-27 Thread Fernando Canizo
El Wed, Jul 27, 2005 at 07:08:27AM +0200, Richard Fish me decía:
 Fernando Canizo wrote:
 I'm having trouble with my encoding using mutt + vim + utf-8,
  [snip]
 Hmm, tough one.  I don't see any way to configure vim specifically for 
 ncursesw.  Your best bet may be to try and fake out the dynamic linker 
 and tell it to use libncursesw instead of libncurses for vim.
 
 ln -s /lib/libncursesw.so.5 /etc/vim/libncurses.so.5
 LD_LIBRARY_PATH=/etc/vim ldd /usr/bin/vim
 LD_LIBRARY_PATH=/etc/vim vim
 
 If vim seems sane, then exporting LD_LIBRARY_PATH before starting mutt 
 should resolve the problem (assuming that the problem really is in the 
 type of ncurses...)

Thanks Richard, but didn't work. And now i'm not so sure that this
could ve the problem, after all i can create some file without problem
in vim, put some accents and view ok after, and file says it's utf-8.

I'll gonna rephrase my problem giving more info.

-- 
Fernando Canizo - LUGMen: www.lugmen.org.ar - A8N: a8n.lugmen.org.ar
Maybe I should just cut my losses, give up on Lisa, and make a fresh
start with Maggie.

-- Homer Simpson
   Lisa's Pony
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recompiling vim linked to libncursesw

2005-07-27 Thread Fernando Canizo
El Wed, Jul 27, 2005 at 04:38:42AM -0400, Philip Webb me decía:
 050727 Richard Fish wrote:
  Fernando Canizo wrote:
  $ ldd `which vim` | grep curses
  libncurses.so.5 = /lib/libncurses.so.5 (0xb7f98000)
  $ ldd `which mutt` | grep curses
  libncursesw.so.5 = /lib/libncursesw.so.5 (0xb7f8f000)
 
 I too use Mutt + Vim -- ie Gvim --  sometimes Vim + UTF8 (not with Mutt)
  I never have problems.  However, my Mutt doesn't seem to use Curses :
 
   root: log ldd `which vim` | grep curses
   libncurses.so.5 = /lib/libncurses.so.5 (0xb7f9a000)
   root: log ldd `which mutt` | grep curses
   root: log emerge -pv mutt 
   ...
   [ebuild R ] mail-client/mutt-1.5.8-r2 
-buffysize -cjk +crypt -imap -mbox -nls -nntp -sasl +slang +ssl -vanilla

Yes, i have it that way before, and the same problem. But then i see
the mutt FAQ (http://wiki.mutt.org/index.cgi?MuttFaq/Charset) which says:

Default Slang seems not to work with UTF-8, relink Mutt against
libncursesw. (Hello Gentoo users :-)

So, maybe this is an old issue, but the first step i choose to do was
to relink to ncurses and give up slang, that way i don't have to keep
an eye on versions and stuff, in fact only mutt was using slang on my
system, so nothing is missed.

Besides, the problem already was there when using slang.

-- 
Fernando Canizo - LUGMen: www.lugmen.org.ar - A8N: a8n.lugmen.org.ar
panic (Splunge!);
linux-2.2.16/drivers/scsi/psi240i.c
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] how to deploy a video lab?

2005-07-27 Thread simply change
friend David,

first of all thank you very much for your co-operation.

so i don't want to try out MASKED cinelerra video editor. you tell me to use the best one. 
On 7/27/05, David Miller [EMAIL PROTECTED] wrote:
Last time I tried Cinelerra it was not what I would call productionready and feature wise it can not replace Premier.However if youwant to test it out see the following link for instructions on how touse portage and correctly deal with masked packages.
http://gentoo-wiki.com/HOWTO_Use_Portage_CorrectlyIn short you can do the following and then emerge normally.echo media-video/cinelerra ~x86  /etc/portage/package.keywords
--DavidOn 7/26/05, simply change [EMAIL PROTECTED] wrote: AybOwan! (=welcome) dear lu_zero,im
a Sinhalease from Sri lanka. i have a small company here in lanka
(video filming company ex:- wedding, parties filming). my editing tools
are Adobe Premeir,after effect, etc like propriatary software.so now i
want to fully migrate to Gentoo Linux. today i just try to emerge
Cinelerra to my Gentoo box but it has been Masked. so friends please be
kind enought to advice me to setting up a full professional video lab
using Gentoo Linux. -- ... The future lies ahead.___  Have you mooed today? --- \^__^
\ (oo) \___(__)
\
)\/\
||--w|
|| || Gentoo Linux 2.6.12-gentoo-r4-Adapt-v1.1#--gentoo-user@gentoo.org mailing list-- 
...The future lies ahead. ___ Have you mooed today?  ---\^__^ \ (oo) \___
(__)
\
)\/\||--w|||
||Gentoo Linux 2.6.12-gentoo-r4-Adapt-v1.1#


Re: [gentoo-user] how to deploy a video lab?

2005-07-27 Thread simply change
friend nick,

mainActor wants a serial no to work without the watermark sign. so anything have to...On 7/27/05, Nick Rout [EMAIL PROTECTED]
 wrote:better still install main actor. heres how I did it:1. Go to 
http://mainconcept.com and download the SuSE rpm. The file Idownloaded is mainactor-5.5.7-suse_9.3.i686.rpm2. emerge rpm if it is not already on your system3. install mainactor:rpm -Uvh --nodeps 
mainactor-5.5.7-suse_9.3.i686.rpm4. run the binary:mactor5. There is a good manual for downloading in pdf format. It is worthreading. There are also support forums.This is a closed source package, but it is IMHO very good. It will
work as per a licensed copy except it renders a message on your videowhen doing final rendering. You can therefore get a good idea of what itdoes, without the normal shareware die after 30 days or render only
up to two minutes nonsense. The license is EUR177/USD199. Not supercheap, but there is not a lot of choice of good video editing softwareon linux.kino is quite good, but limited in the file formats it will handle,
basically dv (ie as captured from a digital video camera). it willrender to other formats, but will only import a rather limited range.cinelerra should be good but is almost document-less.avidemux is a good front end for basic cutting of scenes and trancoding
to other formats, but doesn't have any ability to add effects or transitions,so is not a real video editor of the sort you want. Its good forbringing in a video track (eg recorded tv), cutting out the bits you
don't want (ads, start  finish overlap, sex etc) and then rendering tosomething like xvid, although it will render toDVD compatible mpeg2too. You may want to present clients with well mastered dvd's once you have
edited the scenes and added transitions and a soundtrack. I know thatsome winders products offer a suite which does everything from DV camera importthrough to burning the DVD. The linux approach will require more mix and
match, especially putting together DVD menus and stuff which willrequire a tool like dvdstyler.I have successfully used dvdstyler to makedvd's of family movies, recorded TV etc complete with menus.One thing to note too is that there is a bit of a trend for cameras to
take mpeg or avi files instead of the more tradition digital video camDV format, It would pay to make sure that you will be able to use yourraw material in whatever software you decide to use. There are all sorts
of possibilities for transcoding stuff to a usable format before youedit it, but the more steps you put in the process the more quality youcan lose.On Tue, 26 Jul 2005 16:44:46 -0400David Miller wrote:
 Last time I tried Cinelerra it was not what I would call production ready and feature wise it can not replace Premier.However if you want to test it out see the following link for instructions on how to
 use portage and correctly deal with masked packages. http://gentoo-wiki.com/HOWTO_Use_Portage_Correctly In short you can do the following and then emerge normally.
 echo media-video/cinelerra ~x86  /etc/portage/package.keywords -- David On 7/26/05, simply change [EMAIL PROTECTED]
 wrote:  AybOwan! (=welcome)   dear lu_zero, 
im a Sinhalease from Sri lanka. i have a small company
here in lanka (video filming company ex:- wedding, parties filming). my
editing tools are Adobe Premeir,after effect, etc like propriatary
software.so now i want to fully migrate to Gentoo Linux. today i just
try to emerge Cinelerra to my Gentoo box but it has been Masked. so
friends please be kind enought to advice me to setting up a full
professional video lab using Gentoo Linux.   --  ...  The future lies ahead. ___   Have you mooed today? 
 ---  \^__^ \ (oo) \___
(__)
\
)\/\

||--w|

|| ||   Gentoo Linux 2.6.12-gentoo-r4-Adapt-v1.1# -- gentoo-user@gentoo.org mailing list--Nick RoutBarrister  Solicitor
ChristchurchContact details at http://www.rout.co.nz[EMAIL PROTECTED]--gentoo-user@gentoo.org
 mailing list-- ...The future lies ahead. ___ Have you mooed today?  ---\^__^
 \ (oo) \___
(__)
\
)\/\||--w|||
||Gentoo Linux 2.6.12-gentoo-r4-Adapt-v1.1#


Re: [gentoo-user] PS/2 mouse not working

2005-07-27 Thread smoke3
_MY_ mouse is not going to be thrown in the trash...
I did find that  on Knoppyx 3.2 the mouse work properly and I can

cat /dev/proc/psaux

with some jibberish on mouse moving.

So, what's the solution

S.G.


-- 
You can't learn what you think you know.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Error Emerging Liferea 0.9.2

2005-07-27 Thread Zac Medico

Ow Mun Heng wrote:

ui_feedlist.o(.text+0x227d): In function `ui_feedlist_dbus_connect':
: undefined reference to `dbus_bus_acquire_service'
collect2: ld returned 1 exit status
make[3]: *** [liferea-bin] Error 1
make[3]: Leaving directory
`/mnt/data/Gentoo-Tmp/portage/liferea-0.9.2/work/liferea-0.9.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/mnt/data/Gentoo-Tmp/portage/liferea-0.9.2/work/liferea-0.9.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/mnt/data/Gentoo-Tmp/portage/liferea-0.9.2/work/liferea-0.9.2'


ANy ideas?




Are you using dbus from the gentopia overlay?  I've noticed that many apps are 
not compatible with the newer versions of dbus.

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



Re: [gentoo-user] Re: recompiling vim linked to libncursesw

2005-07-27 Thread Fernando Canizo
El Wed, Jul 27, 2005 at 09:04:29AM +0300, Moshe Kaminsky me decía:
 * Fernando Canizo [EMAIL PROTECTED] [27/07/05 07:15]:
  
  Hi all.
  
  I'm having trouble with my encoding using mutt + vim + utf-8,
  basically mi emails are sent with wrong encoding when *replying*. I've
  tracked the problem, searched, readed FAQs and i found that maybe my
  problem is this: that while mutt is linked to libncursesw (wide
  library) vim is to libncurses (normal), this is the output of ldd:
 
 I find it hard to believe that this is the problem. You say that you can 
 use utf8 when you are composing (or writing some other stuff), right? 
 What are the values of 'encoding' and 'fileencoding' in vim when 
 replying?
 Moshe

Like i said to Richard, maybe you're right. I mean: i can write an
utf-8 file from scratch using vim alone, so why would not when
invoking vim from mutt? Maybe is that mutt is telling vim something
incorrect when they communicate.

Well, i'll give more information, but this gonna grow large ;)

Reading the mutt FAQ (http://wiki.mutt.org/index.cgi?MuttFaq/Charset)
and checking everything is ok:

locale seems to be ok:
~$ locale
LANG=es_AR.utf-8
LC_CTYPE=es_AR.utf-8
LC_NUMERIC=es_AR.utf-8
LC_TIME=es_AR.utf-8
LC_COLLATE=es_AR.utf-8
LC_MONETARY=es_AR.utf-8
LC_MESSAGES=es_AR.utf-8
LC_PAPER=es_AR.utf-8
LC_NAME=es_AR.utf-8
LC_ADDRESS=es_AR.utf-8
LC_TELEPHONE=es_AR.utf-8
LC_MEASUREMENT=es_AR.utf-8
LC_IDENTIFICATION=es_AR.utf-8
LC_ALL=es_AR.utf-8

the locales settings are supported:
~$ locale -a
C
es_AR
es_AR.utf8
POSIX

checking if the locales work with perl:
~$ perl -e 
ok doesn't show anything

checking if perl is doing the right things by setting an erroneous
locale:
~$ env LC_ALL=nocharset perl -e 
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = es_AR.utf-8,
LC_ALL = nocharset,
LC_CTYPE = es_AR.utf-8,
LANG = es_AR.utf-8
are supported and installed on your system.
perl: warning: Falling back to the standard locale (C).

ok, it cries, so it's working ok

my ~/.signature is in utf-8, my ~/.alias is too

i got this in my ~/.vimrc:
set encoding=utf-8
set fileencoding=utf-8
set termencoding=utf-8

and when mutt invokes vim i re-check that this is ok, and is ok (i
mean i check in runtime and it obbeys the configuration)

i got this in my ~/.muttrc:
set send_charset=us-ascii:utf-8
set charset=utf-8
set locale=es_AR.utf8

from the mutt man i know this settings should not be necessary, since
the system is configured ok, but i try with and without and get no
difference.

Ok, that's all concerning configuration. Now i tell you how the
problem works: in mutt, if i compose a mail from scratch, without
anything, not even signature, and put a LATIN SMALL LETTER A WITH
ACUTE (got that name from unicode chart), and then send it to myself,
and to a friend, my friend sees it ok and i too.

But if now i reply to this same mail, when vim comes with the quoted
text that mutt passes to it y see garbage.

So mutt is ok seeing and sending utf-8, vim is ok writing and reading
utf-8, but when both cooperate, things get screwed.

I investigate what was in the archives, so i saved a copy (using 'C'
command from mutt) of the first message (the one i receive from me)
and file says: 'UTF-8 Unicode mail text', check what's inside with
hexedit and see that LATIN SMALL LETTER A WITH ACUTE is encoded with
this hex: C3 A1 (which is not 00 E1 from unicode chart from
http://www.unicode.org/charts/)

Then i got that same mail and press 'r' from mutt to respond, comes
vim with garbled text, and without touching anything i save it under
some other name, and then cancel message, file in this saved text
gives me: 'UTF-8 Unicode text', but when i see inside with hexedit, i
got this hex for the same letter: C3 83 C2 A1, so now i have 4 bytes
instead of the too before. So vim-mutt (?) is re-encoding the stuff.

Like i said before, checking in vim when called from mutt for enc, and
fenc gives utf-8 like it should.

I create a file with vim to check this differences with the unicode
chart and i got C3 A1 too, so maybe the problem is with vim, it should
put 00 E1 for LATIN SMALL LETTER A WITH ACUTE.

Well, that's all i remember to have done for this problem. I'm with
this for 4 months now, i think, i took the problem, get tired of
searching and testing stuff, leave for a month, get to charge again,
and so on. But now i really want to solve it.

I think i'm going to crosspost this to vim and mutt mailing lists. But
if someone here knows how to solve this, i appreciate any help, tip,
direction to look or search, or maybe praying would do the job. 

Linking after build vim to libncursesw the way Richard say a couple of
mails before didn't solve it. If there is a way to say to emerge that
link vim to this library from the beginning i would like to try it.

Besides if anyone knows how to get which programs are using a library
(i have done it before, but at this time my 

Re: [gentoo-user] recompiling vim linked to libncursesw

2005-07-27 Thread Fernando Canizo
El Wed, Jul 27, 2005 at 05:59:53AM -0400, Thomas Dickey me decía:
 On Wed, Jul 27, 2005 at 01:12:23AM -0300, Fernando Canizo wrote:
  Hi all.
  
  I'm having trouble with my encoding using mutt + vim + utf-8,
  basically mi emails are sent with wrong encoding when *replying*. I've
  tracked the problem, searched, readed FAQs and i found that maybe my
  problem is this: that while mutt is linked to libncursesw (wide
  library) vim is to libncurses (normal), this is the output of ldd:
 
 It won't matter for vim.  vim is a termcap application, and is doing the
 interpretation of locales by itself.  The distinction between ncurses and
 ncursesw only applies to curses applications.  (ncurses provides low-level
 interfaces for termcap and terminfo applications).

But vim is linked against libncurses, doesn't make it a 'curses
application' ?

-- 
Fernando Canizo - LUGMen: www.lugmen.org.ar - A8N: a8n.lugmen.org.ar
QOTD:
There may be no excuse for laziness, but I'm sure looking.
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: recompiling vim linked to libncursesw

2005-07-27 Thread Moshe Kaminsky
Hi,
* Fernando Canizo [EMAIL PROTECTED] [27/07/05 14:14]:
 
 El Wed, Jul 27, 2005 at 09:04:29AM +0300, Moshe Kaminsky me decía:
  * Fernando Canizo [EMAIL PROTECTED] [27/07/05 07:15]:
   
   Hi all.
   
   I'm having trouble with my encoding using mutt + vim + utf-8,
   basically mi emails are sent with wrong encoding when *replying*. I've
   tracked the problem, searched, readed FAQs and i found that maybe my
   problem is this: that while mutt is linked to libncursesw (wide
   library) vim is to libncurses (normal), this is the output of ldd:
  
  I find it hard to believe that this is the problem. You say that you can 
  use utf8 when you are composing (or writing some other stuff), right? 
  What are the values of 'encoding' and 'fileencoding' in vim when 
  replying?
  Moshe
 
 Like i said to Richard, maybe you're right. I mean: i can write an
 utf-8 file from scratch using vim alone, so why would not when
 invoking vim from mutt? Maybe is that mutt is telling vim something
 incorrect when they communicate.
 
 Well, i'll give more information, but this gonna grow large ;)
 
[snip]
 
 checking if the locales work with perl:
 ~$ perl -e 
 ok doesn't show anything

That's one use of perl I never thought about :)
 
 checking if perl is doing the right things by setting an erroneous
 locale:
 ~$ env LC_ALL=nocharset perl -e 
 perl: warning: Setting locale failed.
 perl: warning: Please check that your locale settings:
   LANGUAGE = es_AR.utf-8,
   LC_ALL = nocharset,
   LC_CTYPE = es_AR.utf-8,
   LANG = es_AR.utf-8
 are supported and installed on your system.
 perl: warning: Falling back to the standard locale (C).
 
 ok, it cries, so it's working ok
 
 my ~/.signature is in utf-8, my ~/.alias is too
 
 i got this in my ~/.vimrc:
 set encoding=utf-8
 set fileencoding=utf-8

Please try removing this setting, then check the value after vim reads 
the file (when you reply). Vim sets this option when editing an existing 
file according to what it thinks the encoding of the file to be. Also, 
you might want to try something like

:e ++enc=utf-8 file

This will force vim to read this file as a utf-8 file. Also, what is the 
value of 'fileencodings'?

 set termencoding=utf-8
 
 and when mutt invokes vim i re-check that this is ok, and is ok (i
 mean i check in runtime and it obbeys the configuration)
 
 i got this in my ~/.muttrc:
 set send_charset=us-ascii:utf-8

Might want to try just utf-8, but I don't think it will matter.

 set charset=utf-8
 set locale=es_AR.utf8
 
 from the mutt man i know this settings should not be necessary, since
 the system is configured ok, but i try with and without and get no
 difference.
 
 Ok, that's all concerning configuration. Now i tell you how the
 problem works: in mutt, if i compose a mail from scratch, without
 anything, not even signature, and put a LATIN SMALL LETTER A WITH
 ACUTE (got that name from unicode chart), and then send it to myself,
 and to a friend, my friend sees it ok and i too.
 
 But if now i reply to this same mail, when vim comes with the quoted
 text that mutt passes to it y see garbage.

Can you include one of this characters in your reply?

 
 So mutt is ok seeing and sending utf-8, vim is ok writing and reading
 utf-8, but when both cooperate, things get screwed.
 
 I investigate what was in the archives, so i saved a copy (using 'C'
 command from mutt) of the first message (the one i receive from me)
 and file says: 'UTF-8 Unicode mail text', check what's inside with
 hexedit and see that LATIN SMALL LETTER A WITH ACUTE is encoded with
 this hex: C3 A1 (which is not 00 E1 from unicode chart from
 http://www.unicode.org/charts/)

I think this is just the way these characters are represented in utf-8.

Moshe


pgpJzPzJfarsh.pgp
Description: PGP signature


Re: Re: [gentoo-user] I thought /etc/X11/xorg.conf was set in stone

2005-07-27 Thread brettholcomb
That's good to know.  I had missed that part of it.  So far it just worked G.

 
 From: George Roberts [EMAIL PROTECTED]
 Date: 2005/07/26 Tue PM 11:28:41 EDT
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] I thought /etc/X11/xorg.conf was set in stone
 
 According to the man xorg.conf the search paths are different depending 
 who is starting X.  If X is started by a user the search paths are not 
 as extensive as if X is started by root.  If root was the one to start X 
 then it could be able to pick up the xorg.conf I had stashed in the / 
 folder.
 The sudden switch from my /etc/X11/xorg.conf to /xorg.conf is what 
 triggered my confusion.
 
 
 Brett I. Holcomb wrote:
 
  My understanding is that X searches the path given in xorg.conf 
  irregardless of who starts it but I may be wrong.  I use xdm, not gdm.
 
  On Tue, 26 Jul 2005, George Roberts wrote:
 
  Brett I. Holcomb wrote:
 
   Check man xorg.conf and it will give you the locations searched for 
   xorg.conf.
 
 
   On Tue, 26 Jul 2005, George Roberts wrote:
 
I have noticed in the last couple days that rolling the wheel on 
  my   mouse is
 
 
   Snip
 
I was under the impression that the folder /etc/X11is the folder 
  only   scanned and used.  That is why I put the backup copy there.  
  My question
 
 
Thanks
   
 
  Thanks, it seems the system searchs farther than I understood.  Based 
  on what I have read on gdm, the X server is started by a 
  non-privliged user, to avoid possiblities of exploition of the system 
  via the login area.  If this is in fact true then the search for the 
  xorg.conf file would be limited to the /usr or /etc folders, not the 
  / folder.
  Does there need to be an update to the man file, or is this a 
  undocumented feature?
 
 
 
 -- 
 gentoo-user@gentoo.org mailing list
 
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recompiling vim linked to libncursesw

2005-07-27 Thread Thomas Dickey
On Wed, Jul 27, 2005 at 08:11:05AM -0300, Fernando Canizo wrote:
 But vim is linked against libncurses, doesn't make it a 'curses
 application' ?

no.  A curses application calls initscr() or newterm(), uses the curses
library to perform optimized display updates.  A termcap application
calls tgetent(), and uses tputs() or tgoto() to write strings directly
to the display.

Since vim is a termcap application, you could in principle link it with
libtermcap without seeing any difference in vim's functionality.

There are some applications that can be configured (compiled) for any of
these interfaces:

termcap
terminfo
curses (ncurses)
ncursesw

tin and vile do this, for example.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpN9nQMVZTS9.pgp
Description: PGP signature


Re: [gentoo-user] Re: recompiling vim linked to libncursesw

2005-07-27 Thread Andreas Claesson
On 7/27/05, Moshe Kaminsky [EMAIL PROTECTED] wrote:
 Hi,
 * Fernando Canizo [EMAIL PROTECTED] [27/07/05 14:14]:
snip
  I investigate what was in the archives, so i saved a copy (using 'C'
  command from mutt) of the first message (the one i receive from me)
  and file says: 'UTF-8 Unicode mail text', check what's inside with
  hexedit and see that LATIN SMALL LETTER A WITH ACUTE is encoded with
  this hex: C3 A1 (which is not 00 E1 from unicode chart from
  http://www.unicode.org/charts/)
 
 I think this is just the way these characters are represented in utf-8.

Yes, it is.

00E1 hex is '000 1111' in binary.

When encoding this as UTF-8 this value is stored in two bytes.

The last byte will begin with '10' followed by the last 6 bits of data. 

'10 11' binary or 'A1' in hex.

The first byte will begin with '110' to indicate that it is a two byte 
character followed by the remaining significant data. 

'110 00011' binary or 'C3' hex.

This is correct.

The problem seem to be that mutt(?) takes this UTF-8 encoded data
and encodes as UTF-8 again as if the data was two 8 bit characters.
 
'C3' then becomes 'C3 83' and 'A1' becomes 'C2 A1' 


/Andreas

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GDM restarts citing lderror: missing pam_console.so after running et

2005-07-27 Thread Chris Fairles

Oddly enough, if I run et like this

et  et.log 21

it runs fine and gdm does not restart itself.

heres a snip from the log at least where I *think* it was failing 
before... it tries to run a tty console which pam does not like, why?


--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: dsotm
IP: 127.0.0.1
Started tty console (use +set ttycon 0 to disable)

thnx,
chris


Chris Fairles wrote:


Ran a emerge -NDuva world, updated a bunch of gnome stuff.
gnome-base/gnome-2.10-r1 and deps and
gnome-base/gdm-2.6.0.9-r2

Launching et (enemey territory) gives (in /var/log/messages)
Jul 26 22:58:13 dsotm gdm[23200]: PAM unable to 
dlopen(/lib/security/pam_console.so)
Jul 26 22:58:13 dsotm gdm[23200]: PAM [dlerror: 
/lib/security/pam_console.so: cannot open shared object file: No such 
file or directory]
Jul 26 22:58:13 dsotm gdm[23200]: PAM adding faulty module: 
/lib/security/pam_console.so
Jul 26 22:58:15 dsotm gdm(pam_unix)[23200]: session opened for user 
chris by (uid=0)
Jul 26 22:58:23 dsotm su(pam_unix)[23301]: session opened for user 
root by (uid=1000)

Jul 26 23:00:35 dsotm su(pam_unix)[23301]: session closed for user root
Jul 26 23:00:39 dsotm gdm[23200]: gdm_slave_xioerror_handler: Fatal X 
error - Restarting :0

Jul 26 23:00:39 dsotm gdm(pam_unix)[23200]: session closed for user chris

gdm restarts  no game

I've tried commenting out all of
dsotm ~ # grep console /etc/pam.d/*
/etc/pam.d/gdm:session optional /lib/security/pam_console.so
/etc/pam.d/gdm-autologin:session optional /lib/security/pam_console.so
/etc/pam.d/xdm:session optional pam_console.so
/etc/pam.d/xserver:# Next line you need console ownership to be able 
to start X

/etc/pam.d/xserver:#auth required pam_console.so

restarting gdm, even rebooting, same error as above.

tried setting USE=pam_console emerge -Nva pam ... adding the login 
pam_console, uncommenting all of the above lines, i just get the
Jul 26 22:41:05 dsotm gdm[8000]: gdm_slave_xioerror_handler: Fatal X 
error - Restarting :0



i'm almost ready to USE=-pam emerge -e world ...

chris



--
gentoo-user@gentoo.org mailing list



[gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-27 Thread Richard Watson
Can anyone tell me if it's possible to move (or copy) the complete contents
of /boot located on /dev/hdb1 to /dev/hda2. If so would anyone know the
correct command so I pick up any hidden files ,etc.

--
Thanks, Richard

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 25/07/2005
 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: recompiling vim linked to libncursesw

2005-07-27 Thread Fernando Canizo
El Wed, Jul 27, 2005 at 02:45:27PM +0300, Moshe Kaminsky me dec�a:
  i got this in my ~/.vimrc:
  set encoding=utf-8
  set fileencoding=utf-8
 
 Please try removing this setting, then check the value after vim reads 
 the file (when you reply). Vim sets this option when editing an existing 
 file according to what it thinks the encoding of the file to be. Also, 
 you might want to try something like

A-jh�! I remove those settings from mi ~/.vimrc and when replying to a
mail that contains utf-8 (some mail that i sent myself) i get:
encoding=utf-8
but:
fileencoding=latin1

So, mutt is showing correctly an utf-8 mail, but when it creates the
quoted mail for reply in /tmp is giving vim a recoded file.

I think... is that? So, what's happening here?

 :e ++enc=utf-8 file

don't know how to use this from the call from mutt

 This will force vim to read this file as a utf-8 file. Also, what is the 
 value of 'fileencodings'?

fileencodings=ucs-bom,utf-8,latin1,default

i already have tried with
fileencodings=utf-8
only and the problem stays.

  i got this in my ~/.muttrc:
  set send_charset=us-ascii:utf-8
 
 Might want to try just utf-8, but I don't think it will matter.

Oh, no, i already tried it, i put before:
set send_charset=utf-8
set send_charset=us-ascii:iso-8859-1:utf-8
and the problem stays too.

  Ok, that's all concerning configuration. Now i tell you how the
  problem works: in mutt, if i compose a mail from scratch, without
  anything, not even signature, and put a LATIN SMALL LETTER A WITH
  ACUTE (got that name from unicode chart), and then send it to myself,
  and to a friend, my friend sees it ok and i too.
  
  But if now i reply to this same mail, when vim comes with the quoted
  text that mutt passes to it y see garbage.
 
 Can you include one of this characters in your reply?

Yes!
In the next line a LATIN SMALL LETTER A WITH ACUTE:
�
But you should see that ok, now if i reply to that message, when it
reaches me through the list, i will send this stuff:
á
which seems to be (not sure about this) the codification of the two
bytes of the LATIN SMALL LETTER A WITH ACUTE but un latin1.

Why is that? I don't know.

  I investigate what was in the archives, so i saved a copy (using 'C'
  command from mutt) of the first message (the one i receive from me)
  and file says: 'UTF-8 Unicode mail text', check what's inside with
  hexedit and see that LATIN SMALL LETTER A WITH ACUTE is encoded with
  this hex: C3 A1 (which is not 00 E1 from unicode chart from
  http://www.unicode.org/charts/)
 
 I think this is just the way these characters are represented in utf-8.

Yes it is. I were looking at the worng charts, the same was said to me in
the vim list.
-- 
Fernando Canizo - LUGMen: www.lugmen.org.ar - A8N: a8n.lugmen.org.ar
Jacquin's Postulate on Democratic Government:
No man's life, liberty, or property are safe while the
legislature is in session.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: recompiling vim linked to libncursesw

2005-07-27 Thread Fernando Canizo
El Wed, Jul 27, 2005 at 02:39:58PM +0200, Andreas Claesson me dec�a:
 The problem seem to be that mutt(?) takes this UTF-8 encoded data
 and encodes as UTF-8 again as if the data was two 8 bit characters.
  
 'C3' then becomes 'C3 83' and 'A1' becomes 'C2 A1' 

Yes!, yes! something like that is happening (maybe is re-encoding in
latin1, but you seem to be the master of encodings, so sure i'm wrong
with this), but i don't know what to do about.

-- 
Fernando Canizo - LUGMen: www.lugmen.org.ar - A8N: a8n.lugmen.org.ar
See you in hell, candy boys!!

-- Homer Simpson
   Homer Badman
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: recompiling vim linked to libncursesw

2005-07-27 Thread Matan Peled
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Fernando Canizo wrote:
 Yes!
 In the next line a LATIN SMALL LETTER A WITH ACUTE:
 �
This doesn't seem to be UTF-8 (I get a box in UTF-8 mode,)
but it looks OK in latin-1.
 But you should see that ok, now if i reply to that message, when it
 reaches me through the list, i will send this stuff:
 á
Now this looks like UTF-8.
 which seems to be (not sure about this) the codification of the two
 bytes of the LATIN SMALL LETTER A WITH ACUTE but un latin1.

- --
[Name  ]   ::  [Matan I. Peled]
[Location  ]   ::  [Israel]
[Public Key]   ::  [0xD6F42CA5]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFC54MGA7Qvptb0LKURAknKAJ9a97ZLS6r16JmNYUjauD5yoepWWgCePt8g
cPcyu0FqLM9xtTO5eUZU8sU=
=guht
-END PGP SIGNATURE-
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with esound

2005-07-27 Thread Matan Peled
Martin Larsson wrote:
 I'm running an emerge -avDu world, and portage wants to upgrade
 my esound to 0.2.36-r1 (from 0.2.34). However, this creates an error:
 
 jw -f docbook -b html -o html ./esound.sgml
 Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
 Using stylesheet: /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#html
 Working on: 
 /var/tmp/portage/esound-0.2.36-r1/work/esound-0.2.36/docs/./esound.sgml
 jade: error while loading shared libraries: libosp.so.3: cannot open
 shared object file: No such file or directory
 make[2]: *** [html/index.html] Error 8
 
 
 Which should be right, as the only libosp I have is libosp.so.4.
 
 Trying to emerge docbook-sgml-utils (for jw) gives the same result.
 
 Could this have something with me upgrading to gcc-3.4.4
 from gcc-3.3.4 the other day? If so, what do I need to re-emerge?
 
 M.
 

try revdep-rebuild.

-- 
[Name  ]   ::  [Matan I. Peled]
[Location  ]   ::  [Israel]
[Public Key]   ::  [0xD6F42CA5]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Problems with esound

2005-07-27 Thread Matan Peled
Martin Larsson wrote:
 I'm running an emerge -avDu world, and portage wants to upgrade
 my esound to 0.2.36-r1 (from 0.2.34). However, this creates an error:
 
 jw -f docbook -b html -o html ./esound.sgml
 Using catalogs: /etc/sgml/sgml-docbook-3.1.cat
 Using stylesheet: /usr/share/sgml/docbook/utils-0.6.12/docbook-utils.dsl#html
 Working on: 
 /var/tmp/portage/esound-0.2.36-r1/work/esound-0.2.36/docs/./esound.sgml
 jade: error while loading shared libraries: libosp.so.3: cannot open
 shared object file: No such file or directory
 make[2]: *** [html/index.html] Error 8
 
 
 Which should be right, as the only libosp I have is libosp.so.4.
 
 Trying to emerge docbook-sgml-utils (for jw) gives the same result.
 
 Could this have something with me upgrading to gcc-3.4.4
 from gcc-3.3.4 the other day? If so, what do I need to re-emerge?
 
 M.
 

try revdep-rebuild.
its in app-portage/gentoolkit.

-- 
[Name  ]   ::  [Matan I. Peled]
[Location  ]   ::  [Israel]
[Public Key]   ::  [0xD6F42CA5]
[Keyserver ]   ::  [keyserver.kjsl.com]
encrypted/signed  plain text  preferred



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-27 Thread Jakub Krajcovic
Well, if not sure about the syntax, why don't you just use midnight 
commander?


Although i do not quite understand what you are saying: (copy from 
/dev/hdb1 to /dev/hda2) - do you mean,: copy from /dev/hdb1 that is 
mounted on /mountpoint1 to /dev/hda2 that is mounted on mountpoint 
/mountpoint2?


If that is the case, then a simple: cp -R /boot /new-boot-location
should do it.


s pozdravom
jakub krajcovic


On júl 27, 2005, at 14:53, Richard Watson wrote:

Can anyone tell me if it's possible to move (or copy) the complete 
contents

of /boot located on /dev/hdb1 to /dev/hda2. If so would anyone know the
correct command so I pick up any hidden files ,etc.

--
Thanks, Richard

--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 
25/07/2005



--
gentoo-user@gentoo.org mailing list




--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recompiling vim linked to libncursesw

2005-07-27 Thread Fernando Canizo
El Wed, Jul 27, 2005 at 08:27:12AM -0400, Thomas Dickey me dec�a:
 On Wed, Jul 27, 2005 at 08:11:05AM -0300, Fernando Canizo wrote:
  But vim is linked against libncurses, doesn't make it a 'curses
  application' ?
 
 no.  A curses application calls initscr() or newterm(), uses the curses
 library to perform optimized display updates.  A termcap application
 calls tgetent(), and uses tputs() or tgoto() to write strings directly
 to the display.
 
 Since vim is a termcap application, you could in principle link it with
 libtermcap without seeing any difference in vim's functionality.
 
 There are some applications that can be configured (compiled) for any of
 these interfaces:
 
   termcap
   terminfo
   curses (ncurses)
   ncursesw
 
 tin and vile do this, for example.

Cool, so i can discard that the problem comes from vim + libncurses.

In other mails from the thread we've reached to the point of knowing
that mutt is reencoding the chars. Since you seem to know about
libraries and calls to functions, do you know a method to track this
issue? I've been thinking maybe an strace to mutt, but y don't know
what to search for, and strace gives lots of info.

So the question is: what would you do to track this problem?

-- 
Fernando Canizo - LUGMen: www.lugmen.org.ar - A8N: a8n.lugmen.org.ar
woman: Say something dirty to me!
man: Kitchen.
-- meyerm
-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-27 Thread Dave Nebinger
 Although i do not quite understand what you are saying: (copy from
 /dev/hdb1 to /dev/hda2) - do you mean,: copy from /dev/hdb1 that is
 mounted on /mountpoint1 to /dev/hda2 that is mounted on mountpoint
 /mountpoint2?
 
 If that is the case, then a simple: cp -R /boot /new-boot-location
 should do it.

You'll probably want to add the -p option to copy permissions, ownership,
etc.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: recompiling vim linked to libncursesw

2005-07-27 Thread Fernando Canizo
El Wed, Jul 27, 2005 at 03:50:14PM +0300, Matan Peled me decía:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Fernando Canizo wrote:
  Yes!
  In the next line a LATIN SMALL LETTER A WITH ACUTE:
  �
 This doesn't seem to be UTF-8 (I get a box in UTF-8 mode,)
 but it looks OK in latin-1.
  But you should see that ok, now if i reply to that message, when it
  reaches me through the list, i will send this stuff:
  á
 Now this looks like UTF-8.
  which seems to be (not sure about this) the codification of the two
  bytes of the LATIN SMALL LETTER A WITH ACUTE but un latin1.

Yes, i did saw the same. I forgot i was replying and forgot to check
fenc and enc in vim.

Now i will force the stuff:
setting fenc and enc to utf-8
...
Now i write a LATIN SMALL LETTER A WITH ACUTE:
á

-- 
Fernando Canizo - LUGMen: www.lugmen.org.ar - A8N: a8n.lugmen.org.ar
I had no shoes and I pitied myself.  Then I met a man who had no feet,
so I took his shoes.
-- Dave Barry
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] recompiling vim linked to libncursesw

2005-07-27 Thread Thomas Dickey
On Wed, Jul 27, 2005 at 10:24:23AM -0300, Fernando Canizo wrote:
 Cool, so i can discard that the problem comes from vim + libncurses.
 
 In other mails from the thread we've reached to the point of knowing
 that mutt is reencoding the chars. Since you seem to know about
 libraries and calls to functions, do you know a method to track this
 issue? I've been thinking maybe an strace to mutt, but y don't know
 what to search for, and strace gives lots of info.

strace gives lots of information, but sometimes you can reduce it by
looking only at specific calls.  Usually what I'm interested in from
strace in this type of problem is the exec's and open's it shows.

I'm not sure what mutt's doing either.  But if it's recoding the information,
it's doing either via runtime library or via an external program.

Another tool is ltrace, which would (like strace, a lot of information)
show the library calls mutt makes.  That's useful in this sense to see
if it's doing something with iconv.
 
 So the question is: what would you do to track this problem?

I'd probably poke at the strace and ltrace results enough to get a sense
of generally what it's doing, then grep through mutt's sources to see
where it's doing _that_.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpXjfZNjKztF.pgp
Description: PGP signature


Re: [gentoo-user] Where is magicfilterconfig?

2005-07-27 Thread A. Khattri
On Tue, 26 Jul 2005, Alessandro Selli wrote:

   I installed magicfilter on a i386 machine because I was
 confortable with it's use with LPRng under Debian.  I knew it came
 with a configuration tool, magicfilterconfig, but that tool is
 missing in my installation (from sources).  There does not seem to
 be a separate package with it.  So, where is it?  If it's no
 longer part of the magicfilter package, what can I use
 (documentation?) to generate a working printcap file?

You should really have esearch or eix installed (or at least use emerge
-S):

$ eix magicfilter
* net-print/magicfilter
 Available versions:  1.2-r4 2.3a ~2.3d
 Installed:   no
 Homepage:http://www.pell.portland.or.us/~orc/Code/magicfilter/
 Description: Customizable, extensible automatic printer filter


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-27 Thread Neil Bothwick
On Wed, 27 Jul 2005 09:21:06 -0400, Dave Nebinger wrote:

 You'll probably want to add the -p option to copy permissions,
 ownership, etc.

Use -a (--archive), which preserves everything it can.


-- 
Neil Bothwick

WINDOWS: Will Install Needless Data On Whole System


pgpvxjAhggrxw.pgp
Description: PGP signature


[gentoo-user] boot problem since devfs-udev switch

2005-07-27 Thread Volker Armin Hemmann
Hi,

I switched from devfs to udev 10 days ago, and since then every 
nth boot will hang at 'initializing random number generator'

I had at least one udev-update since then, without changes.

The box reacts to the sysrq-keys, so I am able to reboot - and the reboot is 
always successfull.

I followed the udev-guide here:
http://www.gentoo.org/doc/en/udev-guide.xml

without the tarball, and the test mentioned there was succesfull (/dev/null 
and /dev/console were there).

I googled a little bit, but found nothing.

Has someone a clue, where to look?

Glück Auf
Volker

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problem using genkernel

2005-07-27 Thread A. Khattri
On Wed, 27 Jul 2005, Waldemar Tribus wrote:

 Just wanted to follow gentoo 2.4 to 2.6 migration guide,
 to avoid stipud error which i could make if i would do
 it by myself :)

We see a lot of posts here from people that have problems with genkernel,
which is why some of us dont use it.

The handbook explains how to build a kernel manually rather well.


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



Re: [gentoo-user] GDM restarts citing lderror: missing pam_console.so after running et

2005-07-27 Thread George Roberts

Chris this may help with the problem:
http://forums.gentoo.org/viewtopic-t-350736-highlight-gdm+pam.html

Chris Fairles wrote:


Oddly enough, if I run et like this

et  et.log 21

it runs fine and gdm does not restart itself.

heres a snip from the log at least where I *think* it was failing 
before... it tries to run a tty console which pam does not like, why?


--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: dsotm
IP: 127.0.0.1
Started tty console (use +set ttycon 0 to disable)

thnx,
chris


Chris Fairles wrote:


Ran a emerge -NDuva world, updated a bunch of gnome stuff.
gnome-base/gnome-2.10-r1 and deps and
gnome-base/gdm-2.6.0.9-r2

Launching et (enemey territory) gives (in /var/log/messages)
Jul 26 22:58:13 dsotm gdm[23200]: PAM unable to 
dlopen(/lib/security/pam_console.so)
Jul 26 22:58:13 dsotm gdm[23200]: PAM [dlerror: 
/lib/security/pam_console.so: cannot open shared object file: No such 
file or directory]
Jul 26 22:58:13 dsotm gdm[23200]: PAM adding faulty module: 
/lib/security/pam_console.so
Jul 26 22:58:15 dsotm gdm(pam_unix)[23200]: session opened for user 
chris by (uid=0)
Jul 26 22:58:23 dsotm su(pam_unix)[23301]: session opened for user 
root by (uid=1000)

Jul 26 23:00:35 dsotm su(pam_unix)[23301]: session closed for user root
Jul 26 23:00:39 dsotm gdm[23200]: gdm_slave_xioerror_handler: Fatal X 
error - Restarting :0
Jul 26 23:00:39 dsotm gdm(pam_unix)[23200]: session closed for user 
chris


gdm restarts  no game

I've tried commenting out all of
dsotm ~ # grep console /etc/pam.d/*
/etc/pam.d/gdm:session optional /lib/security/pam_console.so
/etc/pam.d/gdm-autologin:session optional /lib/security/pam_console.so
/etc/pam.d/xdm:session optional pam_console.so
/etc/pam.d/xserver:# Next line you need console ownership to be able 
to start X

/etc/pam.d/xserver:#auth required pam_console.so

restarting gdm, even rebooting, same error as above.

tried setting USE=pam_console emerge -Nva pam ... adding the login 
pam_console, uncommenting all of the above lines, i just get the
Jul 26 22:41:05 dsotm gdm[8000]: gdm_slave_xioerror_handler: Fatal X 
error - Restarting :0



i'm almost ready to USE=-pam emerge -e world ...

chris






--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with esound

2005-07-27 Thread Martin Larsson
On 7/27/05, Matan Peled [EMAIL PROTECTED] wrote:
 
 try revdep-rebuild.

Thanks, that gives:
Warning: Failed to resolve package order.
Will merge in random order!
snip
All prepared. Starting rebuild...
emerge --oneshot  =app-text/openjade-1.3.2-r1 =app-text/xpdf-3.00-r8
   =dev-java/libreadline-java-0.8.0-r1
=dev-perl/sdl-perl-1.20.3
   =net-libs/gnutls-1.2.3 =sys-fs/cryptsetup-0.1-r1
..
Calculating dependencies /
emerge: there are no ebuilds to satisfy =dev-perl/sdl-perl-1.20.3.
  
Which is kind of strange as 'emerge -av sdl-perl' gives:
[ebuild U ] dev-perl/sdl-perl-1.20.3-r1 [1.20.3] +mpeg +truetype 779 kB

Now what?

M.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Peculiar... ssh / shell glitch...

2005-07-27 Thread Steve [Gentoo]
I use cygwin openssh to connect to my Gentoo server... recently I've 
noticed a change in behaviour.


When I press ctrlC I'd expect my gentoo shell (zsh) to abort the 
current empty statement and wait for another.  These days, however, I 
see Killed by signal 2 and then my ssh connection closes.  Does anyone 
have any idea why this might have started to happen?


Steve


--
gentoo-user@gentoo.org mailing list



[gentoo-user] OT SATA-2 drive support in Gentoo

2005-07-27 Thread James
Hello,

Has anyone successfully deploy mulitple SATA-2 drives in a Gentoo Server?
If so, have you benchmarked the performance of these drives?
If so, are you happy with the price/performance of SATA-2
or what would you recommend for price/performance on a mid-range
Gentoo server?

Any specfic controller cards recommendations for SATA(2) are 
of interest too.

TIA,
James

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Newbie - Missing IPtables

2005-07-27 Thread Eldon Ziegler
I successfully installed my first gentoo but didn't get iptables. The 
HOWTO says, As for the kernel all you must do is enable iptable 
support. but not how to do that? Do I have to redo the complete 
install? (about 12 hours).


Thanks
Eldon Ziegler

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newbie - Missing IPtables

2005-07-27 Thread Tim Igoe
cd /usr/src/linux

make menuconfig

edit the kernel options to set up the iptables parts needed in the
kernel (can't rememebr where they are - not just at my normal box atm)

then install the new kernel like you did originally

emerge iptables to get the user space tools to control the kernel
iptables chains.

Eldon Ziegler wrote:
 I successfully installed my first gentoo but didn't get iptables. The
 HOWTO says, As for the kernel all you must do is enable iptable
 support. but not how to do that? Do I have to redo the complete
 install? (about 12 hours).
 
 Thanks
 Eldon Ziegler
 

-- 
Tim Igoe
[EMAIL PROTECTED]
http://tim.igoe.me.uk - Personal Site
http://tv.igoe.me.uk - UK TV Guide

Computers are like Air-con, open windows and they stop working!


signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Peculiar... ssh / shell glitch...

2005-07-27 Thread Zac Medico

Steve [Gentoo] wrote:
I use cygwin openssh to connect to my Gentoo server... recently I've 
noticed a change in behaviour.


When I press ctrlC I'd expect my gentoo shell (zsh) to abort the 
current empty statement and wait for another.  These days, however, I 
see Killed by signal 2 and then my ssh connection closes.  Does anyone 
have any idea why this might have started to happen?


Steve




Apparently the signal is being handled by cygwin on the client side (not a gentoo server 
problem).  Something must have changed in your cygwin evironment.  A quick search shows that 
this is a common problem:  
http://www.google.com/search?hl=enq=%22Killed+by+signal+2%22+cygwin+ssh.  In the first 
search result it suggested to Switch off ForwardX11 in your .ssh/config.

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



Re: [gentoo-user] Problems with esound

2005-07-27 Thread Willie Wong
On Wed, Jul 27, 2005 at 07:05:48PM +0200, Martin Larsson wrote:
 On 7/27/05, Matan Peled [EMAIL PROTECTED] wrote:
  
  try revdep-rebuild.
 
 Thanks, that gives:
 Warning: Failed to resolve package order.
 Will merge in random order!
 snip
 All prepared. Starting rebuild...
 emerge --oneshot  =app-text/openjade-1.3.2-r1 =app-text/xpdf-3.00-r8
=dev-java/libreadline-java-0.8.0-r1
 =dev-perl/sdl-perl-1.20.3
=net-libs/gnutls-1.2.3 
 =sys-fs/cryptsetup-0.1-r1
 ..
 Calculating dependencies /
 emerge: there are no ebuilds to satisfy =dev-perl/sdl-perl-1.20.3.
   
 Which is kind of strange as 'emerge -av sdl-perl' gives:
 [ebuild U ] dev-perl/sdl-perl-1.20.3-r1 [1.20.3] +mpeg +truetype 779 kB
 
 Now what?
 
 M.

First emerge the new version of sdl-perl
 emerge --oneshot sdl-perl
then remove the tempfiles created by revdep-rebuild
and run revdep-rebuild again. 

The problem is that somewhere along the line the sdl-perl-1.20.3
ebuild was removed, and revdep-rebuild defaults to re-emerging the
same version of the program as currently in your system...

Though for this to happen, sdl-perl is probably a deep dependency that
never got updated (try emerge --deep sometime).

W
-- 
Nothing is fool-proof to sufficiently talented fools.
Sortir en Pantoufles: up 2 days, 18:22
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newbie - Missing IPtables

2005-07-27 Thread Willie Wong
On Wed, Jul 27, 2005 at 07:43:32PM +0100, Tim Igoe wrote:
 cd /usr/src/linux
 
 make menuconfig
 
 edit the kernel options to set up the iptables parts needed in the
 kernel (can't rememebr where they are - not just at my normal box atm)

In 2.6.11, it is under

  Device Drivers - Networking Support - Networking Options
- Network Packet Filtering - IP: Netfilter configurations

 
 then install the new kernel like you did originally
 
 emerge iptables to get the user space tools to control the kernel
 iptables chains.
 
 Eldon Ziegler wrote:
  I successfully installed my first gentoo but didn't get iptables. The
  HOWTO says, As for the kernel all you must do is enable iptable
  support. but not how to do that? Do I have to redo the complete
  install? (about 12 hours).
  
  Thanks
  Eldon Ziegler
  
 
 -- 
 Tim Igoe
 [EMAIL PROTECTED]
 http://tim.igoe.me.uk - Personal Site
 http://tv.igoe.me.uk - UK TV Guide
 
 Computers are like Air-con, open windows and they stop working!



-- 
If a man watches three football games in a row,
he should be delared legally dead.
~Irma Bombeck
Sortir en Pantoufles: up 2 days, 18:31
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Newbie - Missing IPtables

2005-07-27 Thread Kit
On 7/27/05, Tim Igoe [EMAIL PROTECTED] wrote:
 cd /usr/src/linux
 
 make menuconfig
 
 edit the kernel options to set up the iptables parts needed in the
 kernel (can't rememebr where they are - not just at my normal box atm)
 
 then install the new kernel like you did originally
 
 emerge iptables to get the user space tools to control the kernel
 iptables chains.
 
 Eldon Ziegler wrote:
  I successfully installed my first gentoo but didn't get iptables. The
  HOWTO says, As for the kernel all you must do is enable iptable
  support. but not how to do that? Do I have to redo the complete
  install? (about 12 hours).
 
  Thanks
  Eldon Ziegler
 
 
 --
 Tim Igoe
 [EMAIL PROTECTED]
 http://tim.igoe.me.uk - Personal Site
 http://tv.igoe.me.uk - UK TV Guide
 
 Computers are like Air-con, open windows and they stop working!
 
 
 


 Well, if you've got X working somehow - you can try

 make xmenuconfig

It's really beautiful =)

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Creating installation for slow system on a big host

2005-07-27 Thread Alexander Skwar
Hello.

I finally bought myself a somewhat low end notebook on which I want
to install Gentoo as well. Since this is a low end box and since
my main system is not low end :), I'd like to compile as much as
possible on the big server and then later copy (or whatever) the
compiled packages over to the slower system.

Those two systems will be in a LAN. Always.

What's the best method to accomplish that? I guess, that there's
already documentation about such a setup out there. Thus, I would
of course very much appreciate, if you could point me to good
documentation.

Thanks,

Alexander Skwar
-- 
It is often easier to ask for forgiveness than to ask for permission.
-- Grace Murray Hopper
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT SATA-2 drive support in Gentoo

2005-07-27 Thread Bill Roberts
I inherited two Western Digital Raptor 74G SATA drives. They run at 10,000
rpm, 4.5 seek time.  I was prepared to be unimpressed, but they are
phenomenonly fast and quiet. I strongly recommend them.

I am running them as a RAID 0, connected directly to the motherboard, using
linux software RAID. 

If you want hardware RAID, 3ware seems to be the ticket.

hdparm -Tt /dev/md0

/dev/md0:
Timing cached reads:   3080 MB in  2.00 seconds = 1538.70 MB/sec
Timing buffered disk reads:  410 MB in  3.00 seconds = 136.46 MB/sec

Not cheap, but I think they're worth every nickel.

Bill Roberts

On 18:19 Wed 27 Jul , James wrote:
 Hello,
 
 Has anyone successfully deploy mulitple SATA-2 drives in a Gentoo Server?
 If so, have you benchmarked the performance of these drives?
 If so, are you happy with the price/performance of SATA-2
 or what would you recommend for price/performance on a mid-range
 Gentoo server?
 
 Any specfic controller cards recommendations for SATA(2) are 
 of interest too.
 
 TIA,
 James
 
 -- 
 gentoo-user@gentoo.org mailing list

 


pgpjr5t8Lln0I.pgp
Description: PGP signature


Re: [gentoo-user] Creating installation for slow system on a big host

2005-07-27 Thread Wade Brown
Using FEATURES=buildpkg is always a great place to start on your
'big' system.  For more detail than that (all one lines of it), check
the gentoo-wiki site, it's full of useful information, well,
sometimes.

http://gentoo-wiki.com/HOWTO_Create_A_Build_Host

On 7/27/05, Alexander Skwar [EMAIL PROTECTED] wrote:
 Hello.
 
 I finally bought myself a somewhat low end notebook on which I want
 to install Gentoo as well. Since this is a low end box and since
 my main system is not low end :), I'd like to compile as much as
 possible on the big server and then later copy (or whatever) the
 compiled packages over to the slower system.
 
 Those two systems will be in a LAN. Always.
 
 What's the best method to accomplish that? I guess, that there's
 already documentation about such a setup out there. Thus, I would
 of course very much appreciate, if you could point me to good
 documentation.
 
 Thanks,
 
 Alexander Skwar
 --
 It is often easier to ask for forgiveness than to ask for permission.
 -- Grace Murray Hopper
 --
 gentoo-user@gentoo.org mailing list
 


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] net backup gentoo client

2005-07-27 Thread St. Lart
Hi all,
 I was wondering if any one had any luck getting Net Backup to
install a gentoo host as a client, and if so what conf changes had to be made?

Thanks,
-tm

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Creating installation for slow system on a big host

2005-07-27 Thread Alexander Skwar
Wade Brown schrieb:

 http://gentoo-wiki.com/HOWTO_Create_A_Build_Host

Thanks. Reading it right now.

I don't quite get this, though. At 2.5 Create cron scripts to keep
the build area up to date (http://shink.de/kwqygt) it is written:

 mount -t nfs buildHost:/usr/portage/distfiles ${arch}/usr/portage/distfiles

Why is /usr/portage/distfiles mounted via NFS? I understood it so,
that the /mnt/gentoo/Maintenance script is supposed to be run on the build
host. No? If not wrong, why NFS? Wouldn't it be sufficient and faster to use
a bind mount?

 mount -o bind /usr/portage/distfiles ${arch}/usr/portage/distfiles

Regards,

Alexander Skwar
-- 
The University of California Bears announced the signing of Reggie
Philbin to a letter of intent to attend Cal next Fall.  Philbin is said
to make up for no talent by cheating well.  Says Philbin of his decision
to attend Cal, I'm in it for the free ride.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Creating installation for slow system on a big host

2005-07-27 Thread Justin Patrin
On 7/27/05, Alexander Skwar [EMAIL PROTECTED] wrote:
 Hello.
 
 I finally bought myself a somewhat low end notebook on which I want
 to install Gentoo as well. Since this is a low end box and since
 my main system is not low end :), I'd like to compile as much as
 possible on the big server and then later copy (or whatever) the
 compiled packages over to the slower system.
 
 Those two systems will be in a LAN. Always.
 
 What's the best method to accomplish that? I guess, that there's
 already documentation about such a setup out there. Thus, I would
 of course very much appreciate, if you could point me to good
 documentation.
 

Remember that you can always set up distcc. This way your laptop does
its normal compiles and you can distribute lots of the compiling load
to the big server.

-- 
Justin Patrin

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] GDM restarts citing lderror: missing pam_console.so after running et

2005-07-27 Thread Chris Fairles
Unfortunately, adding pam and gdm with ~x86 to keywords and remerging 
only updated gdm and the problem still occurs with a potential 
workaround, et  /dev/null 21


Does this sound like a pam problem? gdm problem? or et (enemy territory) 
itself perhaps?


once more running et caused a gdm restart

Jul 27 13:19:29 dsotm gdm[7898]: PAM unable to 
dlopen(/lib/security/pam_console.so)
Jul 27 13:19:29 dsotm gdm[7898]: PAM [dlerror: 
/lib/security/pam_console.so: cannot open shared object file: No such 
file or directory]
Jul 27 13:19:29 dsotm gdm[7898]: PAM adding faulty module: 
/lib/security/pam_console.so


after updating to gdm 2.8.0.1 still restarts

Jul 27 17:59:26 dsotm gdm[6359]: failsafe dialog failed (inhibitions: 0 0)
Jul 27 17:59:32 dsotm gdm[6359]: failsafe dialog failed (inhibitions: 0 1)
Jul 27 17:59:38 dsotm gdm[6359]: failsafe dialog failed (inhibitions: 1 1)
Jul 27 17:59:38 dsotm gdm[6359]: gdm_slave_xioerror_handler: Fatal X 
error - Restarting :0

Jul 27 17:59:38 dsotm gdm(pam_unix)[6359]: session closed for user chris

George Roberts wrote:


Chris this may help with the problem:
http://forums.gentoo.org/viewtopic-t-350736-highlight-gdm+pam.html

Chris Fairles wrote:


Oddly enough, if I run et like this

et  et.log 21

it runs fine and gdm does not restart itself.

heres a snip from the log at least where I *think* it was failing 
before... it tries to run a tty console which pam does not like, why?


--- Common Initialization Complete ---
Opening IP socket: localhost:27960
Hostname: dsotm
IP: 127.0.0.1
Started tty console (use +set ttycon 0 to disable)

thnx,
chris


Chris Fairles wrote:


Ran a emerge -NDuva world, updated a bunch of gnome stuff.
gnome-base/gnome-2.10-r1 and deps and
gnome-base/gdm-2.6.0.9-r2

Launching et (enemey territory) gives (in /var/log/messages)
Jul 26 22:58:13 dsotm gdm[23200]: PAM unable to 
dlopen(/lib/security/pam_console.so)
Jul 26 22:58:13 dsotm gdm[23200]: PAM [dlerror: 
/lib/security/pam_console.so: cannot open shared object file: No 
such file or directory]
Jul 26 22:58:13 dsotm gdm[23200]: PAM adding faulty module: 
/lib/security/pam_console.so
Jul 26 22:58:15 dsotm gdm(pam_unix)[23200]: session opened for user 
chris by (uid=0)
Jul 26 22:58:23 dsotm su(pam_unix)[23301]: session opened for user 
root by (uid=1000)

Jul 26 23:00:35 dsotm su(pam_unix)[23301]: session closed for user root
Jul 26 23:00:39 dsotm gdm[23200]: gdm_slave_xioerror_handler: Fatal 
X error - Restarting :0
Jul 26 23:00:39 dsotm gdm(pam_unix)[23200]: session closed for user 
chris


gdm restarts  no game

I've tried commenting out all of
dsotm ~ # grep console /etc/pam.d/*
/etc/pam.d/gdm:session optional /lib/security/pam_console.so
/etc/pam.d/gdm-autologin:session optional /lib/security/pam_console.so
/etc/pam.d/xdm:session optional pam_console.so
/etc/pam.d/xserver:# Next line you need console ownership to be able 
to start X

/etc/pam.d/xserver:#auth required pam_console.so

restarting gdm, even rebooting, same error as above.

tried setting USE=pam_console emerge -Nva pam ... adding the login 
pam_console, uncommenting all of the above lines, i just get the
Jul 26 22:41:05 dsotm gdm[8000]: gdm_slave_xioerror_handler: Fatal X 
error - Restarting :0



i'm almost ready to USE=-pam emerge -e world ...

chris










--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with esound

2005-07-27 Thread Martin Larsson
On 7/27/05, Willie Wong [EMAIL PROTECTED] wrote:
 First emerge the new version of sdl-perl
  emerge --oneshot sdl-perl
 then remove the tempfiles created by revdep-rebuild
 and run revdep-rebuild again.

Thanks that worked...

 (try emerge --deep sometime).

I always do emerge -avDu system/world.


 Nothing is fool-proof to sufficiently talented fools.

Thanks... :*)

M.

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Encripting /home

2005-07-27 Thread Pupeno
Hello,
I want to have the /home of my laptop encripted, with an external key (in a CD 
or floppy, until I get an usb pain drive), specially to be able to change the 
passphrase easily and have various medias with different passphrases and the 
same key (so, my wife can uses her own passphrase), is this possible ? it'll 
be the non written 13th item here: 
http://www.sdc.org/~leila/usb-dongle/readme.html, right ?
Any docs that explains how to achieve this (as close as possible to Gentoo).
Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpYHXkc6SnBt.pgp
Description: PGP signature


Re: [gentoo-user] OT: keys that don't create keycodes

2005-07-27 Thread Iain Buchanan
On Tue, 2005-07-19 at 19:41 -0700, Sami Samhuri wrote:
 * On Tue Jul-19-2005 at 04:26:05 PM +0930, Iain Buchanan said:
  It seems that every multimedia keyboard out there (especially the usb
  ones) have some or all extra keys that just aren't visible outside of
  Winblows.
  
  I have a couple of them!  I've tried all the usual ways of detecting
  them - xev and others that do a similar thing but they just don't
  register as keypresses in any standard way.
  
  I would like comments on why, and what methods, if any, may be available
  to detect such keys.  Surely with the plethora of cheap multimedia
  keyboards out there, there is some way.
 
 Perhaps this blog entry[1] has some useful information for you.
 
 [1] 
 http://planet.gentoo.org/developers/flameeyes/2005/06/15/and_the_keyboard_lose_the_match
 

thanks, that looks really interesting...
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: keys that don't create keycodes

2005-07-27 Thread Iain Buchanan
On Wed, 2005-07-27 at 09:47 +0200, Robert Svoboda wrote:
 * Iain Buchanan [EMAIL PROTECTED] [2005-07-19 09:10]:
  I have a couple of them!  I've tried all the usual ways of detecting
  them - xev and others that do a similar thing but they just don't
  register as keypresses in any standard way.
 
 did you try lineak (it's in portage)? I think there are others, maybe more
 advanced.

I've tried lots of programs, including lineak, but trying another
program isn't going to fix it if xev itself can't even see the
keypresses.  It has to be a deeper issue like the X keyboard driver or
something.  Hence the interesting link someone else posted:
http://planet.gentoo.org/developers/flameeyes/2005/06/15/and_the_keyboard_lose_the_match
-- 
Iain Buchanan [EMAIL PROTECTED]

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Encripting /home

2005-07-27 Thread Luigi Pinna
Alle 01:18, giovedì 28 luglio 2005, Pupeno ha scritto:
 Hello,
 I want to have the /home of my laptop encripted, with an external key
 (in a CD or floppy, until I get an usb pain drive), specially to be
 able to change the passphrase easily and have various medias with
 different passphrases and the same key (so, my wife can uses her own
 passphrase), is this possible ? it'll be the non written 13th item
 here:
 http://www.sdc.org/~leila/usb-dongle/readme.html, right ?
 Any docs that explains how to achieve this (as close as possible to
 Gentoo). Thanks.

I have my home encrypt...
But I cannot change the passphrase!
I use the dm-crypt from the kernel
With these options, I can create a dynamic passphrase...
/bin/cryptsetup -h ripemd160 -c aes create home /path/device
You don't need a key (that someone can keep and force) but the key is 
created from the passphrase: that means that without that word works 
nothing,but you need a good password (and please, don't write it on the 
monitor ;-) ...)
cryptsetup is in portage tree, dm-crypt option is in the kernel...
See you,
Luigi
-- 
Public key GPG(0x073A0960) on http://keyserver.linux.it/


pgpEYlmWuXcdG.pgp
Description: PGP signature


Re: [gentoo-user] Copying contents /boot from /dev/hdb1 to /dev/hda2

2005-07-27 Thread Sean Higgins

Richard,

On Wednesday 27 July 2005 08:53 am, Richard Watson wrote:
 Can anyone tell me if it's possible to move (or copy) the complete contents
 of /boot located on /dev/hdb1 to /dev/hda2. If so would anyone know the
 correct command so I pick up any hidden files ,etc.

One way to do it is to do the following:

mount -o ro /dev/hdb1 old
mount /dev/hda1 new
cd old
tar cvf - * | tar xf -C ../new/

  Sean


 --
 Thanks, Richard

 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.0.338 / Virus Database: 267.9.5/58 - Release Date: 25/07/2005

-- 
Sean Higgins, [EMAIL PROTECTED]
http://www.systura.com - Where information becomes knowledge.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Encripting /home

2005-07-27 Thread Jerry McBride
On Wednesday 27 July 2005 07:54 pm, Luigi Pinna wrote:
 Alle 01:18, giovedì 28 luglio 2005, Pupeno ha scritto:
  Hello,
  I want to have the /home of my laptop encripted, with an external key
  (in a CD or floppy, until I get an usb pain drive), specially to be
  able to change the passphrase easily and have various medias with
  different passphrases and the same key (so, my wife can uses her own
  passphrase), is this possible ? it'll be the non written 13th item
  here:
  http://www.sdc.org/~leila/usb-dongle/readme.html, right ?
  Any docs that explains how to achieve this (as close as possible to
  Gentoo). Thanks.

 I have my home encrypt...
 But I cannot change the passphrase!
 I use the dm-crypt from the kernel
 With these options, I can create a dynamic passphrase...
 /bin/cryptsetup -h ripemd160 -c aes create home /path/device
 You don't need a key (that someone can keep and force) but the key is
 created from the passphrase: that means that without that word works
 nothing,but you need a good password (and please, don't write it on the
 monitor ;-) ...)
 cryptsetup is in portage tree, dm-crypt option is in the kernel...
 See you,
 Luigi

On another twist, I was using my own cryptoloop setup untill I tripped over 
encfs. I use it every where now, docs are on the home site of the encfs 
author.

-- 

**
 Registered Linux User Number 185956
  FSF Associate Member number 2340 since 05/20/2004
 Join me in chat at #linux-users on irc.freenode.net
Buy an Xbox for $149.00, run linux on it and Microsoft loses $150.00!
  8:41pm  up 9 days, 20:40,  1 user,  load average: 0.00, 0.00, 0.00

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: OT SATA-2 drive support in Gentoo

2005-07-27 Thread James
Bill Roberts billbalt at eyeofthequark.com writes:


 I inherited two Western Digital Raptor 74G SATA drives. 


 hdparm -Tt /dev/md0

 /dev/md0:
 Timing cached reads:   3080 MB in  2.00 seconds = 1538.70 MB/sec
 Timing buffered disk reads:  410 MB in  3.00 seconds = 136.46 MB/sec

Those are impressive numbers.
Thanks,

James

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Encripting /home

2005-07-27 Thread Pupeno
On Wednesday 27 July 2005 20:54, Luigi Pinna wrote:
 Alle 01:18, giovedì 28 luglio 2005, Pupeno ha scritto:
  Hello,
  I want to have the /home of my laptop encripted, with an external key
  (in a CD or floppy, until I get an usb pain drive), specially to be
  able to change the passphrase easily and have various medias with
  different passphrases and the same key (so, my wife can uses her own
  passphrase), is this possible ? it'll be the non written 13th item
  here:
  http://www.sdc.org/~leila/usb-dongle/readme.html, right ?
  Any docs that explains how to achieve this (as close as possible to
  Gentoo). Thanks.

 I have my home encrypt...
 But I cannot change the passphrase!
I don't want a fixed passphrase.

 I use the dm-crypt from the kernel
I've read that it is unsecure and I also read that it is not yet vory well 
suported.

 With these options, I can create a dynamic passphrase...
What is a dynamic passphrase ?

 You don't need a key (that someone can keep and force) but the key is
 created from the passphrase: that means that without that word works
 nothing,but you need a good password (and please, don't write it on the
 monitor ;-) ...)
I know I don't need a key, but I do want a key (stored in a remobable modia) 
encripted with a passphrase I will be able to change, or best, my wife can 
have the key protected with a different passphrase than I do.
Beyond that, encripting with a key is much better than doing that with a 
passphrase because the passphrase can be cracked (dictionary attack) while 
the key-encripted that can't.

Thanks.
-- 
Pupeno [EMAIL PROTECTED] (http://pupeno.com)
Reading ? Science Fiction ? http://sfreaders.com.ar


pgpcDrc0FBA0p.pgp
Description: PGP signature


[gentoo-user] Flightgear 0.9.8: YF-23 aircraft there one day, not the next

2005-07-27 Thread fire-eyes
Hi. I used to play flightgear 0.9.8 quite a lot. Then I stopped for a
few months. I tried again last night, using the YF-23 aircraft. But
it's not working. fgfs --show-aircraft doesn't even list it anymore.

I reinstalled the game, and it's still not there. I don't understand,
what the heck happened?

Here's the YF-23 right here from when i used to play before, i'm not
making this up heh:

http://fire-eyes.org/gal/view_photo.php?full=1set_albumName=flightgearid=flightgear_YF_23_kjfk_lots_of_towers

Any ideas? This baffles me, and it's my favorite aircraft in the game...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with esound

2005-07-27 Thread Willie Wong
On Thu, Jul 28, 2005 at 12:56:33AM +0200, Martin Larsson wrote:
 On 7/27/05, Willie Wong [EMAIL PROTECTED] wrote:
  First emerge the new version of sdl-perl
   emerge --oneshot sdl-perl
  then remove the tempfiles created by revdep-rebuild
  and run revdep-rebuild again.
 
 Thanks that worked...
 
  (try emerge --deep sometime).
 
 I always do emerge -avDu system/world.
 
 
  Nothing is fool-proof to sufficiently talented fools.
 
 Thanks... :*)
 
 M.
 
Sometimes I am amazed at what my random sig generator thinks is
appropriate for the occasion... I've come to learn that my computer's
opinions are unfathomable probably ineffable, and it's best not to
get on its bad side.   =p

For example, I have no idea what chickens and bad puns have to do
with this situation, but I am sure the answer will manifest itself if
this thread gets any longer. 

I'll promptly shut-up now. 

Best, 

W

-- 
A chicken crossing the road is poultry in motion.
Sortir en Pantoufles: up 3 days,  1:43
-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] gnome-desktop blocking gnome-core

2005-07-27 Thread Chris Bare
I'm still getting this after doing an emerge -u (without the -D)

rygel ~ # emerge -puD world -t   

These are the packages that I would merge, in reverse order:

Calculating world dependencies ...done!
 [blocks B ] gnome-base/gnome-desktop (is blocking 
gnome-base/gnome-core-1.4.2-r1)
 [nomerge  ] net-misc/whois-4.7.2  
 [ebuild U ]  net-dns/libidn-0.5.15 [0.5.13] 
 [nomerge  ] x11-plugins/gkrellm-sensors-0.1  
 [ebuild  N]  sys-apps/lm_sensors-2.9.1  
 [nomerge  ] net-wireless/gtkskan-0.2  
 [ebuild  N]  gnome-base/gnome-core-1.4.2-r1  

How can I tell what wants gnome-core? It is not installed now because I
deleted it when this problem first arose.

Any other suggestions on how to solve this problem?
-- 
Chris Bare
[EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Encripting /home

2005-07-27 Thread Richard Fish

Pupeno wrote:


Hello,
I want to have the /home of my laptop encripted, with an external key (in a CD 
or floppy, until I get an usb pain drive), specially to be able to change the 
passphrase easily and have various medias with different passphrases and the 
same key (so, my wife can uses her own passphrase), is this possible ? it'll 
be the non written 13th item here: 
http://www.sdc.org/~leila/usb-dongle/readme.html, right ?

Any docs that explains how to achieve this (as close as possible to Gentoo).
Thanks.
 



I use loop-aes to encrypt all filesystems.  It is very secure and very 
fast.  If you have USE=crypt, Gentoo already has support for it in the 
mount and losetup commands.  You just need the kernel module (emerge 
loop-aes).


After you emerge it, read the documentation at 
/usr/share/doc/loop-aes-*/README.gz


-Richard

--
gentoo-user@gentoo.org mailing list



[gentoo-user] DEPEND/*DEPEND problem

2005-07-27 Thread simply change
AybOwan!

friends,
i usually update my portage to upto date  try to download all new
files to my box for later emerging(emerge -e world). de following error
message came. so please help me...

==
pushpaka-ng special-downloads # emerge -fe world
Calculating world dependencies
emerge: there are no ebuilds to satisfy =media-libs/jpeg-mmx-1.1.2-r1.


!!! Problem with ebuild media-video/kino-0.7.6
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
===-- ...The future lies ahead. ___ Have you mooed today?  ---\^__^
 \ (oo) \___
(__)
\
)\/\||--w|||
||Gentoo Linux 2.6.12-gentoo-r4-Adapt-v1.1#


Re: [gentoo-user] Encripting /home

2005-07-27 Thread Richard Fish

Pupeno wrote:


I use the dm-crypt from the kernel
   

I've read that it is unsecure and I also read that it is not yet vory well 
suported.
 



Dm-crypt is fairly well supported, since it is in the kernel, but I find 
it to be harder to setup and less 'flexible' than loop-AES (the changing 
passphrase thing, for example).


It provides rougly the equivalent security as loop-AES in single-key 
mode (where a single key is used to encrypt every block).  loop-AES also 
supports multi-key mode, where 64 different keys are used to encrypt the 
blocks.  Multi-key makes certain kinds of attacks (specifically, 
watermark) more difficult, but is slower.


However, I seem to recall reading somewhere in the last couple of weeks 
that dm-crypt was also getting multi-key support...maybe in the 
mm-kernel, or for 2.6.13...


Now, I doubt that most people actually _need_ the extra security of 
multi-key encryption.   Personally I run loop-AES in single-key mode 
because it is faster than multi-key.  Plus someone willing to go through 
the effort of cracking multi-key encryption would find it much easier to 
simply make a credible physical threat, and I will happily give them my 
password!! :-)


I know I don't need a key, but I do want a key (stored in a remobable modia) 
encripted with a passphrase I will be able to change, or best, my wife can 
have the key protected with a different passphrase than I do.
Beyond that, encripting with a key is much better than doing that with a 
passphrase because the passphrase can be cracked (dictionary attack) while 
the key-encripted that can't.
 



Well, technically, anything can be cracked given enough time and 
computing power.


For using different passwords, this is possible.  You would need to 
encrypt the same key file with gpg to two different .gpg filesyour 
wife can use one, and you can use the other.  If the key files are 
stored on separate pieces of removable media, then you each have your 
own keys to the system.


-Richard

--
gentoo-user@gentoo.org mailing list