Re: [ilugd] ILUG-D activity in last 7 days
Hi, ILUG-D is very much informative. Thanking You' Swarnashis - Original Message - From: [EMAIL PROTECTED] To: ilugd@lists.linux-delhi.org Subject: [ilugd] ILUG-D activity in last 7 days Date: Fri, 23 Dec 2005 20:10:01 +0530 Fri 23-Dec-2005 ILUG-D activity in last 7 days: = New/recent events: 0 Total events:48 = New Discussion forum postings: 16 Total postings: 771 - 1. Category: -News/Announcements Author: Ravi Kumar Subject: Project : Linux Distro Date: Dec 02, 2005 HI friends, There is a Project To develop a Linux distro, for i686/Pentium4/Athlon computers, and shud be Home-Desktop... Unlike Fedora/Mandrake/SuSE/Debian, where they are supporting i386, means all compuetrs right from i386, My idea is to work on s... 2. Category: Linux Servers Author: Cynthia Subject: Linux Security Forgot Admin Password Date: Dec 03, 2005 Does anyone know how to get through backdoor to reset admin password. No one knows the linux server password. I am not sure what version of linux it is 3. Category: Job Openings Author: Tushar Shirolkar Subject: RE:Linux enthusiast with exposure to telephony (Asterisk) needed Date: Dec 03, 2005 Hi, I also required Digium TE110P card for ASTERISK BOX. Can u tell me the digium vendor in india? so that I can buy this card.Pls help me. Uregent Requirement ... 4. Category: Job Openings Author: Tushar Shirolkar Subject: RE:Linux enthusiast with exposure to telephony (Asterisk) needed Date: Dec 03, 2005 Hi, I also required Digium TE110P card for ASTERISK BOX. Can u tell me the digium vendor in india? so that I can buy this card.Pls help me. Uregent Requirement email : [EMAIL PROTECTED] 5. Category: Distributions Author: Krishnadas Mallya Subject: FC4 installation problem Date: Dec 05, 2005 I installed FC4 on my Intel PC(assembled). I had problems with the Media Tests during installation and used the Kernel Argument ide=nodma for passing through this Media Test failing. Now I have my system hanging up momentously when I zip/unzip or tar/unta... 6. Category: Distributions Author: Vineet Sabharwal Subject: RE:Ubuntu Hoary Hedgehog. Date: Dec 05, 2005 Hi I would like a copy of this set. Thanks a lot for making it availible. Tell me what suits you best. My contact details: Vineet Sabharwal [EMAIL PROTECTED] 229 SFS Hauz Khas Apartments New Delhi - 16 Phone: 26601317, 9811424613... 7. Category: -News/Announcements Author: Ashutosh kumar Subject: RE:VoIP Date: Dec 05, 2005 Hi , I am also working in the VoIP domain using open source tools.It is really the future, but not a lot of focus is on it in India, even among the developer community ,which will cause us to lag far too behind. Frankyl speaking, till now i have seen on... 8. Category: Desktop Linux Author: Ranveer Kumar Subject: Trouble reading contents from Hindi Web-sites. Date: Dec 07, 2005 Hi, Could anyone tell me, how can I view the Hindi web-sites on my Fedora Core 3 machine. I am able to read the content of Unicode supported Hindi Web-sites. But I cannot see the Hindi content correctly from font-based Hindi Web-sites, such as:... 9. Category: Job Openings Author: Kapil chadda Subject: RE:required training or part time job. Date: Dec 09, 2005 hi vivek im planning to join new horizon delhi. is it good enough?? plz reply kapil... 10. Category: Desktop Linux Author: Ranveer Kumar Subject: RE:Firewall (firestarter) Date: Dec 16, 2005 Hello Rohit, There is no issue if you do a 'sudo' for normal user. However you can restrict other account to not be used with sudo. You can provide the permission to only one account. Here is the script to do so: #! /bin/bash gpasswd -a $1 whee... 11. Category: Linux Servers Author: Sudesh Kantila Subject: Linux Server for Enterprise Date: Dec 16, 2005 I need linux server to operate in my institution having more then 500 PCs. The required services are web, mail, proxy, and database. Please suggest the best choice for the purpose. Whether I should purchase Red Hat 10 Enterprise Server or I should use Fed... 12. Category: Job Openings Author: Chintan Murty Subject: support Engg. Date: Dec 17, 2005 We are India's leading ISP and Internet services provider( Domain name, Web hosting, email etc. ). We have requirement in our linux dept. for Support Engg. with 1-2 yrs exp on linux platform. Mail me ur resume at [EMAIL PROTECTED] regards Chint... 13. Category: Distributions Author: Abhishek Jain Subject: RE:Ubuntu Hoary Hedgehog. Date: Dec 19, 2005 Hi, I need linux distro, it would be kind if you could provide me one for 64 bt AMD Athlon. 0-9350893331 -- Regards Abhishek Jain...
Re: [ilugd] Formatting External USB Hardisk
hi ram, On 12/24/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi I want to format a 80 GB External Harddisk as a backup drive to be accessible by both Linux and Wincedows. Is using FAT32 a good option (considering that having to allow access from wincedows is a necessity for the time being). think fat32 is goos option of reusability of the device across platform i.e. windows/linux Secondly : are there an restrictions on how large the FAT32 partition can be . Thirdly will rsync work to back up from a ext3 drive to a FAT32 drive and how reliable will this be Lastly is this the right command cfdisk /media/usbdisk** cfdisk partitions your disk. you will stilll need to format the partition. use cfdisk this way cfdisk /dev/*usbdiskdevicename* (this you need to obtain from dmesg as soon as you insert the usb usually something like sda,sdbso on) use mkfs.msdos /dev/*usbpartitionnames* (usually sda1,sda5.. so on. ) one restriction about using msdos filesystem is the maximum partition size in 30gb sorts.. ( please correct me if I'm wrong here) I am using Ubuntu 5.04 will appreciate the advice / suggestions thanks ram ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ hope this helps. vivek ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] december meet on 25-12-2005
On 12/4/05, T.Meyarivan [EMAIL PROTECTED] wrote: i know - its the christmas day - well - we can make merry post the meet.. Umm... What time is the meeting guys? -- regards, makuchaku --- http://makuchaku.info When you speak out with the courage of your convictions, people listen! -- Valmik Thapar, Wildlife Conservationist. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Fwd: [Ilugc] All FSUGs/GLUGs IRC Meet: Jan 1, 2006
-- Forwarded message -- From: Shakthi Kannan [EMAIL PROTECTED] Date: Dec 23, 2005 1:35 PM Subject: [Ilugc] All FSUGs/GLUGs IRC Meet: Jan 1, 2006 To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Greetings! There were discussions in Indian GNU/Linux Users' Group, Mumbai on where to have the January month's meeting. I had an idea. What if all our FSUGs/GLUGs members from all over India meet together, online?. How would it be if we all meet in the beginning of the New Year? After discussion with the channel ops, I am happy to call for an all-India FSUGs/GLUGs members meet on January 1, 2006 at 1500 hrs IST at #gnu-india on irc.freenode.net. No agenda as such. The idea is to get to meet folks from different FSUGs/GLUGs, get to know what FSUGs/GLUGs have been and are working on, free software ideas/suggestions/plans/activities for 2006. I will broadcast this message to as many FSUGs/GLUGS that I am member of and that I know of. Please feel free to spread the word. Thanking you all and looking forward to meeting you all, SK (a.k.a mbuf on irc.freenode.net) -- Shakthi Kannan, MS Software Engineer, Hexaware Technologies [E]: [EMAIL PROTECTED] [M]: (91) 98407-87007 [W]: http://www.shakthimaan.com [L]: Chennai, India __ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ___ To unsubscribe, email [EMAIL PROTECTED] with unsubscribe password address in the subject or body of the message. http://www.ae.iitm.ac.in/mailman/listinfo/ilugc ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] help required for newbie
Dear Linux Gurus in Noida, I have persuaded one of my friends in Noida to start using Linux. Unfortunately being in Gurgaon I am not ablr to do initial hand hold required. I was lucky to get that help from EDWIN. Please somebody help Mr Pandey Phone 0120-2588618 mobile 9818319183 Thank You in advance. -- R M Bhargava Desfab Engineers Builders 598 Sector 14 Gurgaon 122 001 Haryana ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] december meet on 25-12-2005
Hi, On 12/24/05, Mayank Jain [EMAIL PROTECTED] wrote: On 12/4/05, T.Meyarivan [EMAIL PROTECTED] wrote: i know - its the christmas day - well - we can make merry post the meet.. Umm... What time is the meeting guys? -- regards, makuchaku As stated by mary on ILUG-D announce-list meeting will start with the talk by supreet at 2PM. Regards Nikhil Prabhakar ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] december meet on 25-12-2005
On 12/24/05, nipra [EMAIL PROTECTED] wrote: Hi, On 12/24/05, Mayank Jain [EMAIL PROTECTED] wrote: On 12/4/05, T.Meyarivan [EMAIL PROTECTED] wrote: i know - its the christmas day - well - we can make merry post the meet.. Umm... What time is the meeting guys? As stated by mary on ILUG-D announce-list meeting will start with the talk by supreet at 2PM. The Ilugd-Announce archives show messages just till Dec 2004 http://frodo.hserus.net/pipermail/ilugd-announce/ I was directed to these archives from this page... http://www.linux-delhi.org/cgi-bin/anCMS/mailingList.cgi?action=mailingLists Where can i find the latest archives? -- regards, makuchaku --- http://makuchaku.info When you speak out with the courage of your convictions, people listen! -- Valmik Thapar, Wildlife Conservationist. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] december meet on 25-12-2005
Hi, On 12/24/05, Mayank Jain [EMAIL PROTECTED] wrote: On 12/24/05, nipra [EMAIL PROTECTED] wrote: Hi, On 12/24/05, Mayank Jain [EMAIL PROTECTED] wrote: On 12/4/05, T.Meyarivan [EMAIL PROTECTED] wrote: i know - its the christmas day - well - we can make merry post the meet.. Umm... What time is the meeting guys? As stated by mary on ILUG-D announce-list meeting will start with the talk by supreet at 2PM. Timing and venue for the meeting was announced on ILUG-D General list so I'm sorry for that.Probably you missed that post. Where can i find the latest archives? This link may help: http://www.lug-delhi.org/forums/viewforum.php?f=2sid=75b51049985e5b490495e5577a2d2294 Regards Nikhil Prabhakar ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] meeting in noida
Hey Aarti, I find this very interesting. I am no longer in delhi but would still like to read Sarai.txt. could you point me to an online version if one exists. Thanks Neil [EMAIL PROTECTED] wrote: Dear All, Hello :) I'm new to the list. I work at Sarai and so have been a Linux user for about a year and a half. At Sarai I work with an editorial collective to produce a quaterly broadsheet, Sarai.txt. Sarai.txt is a print form that attempts in its structure to draw on the annotative possibilites that html allows for online. And in terms of its content we spend a lot of time thinking about the relationship between technology and culture. This broadsheet is on what could be broadly called the 'social life' of technology. So we're interested in what thoughts, provocations etc could be offered by people who are invested in the making of technologies. I will be sharing the broadsheet with you tomorrow at the meeting in Noida and am really looking forward to conversation :) best Aarti ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] december meet on 25-12-2005
On Saturday, 24 Dec 2005 6:24 pm, Mayank Jain wrote: The Ilugd-Announce archives show messages just till Dec 2004 http://frodo.hserus.net/pipermail/ilugd-announce/ I was directed to these archives from this page... http://www.linux-delhi.org/cgi-bin/anCMS/mailingList.cgi?action=mailingList s Where can i find the latest archives? Try the links given at the bottom of every mail of this mailing list. :) - Sandip -- Sandip Bhattacharya *Puroga Technologies * [EMAIL PROTECTED] Work: http://www.puroga.com * Home/Blog: http://www.sandipb.net/blog PGP/GPG Signature: 51A4 6C57 4BC6 8C82 6A65 AE78 B1A1 2280 A129 0FF3 ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Waiting for a child to die
#include unistd.h #include sys/types.h #include stdio.h #include sys/wait.h int main() { pid_t child = 0; int status = 0; printf(forking!\n); child = fork(); if(child == 0) { printf(Inside child\n); sleep(2); printf(Finishing if\n); } else { printf(Inside Parent\n); while(1) { printf(Calling waitpid\n); waitpid(child, status, 0); if(WIFEXITED(status)) { printf(Child exited\n); break; } } printf(Finishing else\n); } } The above code works perfectly, the parent waits for the child to die then exits itself. [EMAIL PROTECTED]:~/junk# ./child forking! Inside child Inside Parent Calling waitpid Finishing if Child exited Finishing else [EMAIL PROTECTED]:~/junk# However, how do i make this wait by the parent a non-blocking wait? This is because while checking for has the child died, parent is blocked by waitpid hence cannot do other processing. I've tried using WNOHANG in waitpid as waitpid(child, status, WNOHANG) this is the output i get [EMAIL PROTECTED]:~/junk# ./child forking! Inside child Inside Parent Calling waitpid Child exited Finishing else [EMAIL PROTECTED]:~/junk# [EMAIL PROTECTED]:~/junk# Finishing if [EMAIL PROTECTED]:~/junk# Notice that parent exited before child died. Am i using WNOHANG in a wrong way? or in a wrong place? What can be other strategies i can use? I dont want to use threads as they'll be an overkill (all i want to do is keep parent in non-blocking state, while looping for child's alive status). -- regards, makuchaku --- http://makuchaku.info When you speak out with the courage of your convictions, people listen! -- Valmik Thapar, Wildlife Conservationist. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Carpool for tomorrow's meeting
Raj Mathur [EMAIL PROTECTED] wrote:The car will go from Munirka at 13:00, Connaught Place at 13:30 and then to NOIDA. If you want to share, please send me a *private* mail giving your mobile number and where you'd like to join up by this evening. Hi, Just saw this mail. Of course, I am interested, and will be at your place by 1pm. Regards, Gora Send instant messages to your online friends http://in.messenger.yahoo.com ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Waiting for a child to die
Mayank Jain [EMAIL PROTECTED] wrote: [Code, and successful experiment deleted] However, how do i make this wait by the parent a non-blocking wait? Um, what do you mean by a non-blocking wait. Calling wait()/waitpid() means that you *want* the parent process to wait for the child to finish processing (or, some other condition occurs, as specified in the 3rd argument). This is because while checking for has the child died, parent is blocked by waitpid hence cannot do other processing. If you want the parent to continue some processing, you can either fork another child for this, or set up the child to signal the parent when it exits, rather than using wait()/waitpid(). I've tried using WNOHANG in waitpid as waitpid(child, status, WNOHANG) this is the output i get This behaviour with WNOHANG is not surprising. As the manpage tells you, with this option, waitpid() returns immediately if the child has not exited. Incidentally, though this is probably not an issue here, you cannot depend on the order of messages from a child/parent to tell you which finished processing first. Regards, Gora Send instant messages to your online friends http://in.messenger.yahoo.com ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Waiting for a child to die
Your subject line got me really confused. :-) rrs On Sat, 24 Dec 2005, Mayank Jain wrote: #include unistd.h #include sys/types.h #include stdio.h #include sys/wait.h int main() { pid_t child = 0; int status = 0; printf(forking!\n); child = fork(); if(child == 0) { printf(Inside child\n); sleep(2); printf(Finishing if\n); } else { printf(Inside Parent\n); while(1) { printf(Calling waitpid\n); waitpid(child, status, 0); if(WIFEXITED(status)) { printf(Child exited\n); break; } } printf(Finishing else\n); } } The above code works perfectly, the parent waits for the child to die then exits itself. [EMAIL PROTECTED]:~/junk# ./child forking! Inside child Inside Parent Calling waitpid Finishing if Child exited Finishing else [EMAIL PROTECTED]:~/junk# However, how do i make this wait by the parent a non-blocking wait? This is because while checking for has the child died, parent is blocked by waitpid hence cannot do other processing. I've tried using WNOHANG in waitpid as waitpid(child, status, WNOHANG) this is the output i get [EMAIL PROTECTED]:~/junk# ./child forking! Inside child Inside Parent Calling waitpid Child exited Finishing else [EMAIL PROTECTED]:~/junk# [EMAIL PROTECTED]:~/junk# Finishing if [EMAIL PROTECTED]:~/junk# Notice that parent exited before child died. Am i using WNOHANG in a wrong way? or in a wrong place? What can be other strategies i can use? I dont want to use threads as they'll be an overkill (all i want to do is keep parent in non-blocking state, while looping for child's alive status). -- regards, makuchaku --- http://makuchaku.info When you speak out with the courage of your convictions, people listen! -- Valmik Thapar, Wildlife Conservationist. -- Ritesh Raj Sarraf RESEARCHUT -- http://www.researchut.com Stealing logic from one person is plagiarism, stealing from many is research. Necessity is the mother of invention. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Waiting for a child to die
On 12/25/05, Gora Mohanty [EMAIL PROTECTED] wrote: Mayank Jain [EMAIL PROTECTED] wrote: [Code, and successful experiment deleted] However, how do i make this wait by the parent a non-blocking wait? Um, what do you mean by a non-blocking wait. Calling wait()/waitpid() means that you *want* the parent process to wait for the child to finish processing (or, some other condition occurs, as specified in the 3rd argument). What if i want just to check the status of the child? Is it alive or not? I dont want to *wait*... -- regards, makuchaku --- http://makuchaku.info When you speak out with the courage of your convictions, people listen! -- Valmik Thapar, Wildlife Conservationist. ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Carpool for tomorrow's meeting
If you want to share, please send me a *private* mail giving your mobile number and where you'd like to join up by this evening. Hi, Just saw this mail. Of course, I am interested, and will be at your place by 1pm. he did say *private* maybe he shoulda said PRIVATE ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Ubuntu 5.10 - Universe Packages
Hi I just installed Ubuntu 5.10 Breezy on two machines. By and large the CD contains much of what is required, However a lot more seem to be accessible only through the universe repository option over the net. Is it possible to get these repositories (the universe ones) on an add on CD or something. Considering that the internet connection we have is not really suitable for large scale downloads. And if such a CD is available (for download , replication etc) would it carry more than just the Universe repository options. Any ideas Thanks ram ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
[ilugd] Ubuntu business tour
They will land up in Delhi for the LinuxAsia event https://wiki.ubuntu.com/AsiaBusinessTour/NewDelhi . They are looking for information or contacts to help them plan this trip -- _.-, raj shekhar .--' '-._ http://rajshekhar.net _/`- _ '. http://rajshekhar.net/blog ''._`.. \ ` \; WE APOLOGIZE FOR THE INCONVENIENCE ;_\-- God's Last Message to his Creation ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Waiting for a child to die
Ritesh Raj Sarraf wrote: Your subject line got me really confused. :-) rrs Same here it got me quite upset actually. ram ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Carpool for tomorrow's meeting
[EMAIL PROTECTED] wrote: he did say *private* maybe he shoulda said PRIVATE Yeah, sorry. Brain fart on my part. Forgot to edit out ilugd list after hitting Reply All. Regards, Gora Send instant messages to your online friends http://in.messenger.yahoo.com ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] Waiting for a child to die
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mayank Jain wrote: waitpid(child, status, 0); if(WIFEXITED(status)) { printf(Child exited\n); break; } . . I've tried using WNOHANG in waitpid as waitpid(child, status, WNOHANG) this is the output i get . . an overkill (all i want to do is keep parent in non-blocking state, while looping for child's alive status). Check for the waitpid() value 0 (which is returned when WNOHANG is used, and no child has exited.) in your code: waitpid_result = waitpid(child, status, WNOHANG); if (waitpid_result WIFEXITED(status)) { printf(Child exited\n); break; } should give you the expected results. Note: Do take a look at your program logic here in scenarios where the child does not exit normally. waitpid() will return the PID of the child, but WEXITED() will not be true in such cases. Hence the parent process (in your program) will go into an endles loop. Manish -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDrkAD9364pdQFFqARAsTgAJ0aqNPj1tKeOl7IBRENZTlimvDBfgCfS/Ox s1LESo8V/Y13EKxrQkdtuIE= =2hmG -END PGP SIGNATURE- ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/
Re: [ilugd] help required for newbie
On 12/24/05, Rajendra Bhargava [EMAIL PROTECTED] wrote: I have persuaded one of my friends in Noida to start using Linux. Unfortunately being in Gurgaon I am not ablr to do initial hand hold required. I was lucky to get that help from EDWIN. Please somebody help Mr Pandey Phone 0120-2588618 mobile 9818319183 Would be more relevant if Mr. Pandey joins the list. Instead of one person he is likely to find whole bunch of ppl helping him along. And if he can come to todays LUG meet (about two hours away now) it will benefit him even more. -- Sudev Barar Learning Linux ___ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/