[gentoo-user] battery applet/monitors in Fluxbox

2005-01-06 Thread Hareesh Nagarajan
Hi, I am currently using Gkrellm to display the life of my battery in Fluxbox. Gkrellmshows 100% battery even when I havent plugged in the power cord. Is there any other tool/applet that I can use? I have ACPI support complied into my kernel. Thanks, Hareesh -- gentoo-user@gentoo.org mailing li

[gentoo-user] fluxbox query

2005-01-15 Thread Hareesh Nagarajan
Hi, I have posed this question earlier but I got no response. So I went ahead with a generic (and totally useless) subject line. How can I open applications in different workspaces (in fluxbox) on startup automatically? E.g.: firefox in workspace 1 thunderbird in workspace 2 2 Eterms in workspac

[gentoo-user] Devilspie doesn't emerge (BUG)

2005-01-17 Thread Hareesh Nagarajan
Hi, I tried to emerge devilspie but I get the following errors. Is this is a dependency related bug? configure: error: XML::Parser perl module is required for intltool !!! ERROR: x11-misc/devilspie-0.4 failed. !!! Function econf, Line 449, Exitcode 1 !!! econf failed !!! If you need support, po

[gentoo-user] Wireless woes at my university

2005-01-27 Thread Hareesh Nagarajan
Hi, At my university wireless access is encrypted using EAP-TTLS (PAP). The university says that to use wireless in windows I would need 'Funk Softwares - Odyssey Client'. Now my question is, can I access wireless internet on my Linux laptop? If so, is there any software for me to emerge? Thanks

Re: [gentoo-user] Wireless woes at my university

2005-01-28 Thread Hareesh Nagarajan
On Fri, 28 Jan 2005 14:53:19 +0100, Frank Schafer <[EMAIL PROTECTED]> wrote: > Have you tried wpa_supplicant or Xsupplicant? No I haven't. Let me try them right away! Thanks, Hareesh -- gentoo-user@gentoo.org mailing list

[gentoo-user] Programs crash after RAM upgrade on laptop!

2005-02-06 Thread Hareesh Nagarajan
Hi, I just installed a 512 MB ram module for my laptop. After installing it thunderbird crashes the moment I invoke it, firefox acts funny, no KDE app loads. In short I have no idea what the f* is happening. When I boot into Windows everything seems to work fine there. In both the operating syste

Re: [gentoo-user] Programs crash after RAM upgrade on laptop!

2005-02-06 Thread Hareesh Nagarajan
On Sun, 06 Feb 2005 21:32:21 -0500, Nick Smith <[EMAIL PROTECTED]> wrote: > On Sun, 2005-02-06 at 20:26 -0600, Hareesh Nagarajan wrote: > > > > I just installed a 512 MB ram module for my laptop. After installing > > it thunderbird crashes the moment I invoke it, firefox

Re: [gentoo-user] Programs crash after RAM upgrade on laptop!

2005-02-06 Thread Hareesh Nagarajan
On Mon, 7 Feb 2005 13:43:31 +1100, Ric de France <[EMAIL PROTECTED]> wrote: > Hareesh, > > > > I just installed a 512 MB ram module for my laptop. After installing > > it thunderbird crashes the moment I invoke it, firefox acts funny, no > > KDE app loads. In short I have no idea what the f* is h

Re: [gentoo-user] Programs crash after RAM upgrade on laptop!

2005-02-06 Thread Hareesh Nagarajan
Hi All: Thanks to everyone on this thread for their input! I ran memtest86 and bang! I have a corrupt new memory module :( I have got to return the stick back to Circuit City. What a pain. Hareesh On Sun, 06 Feb 2005 19:57:28 -0800, Ted Ozolins <[EMAIL PROTECTED]> wrote: > Hareesh

[gentoo-user] Everything (seems to) has disappeared from Thunderbird

2005-02-06 Thread Hareesh Nagarajan
Hi All: After completely fixing a problem with my new memory stick, everytime I open Mozilla Thunderbird I am presented with complete emptiness. Check this screenshot out: http://cs.uic.edu/~hnagaraj/tbird.png I even tried to create a new profile, by doing this: $thunderbird-bin -P and nothing

Re: [gentoo-user] Programs crash after RAM upgrade on laptop!

2005-02-06 Thread Hareesh Nagarajan
On Mon, 07 Feb 2005 00:19:56 -0500, Phil Sexton <[EMAIL PROTECTED]> wrote: > On Mon, 2005-02-07 at 00:14, Hareesh Nagarajan wrote: > > > I ran memtest86 and bang! I have a corrupt new memory module :( I have > > got to return the stick back to Circuit City. What a pain. &g

Re: [gentoo-user] Everything (seems to) has disappeared from Thunderbird

2005-02-06 Thread Hareesh Nagarajan
On Mon, 07 Feb 2005 00:35:21 -0500, Phil Sexton <[EMAIL PROTECTED]> wrote: > What have you tried? I think some file has gotten corrupt. I don't know which. AFAIK I haven't done anything with the ~/.thunderbird directory. > Do you get any hints from the messages shown when launching from an x > t

Re: [gentoo-user] Everything (seems to) has disappeared from Thunderbird

2005-02-06 Thread Hareesh Nagarajan
On Sun, 06 Feb 2005 23:34:02 -0600, Andrew Gaffney <[EMAIL PROTECTED]> wrote: > Hareesh Nagarajan wrote: > > Hi All: > > > > After completely fixing a problem with my new memory stick, everytime > > I open Mozilla Thunderbird I am presented with complete emptine

Re: [gentoo-user] Everything (seems to) has disappeared from Thunderbird

2005-02-06 Thread Hareesh Nagarajan
On Sun, 06 Feb 2005 23:47:23 -0700, Mike Melanson <[EMAIL PROTECTED]> wrote: > Check your ~/.thunderbird/profiles.ini file. Does the "Path" variable > match the path that holds your mail? Yeah, it does. I think I'll try and re-install tbird. Hareesh -- gentoo-user@gentoo.org mailing li

Re: [gentoo-user] Everything (seems to) has disappeared from Thunderbird

2005-02-07 Thread Hareesh Nagarajan
On Mon, 07 Feb 2005 09:07:23 -0600, Kathy Wills <[EMAIL PROTECTED]> wrote: > Looking at your screenshot, it shows a little box that looks like a > folder at the right hand corner of the pane where your folder listing > should be. What does clicking on that do? Nothing! What I did was: 0. I rename

Re: [gentoo-user] Programs crash after RAM upgrade on laptop!

2005-02-07 Thread Hareesh Nagarajan
On Mon, 07 Feb 2005 09:15:25 -0500, Phil Sexton <[EMAIL PROTECTED]> wrote: > Very few retail stores that sell brand name computers have limited if > any understanding of computers, IMHO. I don't really think you need the folks at the retail store to understand anything about computers. If you d

[gentoo-user] Mysterious GDB Error!

2005-02-10 Thread Hareesh Nagarajan
Hi, I've written this simple piece of code that uses STL strings in C++ (appears below). Now when I run GDB I get the following: 1. warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. 2. The

Re: [gentoo-user] Mysterious GDB Error!

2005-02-11 Thread Hareesh Nagarajan
On Fri, 11 Feb 2005 12:58:36 +0200, Matan Peled <[EMAIL PROTECTED]> wrote: > Hareesh Nagarajan wrote: > > Hi, > > Hello! > > > > > 10 cout << s.at(3); > > (gdb) b 9 > > > > I'm no gdb expert, but aren't you f

Re: [gentoo-user] Mysterious GDB Error!

2005-02-11 Thread Hareesh Nagarajan
On Fri, 11 Feb 2005 13:11:31 +0100, Karsten Baumgarten > > Can you show us how you have compiled the program? I tried to reproduce > this on my box (GCC 3.4, GDB 6.0) and it works as expected (that is, > what I expected, not what you experienced ;) ) The funny thing is it works perfect on most b

[gentoo-user] What is the typical way to unmount /boot after bootup?

2004-01-08 Thread Hareesh Nagarajan
Hi: I'm running a Gentoo box for some time now. Due to frequent power cuts I have to fsck my /boot partition (type ext2) often. How do I unmount /boot immediately (or sometime later) after boot up? Thank you for your time. -- Hareesh Nagarajan The Instant Messenger with a difference!

[gentoo-user] What must I do to take a snapshot of portage on my system?

2004-01-09 Thread Hareesh Nagarajan
well? Thank you for your time. -- Hareesh Nagarajan Bangalore, India Try ionicChat today, an Instant Messenger with a difference! http://puggy.symonds.net/~hareesh/ionic-chat/ -- [EMAIL PROTECTED] mailing list

[gentoo-user] Help! ACCEPT() returns an Invalid argument error after an emerge?

2004-01-12 Thread Hareesh Nagarajan
all of a sudden? Any clues? The weird thing is, this used to happen in Red Hat 8.0 as well, the only difference was that the error would pop up when the first client tried to establish a connection. With Red Hat 9.0 it works fine. What could be the problem? Any help will be appreciated. -- Harees

Re: [gentoo-user] Help! ACCEPT() returns an Invalid argument error after an emerge?

2004-01-12 Thread Hareesh Nagarajan
On Mon, 2004-01-12 at 19:01, Erik S. Johansen wrote: > On Monday 12 January 2004 15:07, Hareesh Nagarajan wrote: > > > if( (newClientFD=accept(serverFD, (struct sockaddr*) &newClientAddress, > > &addrLength)) < 0 ) > > perror("accept:"); &g

[gentoo-user] A query on C/C++ and GDB

2005-02-17 Thread Hareesh Nagarajan
Hi, What are the libraries/programs that need to be compiled with '+debug' so that GDB has *all* the info to step through library functions? At present GDB does not seem to have STL info. Must I re-compile/re-emerge 1. glibc 2. libstdc++-v3 ...? Thanks, Hareesh -- gentoo-user@gentoo.org mailin

Re: [gentoo-user] Re: A query on C/C++ and GDB

2005-02-18 Thread Hareesh Nagarajan
On Fri, 18 Feb 2005 20:10:11 +0100, Philip Nilsson <[EMAIL PROTECTED]> wrote: > Run ldd on the program you want to debug to know what it > links against. For my program ldd says this among other things: libstdc++.so.5 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.so.5 (0xb7f0d000) Now,

[gentoo-user] Best way to make the laptop sleep?

2005-02-18 Thread Hareesh Nagarajan
Hi, Times at which I am not by my laptop I leave my laptop locked using 'xlock'. I know this isn't the best way because 'xlock' consumes many CPU cycles. What is the best way to lock my laptop so that when I do resume work my laptop isn't at 75 degree celcius (My CPU fan doesn't seem to stop or s

Re: [gentoo-user] Best way to make the laptop sleep?

2005-02-19 Thread Hareesh Nagarajan
On Sat, 19 Feb 2005 16:53:44 +0800, William Kenworthy <[EMAIL PROTECTED]> wrote: > Theres a lot available, but much of it is model specific: so what brand, > model and spec is your laptop? Compaq Presario 2104US. -Hareesh -- gentoo-user@gentoo.org mailing list

[gentoo-user] Editing files with Xemacs

2005-02-23 Thread Hareesh Nagarajan
Hi, I have the following queries with XEmacs and Tex files: 1. When I open a Tex file in XEmacs I am presented with the fundamental mode. I then have to change the mode to Tex mode. What do I add to my init.el to make this happen by default? 2. When I open (.C, .CC, .s, .tex) a file in XEmacs I

Re: [gentoo-user] Editing files with Xemacs

2005-02-23 Thread Hareesh Nagarajan
On Wed, 23 Feb 2005 10:14:24 +0100, Jean Magnan de Bornier <[EMAIL PROTECTED]> wrote: > > 1. When I open a Tex file in XEmacs I am presented with the > > fundamental mode. I then have to change the mode to Tex mode. What do > > I add to my init.el to make this happen by default? > > emerge app-xem

Re: [gentoo-user] Editing files with Xemacs

2005-02-24 Thread Hareesh Nagarajan
On Thu, 24 Feb 2005 08:24:50 +0100, Jean Magnan de Bornier > I'm using emacs, maybe it is different with xemacs > I have this in my .emacs > (require 'tex-site) I have that too. My problem is that the 'tex' file isn't identified by XEmacs as a 'tex' file by default. It need to get into tex mode m

Re: [gentoo-user] Editing files with Xemacs

2005-02-24 Thread Hareesh Nagarajan
On Thu, 24 Feb 2005 10:17:20 +0100, Peter Eis <[EMAIL PROTECTED]> wrote: > add this to your init.el: > > (setq auto-mode-alist > (append >(list > '("\\.tex$" . tex-mode)) >auto-mode-alist)) Yippie! Now how do I make 'font-lock-mode' set by default? At this point in t

[gentoo-user] libstdc++ emerge error!

2005-02-24 Thread Hareesh Nagarajan
Hi, I get the following error when I emerge libstdc++. Is it a bug? Thanks, Hareesh $ACCEPT_KEYWORDS="~x86" emerge libstdc++-v3 ... ... ... In file included from /var/tmp/portage/libstdc++-v3-3.3.4/work/build/gcc/include /syslimits.h:7, from /var/tmp/portage/libstdc++-v3-3.3.4/

Re: [gentoo-user] Editing files with Xemacs

2005-02-24 Thread Hareesh Nagarajan
On Thu, 24 Feb 2005 11:27:59 +0100, Marcin Bielewicz <[EMAIL PROTECTED]> wrote: > > Yippie! Now how do I make 'font-lock-mode' set by default? At this > > point in time, I open a Tex file and then type M-x-font-lock-mode for > > syntax highlighting. > > Try: > > (global-font-lock-mode t) I've tr

Re: [gentoo-user] Editing files with Xemacs

2005-02-25 Thread Hareesh Nagarajan
On Fri, 25 Feb 2005 10:10:55 +0100, Toby Cubitt <[EMAIL PROTECTED]> wrote: > You have to enable it individually for each mode. In your case, > > (add-hook 'tex-mode-hook 'turn-on-font-lock) > > should work. Thanks for your reply. Adding this line to init.el worked for me: (require 'font-lock)

[gentoo-user] Check if a process exists?

2005-03-01 Thread Hareesh Nagarajan
Hi, Can a process check if a given PID exists or not? In other words can a process check if an unrelated process is alive? Is there any system call that does this? I can think of a (few) work arounds to this: 1. open("/proc/pid_in_question") will return true if the process with pid = pid_in_ques

Re: [gentoo-user] Check if a process exists?

2005-03-01 Thread Hareesh Nagarajan
On Tue, 1 Mar 2005 08:35:02 +, Ciaran McCreesh <[EMAIL PROTECTED]> wrote: > On Tue, 1 Mar 2005 02:17:35 -0600 Hareesh Nagarajan > <[EMAIL PROTECTED]> wrote: > | Can a process check if a given PID exists or not? In other words can a > | process check if an unrelated pr

[gentoo-user] Forcing fsync()

2005-03-02 Thread Hareesh Nagarajan
Hi, I am aware this isn't a programming mailing list, but since I've got such wonderful responses from users in this ML, I thought I'd go ahead with my post. My problem is that I haven't figured out how I must fsync an output stream (in C++) even after reading the contents of this link: http://gc

[gentoo-user] A query on POSIX Compliance

2005-03-24 Thread Hareesh Nagarajan
Hi, I have a couple of questions about the linux kernel: Are the following fully POSIX complaint in the latest linux kernel? 1. Message Queues 2. Shared Memory 3. Semaphores Thanks, Hareesh -- gentoo-user@gentoo.org mailing list