Re: [gentoo-user] Grub broke out of the blue
On Tue, 17 Feb 2009 06:17:07 +0200, Nikos Chantziaras wrote: I've no idea how it broke, but after an emerge --sync, a kernel (gentoo-sources) update was there. After I compiled the kernel, I did the usual make modules_install make install. I edited grub.conf only to the point of changing the booted kernel to the new one (just a matter of changing -r1 to -r2 at the end of the kernel filename). I reboot, Grub stops working. It just displays GRUB and hangs there. Could you have inadvertently made more of a change to grub.conf than that? Grub is notoriously fragile when it comes to its config file? Why did you edit it in the first place? As you used make install,you will have symlinks from vmlinuz and vmlinuz.old to the new and previous kernels. Use these in GRUB and there's no need to edit anything. -- Neil Bothwick File Not Found - Loading something that looks similar signature.asc Description: PGP signature
Re: [gentoo-user] Grub broke out of the blue
Nikos Chantziaras wrote: I've no idea how it broke, but after an emerge --sync, a kernel (gentoo-sources) update was there. After I compiled the kernel, I did the usual make modules_install make install. I edited grub.conf only to the point of changing the booted kernel to the new one (just a matter of changing -r1 to -r2 at the end of the kernel filename). I reboot, Grub stops working. It just displays GRUB and hangs there. I normally don't edit my grub.conf, instead I have entries for vmlinuz and vmlinuz.old (make install updates these). When I do edit grub.conf, I always run grub-install afterwards. I don't know if this is necessary, but it's my habit... HTH, Roy
Re: [gentoo-user] Open Office: PDF import
On Tue, February 17, 2009 7:26 am, Philip Webb wrote: Has anyone succeeded in importing a PDF to Open Office Impress or Draw ? I've added the add-on from from under /usr/... (as it says), but when I try to 'insert file' using a 1-page PDF , it says 'File could not be opened' (after some CPU activity); OO Writer opens it as 98 pages of garbage. I tried rebooting re-opening OO, but not change. There's nothing in OO Help re the add-on or importing PDFs. I'm using OO 3.0.1 . Where did you read about this plug-in? I was not aware this was possible, but am interested in how this is supposed to work. -- Joost
Re: [gentoo-user] Open Office: PDF import
Joost Roeleveld wrote: On Tue, February 17, 2009 7:26 am, Philip Webb wrote: Has anyone succeeded in importing a PDF to Open Office Impress or Draw ? I've added the add-on from from under /usr/... (as it says), but when I try to 'insert file' using a 1-page PDF , it says 'File could not be opened' (after some CPU activity); OO Writer opens it as 98 pages of garbage. I tried rebooting re-opening OO, but not change. There's nothing in OO Help re the add-on or importing PDFs. I'm using OO 3.0.1 . Where did you read about this plug-in? I was not aware this was possible, but am interested in how this is supposed to work. -- Joost It in the post inst message of emerge. It points you to the plugins in /usr/lib/openoffice/share/extension/install/. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Using multiple languages in XFCE (and the console)
On Sun, February 15, 2009 12:10 am, list-catcher wrote: I'm taking an online Spanish course which requires the use of accented vowels along with the ñ character. Right now I'm forced to cut and paste these letters when I need them but that's slowly driving me insane. Is there a way I can use a control or alt key along with the vowel (or n) to make the appropriate accented version? Is there another way to handle this? I had a similar problem with my Chinese course until I came across scim http://www.scim-im.org As far as I can tell, it works with nearly all X-programs. If you use KDE, also emerge 'skim', it integrates quite nicely. It's in the default portage-tree. -- Joost
[gentoo-user] net-tools vs iproute2
Hi there, Could I possibly draw on the combined wisdom of the list to explain to me the difference between net-tools iproute2, please? I have always used ifconfig for checking a computer's IP addresses. And, less frequently (since one normally sets such parameters in /etc/ conf.d/net or wherever) for setting up network interfaces. I have this idea that I read a while back that ifconfig is old-fangled /or depreciated and that there's a more modern tool for the job. /etc/conf.d/net.example seems to support this: # INTERFACE HANDLERS # # We provide two interface handlers presently: ifconfig and iproute2. # You need one of these to do any kind of network configuration. # For ifconfig support, emerge sys-apps/net-tools # For iproute2 support, emerge sys-apps/iproute2 # If you don't specify an interface then we prefer iproute2 if it's installed # To prefer ifconfig over iproute2 #modules=( ifconfig ) So am I right in this understanding? Does iproute2 equal ifconfig-TNG? I'm looking right now at an iptables application where iproute2 is specified. It's been so long since I used ifconfig for any heavy lifting that I've forgotten all its syntax. But I do plan on setting up a bridge or firewalling router soon. So should I just forget about ifconfig learn iproute2? Does anyone have any hints or a cheatsheet of most-common commands that I should know before getting my feet wet? TIA, Stroller.
Re: [gentoo-user] Open Office: PDF import
El mar, 17-02-2009 a las 10:22 +0100, Justin escribió: Joost Roeleveld wrote: On Tue, February 17, 2009 7:26 am, Philip Webb wrote: Has anyone succeeded in importing a PDF to Open Office Impress or Draw ? I've added the add-on from from under /usr/... (as it says), but when I try to 'insert file' using a 1-page PDF , it says 'File could not be opened' (after some CPU activity); OO Writer opens it as 98 pages of garbage. I tried rebooting re-opening OO, but not change. There's nothing in OO Help re the add-on or importing PDFs. I'm using OO 3.0.1 . Where did you read about this plug-in? I was not aware this was possible, but am interested in how this is supposed to work. -- Joost It in the post inst message of emerge. It points you to the plugins in /usr/lib/openoffice/share/extension/install/. I've been using it for a while without problems. I installed it on my user space using the extension manager... Sometimes it does not open the objects in a correct way, maybe have relation with the version of the pdf. For example, the pdfs generated in m$ project takes very much time to open with high CPU activity, it happens too when I open it on evince so I think it's a problem of m$, as usual... Regards... signature.asc Description: Esta parte del mensaje está firmada digitalmente
Re: [gentoo-user] Re: Fake MAC Address Bungling Wireless
On Tue, February 17, 2009 6:19 am, daid kahl wrote: 2009/2/14 daid kahl daid...@gmail.com snip I'm a little embarassed that the solution was so easy and obvious and I bothered everyone. But I did learn some things in the process, so I appreciate the feedback a lot. So, as I eventually move to use wicd, the comments here will be helpful for me. There is no such thing as a stupid question, there are only stupid answers. And as you said, you learned some things in the process and so did other people on this list. Glad you got it working again. One piece of advice, not all wireless network devices work well when changing the MAC-address as the hardware might filter out the messages before the software network stack gets to play with it. -- Joost
Re: [gentoo-user] Re: Fake MAC Address Bungling Wireless
On 17 Feb 2009, at 11:00, Joost Roeleveld wrote: On Tue, February 17, 2009 6:19 am, daid kahl wrote: ... There is no such thing as a stupid question, there are only stupid answers. And as you said, you learned some things in the process and so did other people on this list. +1 Thank you to you both. Daid: I appreciated it that you posted back with your solution. Who knows? I may appreciate discovering your answer when googling my problem years from now. Stroller.
Re: [gentoo-user] NIC not detected after Kernel upgrade
2009/2/16 Guillermo Garron guillermo.fed...@gmail.com Hi, I am new to Gentoo, and yes I am also new to compiling kernels. I recently got in to configuring my own kernel (I'm not sure if you're at this level or using other people's .config files); it's a bit lazy and maybe risky not to configure it yourself, but you have to start somewhere. In any case, the two things I found most helpful are kccmp and http://cateee.net. The first is a program to compare two kernel configurations, and tell you the differences between them, and so on, displayed in a nice table in X; you can find it in the portage tree. Before I found that, I was literally like comparing the files by hand on print outs and stuff...what a nightmare. The other is a Debian developer's site, but there is a large part on kernel configuration (specifically at http://cateee.net/lkddb/). I didn't actually find a really easy way to search the site besides doing a google site-limited query (CONFIG_BLAH_BLAH site:cateee.net), but once you get to a config page, at the bottom there is also a google bar with a radio button for just searching that site. There could be better places to look for kernel configuration options, but that's what I was using, and obviously, if you want to configure your kernel, you should have a place to look up the options, and that database has a basic description of most (but not all) configurations at least for up to 2.6.26 (maybe later, but that's what I'm using right now). Maybe other people can point to other resources? Also, you should avoid using oldconfig except for really minor kernel upgrades. I know this is mentioned in documentation elsewhere, but just a useful reminder. ~daid
Re: [gentoo-user] net-tools vs iproute2
On Tue, 17 Feb 2009 10:37:35 + Stroller strol...@stellar.eclipse.co.uk wrote: Hi there, Could I possibly draw on the combined wisdom of the list to explain to me the difference between net-tools iproute2, please? I'd quote wikipedia article, since it really explains what iproute2 is about: --- iproute2 is intended to replace an entire suite of legacy Unix networking tools that were previously used for the tasks of configuring network interfaces, routing tables, and managing the ARP table. Tools replaceable by iproute2 include the ifconfig and route utilities, as well as the arp command and various commands related to creating IP tunnels. iproute2 unifies the syntax for these various commands, which evolved over many years of Unix development. The iproute2 syntax is much simpler and more consistent for all of the functions that it provides, and imitates the syntax of Cisco's IOS operating system. --- I find it to be true, especially the syntax part - you never ever have to go to manpage with iproute2 if you've grasped it once. I have this idea that I read a while back that ifconfig is old-fangled /or depreciated and that there's a more modern tool for the job. ... So am I right in this understanding? Does iproute2 equal ifconfig-TNG? That's not universal truth, too. BSD ifconfig is much more powerful than one, shipped with linux distributions, so there's not much need for iproute2, althrough I hate it's syntax. Still, on linux, it's more of a fact. So should I just forget about ifconfig learn iproute2? Yes. Does anyone have any hints or a cheatsheet of most-common commands that I should know before getting my feet wet? Just type 'ip addr' and you see the syntax - it's the same, as in the lines displayed, but if you need something else - just type 'ip addr help', and you'll get everything about 'addr', same for just 'ip help' -- Mike Kazantsev // fraggod.net signature.asc Description: PGP signature
[gentoo-user] perfect IDE
helo group, i've been trying the past 2-3 years to find the most usable and nice ide for c/c++ code writing. I've been through vim/vim + plugins/emacs + different modes/anjuta/kdevelop/codeblocks/eclipse/netbeans ... every single one of them has at least one drawback. In short words, i am looking for an ide that can do this: - syntax highlighting - autocomplete (on the fly, not on demand, and maybe smart? - identify structures/classes ) - concurrent editing of multiple files (splitting) - tabs or buffer list - file browser - project manager - symbol list/browser current editing buffer - regex search/replace - flexible build options that include scons, not just makefile - code folding (with detection of blocks) - lightweight/ergonomic interface (i dislike space being occupied by the bar that displays the line numbers, with a padding of 10px for example) i don't desire gdb or valgrind integration, but would be a + does anyone know the answer to this ultimate question? I keep comparing different editors with the microsoft's visual studio, that is not by far as powerful as emacs but it just plain and simple does the job. They will reach a milestone when the brackets matching will actually work, but despite small inconveniences, i find it to be very close to what i am looking for. kdevelop also seemed very close to what i wanted, but somehow the fonts or the dpi make it very crowded, i get very little space for the code. On the other hand netbeans is a good example of how the interface should be arranged, but java driven ide tends to stop being able to respond in tolerable time. i am on the edge of despair, and i am willing to try even a commercial solution. Anyone had some very positive experience with a specific ide? thanks, Andrei
Re: [gentoo-user] Mailing Lists
On Mon, Feb 16, 2009 at 11:35 AM, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: 2009/2/16 Dan Cowsill danthe...@gmail.com: On Mon, Feb 16, 2009 at 7:05 AM, Kaushal Shriyan kaushalshri...@gmail.com wrote: Hi is there a mailing lists to discuss about perl or python or bash scripting language ? Thanks and Regards Kaushal http://lmgtfy.com/?q=perl+mailing+list http://lmgtfy.com/?q=python+mailing+list As far as I can tell, there is no Bash mailing list apart from bug-bash. You'll probably get flamed if you post questions there. Despite the name, this list is for general Bash questions too. Ah, thank you for clarifying. D
Re: [gentoo-user] perfect IDE
On Tue, Feb 17, 2009 at 11:05 AM, Andrei Hanganu ahang...@bitdefender.com wrote: helo group, i've been trying the past 2-3 years to find the most usable and nice ide for c/c++ code writing. I've been through vim/vim + plugins/emacs + different modes/anjuta/kdevelop/codeblocks/eclipse/netbeans ... every single one of them has at least one drawback. In short words, i am looking for an ide that can do this: - syntax highlighting - autocomplete (on the fly, not on demand, and maybe smart? - identify structures/classes ) - concurrent editing of multiple files (splitting) - tabs or buffer list - file browser - project manager - symbol list/browser current editing buffer - regex search/replace - flexible build options that include scons, not just makefile - code folding (with detection of blocks) - lightweight/ergonomic interface (i dislike space being occupied by the bar that displays the line numbers, with a padding of 10px for example) i don't desire gdb or valgrind integration, but would be a + does anyone know the answer to this ultimate question? I keep comparing different editors with the microsoft's visual studio, that is not by far as powerful as emacs but it just plain and simple does the job. They will reach a milestone when the brackets matching will actually work, but despite small inconveniences, i find it to be very close to what i am looking for. kdevelop also seemed very close to what i wanted, but somehow the fonts or the dpi make it very crowded, i get very little space for the code. On the other hand netbeans is a good example of how the interface should be arranged, but java driven ide tends to stop being able to respond in tolerable time. i am on the edge of despair, and i am willing to try even a commercial solution. Anyone had some very positive experience with a specific ide? thanks, Andrei The problem is you've named pretty much every IDE in use by software developers today, with the possible exception of Visual Studio which is probably not applicable anyways. Now don't take this the wrong way, because I'm not at all trying to be condescending, but have you considered contributing your coding talent to Eclipse or CodeBlocks to make those products better suit your needs? Your problem is one faced by developers every day, but it seems like you're still thinking in a closed frame of mind. If you don't like it, change it! Cheers, D
Re: [gentoo-user] perfect IDE
you are perfectly right, but as a wise man said: don't reinvent the wheel,that's why i'm asking this group 1st. I'm positive i'm not the first person to meet these issues and if it just happened that i missed a great editor out there i hope other people might hold the answer for this one. If all fails, i will have no other way then to build the ide i dream about, but even for writing an ide, i would still appreciate to have the best editor out there for writing it, at least until a first release. :) i promise that if i found no answer, the next thread will be features of the perfect IDE A.
[gentoo-user] Re: Eeek: Apache2 lost it's CGI ability
Kevin O'Gorman kogorman at gmail.com writes: But this much I know: The permissions on the failing (python) script are the same. So are the owner and group. The python script runs fine from the command-line, even as an other user. Hello Kevin, 2 things. Have your run 'python-updater' since your last update of python and such? Or you just may need to rebuild some of the modules you use with apache? (revdep-rebuild -p). A while back, much change with the Apache config files. Even now some of them, related to php, python and such get modified even with minor revision updates of Apache and related packages. I always save out old.dated config files to remind me of what I had set. A while back the organization of some of the apache related config files changes. Look over them to see that you have everything set the way it needs to be. (just a thought). Good luck, James
[gentoo-user] Mask package from specific overlay?
Hi, In some cases, the same version of the same package exists in more than one overlay (or the main portage tree + overlay). Is there a way to mask a package from a specific overlay only? Thanks, Paul
[gentoo-user] wicd start failed
Hi, Several day ago, someone in this list recommended wicd to configure the net interface. And I tried it but failed. # wicd Traceback (most recent call last): File /usr/lib/wicd/wicd-daemon.py, line 45, in module import gobject ImportError: No module named gobject # wicd-client Traceback (most recent call last): File /usr/lib/wicd/wicd-client.py, line 40, in module import gtk ImportError: No module named gtk After the error occurred, I have updated python to 2.5.2 and pygtk to 2.12.1-r2, I also ran python-updater, but nothing changed. So anybody knew how to fix the problem? Thanks in advanced! -- wcw
Re: [gentoo-user] Mask package from specific overlay?
Paul Hartman schrieb: Hi, In some cases, the same version of the same package exists in more than one overlay (or the main portage tree + overlay). Is there a way to mask a package from a specific overlay only? Thanks, Paul NO but I found this: http://www.j-schmitz.net/blog/linux/prefering-a-package-from-the-tree-over-a-package-from-an-overlay signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] wicd start failed
On Tue, 17 Feb 2009 23:51:39 +0800, Chuanwen Wu wrote: # wicd Traceback (most recent call last): File /usr/lib/wicd/wicd-daemon.py, line 45, in module import gobject ImportError: No module named gobject Do you have pygobject installed? -- Neil Bothwick If you think that there is good in everybody, you haven't met everybody. signature.asc Description: PGP signature
Re: [gentoo-user] Eeek: Apache2 lost it's CGI ability
On Monday 16 February 2009 00:59:41 Kevin O'Gorman wrote: I've got a low-use CGI script on my web server. Aside from web crawlers, I usually see at most a few hits a week from people who share my hobby. I just found out it's been down for an unknown period of time because my Apache no longer does CGI scripting. I can't even get it to run the simplest possible C program. Not sure if this is related to your problem but I had a similar issue that was caused by having threads as a USE flag for Apache. This has the effect that the mod_cgi.so module isn't built, but the mod_cgid.so one is. /Regards Naga
[gentoo-user] Re: Grub broke out of the blue
Neil Bothwick wrote: On Tue, 17 Feb 2009 06:17:07 +0200, Nikos Chantziaras wrote: I've no idea how it broke, but after an emerge --sync, a kernel (gentoo-sources) update was there. After I compiled the kernel, I did the usual make modules_install make install. I edited grub.conf only to the point of changing the booted kernel to the new one (just a matter of changing -r1 to -r2 at the end of the kernel filename). I reboot, Grub stops working. It just displays GRUB and hangs there. Could you have inadvertently made more of a change to grub.conf than that? Grub is notoriously fragile when it comes to its config file? No, the change was a simple change of 1 byte (1 - 2). Why did you edit it in the first place? As you used make install,you will have symlinks from vmlinuz and vmlinuz.old to the new and previous kernels. Use these in GRUB and there's no need to edit anything. That won't work for me because I keep two different kernels (one for vmware and one for native) and I sometimes rebuild one of them after reconfiguring. With that approach I would end up with the Native Grub entry trying to boot the vmware kernel. One thing that could be at fault is that I had grub installed into hd0,2 (sda3) which is an ext4 partition. /boot is sda4 and is ext3. But I'm sure grub should work no matter where you install it. I can even install it on sda1 which is NTFS and it works. Hell, I can even install it on the swap partition. I guess the reason it broke will remain a mystery :P
Re: [gentoo-user] Grub broke out of the blue
Am Dienstag, 17. Februar 2009 05:44:07 schrieb Stroller: To avoid automounting and autoinstalling with /boot, just export the DONT_MOUNT_BOOT variable. There's still a bug open to remove this stupid behaviour. BTW: Once it's in your MBR, you can just paludis --uninstall grub (or whatever is its emerge equivalent ;-) ) Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] perfect IDE
Andrei Hanganu wrote: helo group, i've been trying the past 2-3 years to find the most usable and nice ide for c/c++ code writing. I've been through vim/vim + plugins/emacs + different modes/anjuta/kdevelop/codeblocks/eclipse/netbeans ... every single one of them has at least one drawback. In short words, i am looking for an ide that can do this: - syntax highlighting - autocomplete (on the fly, not on demand, and maybe smart? - identify structures/classes ) - concurrent editing of multiple files (splitting) - tabs or buffer list - file browser - project manager - symbol list/browser current editing buffer - regex search/replace - flexible build options that include scons, not just makefile - code folding (with detection of blocks) - lightweight/ergonomic interface (i dislike space being occupied by the bar that displays the line numbers, with a padding of 10px for example) i don't desire gdb or valgrind integration, but would be a + does anyone know the answer to this ultimate question? I keep comparing different editors with the microsoft's visual studio, that is not by far as powerful as emacs but it just plain and simple does the job. They will reach a milestone when the brackets matching will actually work, but despite small inconveniences, i find it to be very close to what i am looking for. kdevelop also seemed very close to what i wanted, but somehow the fonts or the dpi make it very crowded, i get very little space for the code. On the other hand netbeans is a good example of how the interface should be arranged, but java driven ide tends to stop being able to respond in tolerable time. i am on the edge of despair, and i am willing to try even a commercial solution. Anyone had some very positive experience with a specific ide? thanks, Andrei I have a similar question long time ago. Finally, I found that Eclipse with extension for C/C++ is a reasonable solution. Hung
Re: [gentoo-user] perfect IDE
I have been searching for an open source c++ IDE for some time now. I have not yet found a single IDE that is a perfect fit. When you develop something small, an editor like vim/kate/emacs can be sufficient, but when you work with larger projects created by other people, things become a litte awkward (or at least for me). ctag can help. Using doxygen to generate browsable code can also help a great deal. Create a config file to generate all documentation even for uncommented code and that includes the source in the generated documentation. Monodevelop has a c++ component in the IDE, but for some reason (mono,novell,microsoft deals) I have lost interest in it. My criticism may not be valid though, it is political. I would suggest looking at CMake. You can use CMake scripts to configure the build for a project independant of an IDE. CMake can also generate project files for Eclipse CDT, KDevelop and some other very popular c++ IDE that will not be mentioned here. KDevelop is undergoing a complete rewrite. Looks like something commond to projects with a name starting with K. It may take some time, but when finished it may be worthwhile? Eclipse is not that bad. Make sure that you get a version of Eclipse without any java plugins installed, they normally add a bunch of useless stuff. Creating an IDE is no small task. If you would like to dedecate some time, have a look at the current efforts going into kdevelop. I have heard of people that mainly target linux using the IDE which name will not be mentioned. Guess that's an indication that there is a need for a better open source linux IDE. A good step may be to ask the guys on the KDE lists (or some other big project) what IDE they are using? But, you may get a lot of frowns and the answer of emacs/vim. Regards Dirk
Re: [gentoo-user] Re: Installing outside of Portage cruft removal
It's up the application to decide how to use prefix variable. Most applications are respecting it. Up to now, I didn't find one that doesn't. And if so, it'll receive a bug report right away. But you make it sound like it's impossible to not respect it, which is not true. Well, if you don't, your package won't be spread widely until you've fixed it. You'll always find people who install sw as unprivileged user. If they can't install a package, they file a bug. Even some package managers build and install sw to a temporary directory as an unprivileged user to avoid messing up the system. I can write automake rules which completely ignore prefix. Which in the end means the unprivileged user can't install your package. And even as root, I wouldn't. Nobody does this. It's a hipothetical case. Bye... Dirk Is this the right thing to do? $ ./configure --prefix=/usr/local make # make install - Grant
Re: [gentoo-user] Re: Installing outside of Portage cruft removal
Am Dienstag, 17. Februar 2009 19:22:31 schrieb Grant: Is this the right thing to do? $ ./configure --prefix=/usr/local make # make install Yes. However, the better way is to follow Alex' proposal. Bye... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] perfect IDE
On Tue, Feb 17, 2009 at 11:09 AM, Andrei Hanganu ahang...@bitdefender.com wrote: you are perfectly right, but as a wise man said: don't reinvent the wheel,that's why i'm asking this group 1st. I'm positive i'm not the first person to meet these issues and if it just happened that i missed a great editor out there i hope other people might hold the answer for this one. If all fails, i will have no other way then to build the ide i dream about, but even for writing an ide, i would still appreciate to have the best editor out there for writing it, at least until a first release. :) i promise that if i found no answer, the next thread will be features of the perfect IDE A. I've never used it, but doesn't Qt integrate into Visual Studio and claim the ability to compile Qt code for windows/mac/linux without changes to the source? (I'm sure it's not as simple as they make it sound). Of course if you're not using Qt then that probably isn't something you'd want to consider. :)
[gentoo-user] Terminals that work with compose key?
I noticed that the terminal program I've used for years (aterm) recently stopped working with the compose key (for generating accented or foreign characters, for example). The compose key still works fine in xjed, emacs, rxvt, mrxvt, xterm, and dozens of GTK and Qt based apps. But, it doesn't work in aterm or urxvt. I'm particularly surprised that it works in rxvt (which has been abandoned for years), but not in in rxvt-unicode (built with iso14755 and unicode3 options enabled) which is actively developed and intended to support internationalization. Does anybody else have problems with the compose key and aterm or urxvt? -- Grant Edwards grante Yow! Where's th' DAFFY at DUCK EXHIBIT?? visi.com
Re: [gentoo-user] Terminals that work with compose key?
On Tue, Feb 17, 2009 at 1:41 PM, Grant Edwards gra...@visi.com wrote: I noticed that the terminal program I've used for years (aterm) recently stopped working with the compose key (for generating accented or foreign characters, for example). The compose key still works fine in xjed, emacs, rxvt, mrxvt, xterm, and dozens of GTK and Qt based apps. But, it doesn't work in aterm or urxvt. I'm particularly surprised that it works in rxvt (which has been abandoned for years), but not in in rxvt-unicode (built with iso14755 and unicode3 options enabled) which is actively developed and intended to support internationalization. Does anybody else have problems with the compose key and aterm or urxvt? I've never owned a keyboard with a Compose key, actually I had never even heard of it. Wikipedia has some info about how you might go about setting it up. http://en.wikipedia.org/wiki/Compose_key Thanks, Paul
Re: [gentoo-user] Terminals that work with compose key?
On Dienstag 17 Februar 2009, Paul Hartman wrote: On Tue, Feb 17, 2009 at 1:41 PM, Grant Edwards gra...@visi.com wrote: I noticed that the terminal program I've used for years (aterm) recently stopped working with the compose key (for generating accented or foreign characters, for example). The compose key still works fine in xjed, emacs, rxvt, mrxvt, xterm, and dozens of GTK and Qt based apps. But, it doesn't work in aterm or urxvt. I'm particularly surprised that it works in rxvt (which has been abandoned for years), but not in in rxvt-unicode (built with iso14755 and unicode3 options enabled) which is actively developed and intended to support internationalization. Does anybody else have problems with the compose key and aterm or urxvt? I've never owned a keyboard with a Compose key, actually I had never even heard of it. Wikipedia has some info about how you might go about setting it up. http://en.wikipedia.org/wiki/Compose_key Thanks, Paul of course you have. On your keyboard it is labeled as 'alt gr'
[gentoo-user] Re: Terminals that work with compose key?
On 2009-02-17, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Tue, Feb 17, 2009 at 1:41 PM, Grant Edwards gra...@visi.com wrote: The compose key still works fine in xjed, emacs, rxvt, mrxvt, xterm, and dozens of GTK and Qt based apps. But, it doesn't work in aterm or urxvt. [...] I've never owned a keyboard with a Compose key, actually I had never even heard of it. So how do you enter accented or non-latin characters or ligatures or the like? Wikipedia has some info about how you might go about setting it up. http://en.wikipedia.org/wiki/Compose_key Um, since my compose key works fine with most applications, one might assume that I've already got it set up. -- Grant Edwards grante Yow! Is it NOUVELLE at CUISINE when 3 olives are visi.comstruggling with a scallop in a plate of SAUCE MORNAY?
Re: [gentoo-user] Terminals that work with compose key?
On Tuesday 17 February 2009 21:53:38 Volker Armin Hemmann wrote: I've never owned a keyboard with a Compose key, actually I had never even heard of it. Wikipedia has some info about how you might go about setting it up. http://en.wikipedia.org/wiki/Compose_key Thanks, Paul of course you have. On your keyboard it is labeled as 'alt gr' What is this 'alt gr' key of which you speak? I have four keyboards in this house and not one of them has such a key. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Terminals that work with compose key?
On Dienstag 17 Februar 2009, Alan McKinnon wrote: On Tuesday 17 February 2009 21:53:38 Volker Armin Hemmann wrote: I've never owned a keyboard with a Compose key, actually I had never even heard of it. Wikipedia has some info about how you might go about setting it up. http://en.wikipedia.org/wiki/Compose_key Thanks, Paul of course you have. On your keyboard it is labeled as 'alt gr' What is this 'alt gr' key of which you speak? I have four keyboards in this house and not one of them has such a key. http://en.wikipedia.org/wiki/Keyboard_layout
Re: [gentoo-user] perfect IDE
Hi, Andrei Hanganu wrote: helo group, i've been trying the past 2-3 years to find the most usable and nice ide for c/c++ code writing. I've been through vim/vim + plugins/emacs + different modes/anjuta/kdevelop/codeblocks/eclipse/netbeans ... every single one of them has at least one drawback. I'm thinking the more I get to know Vim and the available plugins, the more it becomes like an IDE to me. I guess the same is true for Emacs. My advice would be to take on of those or any other open IDE and learn and extend them to the point that it's perfect for you. Now for your feature requirements list I'm going to concentrate on Vim and Emacs as those two are the ones I know. In short words, i am looking for an ide that can do this: - syntax highlighting - concurrent editing of multiple files (splitting) - tabs or buffer list - file browser - regex search/replace Both Vim and Emacs can do these basic features. Vim even provides a mechanism for saving and restoring editing sessions. - autocomplete (on the fly, not on demand, and maybe smart? - identify structures/classes ) Haven't tried it yet, but for Vim word_complete.vim[1] seems to be what you're looking for. You should also have a look at Omnicompletion. As Emacs has hooks for nearly everything it should be doable with it as well. - project manager Don't know about that but it would be nice to have simpler project specific settings for Emacs/Vim. - symbol list/browser current editing buffer That's pretty much ctags/etags, maybe cscope. - flexible build options that include scons, not just makefile You can put the following in ~/.vimrc: autocmd BufEnter ~/path/to/project/* set makeprg=scons - code folding (with detection of blocks) Vim does it[2]; Emacs seems to have some kind of FoldingMode according to Google. - lightweight/ergonomic interface (i dislike space being occupied by the bar that displays the line numbers, with a padding of 10px for example) Both of them are very customisable in this regard. i don't desire gdb or valgrind integration, but would be a + Emacs features gdb integration and there's Clewn[3] for GVim. As for me, I'm rather using a separate screen[4] window in the same session. Regards, Andi [1] http://www.vim.org/scripts/script.php?script_id=73 [2] http://www.linux.com/articles/114138 [3] http://clewn.sourceforge.net/ [4] http://www.gnu.org/software/screen/
Re: [gentoo-user] Terminals that work with compose key?
On Tue, Feb 17, 2009 at 1:53 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Dienstag 17 Februar 2009, Paul Hartman wrote: On Tue, Feb 17, 2009 at 1:41 PM, Grant Edwards gra...@visi.com wrote: I noticed that the terminal program I've used for years (aterm) recently stopped working with the compose key (for generating accented or foreign characters, for example). The compose key still works fine in xjed, emacs, rxvt, mrxvt, xterm, and dozens of GTK and Qt based apps. But, it doesn't work in aterm or urxvt. I'm particularly surprised that it works in rxvt (which has been abandoned for years), but not in in rxvt-unicode (built with iso14755 and unicode3 options enabled) which is actively developed and intended to support internationalization. Does anybody else have problems with the compose key and aterm or urxvt? I've never owned a keyboard with a Compose key, actually I had never even heard of it. Wikipedia has some info about how you might go about setting it up. http://en.wikipedia.org/wiki/Compose_key Thanks, Paul of course you have. On your keyboard it is labeled as 'alt gr' I don't have AltGr on any keyboard I've ever seen, other than in pictures. US English keyboards don't have any of this foreign language support. :) We just have two Alt keys, which both behave identically (they do have different scancodes, though). Here's what it looks like: http://www.cooltoyzph.com/image/US_Keyboard_layout.jpg There is a US-International layout that makes the right-alt behave like Alt Gr, and allowing easier entry for non-English (mostly Spanish) characters. I don't know if US-International keyboards actually exists or if it's just a virtual layout. However, even then, it does not behave like the Compose key as described by the Wikipedia article, which makes it sound like a dead key. It's just a modifier, like Shift. It doesn't indicate any combining of following keystrokes. Maybe it does act like that for other layouts. It's all news to me, as I've never used any non-US keyboard. :) Thanks, Paul
Re: [gentoo-user] Re: Terminals that work with compose key?
On Tue, Feb 17, 2009 at 2:00 PM, Grant Edwards gra...@visi.com wrote: On 2009-02-17, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Tue, Feb 17, 2009 at 1:41 PM, Grant Edwards gra...@visi.com wrote: The compose key still works fine in xjed, emacs, rxvt, mrxvt, xterm, and dozens of GTK and Qt based apps. But, it doesn't work in aterm or urxvt. [...] I've never owned a keyboard with a Compose key, actually I had never even heard of it. So how do you enter accented or non-latin characters or ligatures or the like? I don't. The standard US English PC keyboard has nothing but A-Z, numbers, a few symbols and standard punctuation. Typically, if someone has an accented character in their name or address it is simply entered in without the accent. Have to use character map type of programs or alternate keyboard layouts to really enter any special characters. Or the old alt-keypad method from DOS, I don't know if that even works in Linux. Wikipedia has some info about how you might go about setting it up. http://en.wikipedia.org/wiki/Compose_key Um, since my compose key works fine with most applications, one might assume that I've already got it set up. A quick googling says: It looks like the deadkeys problem was a known bug and should have been fixed in 1.0.1-r2 (there is aterm-1.0.1-deadkeys.patch in the portage tree). What version did you try? The rxvt-unicode website has a FAQ about the compose key not working: http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod#My_Compose_Multi_key_key_is_no_longe I can't test it since I lack the necessary key. Paul
[gentoo-user] Re: Terminals that work with compose key?
On 2009-02-17, Paul Hartman paul.hartman+gen...@gmail.com wrote: There is a US-International layout that makes the right-alt behave like Alt Gr, and allowing easier entry for non-English (mostly Spanish) characters. I don't know if US-International keyboards actually exists or if it's just a virtual layout. However, even then, it does not behave like the Compose key as described by the Wikipedia article, which makes it sound like a dead key. A dead key and a compose key are related, but not quite the same thing. A dead key is one that when struck doesn't generate a letter but instead modifies the letter that's generated by the next keystroke. Unlike a modifier like shift/alt/control, a dead key or a compose key is struck and released and then the next key is struck. Some non-English keyboards have deadicated deadkeys for commonly used accents. Dead keys are more-or-less the equivalent of a typewriter key that imprints a glyph onto the paper but doesn't move the platen (or the type-ball, if you want to think like a selectric). What a compose key does is temporarily make the _next_ key struck act like a dead key. To enter ô, you strike compose, ^, o. Hitting compose makes the ^ key temporarily into a dead key. It's just a modifier, like Shift. It doesn't indicate any combining of following keystrokes. Maybe it does act like that for other layouts. It's all news to me, as I've never used any non-US keyboard. :) Me neither. I've set up right-ALT as my compose key. [How do you enter accented or non-latin characters without a compose key?] The problem is that it stopped working recently in aterm, and I can't figure out why. In aterm, if I hit compose ^ o, I just get ^o. In urxvt, compose sequences are ignored completely. Furthermore, both aterm and urxvt correctly _display_ non-ascii characters that were entered in other applications using compose sequences. You can even paste them into aterm and urxvt. You just can't enter them from the keyboard. -- Grant Edwards grante Yow! over in west at Philadelphia a puppy is visi.comvomiting ...
[gentoo-user] Re: Terminals that work with compose key?
On 2009-02-17, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Tue, Feb 17, 2009 at 2:00 PM, Grant Edwards gra...@visi.com wrote: On 2009-02-17, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Tue, Feb 17, 2009 at 1:41 PM, Grant Edwards gra...@visi.com wrote: The compose key still works fine in xjed, emacs, rxvt, mrxvt, xterm, and dozens of GTK and Qt based apps. But, it doesn't work in aterm or urxvt. [...] I've never owned a keyboard with a Compose key, actually I had never even heard of it. So how do you enter accented or non-latin characters or ligatures or the like? I don't. The standard US English PC keyboard has nothing but A-Z, numbers, a few symbols and standard punctuation. I know. I'm here in the US and have normal USian keyboards. Typically, if someone has an accented character in their name or address it is simply entered in without the accent. That just seems a bit parochial. :) Have to use character map type of programs or alternate keyboard layouts to really enter any special characters. Or the old alt-keypad method from DOS, I don't know if that even works in Linux. A quick googling says: It looks like the deadkeys problem was a known bug and should have been fixed in 1.0.1-r2 (there is aterm-1.0.1-deadkeys.patch in the portage tree). What version did you try? Great! Not sure why I didn't find that when I was Googling earlier. It looks like I'm running 1.0.1-r1. I'll give -r2 a try. The rxvt-unicode website has a FAQ about the compose key not working: http://pod.tst.eu/http://cvs.schmorp.de/rxvt-unicode/doc/rxvt.7.pod#My_Compose_Multi_key_key_is_no_longe Yea, I found that -- it wasn't really all that helpful. Note to FAQ editors: Saying X is set wrong isn't all that helpful if you don't bother to say what the right setting is... -- Grant Edwards grante Yow! WHO sees a BEACH BUNNY at sobbing on a SHAG RUG?! visi.com
[gentoo-user] Re: Terminals that work with compose key?
On 2009-02-17, Grant Edwards gra...@visi.com wrote: It looks like the deadkeys problem was a known bug and should have been fixed in 1.0.1-r2 (there is aterm-1.0.1-deadkeys.patch in the portage tree). What version did you try? Great! Not sure why I didn't find that when I was Googling earlier. After looking more closely at the patch, I _had_ found that bug and patch when Googling, but it simply didn't occur to me that a fix that had been out for 3 years would be masked by the ~x86 keyword. Development of aterm is a bit on the slow side. IIRC, it's now officially abandoned in favor of urxvt. I'll probably continue to use it since compose works in aterm and not in urxvt. Upgrading to 1.0.1-r2 does fix the problem. -- Grant Edwards grante Yow! Okay ... I'm going at home to write the I HATE visi.comRUBIK's CUBE HANDBOOK FOR DEAD CAT LOVERS ...
[gentoo-user] Constant Load 1.00+ on new Toshiba laptop
G'day, I was wondering if anyone might have any idea's as to what is causing my new Toshiba A300 Satelite to idle at a load of 1.00 when not in use. Right after boot up it settles at 1.00 when I do nothing. I'm not seeing anything out of ordinary in dmesg ( asside from an non issue with legacy usb and sd and sr drivers in the kernel ). I had Ubuntu on this thing for a week or so as I needed something quick fast when my workstation chipfan died on me and this wasn't an issue when I had that installed so I think I can rule out hardware. Also, its not an issue when I boot up via live cd ( sysrescuecd ). I've tried different cpufreq governors ( default is ondemand ) and that doesn't appear to be an issue. Any help or suggestions would be appreciated. Thanks. -- Beau Dylan Henderson No human being should be denied the fundamental right to educate themselves or indulge their curiosities. To deny any person the right to do so, for whatever reason, is nothing more than the safeguarding of ignorance to ensure that enlightenment does not become a threat. For nothing in this world is more dangerous than an open mind. -- Matthew Good
Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop
On Wednesday 18 February 2009 09:20:22 Beau Henderson wrote: G'day, I was wondering if anyone might have any idea's as to what is causing my new Toshiba A300 Satelite to idle at a load of 1.00 when not in use. Right after boot up it settles at 1.00 when I do nothing. I'm not seeing anything out of ordinary in dmesg ( asside from an non issue with legacy usb and sd and sr drivers in the kernel ). I had Ubuntu on this thing for a week or so as I needed something quick fast when my workstation chipfan died on me and this wasn't an issue when I had that installed so I think I can rule out hardware. Also, its not an issue when I boot up via live cd ( sysrescuecd ). I've tried different cpufreq governors ( default is ondemand ) and that doesn't appear to be an issue. Any help or suggestions would be appreciated. Thanks. Is updatedb or some similar indexer running? Being a new install it might still be building its index for the first time. I've noticed before that processes in io-wait seem to count towards the load average, even though they might not be actually using the CPU that much. Shawn
Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop
On Wed, Feb 18, 2009 at 8:56 AM, po...@podgeweb.com wrote: On Wednesday 18 February 2009 09:20:22 Beau Henderson wrote: G'day, I was wondering if anyone might have any idea's as to what is causing my new Toshiba A300 Satelite to idle at a load of 1.00 when not in use. Right after boot up it settles at 1.00 when I do nothing. I'm not seeing anything out of ordinary in dmesg ( asside from an non issue with legacy usb and sd and sr drivers in the kernel ). I had Ubuntu on this thing for a week or so as I needed something quick fast when my workstation chipfan died on me and this wasn't an issue when I had that installed so I think I can rule out hardware. Also, its not an issue when I boot up via live cd ( sysrescuecd ). I've tried different cpufreq governors ( default is ondemand ) and that doesn't appear to be an issue. Any help or suggestions would be appreciated. Thanks. Is updatedb or some similar indexer running? Being a new install it might still be building its index for the first time. I've noticed before that processes in io-wait seem to count towards the load average, even though they might not be actually using the CPU that much. Shawn Nope, nothing. Top shows all 0's under CPU. Nothing appears to be doing anything at all. As an example: top - 09:25:20 up 1:31, 1 user, load average: 1.00, 1.00, 0.92 Tasks: 65 total, 1 running, 64 sleeping, 0 stopped, 0 zombie Cpu0 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 4145288k total, 328960k used, 3816328k free,21112k buffers Swap: 8377856k total,0k used, 8377856k free, 256796k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 5273 root 20 0 2428 1108 876 R0 0.0 0:03.71 top 1 root 20 0 1744 504 444 S0 0.0 0:00.28 init 2 root 15 -5 000 S0 0.0 0:00.00 kthreadd 3 root RT -5 000 S0 0.0 0:00.00 migration/0 4 root 15 -5 000 S0 0.0 0:00.02 ksoftirqd/0 5 root RT -5 000 S0 0.0 0:00.00 migration/1 6 root 15 -5 000 S0 0.0 0:00.02 ksoftirqd/1 7 root 15 -5 000 S0 0.0 0:00.00 events/0 8 root 15 -5 000 S0 0.0 0:00.01 events/1 9 root 15 -5 000 S0 0.0 0:00.00 khelper -- Beau Dylan Henderson No human being should be denied the fundamental right to educate themselves or indulge their curiosities. To deny any person the right to do so, for whatever reason, is nothing more than the safeguarding of ignorance to ensure that enlightenment does not become a threat. For nothing in this world is more dangerous than an open mind. -- Matthew Good
Re: [gentoo-user] Re: Terminals that work with compose key?
On Tue, Feb 17, 2009 at 4:24 PM, Grant Edwards gra...@visi.com wrote: What a compose key does is temporarily make the _next_ key struck act like a dead key. To enter ô, you strike compose, ^, o. Hitting compose makes the ^ key temporarily into a dead key. It seems like a sensible way of doing things. I can't believe I had never heard of it before! Me neither. I've set up right-ALT as my compose key. [How do you enter accented or non-latin characters without a compose key?] I've used the US-International layout in KDE (or in Windows XP), where AltGr acts as a modifier, and most characters needed for European languages can be pressed with an easy AltGr-[key], but the compose key seems like it would be easier to remember what does what (assuming you don't have a keyboard with the international layout printed on the keys). For example, AltGr-q makes ä which doesn't make a whole lot of sense unless you've memorized it. KDE and WinXP allow you to easily toggle between layouts, so if I'm in need of some foreign characters (doing business in the UK and needing to type £ constantly, for example), I'll just toggle the US-Intl layout off and on. Here is the cheat sheet: http://upload.wikimedia.org/wikipedia/commons/thumb/2/22/KB_US-International.svg/800px-KB_US-International.svg.png Thanks, Paul
Re: [gentoo-user] Re: Terminals that work with compose key?
On Tue, Feb 17, 2009 at 4:35 PM, Grant Edwards gra...@visi.com wrote: On 2009-02-17, Paul Hartman paul.hartman+gen...@gmail.com wrote: On Tue, Feb 17, 2009 at 2:00 PM, Grant Edwards gra...@visi.com wrote: So how do you enter accented or non-latin characters or ligatures or the like? I don't. The standard US English PC keyboard has nothing but A-Z, numbers, a few symbols and standard punctuation. I know. I'm here in the US and have normal USian keyboards. Sorry, I assumed you were elsewhere (I was picturing an actual Compose key on your keyboard). It's hard to tell! There is a good chance that when I assume someone is from a certain part of the world on here, I'm wrong. Typically, if someone has an accented character in their name or address it is simply entered in without the accent. That just seems a bit parochial. :) Of course /I/ make sure to get people's names correct, but I was speaking more in general. The store clerk at a cash register entering your name in probably isn't going to jump through hoops to get accented characters. Again, I was assuming you were an outsider. :) Thanks, Paul
Re: [gentoo-user] Re: Terminals that work with compose key?
On Dienstag 17 Februar 2009, Grant Edwards wrote: On 2009-02-17, Paul Hartman paul.hartman+gen...@gmail.com wrote: There is a US-International layout that makes the right-alt behave like Alt Gr, and allowing easier entry for non-English (mostly Spanish) characters. I don't know if US-International keyboards actually exists or if it's just a virtual layout. However, even then, it does not behave like the Compose key as described by the Wikipedia article, which makes it sound like a dead key. A dead key and a compose key are related, but not quite the same thing. A dead key is one that when struck doesn't generate a letter but instead modifies the letter that's generated by the next keystroke. Unlike a modifier like shift/alt/control, a dead key or a compose key is struck and released and then the next key is struck. Some non-English keyboards have deadicated deadkeys for commonly used accents. Dead keys are more-or-less the equivalent of a typewriter key that imprints a glyph onto the paper but doesn't move the platen (or the type-ball, if you want to think like a selectric). What a compose key does is temporarily make the _next_ key struck act like a dead key. To enter ô, you strike compose, ^, o. Hitting compose makes the ^ key temporarily into a dead key. nope, just ^ and o no other key. at least in kde.
Re: [gentoo-user] Eeek: Apache2 lost it's CGI ability
On Tue, Feb 17, 2009 at 9:10 AM, Naga nagat...@gmail.com wrote: On Monday 16 February 2009 00:59:41 Kevin O'Gorman wrote: I've got a low-use CGI script on my web server. Aside from web crawlers, I usually see at most a few hits a week from people who share my hobby. I just found out it's been down for an unknown period of time because my Apache no longer does CGI scripting. I can't even get it to run the simplest possible C program. Not sure if this is related to your problem but I had a similar issue that was caused by having threads as a USE flag for Apache. This has the effect that the mod_cgi.so module isn't built, but the mod_cgid.so one is. /Regards Naga Problem solved. It wasn't i18n, and it wasn't Python. Apparently somewhere along the line, apache started to provide a command-line argument to CGI programs. At least my Python script was getting an empty string in argv[1]. The script is picky about that, but had old code to handle it that worked only for the command-line. It did not expect to have any arguments at all when running as CGI. After fixing up error handling, and training it to ignore empty string parameters, the script runs just fine. Check it out at http://hex.kosmanor.com/hex-bin/board if you like the game of Hex. It's a hobby thing. ++ kevin -- Kevin O'Gorman, PhD
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Tue, Feb 17, 2009 at 11:37 AM, daid kahl daid...@gmail.com wrote: 2009/2/16 Guillermo Garron guillermo.fed...@gmail.com Hi, I am new to Gentoo, and yes I am also new to compiling kernels. I recently got in to configuring my own kernel (I'm not sure if you're at this level or using other people's .config files); it's a bit lazy and maybe risky not to configure it yourself, but you have to start somewhere. In any case, the two things I found most helpful are kccmp and http://cateee.net. The first is a program to compare two kernel configurations, and tell you the differences between them, and so on, displayed in a nice table in X; you can find it in the portage tree. Before I found that, I was literally like comparing the files by hand on print outs and stuff...what a nightmare. The other is a Debian developer's site, but there is a large part on kernel configuration (specifically at http://cateee.net/lkddb/). I didn't actually find a really easy way to search the site besides doing a google site-limited query (CONFIG_BLAH_BLAH site:cateee.net), but once you get to a config page, at the bottom there is also a google bar with a radio button for just searching that site. There could be better places to look for kernel configuration options, but that's what I was using, and obviously, if you want to configure your kernel, you should have a place to look up the options, and that database has a basic description of most (but not all) configurations at least for up to 2.6.26 (maybe later, but that's what I'm using right now). Maybe other people can point to other resources? Also, you should avoid using oldconfig except for really minor kernel upgrades. I know this is mentioned in documentation elsewhere, but just a useful reminder. Thanks a lot friend, I am trying to configure my Kernel myself (I am not that lazy :)). I will try all the advices here, and will come back to tell you which was the one which works, it will take me some time, As I can only work on this briefly at nights and on weekends. regards. ~daid -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Mon, Feb 16, 2009 at 5:36 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Sonntag, 15. Februar 2009 22:52:42 schrieb Guillermo Garron: sudo lspci -v | grep Ether 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) Where did I write |grep Ether? That's pretty much useless as there is nothing new in it. Sorry pal. I did no realize I was giving the same info twice, but using the full version of the output with no greps. on the working kernel I got that the driver that is working is E1000 but when I activate it on the new kernel, it does not work either. Bye... Dirk -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] NIC not detected after Kernel upgrade
On Mon, Feb 16, 2009 at 5:40 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Montag, 16. Februar 2009 02:17:36 schrieb Stroller: System Rescue CD uses a kernel of about the same vintage as the one you're trying to upgrade to. I suggest you boot with it see if your NIC works. If so, copy the kernel config `make oldconfig`. Or even better: use lspci -v while running from CD, and enable the driver it tells you. Bye... Hi, I have run lspci -v on a Crunchbang Linux live CD, here is the output 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) Subsystem: Intel Corporation Device 0001 Flags: bus master, fast devsel, latency 0, IRQ 216 Memory at 9220 (32-bit, non-prefetchable) [size=128K] Memory at 92224000 (32-bit, non-prefetchable) [size=4K] I/O ports at 20e0 [size=32] Capabilities: access denied Kernel driver in use: e1000e Kernel modules: e1000e I will go to gentoo and configure the kernel that way. Dirk -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] Re: Terminals that work with compose key?
That's a legacy behavior got from old typewriter machines in which the accents did not move the carriage as normal characters did, just printing the accent (that had to be high enough for upper case letters) and waiting for the accented letter to do the move. As far as I know, in KDE you may install an international layout toggle, so different behaviors - and even quite different lay-outs - may co-exist. Francisco On Tue, Feb 17, 2009 at 9:06 PM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Dienstag 17 Februar 2009, Grant Edwards wrote: On 2009-02-17, Paul Hartman paul.hartman+gen...@gmail.com wrote: There is a US-International layout that makes the right-alt behave like Alt Gr, and allowing easier entry for non-English (mostly Spanish) characters. I don't know if US-International keyboards actually exists or if it's just a virtual layout. However, even then, it does not behave like the Compose key as described by the Wikipedia article, which makes it sound like a dead key. A dead key and a compose key are related, but not quite the same thing. A dead key is one that when struck doesn't generate a letter but instead modifies the letter that's generated by the next keystroke. Unlike a modifier like shift/alt/control, a dead key or a compose key is struck and released and then the next key is struck. Some non-English keyboards have deadicated deadkeys for commonly used accents. Dead keys are more-or-less the equivalent of a typewriter key that imprints a glyph onto the paper but doesn't move the platen (or the type-ball, if you want to think like a selectric). What a compose key does is temporarily make the _next_ key struck act like a dead key. To enter ô, you strike compose, ^, o. Hitting compose makes the ^ key temporarily into a dead key. nope, just ^ and o no other key. at least in kde. -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw
Re: [gentoo-user] NIC not detected after Kernel upgrade
Hi, I am top posting because it is solved. I want to help you all for your help, I am not sure about the problem but here are some hints, you will realize what it was. As I said before, I used this info for the new configuration. 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) Subsystem: Intel Corporation Device 0001 Flags: bus master, fast devsel, latency 0, IRQ 216 Memory at 9220 (32-bit, non-prefetchable) [size=128K] Memory at 92224000 (32-bit, non-prefetchable) [size=4K] I/O ports at 20e0 [size=32] Capabilities: access denied Kernel driver in use: e1000e Kernel modules: e1000e That info comes from lspci -v run on the Crunchbang Linux live CD. But I have also realized that I always was saving my configurations as. guille1.config, guille2.config, and so on. but this time I also did this. cp guille5.config .config and then compiled the kernel, I am almost sure that matters. thanks again for your help and time. regards, Guillermo Garron On Tue, Feb 17, 2009 at 8:40 PM, Guillermo Garron guillermo.fed...@gmail.com wrote: On Mon, Feb 16, 2009 at 5:40 PM, Dirk Heinrichs dirk.heinri...@online.de wrote: Am Montag, 16. Februar 2009 02:17:36 schrieb Stroller: System Rescue CD uses a kernel of about the same vintage as the one you're trying to upgrade to. I suggest you boot with it see if your NIC works. If so, copy the kernel config `make oldconfig`. Or even better: use lspci -v while running from CD, and enable the driver it tells you. Bye... Hi, I have run lspci -v on a Crunchbang Linux live CD, here is the output 00:19.0 Ethernet controller: Intel Corporation 82566DC Gigabit Network Connection (rev 02) Subsystem: Intel Corporation Device 0001 Flags: bus master, fast devsel, latency 0, IRQ 216 Memory at 9220 (32-bit, non-prefetchable) [size=128K] Memory at 92224000 (32-bit, non-prefetchable) [size=4K] I/O ports at 20e0 [size=32] Capabilities: access denied Kernel driver in use: e1000e Kernel modules: e1000e I will go to gentoo and configure the kernel that way. Dirk -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org -- Guillermo Garron Linux IS user friendly... It's just selective about who its friends are. (Using Ubuntu, Debian, Gentoo) http://feeds.feedburner.com/go2linux http://www.go2linux.org
Re: [gentoo-user] perfect IDE
On Tue, 17 Feb 2009 16:05:08 + Andrei Hanganu wrote: helo group, i've been trying the past 2-3 years to find the most usable and nice ide for c/c++ code writing. I've been through vim/vim + plugins/emacs + different modes/anjuta/kdevelop/codeblocks/eclipse/netbeans ... every single one of them has at least one drawback. In short words, i am looking for an ide that can do this: - syntax highlighting - autocomplete (on the fly, not on demand, and maybe smart? - identify structures/classes ) - concurrent editing of multiple files (splitting) - tabs or buffer list - file browser - project manager - symbol list/browser current editing buffer - regex search/replace - flexible build options that include scons, not just makefile - code folding (with detection of blocks) - lightweight/ergonomic interface (i dislike space being occupied by the bar that displays the line numbers, with a padding of 10px for example) i don't desire gdb or valgrind integration, but would be a + does anyone know the answer to this ultimate question? I keep comparing different editors with the microsoft's visual studio, that is not by far as powerful as emacs but it just plain and simple does the job. They will reach a milestone when the brackets matching will actually work, but despite small inconveniences, i find it to be very close to what i am looking for. kdevelop also seemed very close to what i wanted, but somehow the fonts or the dpi make it very crowded, i get very little space for the code. On the other hand netbeans is a good example of how the interface should be arranged, but java driven ide tends to stop being able to respond in tolerable time. i am on the edge of despair, and i am willing to try even a commercial solution. Anyone had some very positive experience with a specific ide? thanks, Andrei I've heard some good things about komodo, though it's not open source and I've not used it. David
[gentoo-user] Re: Terminals that work with compose key?
On 2009-02-18, Volker Armin Hemmann volkerar...@googlemail.com wrote: A dead key and a compose key are related, but not quite the same thing. A dead key is one that when struck doesn't generate a letter but instead modifies the letter that's generated by the next keystroke. Unlike a modifier like shift/alt/control, a dead key or a compose key is struck and released and then the next key is struck. Some non-English keyboards have dedicated deadkeys for commonly used accents. Dead keys are more-or-less the equivalent of a typewriter key that imprints a glyph onto the paper but doesn't move the platen (or the type-ball, if you want to think like a selectric). What a compose key does is temporarily make the _next_ key struck act like a dead key. To enter ô, you strike compose, ^, o. Hitting compose makes the ^ key temporarily into a dead key. nope, just ^ and o no other key. That's if your keyboard layout has dead keys. Mine doesn't. I'm talking about using a compose key (sorry if I wasn't clear). If you're using a compose key instead of dead keys, you do it they way I said: compose, ^, o. If I type ^ and o, then I get ^o. I'm set up to use a compose key. I don't have any dead keys. Like I said, some non-English keyboard layouts have dead keys (yours apparently does). US-English layout doesn't. That's why we configure a compose key. -- Grant
Re: [gentoo-user] perfect IDE
El mar, 17-02-2009 a las 20:51 -0500, David Relson escribió: On Tue, 17 Feb 2009 16:05:08 + Andrei Hanganu wrote: helo group, i've been trying the past 2-3 years to find the most usable and nice ide for c/c++ code writing. I've been through vim/vim + plugins/emacs + different modes/anjuta/kdevelop/codeblocks/eclipse/netbeans ... every single one of them has at least one drawback. In short words, i am looking for an ide that can do this: - syntax highlighting - autocomplete (on the fly, not on demand, and maybe smart? - identify structures/classes ) - concurrent editing of multiple files (splitting) - tabs or buffer list - file browser - project manager - symbol list/browser current editing buffer - regex search/replace - flexible build options that include scons, not just makefile - code folding (with detection of blocks) - lightweight/ergonomic interface (i dislike space being occupied by the bar that displays the line numbers, with a padding of 10px for example) i don't desire gdb or valgrind integration, but would be a + does anyone know the answer to this ultimate question? I keep comparing different editors with the microsoft's visual studio, that is not by far as powerful as emacs but it just plain and simple does the job. They will reach a milestone when the brackets matching will actually work, but despite small inconveniences, i find it to be very close to what i am looking for. kdevelop also seemed very close to what i wanted, but somehow the fonts or the dpi make it very crowded, i get very little space for the code. On the other hand netbeans is a good example of how the interface should be arranged, but java driven ide tends to stop being able to respond in tolerable time. i am on the edge of despair, and i am willing to try even a commercial solution. Anyone had some very positive experience with a specific ide? thanks, Andrei I've heard some good things about komodo, though it's not open source and I've not used it. David There is also Openkomodo, its name says what it is.. :) signature.asc Description: Esta parte del mensaje está firmada digitalmente
Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop
Fearing I might have stripped out something I shouldn't have in my .config , loaded up a defconfig and selected my appropriate options. This has the same effect. I've also tryed the ~ kernel to no avail. This has got me stumped. On Wed, Feb 18, 2009 at 9:26 AM, Beau Henderson b...@thehenderson.comwrote: On Wed, Feb 18, 2009 at 8:56 AM, po...@podgeweb.com wrote: On Wednesday 18 February 2009 09:20:22 Beau Henderson wrote: G'day, I was wondering if anyone might have any idea's as to what is causing my new Toshiba A300 Satelite to idle at a load of 1.00 when not in use. Right after boot up it settles at 1.00 when I do nothing. I'm not seeing anything out of ordinary in dmesg ( asside from an non issue with legacy usb and sd and sr drivers in the kernel ). I had Ubuntu on this thing for a week or so as I needed something quick fast when my workstation chipfan died on me and this wasn't an issue when I had that installed so I think I can rule out hardware. Also, its not an issue when I boot up via live cd ( sysrescuecd ). I've tried different cpufreq governors ( default is ondemand ) and that doesn't appear to be an issue. Any help or suggestions would be appreciated. Thanks. Is updatedb or some similar indexer running? Being a new install it might still be building its index for the first time. I've noticed before that processes in io-wait seem to count towards the load average, even though they might not be actually using the CPU that much. Shawn Nope, nothing. Top shows all 0's under CPU. Nothing appears to be doing anything at all. As an example: top - 09:25:20 up 1:31, 1 user, load average: 1.00, 1.00, 0.92 Tasks: 65 total, 1 running, 64 sleeping, 0 stopped, 0 zombie Cpu0 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Cpu1 : 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st Mem: 4145288k total, 328960k used, 3816328k free,21112k buffers Swap: 8377856k total,0k used, 8377856k free, 256796k cached PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 5273 root 20 0 2428 1108 876 R0 0.0 0:03.71 top 1 root 20 0 1744 504 444 S0 0.0 0:00.28 init 2 root 15 -5 000 S0 0.0 0:00.00 kthreadd 3 root RT -5 000 S0 0.0 0:00.00 migration/0 4 root 15 -5 000 S0 0.0 0:00.02 ksoftirqd/0 5 root RT -5 000 S0 0.0 0:00.00 migration/1 6 root 15 -5 000 S0 0.0 0:00.02 ksoftirqd/1 7 root 15 -5 000 S0 0.0 0:00.00 events/0 8 root 15 -5 000 S0 0.0 0:00.01 events/1 9 root 15 -5 000 S0 0.0 0:00.00 khelper -- Beau Dylan Henderson No human being should be denied the fundamental right to educate themselves or indulge their curiosities. To deny any person the right to do so, for whatever reason, is nothing more than the safeguarding of ignorance to ensure that enlightenment does not become a threat. For nothing in this world is more dangerous than an open mind. -- Matthew Good -- Beau Dylan Henderson No human being should be denied the fundamental right to educate themselves or indulge their curiosities. To deny any person the right to do so, for whatever reason, is nothing more than the safeguarding of ignorance to ensure that enlightenment does not become a threat. For nothing in this world is more dangerous than an open mind. -- Matthew Good
Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop
On Wed, 18 Feb 2009 13:43:29 +1000 Beau Henderson b...@thehenderson.com wrote: [snip] Anything suspicious under `ps aux` ? signature.asc Description: PGP signature
Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop
On Wed, Feb 18, 2009 at 1:51 PM, Kenneth Prugh ken69...@gmail.com wrote: On Wed, 18 Feb 2009 13:43:29 +1000 Beau Henderson b...@thehenderson.com wrote: [snip] Anything suspicious under `ps aux` ? Absolutely nothing ( out of ordinary ) :/ -- Beau Dylan Henderson No human being should be denied the fundamental right to educate themselves or indulge their curiosities. To deny any person the right to do so, for whatever reason, is nothing more than the safeguarding of ignorance to ensure that enlightenment does not become a threat. For nothing in this world is more dangerous than an open mind. -- Matthew Good
Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop
On Tue, Feb 17, 2009 at 4:50 PM, Beau Henderson b...@thehenderson.com wrote: G'day, I was wondering if anyone might have any idea's as to what is causing my new Toshiba A300 Satelite to idle at a load of 1.00 when not in use. Right after boot up it settles at 1.00 when I do nothing. I'm not seeing anything out of ordinary in dmesg ( asside from an non issue with legacy usb and sd and sr drivers in the kernel ). I had Ubuntu on this thing for a week or so as I needed something quick fast when my workstation chipfan died on me and this wasn't an issue when I had that installed so I think I can rule out hardware. Also, its not an issue when I boot up via live cd ( sysrescuecd ). I've tried different cpufreq governors ( default is ondemand ) and that doesn't appear to be an issue. Any help or suggestions would be appreciated. Thanks. I've never known what those numbers represent (I know it is load average, but what it means, and what is the range, I have no idea)... Anyway, it seems mine are always around 1+. It's not perfectly idle but not running seti or anything intensive either. I wonder if NO_HZ has some effect on it? I think I remember reading something about it measuring timeslices... and all kinds of mathematics that I can't even begin to comprehend.
Re: [gentoo-user] Open Office: PDF import
090217 Sebastián Magrí wrote: On Tue, February 17, 2009 7:26 am, Philip Webb wrote: Has anyone succeeded in importing a PDF to Open Office Impress or Draw ? I've added the add-on from from under /usr/... (as it says), but when I try to 'insert file' using a 1-page PDF , it says 'File could not be opened' (after some CPU activity); OO Writer opens it as 98 pages of garbage. I tried rebooting re-opening OO, but not change. There's nothing in OO Help re the add-on or importing PDFs. I'm using OO 3.0.1 . I've been using it for a while without problems. I installed it on my user space using the extension manager. Sometimes it does not open the objects in a correct way, maybe have relation with the version of the pdf. For example, the pdfs generated in m$ project takes very much time to open with high CPU activity, it happens too when I open it on evince so I think it's a problem of m$, as usual. I created a PDF from a 1-page .odt file created with OO 3.0.0 had the same negative result. The file opens correctly in Kpdf. This is a 64-bit system: might that have something to do with it ? -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop
On Wednesday 18 February 2009 16:24:45 Paul Hartman wrote: On Tue, Feb 17, 2009 at 4:50 PM, Beau Henderson b...@thehenderson.com wrote: G'day, I was wondering if anyone might have any idea's as to what is causing my new Toshiba A300 Satelite to idle at a load of 1.00 when not in use. Right after boot up it settles at 1.00 when I do nothing. I'm not seeing anything out of ordinary in dmesg ( asside from an non issue with legacy usb and sd and sr drivers in the kernel ). I had Ubuntu on this thing for a week or so as I needed something quick fast when my workstation chipfan died on me and this wasn't an issue when I had that installed so I think I can rule out hardware. Also, its not an issue when I boot up via live cd ( sysrescuecd ). I've tried different cpufreq governors ( default is ondemand ) and that doesn't appear to be an issue. Any help or suggestions would be appreciated. Thanks. I've never known what those numbers represent (I know it is load average, but what it means, and what is the range, I have no idea)... Anyway, it seems mine are always around 1+. It's not perfectly idle but not running seti or anything intensive either. I remember trying to google the meaning of those numbers once. It was VERY hard to find out what they were. It's something like, average number of processes in the running or ready to run states for the last 1, 5 15 minutes. Shawn
Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop
On Mittwoch 18 Februar 2009, Paul Hartman wrote: On Wed, Feb 18, 2009 at 12:13 AM, Shawn Haggett po...@podgeweb.com wrote: On Wednesday 18 February 2009 16:24:45 Paul Hartman wrote: On Tue, Feb 17, 2009 at 4:50 PM, Beau Henderson b...@thehenderson.com wrote: G'day, I was wondering if anyone might have any idea's as to what is causing my new Toshiba A300 Satelite to idle at a load of 1.00 when not in use. Right after boot up it settles at 1.00 when I do nothing. I'm not seeing anything out of ordinary in dmesg ( asside from an non issue with legacy usb and sd and sr drivers in the kernel ). I had Ubuntu on this thing for a week or so as I needed something quick fast when my workstation chipfan died on me and this wasn't an issue when I had that installed so I think I can rule out hardware. Also, its not an issue when I boot up via live cd ( sysrescuecd ). I've tried different cpufreq governors ( default is ondemand ) and that doesn't appear to be an issue. Any help or suggestions would be appreciated. Thanks. I've never known what those numbers represent (I know it is load average, but what it means, and what is the range, I have no idea)... Anyway, it seems mine are always around 1+. It's not perfectly idle but not running seti or anything intensive either. I remember trying to google the meaning of those numbers once. It was VERY hard to find out what they were. It's something like, average number of processes in the running or ready to run states for the last 1, 5 15 minutes. I just ignore them because they are meaningless to me. The active CPU percentages seem to be based in Earthly reality. :) Maybe someone with more knowledge can explain what a 1 means versus a 2 or whatever. AFAIR: it is the number of process/task ready to run at the same time. 1 means there is one task that 'wants' to run/is running, 2 are two and so forth.
Re: [gentoo-user] Constant Load 1.00+ on new Toshiba laptop
On Wed, Feb 18, 2009 at 12:13 AM, Shawn Haggett po...@podgeweb.com wrote: On Wednesday 18 February 2009 16:24:45 Paul Hartman wrote: On Tue, Feb 17, 2009 at 4:50 PM, Beau Henderson b...@thehenderson.com wrote: G'day, I was wondering if anyone might have any idea's as to what is causing my new Toshiba A300 Satelite to idle at a load of 1.00 when not in use. Right after boot up it settles at 1.00 when I do nothing. I'm not seeing anything out of ordinary in dmesg ( asside from an non issue with legacy usb and sd and sr drivers in the kernel ). I had Ubuntu on this thing for a week or so as I needed something quick fast when my workstation chipfan died on me and this wasn't an issue when I had that installed so I think I can rule out hardware. Also, its not an issue when I boot up via live cd ( sysrescuecd ). I've tried different cpufreq governors ( default is ondemand ) and that doesn't appear to be an issue. Any help or suggestions would be appreciated. Thanks. I've never known what those numbers represent (I know it is load average, but what it means, and what is the range, I have no idea)... Anyway, it seems mine are always around 1+. It's not perfectly idle but not running seti or anything intensive either. I remember trying to google the meaning of those numbers once. It was VERY hard to find out what they were. It's something like, average number of processes in the running or ready to run states for the last 1, 5 15 minutes. I just ignore them because they are meaningless to me. The active CPU percentages seem to be based in Earthly reality. :) Maybe someone with more knowledge can explain what a 1 means versus a 2 or whatever. Paul
Re: [gentoo-user] NIC not detected after Kernel upgrade
daid kahl wrote: Also, you should avoid using oldconfig except for really minor kernel upgrades. I know this is mentioned in documentation elsewhere, but just a useful reminder. ~daid This has been discussed on this list before. Running make oldconfig works fine. I, and a lot of others, have said this many times. I configed one kernel about 5 years ago and have used oldconfig ever since. It is faster and less prone to problems than starting from scratch. If you are going from 2.4 to 2.6, then you should start fresh. I recently went from 2.6.23 to a 2.6.28 with no problem, other than trying to figure out that new group stuff. Dale :-) :-)