Re: [gentoo-user] Cleaning out supposedly unmerged stuff

2005-05-14 Thread Benno Schulenberg
Walter Dnes wrote:
>   Alternate subject "The Ghost in the Machine".  I unmerged
> vixie-cron and emerged dcron.  
>[...]
>   vixie-cron |

rm /etc/init.d/vixie-cron

Unmerging vixie-cron didn't remove this script, as it falls under 
the /etc CONFIG_PROTECT.  To avoid this, some people add
/etc/init.d to CONFIG_PROTECT_MASK in make.conf.

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



Re: [gentoo-user] Any ideas??

2005-05-16 Thread Benno Schulenberg
timothy johnson wrote:
> I am doing a fresh install on a VIA Mirco-ITX board. 
> [...]
> -I. -I../include  -D_GNU_SOURCE -DNDEBUG -O2 -mcpu=i686

Compiling things for the wrong processor maybe?
Isn't your VIA a 586 instead of a 686?

If that's not it, then post your emerge --info.

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



Re: [gentoo-user] Slune

2005-05-17 Thread Benno Schulenberg
Bill Six wrote:
> I emerged the game Slune, but when I try to run
> "slune" from the command line, I get the following error
> [...]
> AttributeError: 'module' object has no attribute 'Image'

Set "games-action/slune ~x86" in /etc/portage/package.keywords and 
reemerge slune (version 1.0.7 will be built), it should work OK.

If not, hit bug  http://bugs.gentoo.org/show_bug.cgi?id=92826.

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



Re: [gentoo-user] ebuild.sh chown/chmod segmentation fault

2005-05-18 Thread Benno Schulenberg
glen martin wrote:
> /usr/lib/portage/bin/ebuild.sh: line 1882: 16369 Segmentation
> fault chown portage:portage "${T}/environment" >&/dev/null
> /usr/lib/portage/bin/ebuild.sh: line 1882: 10308 Segmentation
> fault chmod g+w "${T}/environment" >&/dev/null
>
> FWIW, this is an x86-ish platform, EPIA mobo,

Are you compiling things for the right processor?

Anyhow, when having problems compiling, show us your flags.  The 
simplest way: emerge --info.

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



Re: [gentoo-user] ebuild.sh chown/chmod segmentation fault

2005-05-18 Thread Benno Schulenberg
glen martin wrote:
> This is an EPIA PD6000, which like the ME6000 uses the Samuel 2
> processor. So I used those CFLAGS with other tweaks mentioned on
> the same page.
>
> CFLAGS="-march=i586 -m3dnow -Os -pipe -fomit-frame-pointer -mmmx"

What happens if you recompile coreutils (containing chown and chmod) 
with just CFLAGS="-march=c3"?

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



Re: [gentoo-user] ebuild.sh chown/chmod segmentation fault

2005-05-20 Thread Benno Schulenberg
glen martin wrote:
> I'm still puzzled, though, that I can call chown by hand and it
> works fine. That
> is, I type
>chown portage:portage /tmp/foo
> which works.  but the emerge log says
>/usr/lib/portage/bin/ebuild.sh: line 1882: 16369 Segmentation
> fault chown portage:portage "${T}/environment" >&/dev/null
> doesn't work.

No idea, but strange things happen in Portage's sandbox.
(By the way, ">&/dev/null" is a pasto?  Here it is "&>".)

But have you tried updating the kernel?  See the thread on "random 
emerge failures".  Yours aren't random, but worth trying an update.  
And if that doesn't help, how about using a default profile?

> I'm starting to wonder about other possibilities:
> 1) Could the error report be erroneous? That is, not chmod/chown
> at all? Perhaps line number mismatching?

Maybe.  Have you looked at /usr/lib/portage/bin/ebuild.sh?  
Because here the chown is on line 1880.  Portage 2.0.51.19.
Perhaps try reemerging portage?

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



Re: [gentoo-user] grub still broken

2005-05-29 Thread Benno Schulenberg
maxim wexler wrote:
> I rebooted the 2005.0 install CD in full expectation
> of fixing the problem at last. 

mount /dev/hda4 /mnt/gentoo
chroot /mnt/gentoo
mount /dev/hda2 /boot
grub...

Chroot before mounting /boot, otherwise /etc/mtab will not know 
about the mounting and grub may do the wrong thing.

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



Re: [gentoo-user] [OT] meta-question: how can I receive the messages that I send to the ML?

2005-06-04 Thread Benno Schulenberg
Antonino Sabetta wrote:
> I almost never read this ML via Gmail, I use Thunderbird to
> retrieve my mail through pop (or whatever) but still I do not see
> my posts.

I'm popping Gmail too, with KMail, but do see my own posts.

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



Re: [gentoo-user] Failed Disk Recovery

2005-06-26 Thread Benno Schulenberg
David Busby wrote:
>I've got a HDD that's failed, seems to have lost partition
> table.  When I say sfdisk -l or -d it can't read and I see IO
> errors in dmesg output, can't read sector XX.  I can't get dd to
> dump from that drive to file on a working drive either.

You've used 'dd' with conv=noerror?

If that succeeds and you still have a vague idea what the partition 
table looked like, you can try using the latest 'parted' on the 
resultant file, do help, and then do rescue begin end.

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



Re: [gentoo-user] HDD LED flashes constantly in X

2005-07-07 Thread Benno Schulenberg
Bogo Mipps wrote:
> Ever since I emerged KDE 3.4 this week the LED for my HDD's have
> developed a regular 2 per second flash - while the system is
> sitting ostensibly idle.

See http://forums.gentoo.org/viewtopic.php?p=2209780, quoting:

"""In the Control Center, under KDE Components -> Service Manager, 
untick the KDED Media Manager, Stop it, and Apply. That stops the 
blinking.

Then under Desktop -> Behavior -> Device Icons, untick the Show 
device icons, as otherwise upon the next login the Media Manager 
will be running again, even though it's unticked."""

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



Re: [gentoo-user] Thunderbird ">"

2005-07-09 Thread Benno Schulenberg
Holly Bostick wrote:
> What I meant to say was:
> > ">sys-kernel-2.4.28-r9"
>
> there should be a 'greater-than" sign in fron of the package name,

There was a greater-than for me, in KMail, also in your first mail.  
Apparently Thunderbird hides it from you.  But it should do that 
only for ">From " and nothing else.  Bug in TB?

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



Re: [gentoo-user] Emerging gentoo-kernel 2.4.20-gentoo-r31

2005-07-18 Thread Benno Schulenberg
Thomas Drueke wrote:
> I want to emerge gentoo-sources-2.4.20-r31 but it has been
> deleted from the rsync repository.
>
> Is there a way to get the corresponding ebuild-file back to get
> it emerged ?

See
http://www.gentoo.org/cgi-bin/viewcvs.cgi/sys-kernel/gentoo-sources/

Download the desired one, put it in your overlay, and use = to 
emerge it.

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



Re: [gentoo-user] slow redrawing in KDE

2005-07-18 Thread Benno Schulenberg
Jorge Almeida wrote:
> I just emerged KDE, changing from the monolytic packages to the
> split ones.
> Now windows redrawing is painfully (and cas-ca-ding) slow.

Have you tried renaming your .kde3.4/ dir temporarily (while logged 
out of KDE)?  And removed all kde and mcop junk from /tmp?

Have you unmerged the old kde ebuilds?  And done --depclean?  And 
revdep-rebuild?

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



Re: [gentoo-user] devpts question

2005-07-22 Thread Benno Schulenberg
Allan Spagnol Comar wrote:
> Hi all, I am very curious about something, when I boot the system
> I can see the message mounting /dev/pts, well I looked at
> /etc/conf.d/rc and didn't find anything

These pseudoterminals are mounted by the self-thinking rc script.

See 'grep dev/pts /sbin/rc'.

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



Re: [gentoo-user] thunderbird/firefox conflict

2005-07-23 Thread Benno Schulenberg
Holly Bostick wrote:
> I understand heavy development, but three
> upgrades in three days is a bit much even for me

Come on, Holly, when you're running unstable (~x86), you've got to 
be ready to take frequent updates.  Or, to circumvent this, you 
could sync less often: once a week works fine here.

> (since it takes 
> an hour and a half or so to compile each program, and further
> means I have to use Konq for that time if I don't want to mess up
> ff by having it loaded while it's upgrading.

There's no problem with using Firefox while it is being compiled.  
Only as soon as it has actually been merged, it may be wise to 
restart it.

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



Re: [gentoo-user] Beep holding Shift

2005-07-24 Thread Benno Schulenberg
David Corbin wrote:
> On Saturday 23 July 2005 10:11 pm, Michal Pronay wrote:
> > Sound like accessibility support to me. Try to take a look in
> > your kde control panel -> Regional & Accessibility ->
> > Accessibility.
>
> Well, that allows me to turn off the System Bell, but I'm curious
> as to why it's beeping in the first place.

Go to the Keyboard tab there, press Shift-F1, and click on 
"Activation gestures".  You will see it wasn't Ctrl but Shift that 
beeps after 8 seconds.  You may want to read the relevant section 
in the Help Center.

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



Re: [gentoo-user] Beep holding Shift

2005-07-24 Thread Benno Schulenberg
David Corbin wrote:
> However, my help center documentation doesn't have any
> information on "Activation Gestures",

Indeed, it doesn't here either.  Time for a doc-patch?  :)

> and worse, even if I 
> uncheck "Use gestures for activating the above features" and
> APPLY, it still beeps.

Hmm, sounds like this bug: http://bugs.kde.org/show_bug.cgi?id=97425
What version of KDE are you using now?  Here 3.4.1.

> Furthermore, even though I've unchecked "Use System Bell", I get
> an audible bell and no visible bell (despite having checked
> that).

This all works fine here, in every combination: beep, song, flash.  
And I can disable all that too.

But holding Shift for eight seconds doesn't actually enable Slow 
keys, also there is no confirmation dialog (although it is ticked). 
Pressing Shift five times _does_ activate Sticky keys (and it asks 
first when ticked). Hmm, there is definitely something wrong with 
these Accessibility things.

Maybe kcmaccessibilty depends on extra things, other split ebuilds, 
some of which I've installed but you don't?

$ grep kde /var/lib/portage/world | sort
kde-base/kaddressbook
kde-base/kappfinder
kde-base/kate
kde-base/kbabel
kde-base/kde-i18n
kde-base/kdebase-startkde
kde-base/kdelibs
kde-base/khelpcenter
kde-base/khexedit
kde-base/khotkeys
kde-base/kmail
kde-base/kmenuedit
kde-base/kmix
kde-base/konqueror
kde-base/konsole
kde-base/kopete
kde-base/kpat
kde-base/kpdf
kde-base/ksnapshot
kde-base/kstart
kde-base/ksysguard
kde-base/kuickshow
kde-base/kwalletmanager
kde-base/kxkb
kde-misc/kdiff3
kde-misc/ksensors


And this is my ~/.kde/share/config/kaccessrc:

[Bell]
ArtsBell=true
ArtsBellFile=/usr/share/sounds/Borealis/Question.ogg
SystemBell=true
VisibleBell=true
VisibleBellColor=255,0,0
VisibleBellInvert=true
VisibleBellPause=200

[Keyboard]
BounceKeys=false
BounceKeysDelay=500
GestureConfirmation=true
Gestures=true
SlowKeys=false
SlowKeysDelay=500
StickyKeys=false
StickyKeysLatch=true

[Mouse]
MKCurve=0
MKDelay=160
MKInterval=5
MKMaxSpeed=500
MKTimeToMax=1000
MouseKeys=false


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



Re: [gentoo-user] Beep holding Shift

2005-07-25 Thread Benno Schulenberg
David Corbin wrote:
> > $ grep kde /var/lib/portage/world | sort
>
> When I get that, all I get is:
> kde-base/kde

Okay, no problem, you have a full KDE install, not a series of split 
ebuilds.

> Ah!  I see what's happened to me (at least in part).  When I run
> the control center, it prompts me for the root password,

That is strange, starting the Control Center shouldn't ask for the 
root password.  Only under System Administration most sections have 
an Administrator Mode button, needed when one wants to change 
anything there.  Then it asks for the root password.  All the rest 
should be changeable as your normal user.

Do you still have your ~/.kde3.3 dir lying around?  If so, you may 
want to tar it up somewhere safe, then delete the dir, and restart 
KDE, just to be sure.  That probably won't help anything, so then 
log out of KDE, move ~/.kde3.4 to a different name for the moment, 
clean all KDE stuff out of /tmp, and then relogin to KDE.  If that 
brings things back to normal, you may try diffing the old and 
new .kde3.4 dirs.  If it doesn't help, restore your original .kde3.4 
dir to get all your settings back.

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



Re: [gentoo-user] Re: Is GWN dead?

2008-01-14 Thread Benno Schulenberg
Bo Ørsted Andresen wrote:
> Furthermore stage 1 is completely unsupported and for a very good
> reason.

Which good reason, Bo?  You seem to know it, so maybe give a link 
somewhere; don't make us guess or search.

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



Re: [gentoo-user] Speed up with pbzip2 or not!?

2008-01-27 Thread Benno Schulenberg
Justin wrote:
> Is there a way to use 7zip for decompression with emerge?

Can this top-posting stop, please?  Interleave, and snip.

http://en.wikipedia.org/wiki/Top-posting

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



Re: [gentoo-user] [OT] text editor with multiline block replacement

2008-02-15 Thread Benno Schulenberg
Philip Webb wrote:
> It sb possible using regular expressions in (G)Vim,

It somebody...?  It soundboard...?  It antimony...?

Ah, it should be...

Why not type the few extra characters and save multiple readers a 
search through their abbreviations list?

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



Re: [gentoo-user] [nb] How to change permission on this

2008-02-16 Thread Benno Schulenberg
Uwe Thiem wrote:
> On Saturday 16 February 2008, Dale wrote:
> > Neil Bothwick wrote:
> > > chown -R user: ~user
> >
> > What does the "~" make it do different?  
>
> Change user only for those files that have a different one.

No.  The ~ prefixed to a user name means the home dir of that user 
as it is listed in /etc/passwd.

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



Re: [gentoo-user] Problem with FONTS under X

2008-03-05 Thread Benno Schulenberg
[EMAIL PROTECTED] wrote:
> CFLAGS="-O3 -pipe -fomit-frame-pointer -march=nocona
> -mtune=nocona"
> CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=nocona
> -mtune=nocona"

Recompile your entire system with -O2, and see if the problem 
persists.  If it persists, show the full output of emerge --info.  
By the way, -march implies -mtune, so you can drop the latter.

> Here is GLXINFO:

Why is glxinfo relevant?  Are you trying to use this new-fangled 
compiz stuff?  How about switching that off and see how it goes?  
And show us your xorg.conf.

Why are you already using KDE-4 when it is still hard masked?  You 
seem to be asking for trouble.

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



Re: [gentoo-user] [OT] firefox fonts

2008-03-05 Thread Benno Schulenberg
maxim wexler wrote:
> Following a major upgrade I noticed that all my fonts
> had shrunk drastically. I was able to enlarge all of
> them, KDE, the desktop, consoles etc except the menu
> bar and drop down menus in firefox. I can increase the
> font size in the window no problem but not the menu
> bar and side bar. Nothing in "customize toolbar" about
> changing font size.

To change the fonts of firefox itself, you could use gtk-chtheme.

But because all fonts changed, you may want to check that X has the 
right idea about the size of your display:

  xdpyinfo  | grep -e milli -e dots

If not, try setting something like "DisplaySize 320 240" (with the 
correct sizes filled in) in Section "Monitor" in xorg.conf.

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



Re: [gentoo-user] Nvidia 169.09-r1 problem [SOLVED]

2008-03-06 Thread Benno Schulenberg
Amar Cosic wrote:
> It seems X isn't starting :(  . What to do ?

First: stop top-posting.

Second: snip irrelevant parts of the mail you are replying to.

Third: stop sending an additional HTML version of your mail.

About your problem, I have no idea, sorry.

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



[gentoo-user] pasting in Kate or Kwrite doesn't move the cursor

2008-03-07 Thread Benno Schulenberg

Since upgrading to KDE-3.5.9, pasting multiple lines into Kwrite 
leaves the cursor at the end of the first pasted line, instead of 
at the end of the pasted text.  Using mouse middle click, Ctrl-V or 
Shift-Insert makes no difference.  Can anyone either confirm or 
contradict this strange behaviour?

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



Re: [gentoo-user] pasting in Kate or Kwrite doesn't move the cursor

2008-03-07 Thread Benno Schulenberg
Peter Ruskin wrote:
> On Friday 07 March 2008, Benno Schulenberg wrote:
> > Since upgrading to KDE-3.5.9, pasting multiple lines into
> > Kwrite leaves the cursor at the end of the first pasted line,
> > instead of at the end of the pasted text.  Using mouse middle
> > click, Ctrl-V or Shift-Insert makes no difference.  Can anyone
> > either confirm or contradict this strange behaviour?
>
> Same here.  Kedit works as expected though.

Thanks for confirming, guys.  Found the bug in KDE's bugzilla
(after missing it earlier).  It has been fixed there:

https://bugs.kde.org/show_bug.cgi?id=158069

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



Re: [gentoo-user] -Os = Nono?

2007-07-23 Thread Benno Schulenberg
Mike Edenfield wrote:
> More importantly, -O2 seems to be the "typical" optimization
> setting, and almost all free software packages are built and
> tested and generally "supported", for whatever that means in an
> open-source world, under -O2. If you report a bug in a package
> and you use -Os, the first thing the devs will ask is "recompile
> it using normal CFLAGS and try again."

Although I agree with your reasoning above, you are contradicting 
yourself in the following two statements:

> At least, it's no more broken under -Os than under -O2.
> [...]  benefits of using -Os over -O2 are minimal 
> compared against the possible problems it might cause.

If -Os is no more broken than -O2, then it shouldn't cause any extra 
problems.  :)

> But given that disk space is dirt cheap

It's not about disk space, it's about the amount that needs to be 
loaded from disk upon first run.

> and modern OS  
> don't need to read an entire binary into memory to execute it,

But if the entire binary is larger, each coherent subsection will be 
larger too, so more will have to be loaded with -O2 than with -Os.  
Processors are fast enough and getting faster all the time, it is 
only those disks that don't get any quicker -- not until we drop 
all those spinning platters and go solid state.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't get Alsa (mic) to work with my Intel HDA board

2007-07-27 Thread Benno Schulenberg
Gabriel Rossetti wrote:
> I used to have more inputs/outputs to play with in
> alsamixer, but now all I have are Master, PCM, CD, Mic, Mic Boos,
> IEC958, and IEC958P. I used to have for instance Front Mic,

You might need to pass a different model option during modprobe.

First check with 'aplay -l' to see precisely what chip you have, 
then put that number into the search box (lower left) on
https://bugtrack.alsa-project.org/alsa-bug/view_all_bug_page.php

You might need to advance again to unstable for the alsa packages, 
as hda-intel is seeing many changes.

> Lenove/IBM Thinkpad T60p,

Hmm...  You had alsa working on this laptop two or three years ago?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't get Alsa (mic) to work with my Intel HDA board

2007-07-29 Thread Benno Schulenberg
Gabriel Rossetti wrote:
> I did notice something, I
> had the gnome volume control open also and when I recorded it
> toggles the audio capture from "Capture", if I untoggle it while
> I'm recording, it works, the mic's input is recorded.

Sounds like a misconfiguration somewhere.  Or like a bug in Gnome.
Maybe these forum posts give you new ideas:

  http://forums.gentoo.org/viewtopic-t-529738.html
  http://forums.gentoo.org/viewtopic-t-514297.html

What are you using to record, by the way?

Benno


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Switch to Unicode

2007-08-06 Thread Benno Schulenberg
Thierry de Coulon wrote:
> On Monday, 6. August 2007, [EMAIL PROTECTED] wrote:
> > I'm a french man. As such, I use iso-8859-15 encoding system
> > wide w/o problem.
> >
> > Few questions:
> > - Should I switch to UTF-8 ?

If you have no problems, then just stick with ISO-8859-15.  But 
switching to UTF-8 now, when you have time to deal with any 
problems, will save you from doing it when it becomes a pressing 
need for some reason.

> I regularely receive mail (in French or German) where I have to
> change the encoding in kmail to get the correct caracters.
>
> I don't know if this is rather a problem of the sender or of
> kmail not identifying the encoding correctly (the setting is set
> to "auto-detect".

Where do you set KMail to do "auto-detect"?  As far as I can tell, 
KMail always obeys the encoding specification given in the mail 
itself, and probably only in the absence of that tries to do some 
autodetection.

What exactly these "Fallback encoding" and "Override encoding" do in 
Settings > Configure KMail > Appearance > Message window, I haven't 
been able to figure out.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] charset iso/utf (was:packages.gentoo.org down?)

2007-08-10 Thread Benno Schulenberg
Philip Webb wrote:
> (I've just been reading LeCarré),

Hmm...  Your email uses UTF-8, but your mailer marked the message 
with charset=iso-8859-1.  How come?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] emerge reporting different number of ._cfg....s

2007-08-10 Thread Benno Schulenberg
Gary Artim wrote:
>  * IMPORTANT: 4 config files in '/etc' need updating.
>  * See the CONFIGURATION FILES section of the emerge
>  * man page to learn how to update config files.
> localhost gary # find /etc -iname '._cfg*'
> /etc/mutt/._cfg_Muttrc.dist
> /etc/mutt/._cfg_mime.types.dist
> /etc/._cfg_mime.types

By default 'find' does not follow symlinks, so above command will 
not find ._cfg* files in /usr that are symlinked from /etc.
Try with option -L:  find -L /etc -iname '._cfg*'

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Dell Inspiron 530 compatability questions before buying

2007-08-10 Thread Benno Schulenberg
Walter Dnes wrote:
> It features an "Integrated Intel Graphics Media Accelerator 3100"
> video chip.

According to 
http://en.wikipedia.org/wiki/Intel_graphics_media_accelerator the 
3100 chip is very similar to the GMA 950, which works very well 
under Linux.  The G33 and friends are listed in drm_pciids.txt, 
under i915, and Mesa has an i915 driver.  So it should work fine.  
And if not, you can file a bug with Mesa -- they're fixing tiny 
correctness bugs every week.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: charset iso/utf

2007-08-11 Thread Benno Schulenberg
Philip Webb wrote:
> 070810 Alexander Skwar wrote:
> > You wrote: "(I've just been reading LeCarré)". Notice the
> > letters "é". This looks quite a lot like UTF-8 to me.
> > In your header, "you" are saying, that you don't use UTF-8,
> > though.
>
> I write e-mails with Gvim called up by Mutt (as now).
>   [...] 
>   termencoding -- character encoding used by the terminal
>   set tenc=utf-8

This suggests you are using a UTF-8 locale.  In such an environment, 
gvim produces UTF-8 encoded files.  Try with 'gvim text', enter just 
your Ctrl-V 233, save the file, and look at it with 'xxd text'.  If 
it shows c3a9, it's UTF-8.  If gvim should produce ISO-8859-1, then 
make sure to call it with LC_ALL=C.

(But that does not solve the actual bug: mutt should not advertise 
charset=iso-8859-1 when the message contains UTF-8.)

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: charset iso/utf

2007-08-11 Thread Benno Schulenberg
Philip Webb wrote:
> 070811 Benno Schulenberg wrote:
> > This suggests you are using a UTF-8 locale.
>
> In  /etc/locale.gen  I have
>
>   en_US ISO-8859-1
>   en_US.UTF-8 UTF-8

Well, that just shows which locales you have available, not which 
one you are actually using on the console (whether VT or xterm).  
For the latter look at the output of 'locale'.

> For everyday purposes, I have no use for anything beyond ASCII,
> ie English + French German Spanish accents,

Strictly speaking, French, German, and Spanish accented characters 
_are beyond ASCII, they are found only in the extended ASCIIs.

Philip Webb also wrote:
> In  .muttrc  I have:
>
>   set charset="iso-8859-1"

Maybe comment this line out?  Probably mutt will then determine 
itself which characterset any message you produce uses and 
automatically convert to the lowest one possible.

Why gvim produces ISO-8859-1 when you run it from the command line, 
and produces UTF-8 when run from mutt is... weird.  Maybe you have 
utf-8 as the first entry in 'assumed_charset' in your .muttrc?

> > If gvim should produce ISO-8859-1, make sure to call it with
> > LC_ALL=C.
>
> Could you clarify in light of my test ?
> Eg do you mean I should alias Gvim in  .bashrc ?

No, just how mutt calls it, as it apparently works fine when run 
from the console.  Fiddle with the editor setting in .muttrc (if 
still necessary, because removing the 'set charset="iso-8859-1"' 
line may be all that is required.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Dell Inspiron 530 compatability questions before buying

2007-08-11 Thread Benno Schulenberg
Walter Dnes wrote:
> On Fri, Aug 10, 2007 at 11:04:54PM +0200, Benno Schulenberg wrote
> > According to
> > http://en.wikipedia.org/wiki/Intel_graphics_media_accelerator
> > the 3100 chip is very similar to the GMA 950, which works very
> > well under Linux.
>
>   Thanks.  Good to know.

And within a few hours someone posts a lockup bug:
https://bugs.freedesktop.org/show_bug.cgi?id=11937  :|
You can be pretty certain it will get fixed, though.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: charset iso/utf

2007-08-12 Thread Benno Schulenberg
Philip Webb wrote:
> purslow: system> locale
>   LANG=
>   LC_CTYPE="POSIX"

You will have to use a UTF-8 locale if you want mutt/gvim to be able 
to handle anything beyond ASCII.  When setting a POSIX locale, I 
also get this:

>   Content-Type: text/plain; charset=unknown-8bit

When using a UTF-8 locale, mutt correctly determines whether the 
produced message fits in us-ascii, iso-8859-1, or requires utf-8.

If just setting the better locale doesn't help, then also try with 
an empty .muttrc.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vim encoding

2007-08-13 Thread Benno Schulenberg
Mick wrote:
>  - My /etc/vim/vimrc says scriptencoding utf-8, does this mean
> that this is the vim encoding and any new file will be saved with
> this encoding?

No, scriptencoding is just the encoding of /etc/vim/vimrc.  File 
encoding is handled by 'fileencodings' further down.

>  - If I open a file which was saved with ISO-8859-1, edit it and
> save it, will it keep the original encoding?

Yes.  Vim will never change the encoding of a file.  If you typed 
characters that don't fit in ISO-8859-1 (which can happen if you use 
a utf locale), you will get a CONVERSION ERROR upon writing the 
file, and 'quit' will refuse to quit without you forcing it.

>  - The vimrc says: " Make sure we have a sane fallback for
> encoding detection set fileencodings+=default"  I guess this is
> system default.  How can I find what is the default setting?

Open a new file and type ":set enc"; it will show the current 
(default) enconding.  This default is what LANG says.  See the 
output of 'locale'.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: charset iso/utf

2007-08-13 Thread Benno Schulenberg
Philip Webb wrote:
> 070813 Philip Webb wrote:
> > I now have (via a line in  .bashrc ):
> >
> >   LANG=
> >   LC_CTYPE="en_US.UTF-8"  ... snip ...
> >   LC_ALL=en_US.UTF-8

Ideally LANG should be set and LC_ALL unset.  The individual LC_* 
variables will take their value from LANG when LC_ALL is unset.  
This has the advantage that you can override the individual 
variables, which is not possible when LC_ALL is set.

In /etc/env.d/02locale I have just this:

LANG="en_GB.utf8"
LC_TIME="POSIX"
LC_COLLATE="POSIX"

and 'locale' produces:

LANG=en_GB.utf8
LC_CTYPE="en_GB.utf8"
LC_NUMERIC="en_GB.utf8"
LC_TIME=POSIX
LC_COLLATE=POSIX
LC_MONETARY="en_GB.utf8"
LC_MESSAGES="en_GB.utf8"
LC_PAPER="en_GB.utf8"
LC_NAME="en_GB.utf8"
LC_ADDRESS="en_GB.utf8"
LC_TELEPHONE="en_GB.utf8"
LC_MEASUREMENT="en_GB.utf8"
LC_IDENTIFICATION="en_GB.utf8"
LC_ALL=

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vim encoding

2007-08-13 Thread Benno Schulenberg
Mick wrote:
> Hmm, I just checked a utf-8 file after I edited it and it says:
>
> :set encoding
>  encoding=latin1
>
> I assume this means that it was changed from utf8 to latin1

No.  To see what encoding a file has, you could use 'file'.  Run 
'file thefileyouedited', and it should say "UTF-8 Unicode text".  
When you open the file again with vim, it will say "[converted]" on 
the status line: converted from utf-8 to latin1.

> (whatever this is . . . is it relevant to ISO-8859-1?)

Latin1 is a synonym for ISO-8859-1.

Because your LANG isn't set, the default is Latin1, as you could 
have learned by typing ':help enc' in vim.

> Not sure I understand what all this means.  Is my Vim
> installation working as it should?

You can edit any file you like, vim will auto-convert on read and 
write.

> Do I have to change my locale? 

Depends on what you want.  If new files should be UTF-8 encoded, 
then change your locale.  Otherwise you're fine as you are.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vim encoding

2007-08-14 Thread Benno Schulenberg
Mick wrote:
> Or, I leave Vim encoding alone and run export LANG="en_GB.UTF-8"
> and Vim will use that.
>
> Did I get this right?

Precisely.  But why don't you just try it and see how it behaves?

> PS.  What I am not entirely sure about is where is the locale set
> for my system?

When it's not set anywhere, it defaults to POSIX.

> When I look into /etc/env.d/ I cannot find the file 02locale.

You have to make that file yourself.  If you google for "02locale" 
on "site:gentoo.org", you will find these:

http://www.gentoo.org/doc/en/guide-localization.xml
http://www.gentoo.org/doc/en/utf-8.xml

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] i586 install

2007-08-23 Thread Benno Schulenberg
Neil Bothwick wrote:
> GRUB cannot read files from a tail-packed Reiser filesystem.

Huh?  How is this machine able to boot then?  Here /boot isn't a 
separate partition, but just a subdir of /, which is mounted 
without notail, and has been so for years.

# mount | grep " / "
/dev/hda9 on / type reiserfs (rw,noatime)

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how list all emerged portages?

2007-08-25 Thread Benno Schulenberg
Xihong Yin wrote:
> How do I list all emerged portages?

# emerge portage-utils
# qlop --list sys-apps/portage

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] no shorewall

2007-08-27 Thread Benno Schulenberg
Jorge Almeida wrote:
> Meanwhile, I ended up by selecting all modules in my former
> config, even those  that are plainly irrelevant (according to the
> help in menuconfig) and shorewall now starts OK. I just wish I
> were any wiser, which I'm not.

Sure you are.  You've learned that shorewall sets up rules that are 
plainly irrelevant.  :)

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Updated bash crashed complete system

2007-09-05 Thread Benno Schulenberg
Matthias Fechner wrote:
>  Installed versions:  3.1_p17(22:37:52 09/04/07)(-afs
> -bashlogger nls -vanilla)
>   3.2_p17(21:23:37 09/04/07)

Hmm?  You have two bashes installed?

Please show us the output of 'qlop -ul bash' (qlop is from 
portage-utils).  And paste the output of 'emerge --info'.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] EMERGE USE PHP additional options problem

2007-09-05 Thread Benno Schulenberg
Pablo Murillo wrote:
> USE=" -X -gtk -gnome -kde -xpm -gpm -alsa -qt -java -ipv6 -berkdb
> -gdbm -pdo -pdo-external -posix -cgi -force-cgi-redirect cli
> apache2 ctype fastbuild ftp gd hash iconv mysql nls pcre pic
> reflection session simplexml soap sockets spl ssl sqlite
> tokenizer truetype xml xmlrpc xmlreader xmlwriter xsl zlib zip
> unicode imap snmp" emerge -a php-5.1.4.ebuild

Don't set all these USE flags on the command line.  Set the ones you 
want to be valid for your whole system in /etc/make.conf.  Set the 
ones that should be valid only for php in /etc/portage/package.use, 
by putting a line like 'dev-lang/php  zip' in that file.

Further, you can't use the word "ebuild" in an emerge command like 
that.  Please show us the actual output of 'emerge -pv php'.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] EMERGE USE PHP additional options problem

2007-09-05 Thread Benno Schulenberg
Pablo Murillo wrote:
> I update de portage,

You did what exactly?  Did you run 'emerge --sync' or 'emerge -a portage'?

> [ebuild  N] virtual/mysql-5.0 
> [ebuild U ] dev-lang/php-5.2.3-r3 [5.1.4]
> USE="-fastbuild* -filter% -ftp* -hash* -imap* -json% -ldap-sasl%
> -pic* -snmp* -sockets* -spell* -sqlite* -suhosin% -tokenizer*
> -xmlreader* -xmlrpc* -xmlwriter* -zip* -zip-external%"
> [blocks B ] mail-mta/ssmtp (is blocking mail-mta/qmail-1.03-r16)
> [blocks B ] mail-mta/qmail (is blocking mail-mta/ssmtp-2.61-r2)

Put the single line 'dev-lang/php  fastbuild ftp hash imap pic snmp
sockets spell sqlite tokenizer xmlreader xmlrpc xmlwriter zip -mysql'
in your /etc/portage/package.use file.  Create the file if it does not
exist, create the dir too if necessary.  The relevant parts are the
"sqlite" USE flag and the "-mysql" one, which will prevent mysql from
being pulled in, which will prevent ssmtp from being pulled in.

You will probably want to add "-mysql" to the USE flag definitions in
your /etc/make.conf.

Benno


PS: please do not top-post.  No matter what your mailer, please
organize your messages in a sensible order.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Updated bash crashed complete system

2007-09-05 Thread Benno Schulenberg
Matthias Fechner wrote:
> ---snip---
> Tue Apr 17 21:43:38 2007 <<< app-shells/bash-3.1_p16
> Tue Apr 17 21:43:38 2007 >>> app-shells/bash-3.1_p17
> Tue Sep  4 22:37:57 2007 >>> app-shells/bash-3.1_p17
> ---snip---

Please don't snip anything, show the full output.

> app-shells/bash: 3.1_p17, 3.2_p17

Do 'cd /var/db/pkg/app-shells; rm -rf bash-3.2_p17'.
This removes the record of the no longer installed bash-3.2.

Then try re-emerging the newer bash with:

  FEATURES="-ccache -distcc" emerge -1 -a =bash-3.2_p17

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] EMERGE USE PHP additional options problem

2007-09-05 Thread Benno Schulenberg
Pablo Murillo wrote:
> If I USE -mysql the PHP won't have support for mysql ?

Precisely.  If sqlite is not enough and you need mysql, then yiou 
will have to uninstall qmail and install ssmtp instead.  Or file a 
bug in Gentoo's bugzilla against mysql, that it should be able to 
cope with qmail instead of ssmtp.

> > PS: please do not top-post.  No matter what your mailer, please
> > organize your messages in a sensible order.
>
> I wrote this way for years, but the common PC user don't
> understand :D

Yeah.  No excuse, though.  :)

Oh, and please snip too.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Mouse Paste

2007-09-09 Thread Benno Schulenberg
Korthrun wrote:
> I've done some tweaking of my xorg.conf, .xbindkeysrc and
> .Xmodmap to get my logitech mx1000 working. The forums/wiki
> helped a lot with this.

You're not saying which forums or wiki.  :)

The https://help.ubuntu.com/community/MX1000Mouse page suggests that 
the following may be needed:

 Option  "ZAxisMapping"  "4 5 7 6"

> Since making these changes I've lost my middleclick to paste
> functionality,

When you remove all your tweaks again and go back to the defaults, 
does middleclicking work again?  Just to make sure the mouse is 
still working.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Boot situation

2007-09-11 Thread Benno Schulenberg
Colleen Beamer wrote:
> 5)  I did the step:
>
> zcat /proc/config.gz > /usr/share/genkernel/x86/kernel-conf-2.6

This grabs the configuration from the running kernel (the one from 
the CD you booted from), not the configuration you may have had 
earlier on the system you chrooted into.  Did you tweak that earlier 
configuration?  Do you have a backup of that config somewhere?

> The ran 'genkernel --menuconfig all'

Does this also install the kernel onto the /boot partition?  (Just 
asking, as I don't know genkernel.)  Are name and version numbers 
in /boot/grub/menu.lst exactly the same as the kernel and initrd 
stored in /boot?

> Output from e2fsck for /dev/sda3 is:

It said "/dev/sda3 was not cleanly unmounted, check forced"?  If you 
run the same command again, is /dev/sda3 now clean?

> Although the fstab and grub.conf are exactly what they were
> before hitting that damned "Media Direct" button.

But since then a new kernel source tree might have been installed, 
which you might not have compiled and installed yet.  So the 
version numbers may have changed.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Boot situation

2007-09-11 Thread Benno Schulenberg
Colleen Beamer wrote:
> Benno Schulenberg wrote:
> > Colleen Beamer wrote:
> >> zcat /proc/config.gz >
> >> /usr/share/genkernel/x86/kernel-conf-2.6
> >
> > This grabs the configuration from the running kernel (the one
> > from the CD you booted from), not the configuration you may
> > have had earlier on the system you chrooted into.
>
> I doubt that it grabs the kernel running from the CD,

It does.  You did 'mount -t proc none /mnt/gentoo/proc' before 
chrooting, which gives you the proc of the running kernel.

But it matters not.  The zcat command just saves a default config, 
in case no kernel was ever configured yet.  Your previous runs of 
genkernel saved the config to /etc/kernels/, and that config gets 
automatically reused when it exists.  So the config should be okay, 
_if it was always _that kernel that you booted, and not just the 
kernel that you _thought you booted.

It might be worth trying to overwrite your custom config 
in /etc/kernels/ (after copying it to a safe place) with the 
contents of /usr/share/genkernel/x86/kernel-conf-2.6, recompiling 
and reinstalling the kernel, and trying to boot with that.

Anyway, googling around seems to say that the following error is 
definitely some kernel configuration problem:

> Block dev sda3 is not a valid root device
> The root block device is unspecified or not detected.

Maybe use also --udev as an option to genkernel?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Boot situation

2007-09-12 Thread Benno Schulenberg
Colleen Beamer wrote:
> So what I thought was some residual problem with
> screwing up and hitting the 'Media Direct' button wasn't really
> the problem after all.

It might still be, depending on how you've reinstalled.  If you 
blanked the first few gigabytes of the disk with 'dd if=/dev/zero 
of=/dev/sda' and then repartitioned the drive, there shouldn't be 
anything left of what that evil button did.  But if you kept the 
partition table as it was and just recreated the file systems, 
there might still be some marker in the partition header 
of /dev/sda3 that doesn't look right to the kernel.  But it is 
quite unlikely.

Anyway, the solution could have come from yourself, if you had 
told the list what it was that you missed in the kernel config: 
http://readlist.com/lists/gentoo.org/gentoo-user/18/90989.html

:)

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Immensely disappointed in emerge -DuN world these days

2007-09-13 Thread Benno Schulenberg
Daevid Vincent wrote:
> I wonder what am I hanging on to Gentoo for (since my first
> install in 2004).
>
> I REALLY love the theory behind it. I REALLY think/thought it has
> potential. I REALLY love the customization.

So ask yourself what customizations you made in Gentoo that you 
can't make in Ubuntu.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Boot situation

2007-09-14 Thread Benno Schulenberg
Colleen Beamer wrote:
> Now, I'm on the road to being up and running again.

Good to hear your ordeal is over.

What I would be most interested in seeing is a diff between the 
config of the working 2.6.21 and the failing 2.6.22.  If on the 
current system both kernels have been installed, both configs 
should be present in /etc/kernels/.

And before the evil button scraps your partition table again, have 
you taken Dan's advice and filled up the button with epoxy glue, or 
chiseled it cleanly off?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Mouse Paste

2007-09-14 Thread Benno Schulenberg
Korthrun wrote:
> > > Since making these changes I've lost my middleclick to paste
> > > functionality,

Since you're not posting any more, did you succeed in getting the 
middle button working again?

> Maybe I'll just set the box on fire tonight.

Or may we conclude that you gave in to the temptation?  :)

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] linux-headers

2007-10-07 Thread Benno Schulenberg
Volker Armin Hemmann wrote:
> But(!) you should not downgrade headers, this can cause very
> severe problems.

Could you give an example?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] speakers have no sound but headphones have

2007-10-18 Thread Benno Schulenberg
Chuanwen Wu wrote:
> I have a sound problem with my dell1400 laptop: I have no sound
> from the speakers in the laptop but I can have sound from
> headphones after I insert them.
>
> Card: HDA Intel  
>│ Chip: SigmaTel STAC9228

https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3238
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2923
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2901

You may want to look at other sigmatel/hda-intel issues to see what 
you need to report to get things moving.  Also first try using the 
very latest alsa-lib and alsa-driver packages.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] speakers have no sound but headphones have

2007-10-19 Thread Benno Schulenberg
Chuanwen Wu wrote:
> On 10/19/07, Benno Schulenberg <[EMAIL PROTECTED]>
> wrote: 
> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=3238
> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2923
> > https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2901
>
> The network here is very slow and I can't connect with the links
> you gave above.

Maybe the certificate acceptance question window is hiding somewhere 
underneath your mailer?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new box DRI problem : more

2007-10-29 Thread Benno Schulenberg
Philip Webb wrote:
>   Unrecognised deviceID 29c2
>   backtrace ...
>   ... /usr/lib64/dri/i915_dri.so ...  (provided by pkg 'mesa')

What versions of Mesa and xf86-video-i810 are you running?  And what 
is in the Section "Device" of your /etc/X11/xorg.conf?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new box DRI problem : more

2007-10-29 Thread Benno Schulenberg
Philip Webb wrote:
> 071029 Benno Schulenberg wrote:
> > What versions of Mesa and xf86-video-i810 are you running?
>
>   'mesa-progs-6.5.2' (latest available).

Get the one from testing, 7.0.1.  But what you need is 
media-libs/mesa; mesa-progs is just glxinfo/glxgears.

>   'xf86-video-i810-2.1.0' ( 2.1.1 is in testing (~)).

Get the newest one, as there's much development in the intel driver.

>   Section "Device"
> [...]
>   Driver  "intel"

Looks good.

> I tried permutations of Options suggested on Forum posts without
> success (I haven't asked on the Forum myself): eg adding 'Option
> "DRI" "true"', which seems merely to duplicate "Accel" above.

The man page of i810 says only NoAccel and DRI exist, and both 
default to "use it", so your settings don't change anything.

> I am a bit confused by the requirement for  2  drivers  i810 
> i915 . The same dir has  i810_dri.so  i915tex_dri.so  i965_dri.so
>  (all from Mesa). Is it using the wrong driver ?

No, it should auto-detect which of those drivers it needs.  It's 
just that your lib is too old for the newer G33,

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new box DRI problem : more

2007-10-29 Thread Benno Schulenberg
Philip Webb wrote:
> I updated to the latest versions  7.0.1  7.0.1  2.1.1  & rebooted
> & there is no change: X crashes as soon as 'glxinfo' starts
> with the same error message "unrecognised deviceID 29c2"
> while using  /usr/lib64/dri/i915_dri.so .

What kernel version are you running?  Try updating to the most 
recent one.  If then you still get "unrecognised deviceID 29c2", 
build the kernel modules from source (just the 1.7 DRM part):

  http://dri.freedesktop.org/wiki/Building

> Is there any way of testing the other  3  versions in the dir,
> which I listed in the previous msg (one is 'i915tex') ?

There's no need.  It knows which one to choose.  :)

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] new box DRI problem : more

2007-10-30 Thread Benno Schulenberg
Philip Webb wrote:
> The kernel is 2.6.22-r8 : I will try 2.6.23 tomorrow.

No need, sorry, I was pointing you in the wrong direction.  Kernel 
2.6.22 already knows about 29c2 for i915.

> I checked the wiki paragraph & the subdir it refers to
> & the modules are already built & 'lsmod' shows them installed:
> is there any sense in rebuilding them ?

No.  But do build the Mesa modules from git, the 1.2.2 and 1.4 part:

  http://dri.freedesktop.org/wiki/Building

These three lines were added to i915/intel_context.h since 7.0.1:

#define PCI_CHIP_G33_G  0x29C2
#define PCI_CHIP_Q35_G  0x29B2
#define PCI_CHIP_Q33_G  0x29D2

So, time to install git and do a big pull.  :)

(Don't build libdrm, the x11-libs/libdrm-2.3.0 you have is fine.)

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT - Need help enabling iptables support in kernel

2007-11-10 Thread Benno Schulenberg
Michael Sullivan wrote:
> # CONFIG_NF_CONNTRACK_IPV4 is not set

This should be switched on.

> # CONFIG_NF_CONNTRACK_IPV6 is not set

And if you use IPv6, then this one too.  But if you don't absolutely 
need IPv6, better switch all support for it off, just because it is 
less confusing that way.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] python bug on gentoo with webbrowser module

2007-11-28 Thread Benno Schulenberg
Stéphane ANCELOT wrote:
> import webbrowser
> webbrowser.open('http://www.python.org')

Works fine for me, opens the site in Firefox.

What version of Python?
What's in your webbrowser._browsers?


Python 2.4.4 (#1, Nov  9 2007, 16:26:42)

>>> webbrowser._browsers
{'kfm': [, 
], 'links': [None, 
], 'lynx': [None, 
]}

There's no Firefox in there, but it is marked as default browser 
somewhere in KControl.

When doing:

webbrowser.register("firefox", None, webbrowser.Netscape("firefox"))
webbrowser._browsers['firefox'][1].open('http://www.python.org')

it opens two Firefoxes, and opens the site in a second tab of the 
first window.  Strange.

Benno
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] bookmarks invisible in Firefox fullscreen

2007-12-06 Thread Benno Schulenberg

When the bookmarks list is longer than what fits vertically on the 
screen, then hitting Alt+B while Firefox is in fullscreen mode 
won't show the list of bookmarks.  The bookmark list is there -- 
because it is possible to select for example the last entry with 
 and  -- but it is invisible.  (When not in fullscreen 
mode, such an overlong bookmarks list shows tiny arrows at top and 
bottom and will scroll as needed.)

Is this invisibility just a local phenomenon, or are others "seeing" 
this too?

This is about Firefox-2.0.0.*. It is not the menu-killing bug of 1.*
-- https://bugzilla.mozilla.org/show_bug.cgi?id=318410 and friends.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] bookmarks invisible in Firefox fullscreen

2007-12-09 Thread Benno Schulenberg
Anthony E. Caudel wrote:
> Benno Schulenberg wrote:
> > When the bookmarks list is longer than what fits vertically on
> > the screen, then hitting Alt+B while Firefox is in fullscreen
> > mode won't show the list of bookmarks.  The bookmark list is
> > there -- because it is possible to select for example the last
> > entry with  and  -- but it is invisible.
>
> I see the same thing here.

Thanks for confirming.  Meanwhile I've seen it  too on Kubuntu 
Feisty.  On Gentoo I use KDE, maybe you do too?  Possibly Gnome
users don't see this?

Anyway, the bug has been reported:
  https://bugzilla.mozilla.org/show_bug.cgi?id=407580

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] growisofs: "media is not recognized as recordable DVD"

2007-12-17 Thread Benno Schulenberg
Daniel wrote:
>   $ eix cdrtools
>Installed versions:  2.01.01_alpha34(19:08:15 16/12/07)

Uninstall this.  Install cdrkit instead.  Then try K3b again.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Network Trouble

2007-12-17 Thread Benno Schulenberg
Hilco Wijbenga wrote:
> Mmmh, so you think it could be software after all?

No, if the light on the firewall and on the NIC itself don't come on 
when you plug in the ethernet cable, the card isn't working.  When 
a different slot doesn't work either, it seems something on your 
PCI bus is dead.  Does 'lspci -v' still report allright?

> How does one check that a NIC is working?

By checking that the light goes on and that one can ping the thing 
at the other end of the cable.  :)

> Does "ping localhost" 
> actually use the NIC? Or is that all just software?

Localhost is all software.  No one on the network knows who 
127.*.*.* is.

> And, yes, the machine works fine otherwise. It's just the network
> that's not working.

Do you have any other PCI cards you could try, an old sound card 
perhaps?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Network Trouble

2007-12-18 Thread Benno Schulenberg
Hilco Wijbenga wrote:
> Yes, I have a PCI sound card and it definitely works. My Oggs are
> still playing. :-)

Does the soundcard also work in the slots that you tried the NICs 
in?  (If the soundcard doesn't work there, don't try the NIC in the 
original slot of the soundcard, unless you're prepared blowing up 
that slot too.)

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] [OT] Network Trouble

2007-12-19 Thread Benno Schulenberg
Hilco Wijbenga wrote:
> I'm starting to wonder if I have two broken NICs after all.

Do they work when you plug them into your firewall box?  If they do, 
then it can really be only the cable.  Are you certain that you're 
not using a cross-over cable when you need a straight one, or the 
other way around?  And are you certain the cable is not subtly 
broken?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Kwrite and CPU usage and locking up when scrolling

2007-02-05 Thread Benno Schulenberg
Dale wrote:
> Dale wrote:
> > Then I noticed that when I open a
> > large file, like say emerge.log, that Kwrite locks up and takes
> > my CPU to almost 100% when I try to scroll to the bottom.

Same thing here.  I remember seeing this bug before, and think it 
was solved at some point by an upgrade of kdelibs.  Or maybe it was 
never fixed and I simply don't use Kate or Kwrite on large files 
any more.

> Well, I guess nobody else has one doing this.

Perhaps no one replied because you're not saying which versions of 
KWrite and Xorg and so on you're using, and weren't providing the 
basic emerge --info either.

> I went back to a older version and it works fine.

Which older version of what?

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



Re: [gentoo-user] Very bad system response

2007-02-07 Thread Benno Schulenberg
Hemmann, Volker Armin wrote:
> hdparm /dev/hda
>
> /dev/hda:
>  multcount= 16 (on)
>  IO_support   =  1 (32-bit)
>  unmaskirq=  1 (on)
>  using_dma=  1 (on)
>  keepsettings =  0 (off)
>  readonly =  0 (off)
>  readahead= 256 (on)
>  geometry = 16383/255/63, sectors = 234493056, start = 0

Maybe set readahead to a smaller value?  Something like 8 or 16?

At least that's what http://linuxgazette.net/issue79/punk.html 
advises.  If you have specific reasons for the higher value, then 
please elaborate.

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



Re: [gentoo-user] Performance problem at writing big files and Multitasking

2007-02-07 Thread Benno Schulenberg
Mike wrote:
> Daniel Pielmeier wrote:
> > No other suggestions?
>
> The hdparm optimizations, the CFQ scheduler and maybe low latency
> desktop in the kernel are the best way to make your desktop
> useable under heavy disk usage.

And check you have HZ set to 1000.

$ grep HZ /usr/src/linux/.config
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000

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



Re: [gentoo-user] Can someone please explain to me why these bugs are duplicates?

2007-02-07 Thread Benno Schulenberg
Daevid Vincent wrote:
> Honestly, I really don't see how they're even remotely related.
> So either I'm just dense, or the maintainer is not understanding
> my request... It's extremely frustrating.

Yes, the bug wrangler looks a bit overworked sometimes.  :|  Those 
bugs don't seem duplicates to me either.

But what you're asking is simple: in your .unmask and .keywords 
files don't unmask a package name but a specific package version 
(use the = or ~ operators). Then you'll only be using that specific 
unstable version, and go back to using stable versions when they 
become available.

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



Re: [gentoo-user] Can someone please explain to me why these bugs are duplicates?

2007-02-08 Thread Benno Schulenberg
Daniel Iliev wrote:
> As already mentioned in this thread the workaround is to
> un-keyword a concrete version, not the whole package.

This is not a workaround, it's a _better way of achieving the goal.  
When portage just flags packages gone stable, you have to watch the 
pretend output yourself for these flags.  When using = or ~ you can 
just forget about the package, portage will automatically handle an 
upgrade to the next stable version.

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



Re: [gentoo-user] Re: thunar won't build?

2007-02-13 Thread Benno Schulenberg
Neil Bothwick wrote:
> On Tue, 13 Feb 2007 17:22:46 + (UTC), Grant Edwards wrote:
> > For those of us thusly disabled, I think it would be a very
> > good idea to actually state that default search is only for
> > open bugs on the search page at ttp://bugs.gentoo.org/ _and_
> > display on the results page what the search criteria were.
>
> File a bug ;-)

Done:  https://bugs.gentoo.org/show_bug.cgi?id=166725

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



Re: [gentoo-user] Keymap for Spanish laptop

2007-02-19 Thread Benno Schulenberg
Grant wrote:
> I changed /etc/conf.d/keymap to:
>
> KEYMAP="es"
>
> and rebooted but the keymap behavior doesn't seem to have
> changed.

The keymap where?  The keymap on the console should be es after the 
above change.  To change it in X too, use Option "XkbLayout" "es" in 
xorg.conf, or set it with 'setxkbmap es' from the commandline.  Or 
set it using the KDE or Gnome Control Center.

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



Re: [gentoo-user] Kwrite and CPU usage and locking up when scrolling

2007-02-24 Thread Benno Schulenberg
Dale wrote:
> Here is the thing that is so odd, it will open any other
> large file and work fine but it will mess up on emerge.log.

Open a copy of your emerge.log in vim and do:

  :%s/\*\*\*// 

After that KWrite will handle the file without a problem.  As to 
why, I can only guess: when the stars are still there, KWrite shows 
folding markers, so it sees the file as some kind of code and tries 
to "format" it, arrange it in paragraphs, and sometime searches the 
entire file in vain for some matching paragraph-closing element.  
When the stars are gone, it sees the file as plain text and doesn't 
do any searching.

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



Re: [gentoo-user] Kwrite and CPU usage and locking up when scrolling

2007-02-25 Thread Benno Schulenberg
Dale wrote:
> I wonder if someone needs to
> tell the programmer for portage that kwrite doesn't like those
> *** in there at all?  Should I file it as a bug?

Of course not.  If anything, it's a bug in KWrite.  Why are you 
using KWrite anyway to look at the emerge log?  Why not use 
something like Kuroo?  Or else qlop (from portage-utils)?

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



Re: [gentoo-user] Email clients - what can replace Evolution?

2007-02-28 Thread Benno Schulenberg
Mark Knecht wrote:
> If it still fails then I'll have to return here one more time to
> ask questions about what needs to be rebuilt.

Have you tried moving ~/.evolution out of the way?  Maybe it's just 
a broken config file that makes all versions of Evo stumble.

> Must I rebuild 
> everything or can I just do Evolution and see if it drops into a
> library and then rebuild that library and go deeper?

The latter.  Just rebuild with symbols the things that Evolution 
uses.

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



Re: [gentoo-user] hardened-sources-2.6.18 booting very slow and no network connection

2007-03-25 Thread Benno Schulenberg
Konstantinos Agouros wrote:
> I have an instance of hardened sources using selinux as a
> webserver. 2.6.16 is running fine however 2.6.18-r6 boots up, but
> it's terribly slow

The 2.6.18 kernel was slow for me too (normal gentoo-sources), not 
terribly, but noticeably sluggish.  You might try pushing on to 
2.6.19.  But most probably it's so slow because it is timing out on 
network connections.

> and won't allow any network connection. [...] Has anything changed 
> dramatically in the behaviour between these two releases?

Yes, between 2.6.16. and 2.6.17 the netfilter stuff was rearranged, 
you will have to reselect the required parts/modules.

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



Re: [gentoo-user] Busybox update fail

2007-03-28 Thread Benno Schulenberg
Mick wrote:
> On Wednesday 28 March 2007 07:53, Boyd Stephen Smith Jr. wrote:
> > you'll normally want to generate your errors in the "C" locale
> > before posting them here or in bugzilla.
>
> Hmm, out of curiosity, how do you go about doing that?

By preceding the relevant command with  LC_ALL=C.  Like so:

# LC_ALL=C  emerge -1 busybox

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



Re: [gentoo-user] Can't find eth0?

2007-04-04 Thread Benno Schulenberg
Chuanwen Wu wrote:
> I have a intel network device but my machine never reconize it.
>
> My network device is:
>
> # lspci | grep net
> 01:0a.0 Ethernet controller: Intel Corporation 82540EM Gigabit
> Ethernet Controller (rev 02)

What does 'dmesg | grep -e 01:0a -e eth' report?

Have you read /usr/src/linux/Documentation/networking/e1000.txt ?

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



Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-04-04 Thread Benno Schulenberg
b.n. wrote:
> However /etc/portage/color.map looks just like what I was
> thinking about... except for the fact I can't find it (and
> "locate" tells me nothing too).

I made a man page for it once.  Don't know if it's still accurate:
https://bugs.gentoo.org/attachment.cgi?id=89762

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



Re: [gentoo-user] Why are gentoo people so in love with colorized output?!?

2007-04-06 Thread Benno Schulenberg
Graham Murray wrote:
> Or why when run in a console the output stays on the screen when
> you exit less, thus allowing you to refer to it when typing the
> next command, but in an X terminal it 'collapses' to just the
> command prompt on exit.

If you want the VT behaviour also in X, then alias less to 
'TERM=linux less'.  (There's probably a better way, but this works.)

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



Re: [gentoo-user] X locks up

2007-04-07 Thread Benno Schulenberg
Michael George wrote:
> What happens is that sometimes (amazingly frequently) when I have
> open office running on my right screen and I click "File", the
> displays will freeze.  The system is still running, because I can
> get in from one of my terminals.  I check and X is consuming 100%
> of one processor.  [...]
>
> System info:
> openoffice-bin-2.1.0
> xorg-x11-7.1
> xorg-server-1.1.1-r4 (VIDEO_CARDS="mga", INPUT_DEVICES="keyboard
> mouse") 

Hmm, mga.  You're probably looking at one of these bugs:
  https://bugs.freedesktop.org/show_bug.cgi?id=8666
  https://bugs.freedesktop.org/show_bug.cgi?id=473

What version of x11-drivers/xf86-video-mga are you using?  Have you 
tried upgrading to the latest, 1.4.6.1?

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



Re: [gentoo-user] laptop sometimes needs double keystrokes

2007-04-11 Thread Benno Schulenberg
Roger Mason wrote:
> I have a strange problem on my laptop[1] wherein I need sometimes
> need to enter keystrokes twice in order for them to be
> recognised.  For example, I type 'ls' but the 's' needs to be
> entered twice.  The problem has bee present for some time and I
> have noted the following:
>
> (1) I see the problem both when typing on the laptop keyboard and
> when logging in using ssh: this suggests it is not a keyboard
> problem.

Have a look at /etc/inputrc.  To test, comment out all lines in that 
file, fire up a new bash, and see if the problem persists.  If not, 
find the offending line.

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



Re: [gentoo-user] laptop sometimes needs double keystrokes

2007-04-11 Thread Benno Schulenberg
Roger Mason wrote:
> >> I have a strange problem on my laptop[1] wherein I need
> >> sometimes need to enter keystrokes twice in order for them to
> >> be recognised.  For example, I type 'ls' but the 's' needs to
> >> be entered twice.

Are it certain keys (like the 's') that have the problem?  Are it 
certain key combinations?  Is it only at certain positions (like 
the second key on a new line)?  Does it also happen in another 
shell than bash (for example in 'busybox ash')?  Does it also 
happen in 'env -i bash --noprofile --norc'?  Does it happen in 
single-user maintenaince mode?  Does it happen when running from 
a liveCD?

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



Re: [gentoo-user] laptop sometimes needs double keystrokes

2007-04-12 Thread Benno Schulenberg
Roger Mason wrote:
> >  Does it also happen in another
> > shell than bash (for example in 'busybox ash')?
>
> Just tried it: no, the problem was absent.

Okay.  Hmm...  Which version of bash are you using?  You're running 
stable so it should be 3.1.  But I would have thought that the 
problem you're seeing is caused by 3.2.  If you're using 3.2, 
then simply try setting PS1="\h \W \$ " and see if the problem is 
gone.  If so, downgrade to bash-3.1 and wait for 3.2 to get fixed.

> >  Does it happen in single-user maintenaince mode?
>
> I'm embarrased to admit I don't know how to get to that.

Stop GRUB when in its booting menu, then type E to temporarily 
change the line that boots Gentoo, type a space and a 1 at the end, 
and then boot that line.  You have to fiddle a bit, needing to type 
E twice, then add " 1", then Escape, then B -- I don't remember 
exactly.

See http://gentoo-wiki.com/TIP_Booting_into_single_user_mode for 
more info.

But you don't need to do this as you've already found that the 
problem is in bash and it's related to something in the environment.
If the PS1 didn't fix it, try with either just --norc or just 
--noprofile to try and narrow things down further.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] New kernel 2.6.20-r6

2007-04-18 Thread Benno Schulenberg
Mick wrote:
> hda: 39070080 sectors (20003 MB) w/1740KiB Cache,
> CHS=16383/255/63<6>hda: hw_config=600d, UDMA(100)
>
> What's the hw_config part?

It just means that the "hardware configuration is good".

Sorry, couldn't resist.  :)

Benno

-- 
Cetere mi opinias ke ne ĉio tradukenda estas.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Permission denied during emerge...

2007-04-22 Thread Benno Schulenberg
David Corbin wrote:
> I've started getting this: "Permission denied: access('/', W_OK)"
> on my emerges.  I've gotten for two different un-related
> projects.  It seems to happen during the "install".

How about pasting the actual error output plus some twenty lines 
before it?  And what are those projects?  You mean packages?

> I've look at permission on / and they look normal to me.

How about pasting the used ls command and its output?  How is anyone 
to diagnose your problem when you're not showing any hard data?

And while at it, paste the output of emerge --info too.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Cannot configure Synaptics Touchpad - Disabling Tapping & synclient

2007-04-24 Thread Benno Schulenberg
Alexander Skwar wrote:
> I'm having a hell of a time configuring my Synaptics Touchpad.
> Basically, I'd like to disable the annoying "tapping" feature;

Option "TapButton0" "0"
Option "TapButton1" "0"
Option "TapButton2" "0"

And restart X.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] showconsole disappoints

2007-04-27 Thread Benno Schulenberg
maxim wexler wrote:
> But boot.msg is never more than 44 lines, a fraction
> of total output.
>
> How do I get it all?

What do you mean with "all"?  Also the kernel messages?  Those are 
found in /var/log/kernel.log.  Or in the output of 'dmesg'.

When asking a question, provide actual output. Paste the contents of 
boot.msg here, so people can judge whether it looks normal or not.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] the font in xfce change after updating

2007-04-28 Thread Benno Schulenberg
Chuanwen Wu wrote:
> After "emerge -uDN world",

Not very informative. More useful information you could have 
provided with the output of  'genlop --list --date 2 days ago'.

> I guess maybe because when I "etc-update",I change some files.But
> I don't know which files.

You don't make regular backups of /etc?  Then you might want to 
start using dispatch-conf instead of etc-update.

> Anyone know how to fix it?

Possibly.  Measure the horizontal and vertical size of your screen 
or monitor in millimeters, then set in your xorg.conf, in Section 
"Monitor", the display size, for example:DisplaySize  320 240
Then restart X.  If that doesn't normalize things, ask again.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: the font in xfce change after updating

2007-04-29 Thread Benno Schulenberg
Chuanwen Wu wrote:
> The font is out of the control of my .fonts.conf.  The english
> characters are unclear as you can see in annex e.png.

You mean there is too much anti-aliasing?

> And the 
> Chinese characters are even more worse as you can see in annex
> c.png

You mean there is no anti-aliasing at all?  That is what 
your .fonts.conf specifies, however.

Try this as your .fonts.conf file, and if it's better, copy the 
relevant stuff to your original .fonts.conf.




 
  
   true
  
 
 
  
   hintmedium
  
 
 ~/.fonts
 
  
   none
  
 
 
  
   true
  
 


PS: Try using a blank line after a piece of quoted mail; it makes it 
easier to distinguish quotes and replies.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] switching to graphics mode tty extremely slow

2007-04-29 Thread Benno Schulenberg
Daniel D Jones wrote:
> My system is extremely slow to switch back to a graphical TTY.

Since when?

> When I hit CTL-ALT-F7 to switch back to
> graphical mode, the screen goes black and it takes 25 to 30
> seconds before I see the KDM login screen again.  I certainly
> don't recall this process taking this long in the past.  Is it
> normal?

No, that's not normal.  I vaguely remember having seen this too some 
time ago.  It might have been a bug in some version of KDE.

> Running KDE 3.5

What version precisely?  See output of 'emerge -pq kdelibs'.  Here:
[ebuild   R   ] kde-base/kdelibs-3.5.6-r6

> on an ATI Radeon 9600 with the open source drivers.

When did you last upgrade xf86-video-ati?

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] the font in xfce change after updating

2007-04-29 Thread Benno Schulenberg
Chuanwen Wu wrote:
>  Sat Apr 28 16:34:59 2007 >>> xfce-base/xfce4-4.4.1

Hmm, it looks like you're running unstable xfce.  But if you can't 
handle the problems this might give, then you shouldn't be using
unstable.

Try commenting out all xfce lines in /etc/portage/package.keywords, 
re-update your system and see if that solves the problem.  If so, 
then figure out which of the xfce updates causes the problem.  Also 
check https://bugs.gentoo.org to see whether the problem has 
already been reported.

Benno
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] switching to graphics mode tty extremely slow

2007-04-29 Thread Benno Schulenberg
Daniel D Jones wrote:
> 3.5.5-r10

Yes, might have been the one with the problem.  If the thirty second 
pause bothers you, push on to 3.5.6.  But as you seldom use a bare 
console, you can probably stand the wait for it going stable.  :)

Benno
-- 
[EMAIL PROTECTED] mailing list



  1   2   3   4   5   >