Re: [gentoo-user] perfect IDE
On Tue, Feb 17, 2009 at 9:32 PM, Andreas Niederl ric...@gmx.net wrote: 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. I can only give the same advice. I'm mainly an Emacs user, so I think I can fill in the parts you've missed below :-) Oh and (to everybody) Emacs is one thing especially: customizable. You have to work a bit with Emacs to really understand this (because most editors/programs are customizable these days). But enough advertising ;-) 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. A file browser is provided by ECB and I have never encountered any minibuffer issues you've mentioned below. I also never encountered any incompatibilities between different customizations and I'm running a lot. Of course you can't use two that do the same thing, but I think that's clear (and usually the last one overrides the first, so no issues there). Restoring and saving sessions is, of course, possible, too :-), see here[1] - 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. It's possible in Emacs, and how to set it up see here[2], the package you'll see in the link, CEDET, is a complete IDE framework and not just auto-completion (but you can use only parts of it!), it's used for example in ECB and JDEE[3] - project manager Don't know about that but it would be nice to have simpler project specific settings for Emacs/Vim. For Emacs there's EDE, it's part of CEDET. - symbol list/browser current editing buffer That's pretty much ctags/etags, maybe cscope. And in addition you can browse this stuff with CEDET, see[1] for details. - flexible build options that include scons, not just makefile You can put the following in ~/.vimrc: autocmd BufEnter ~/path/to/project/* set makeprg=scons In Emacs you can use whatever you want to build your project, because there is no classic restriction called project like all these new IDEs have, but if you want there's EDE. - code folding (with detection of blocks) Vim does it[2]; Emacs seems to have some kind of FoldingMode according to Google. Yes, there is, it's called hs-minor-mode. - 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. If you've customized Emacs alot, and for Vim that probably true too, the startup is a bit slower, but you have several possibilities here: 1) start Emacs as server (that's just a normal Emacs but clients can attach) and edit your files by running emacsclient and in Emacs 23 (not yet released) you can daemonize Emacs and attach as many instances of Emacs as you want (even from ttys and X at the same time!) 2) start Emacs -Q (no customizations will be loaded) 3) use a vanilla Vim (which I do often when I'm editing config files) 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. Why don't you desire that? What's the purpose of an IDE if you don't want an integrated debugger? In Emacs run gdb and then gdb-many-windows (then debugging looks the same as in all these IDEs, you have a stack window, local variables window, source view, registers and so on). 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/ Oh and be aware that there's no single way in Emacs to do something and I've told you just the way I do it or the one I know of. Geralt. [1]http://www.emacswiki.org/emacs/SessionManagement [2]http://xtalk.msk.su/~ott/en/writings/emacs-devenv/EmacsCedet.html [3]http://jdee.sourceforge.net/
Re: [gentoo-user] Tablet PC? Anyone?
Willie Wong ww...@princeton.edu writes: Mainly what I am looking for is some sort of pen-mouse/tablet/touchscreen interface that makes drawing diagrams simpler (compared to a touchpad or the little dit that sits between the g,h, and b keys on a laptop). So if anyone knows of a laptop with this kind of built-in interface, it will also be good. Have you thought of attaching a drawing tablet to your existing laptop? I have a wacom tablet that works pretty well. I think there is an article on the wiki about installation. Cheers, Roger
Re: [gentoo-user] emerge R
On Thu, Feb 19, 2009 at 11:22 PM, Mark Knecht markkne...@gmail.com wrote: draws charts, graphs, applies coloration, interesting stuff. I may end up using RapidMiner - also Open Source but I think it's not in portage - as it's more of a GUI environment vs R which is sort of command line driven. Although clearly under-developed, there are various GUIs for R. Couple of links below: http://www.sciviews.org/_rgui/ http://wiki.r-project.org/rwiki/doku.php?id=guides:stats-with-r:01intro-to-r#gui_--_or_lack_thereof http://wiki.r-project.org/rwiki/doku.php?id=tips:using-gui:find_gui Liviu -- Do you know how to read? http://www.alienetworks.com/srtest.cfm Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
Re: [gentoo-user] perfect IDE
On Wed, Feb 18, 2009 at 2:51 AM, David Relson rel...@osagesoftware.com wrote: ide for c/c++ code writing. I've been through vim/vim + plugins/emacs + different modes/anjuta/kdevelop/codeblocks/eclipse/netbeans ... I've heard some good things about komodo, though it's not open source and I've not used it. Komodo IDE is indeed closesource, but Komodo Edit seems LGPLed. There's an ebuild on bugzilla [1]. Another package missing your list is Geany [2]. It's less fancy, but you might appreciate its being simple. Liviu [1] http://bugs.gentoo.org/show_bug.cgi?id=171944 [2] http://www.geany.org/ -- Do you know how to read? http://www.alienetworks.com/srtest.cfm Do you know how to write? http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail
[gentoo-user] Wireless intel 4965 howto
Hi there! Is there a working howto of how to get the wireless connection to work? Its a built-in chipset, intel 4965AG, and it was working with kernel 2.6.24, but I fail with any kernel newer. 2.6.26 had serious problems with rfkill-switch, and the only way for me was to unload the driver module, switch on the wifi-interface, load module again and then it worked. A little bit clumsy, but it worked. With 2.6.27 I entirely fail to get any connection at all. The wifi-interface refuses to accept any ESSID. So, is there a howto that describes how to get wireless to work? Maybe in a way so that I switch on the interface and no troubles with rfkill, etc? Thanks in advance Alex
[gentoo-user] Installation questions
Hello, I have read that the LiveCD is dead, no mas, ka_put_ski. So I wondering when the installation docs (gentoo handbook) will be modified for Chapter 2: Choosing the Right Installation medium? Many of the other installation methods (alternative to the G Handbook) also require CDs, stages and snapshots. No 2009 profile yet? I have seen this page as a recommended (on this list) method to install Gentoo: http://www.sysresccd.org/Main_Page Maybe a quick list of instructions how to use it to install gentoo? Maybe a boot-floppy and then get everything from a usb stick for older i586/P1 systems? Many of the older machines I install gentoo on, do not support usb booting directly? Hell, for that matter, I do not know what to tell somebody new to Gentoo, to use to install on a computer now-a-days? Currently, I hack my way through using 2005 and 2006 minimal CDs until I find a combo of files/drivers that work for an old x86 arch (K6 and such too). I'd like to learn how other folks are performing Gentoo installations these days. I just used a 2007 minimal cd without incidence, but that seems to fading as a viable offering. I never had any luck with 2008* cds. Maybe a list of really simple steps on a usb stick? or a home-made catalyst CD? Particularly for old 586 and pentium 1 machines. It seems every install on an old x86 arch is a random walk to get to a minimal working machine They do make excellent firewall and DNS servers.
Re: [gentoo-user] Wireless intel 4965 howto
2009/2/20 Alexander Puchmayr alexander.puchm...@linznet.at Hi there! Is there a working howto of how to get the wireless connection to work? Its a built-in chipset, intel 4965AG, and it was working with kernel 2.6.24, but I fail with any kernel newer. 2.6.26 had serious problems with rfkill-switch, and the only way for me was to unload the driver module, switch on the wifi-interface, load module again and then it worked. A little bit clumsy, but it worked. With 2.6.27 I entirely fail to get any connection at all. The wifi-interface refuses to accept any ESSID. So, is there a howto that describes how to get wireless to work? Maybe in a way so that I switch on the interface and no troubles with rfkill, etc? Thanks in advance Alex Take a look at the old gentoo wiki. i think is in www.gentoo-wiki.info. After kernel 2.6.26 yo have to change a couple of options and start using the open intel driver for that chip
Re: [gentoo-user] Tablet PC? Anyone?
On Fri, Feb 20, 2009 at 09:13:11AM -0330, Penguin Lover Roger Mason squawked: Willie Wong ww...@princeton.edu writes: Mainly what I am looking for is some sort of pen-mouse/tablet/touchscreen interface that makes drawing diagrams simpler (compared to a touchpad or the little dit that sits between the g,h, and b keys on a laptop). So if anyone knows of a laptop with this kind of built-in interface, it will also be good. Have you thought of attaching a drawing tablet to your existing laptop? I have a wacom tablet that works pretty well. I think there is an article on the wiki about installation. Yes. I have thought about it. But if, for example, I sit in the economy class cabin on an airplane, a laptop + a wacom tablet hardly fits in the space in front of me. Ditto for a lot of conference/lecture halls. I am still not ruling out the possibility, but I want to first see what you all have to say about TabletPCs. W -- Alcohol and calculus don't mix. Never drink and derive. Sortir en Pantoufles: up 805 days, 15:30
Re: [gentoo-user] perfect IDE
http://www.qtsoftware.com/developer/qt-creator Take a look and try it. On Tue, Feb 17, 2009 at 1:05 PM, Andrei Hanganu ahang...@bitdefender.comwrote: 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 -- Eduardo Gurgel Pinho (GELSoL-UFC) (Gentoo) Linux User #415930 http://edgurgel.wordpress.com http://alu.dc.ufc.br/~eduardo
Re: [gentoo-user] Installation questions
On Friday 20 February 2009 18:01:22 James wrote: I'd like to learn how other folks are performing Gentoo installations these days. I just used a 2007 minimal cd without incidence, but that seems to fading as a viable offering. I never had any luck with 2008* cds. I use any old LiveCD I have lying around that supports enough of the hardware ont he machine to be able to boot and see the disks and NIC. I find Ubuntu works like a charm. Yes, you heard me right - I recommend one uses Ubuntu to install Gentoo :-) Let's face it, Ubuntu does a very good job of making LiveCDs that JustWork, and this is not an area where gentoo has ever had any real focus. -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: Installation questions
Alan McKinnon alan.mckinnon at gmail.com writes: Let's face it, Ubuntu does a very good job of making LiveCDs that JustWork, and this is not an area where gentoo has ever had any real focus. OK. so I but up a ubuntu lived CD. SET up the disk (fdisk) follow the handbook setting up partions, file systems and such. Then setup chroot and at that point, copy over the 2008 stage3 and get the latest snapshot, thus following the rest of the handbook, more or less? Any caveats? James
[gentoo-user] virtualBox and Gcc
Can anyone tell me if there is some way to tell emerge to use a specific compiler during an emerge? I get this output during emerge of virutalbox-ose. Note that it says to use a version of gcc earlier than 4.3. Is there some way to do that without causing grief somewhere else? [...] VirtualBox-2.0.6-OSE.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ...[ ok ] * checking miscfile checksums ;-) ... [ ok ] cfg-update-1.8.2-r1: Creating checksum index... * there are known problems with gcc 4.3 and the virtualbox * recompiler stuff. Please use at least a version of gcc 4.3 * * ERROR: app-emulation/virtualbox-ose-2.0.6 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * virtualbox-ose-2.0.6.ebuild, line 54: Called die * The specific snippet of code: * die gcc 4.3 cannot build the virtualbox recompiler * The die message: * gcc 4.3 cannot build the virtualbox recompiler [...]
Re: [gentoo-user] Re: Gentoo as a production server - insecure?
On Monday 16 February 2009, Neil Bothwick wrote: On Mon, 16 Feb 2009 15:51:11 + (UTC), James wrote: If the rub is really the gcc compiler, then do not have it installed; activate a remote partition with any such tools as gcc, coreutils and use them for admin things. Then unmount these (NFS or such) necessary system tools, when your not actively using them. Or don't install them at all. Put all the toolchain packages in /etc/portage/profile/package.provided or create a custom profile without a toolchain in @system. Then build the packages on another computer. If this is a production server, you'd want to test things before installing on the live server, so build everything on the test box and install on the server with emerge -K. Is there an article on the wiki for doing this? I have often thought about it, but never went as far as trying to do it. I was even looking at GNAP to see if that would be an alternative to building (remotely) a server. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Tablet PC? Anyone?
I am running a lenovo x-61 table for my everyday machine and it works pretty well for me. I use Xournal to draw pics and take quick handwritten notes. On Fri, Feb 20, 2009 at 11:51 AM, Willie Wong ww...@princeton.edu wrote: On Fri, Feb 20, 2009 at 09:13:11AM -0330, Penguin Lover Roger Mason squawked: Willie Wong ww...@princeton.edu writes: Mainly what I am looking for is some sort of pen-mouse/tablet/touchscreen interface that makes drawing diagrams simpler (compared to a touchpad or the little dit that sits between the g,h, and b keys on a laptop). So if anyone knows of a laptop with this kind of built-in interface, it will also be good. Have you thought of attaching a drawing tablet to your existing laptop? I have a wacom tablet that works pretty well. I think there is an article on the wiki about installation. Yes. I have thought about it. But if, for example, I sit in the economy class cabin on an airplane, a laptop + a wacom tablet hardly fits in the space in front of me. Ditto for a lot of conference/lecture halls. I am still not ruling out the possibility, but I want to first see what you all have to say about TabletPCs. W -- Alcohol and calculus don't mix. Never drink and derive. Sortir en Pantoufles: up 805 days, 15:30 -- Nor aught availed him now To have build in Heaven high towersNor did he scape By all his engines But was headlong sent with his industrious crew To build in Hell Milton, Paradise Lost
Re: [gentoo-user] How to turn off the screen permanently
On Thu, Feb 19, 2009 at 1:58 PM, Saphirus Sage saphirus...@gmail.com wrote: Given you're using nvidia, if you just use the nvidia settings app, the graphical one, you can just disable the screen. But, that one's actually perminant, as in removing that screen from xorg.conf I tried that, but is seems that I cannot disable the screen without some other screen connected. So, for instance if I connect an external monitor, then it would be possible. However connecting an external monitor is not really an option for me. Thanks, Marcin
Re: [gentoo-user] virtualBox and Gcc
On Fri, Feb 20, 2009 at 12:56 PM, Harry Putnam rea...@newsguy.com wrote: Can anyone tell me if there is some way to tell emerge to use a specific compiler during an emerge? I get this output during emerge of virutalbox-ose. Note that it says to use a version of gcc earlier than 4.3. Is there some way to do that without causing grief somewhere else? [...] VirtualBox-2.0.6-OSE.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ...[ ok ] * checking miscfile checksums ;-) ... [ ok ] cfg-update-1.8.2-r1: Creating checksum index... * there are known problems with gcc 4.3 and the virtualbox * recompiler stuff. Please use at least a version of gcc 4.3 * * ERROR: app-emulation/virtualbox-ose-2.0.6 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * virtualbox-ose-2.0.6.ebuild, line 54: Called die * The specific snippet of code: * die gcc 4.3 cannot build the virtualbox recompiler * The die message: * gcc 4.3 cannot build the virtualbox recompiler [...] I guess you can just use gcc-config to change versions, compile it, then gcc-config back to normal... Maybe there's a way to define it at the package level (so you don't have to do that every time there's an update) but I don't know it off the top of my head.
Re: [gentoo-user] How to turn off the screen permanently
On Thu, Feb 19, 2009 at 10:49 AM, Vladimir Rusinov vladi...@greenmice.info wrote: On Sun, Feb 15, 2009 at 2:22 PM, Marcin Zwd marcin...@gmail.com wrote: Well, I've just upgraded my laptop. The old one has ati radeon r250 graphics card. On this card I can easily turn off the screen using nice program radeantool of course xset dpms force off worked as well. And turn off was permanent. It is worth to mention that I was using x11-drivers/xf86-video-ati opensource drivers... On the other hand, the new laptop has nvidia (quadro 135) aboard and now I'm using x11-drivers/nvidia-drivers-177.82. Everything works fine except one tiny problem now if I turn off the screen and backlight after a few seconds the backlight is back on! Try following: sleep 1 xset dpms force off Thanks, I tried that before as well. Besides the screen is turning off, however just for a few seconds. My guess is that probably gnome or some other apps is turning the screen back on. So, it seems that only I have this kind of problem :( Marcin
Re: [gentoo-user] Re: Installation questions
On Friday 20 February 2009 20:53:55 James wrote: Alan McKinnon alan.mckinnon at gmail.com writes: Let's face it, Ubuntu does a very good job of making LiveCDs that JustWork, and this is not an area where gentoo has ever had any real focus. OK. so I but up a ubuntu lived CD. SET up the disk (fdisk) follow the handbook setting up partions, file systems and such. Then setup chroot and at that point, copy over the 2008 stage3 and get the latest snapshot, thus following the rest of the handbook, more or less? Yeah, pretty much just like that. All that a LiveCD, or a so-called host system a-la LinuxFromScratch, or even the Gentoo installer ever did, was give you a running kernel and a means to unpack a stage and chroot into it. Only one caveat - the LiveCD must support all the hardware and system features you intend to use during the install. If you will need to read a filesystem on an LVM lv for example, you will need an LVM-capable LiveCD - not all of them are. Ubuntu for example isn't. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Installation questions
On Fri, 20 Feb 2009 19:26:21 +0200, Alan McKinnon wrote: Yes, you heard me right - I recommend one uses Ubuntu to install Gentoo :-) I took that a stage further with my Eee. Knowing how long it would take to build everything, I installed Ubuntu, then used that while Gentoo was building in a chroot. -- Neil Bothwick Linuxgeek How do i find the model of my card? Serena[T] your nick is misleading, seriously signature.asc Description: PGP signature
[gentoo-user] emerge-webrsync
Hello, After using emerge-webrsync I got Updating Portage cache: 100% *** Completed websync, please now perform a normal rsync if possible. Update is current as of the of MMDD: 20090219 I am not sure what the message means perform a normal rsync if possible. I used emerge-webrsync because emerge --sync does not work. Do I still have to do anything else to update the portage tree? Also, I did not get the typical message warning about a new portage version (after emerge-webrsync finished) but I did emerge --oneshot portage anyway and got a new portage. Is this supposed to behave this way? Thanks, -- Valmor
Re: [gentoo-user] emerge-webrsync
On Fri, Feb 20, 2009 at 19:12, de Almeida, Valmor F. dealmei...@ornl.gov wrote: Hello, After using emerge-webrsync I got Updating Portage cache: 100% *** Completed websync, please now perform a normal rsync if possible. Update is current as of the of MMDD: 20090219 I am not sure what the message means perform a normal rsync if possible. I used emerge-webrsync because emerge --sync does not work. The message couldn't be more clear. The webrsync is not a real sync, so you're not with the latest portage tree, you have the latest portage daily snapshot, if you do a normal sync, then you'll have the latest. To clarify, it even prints the date of this snapshot. Even if you had any doubt, the if possible message should make enough clear. Do I still have to do anything else to update the portage tree? Also, I did not get the typical message warning about a new portage version (after emerge-webrsync finished) but I did emerge --oneshot portage anyway and got a new portage. Is this supposed to behave this way? As I said above, if you can't rsync directly, there's no way you can get a newer version than you already have... So, you're OK with the latest portage tree you can get. Now, about the portage versions:. what are the old and new versions? Maybe it was just a revision, not a new version, anyway, that's just a guess. -- Daniel da Veiga
Re: [gentoo-user] Tablet PC? Anyone?
On Fri, Feb 20, 2009 at 02:16:34PM -0500, Penguin Lover Vizo Allman squawked: I am running a lenovo x-61 table for my everyday machine and it works pretty well for me. I use Xournal to draw pics and take quick handwritten notes. Ooh, Xournal is wonderful. It it also useful for my current normal laptop. I love its PDF annotation mode. The X61 looks nice. I'm having a bit of difficulty locating the video card on their specs page (probably just me being stupid or something), can you tell me what video it uses? The Intel Wifi looks good, and lenovo's website is looking like it is having a sale right now (almost half of the list price!) When you say Works pretty well, does it mean that there's nothing to complain about or except for this little itty bit of problem [insert problem here]? Thanks for your response! W -- If you aren't part of the solution, you're part of the precipitate. Sortir en Pantoufles: up 805 days, 22:44
[gentoo-user] Mutually exclusive ebuilds?
I'm getting this and I'm wondering if it means I can't have miro and wicd installed simultaneously: !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-python/pyrex:0 ('installed', '/', 'dev-python/pyrex-0.9.8.5', 'nomerge') pulled in by =dev-python/pyrex-0.9.6.4 required by ('installed', '/', 'media-tv/miro-2.0.1', 'nomerge') (and 1 more) ('ebuild', '/', 'dev-python/pyrex-0.9.4.1', 'merge') pulled in by =dev-python/pyrex-0.9.3-r2 required by ('installed', '/', 'dev-python/dbus-python-0.82.4', 'nomerge') It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. # equery depends dbus-python [ Searching for packages depending on dbus-python... ] media-tv/miro-2.0.1 (dev-python/dbus-python) net-misc/wicd-1.5.9-r1 (dev-python/dbus-python) - Grant