From linux-india-programmers-owner@lists.linux-india.org Thu Mar 1 09:19:51 2001 Received: from mailweb8.rediffmail.com (unknown [202.54.124.153]) by www.aunet.org (Postfix) with SMTP id E61C44A250 for ; Thu, 1 Mar 2001 09:19:39 -0800 (PST) Received: (qmail 9746 invoked by uid 510); 1 Mar 2001 16:41:12 -0000 Date: 1 Mar 2001 16:41:12 -0000 Message-ID: <20010301164112.9745.qmail@mailweb8.rediffmail.com> Received: from unknown (210.214.5.25) by rediffmail.com via HTTP; 01 Mar 2001 16:41:12 -0000 MIME-Version: 1.0 To: LIP Subject: Core From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/1 X-Sequence-Number: 1721 Hello! How can "core" be decoded? Is it really helpful in getting an idea of what went wrong in executing (C) programs, esp. segmentation faults? - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Thu Mar 1 09:23:01 2001 Received: from nick.nikhilwiz.net (unknown [202.160.239.3]) by www.aunet.org (Postfix) with ESMTP id 02B5749F37 for ; Thu, 1 Mar 2001 09:22:56 -0800 (PST) Received: (from nikhil@localhost) by nick.nikhilwiz.net (8.11.2/8.10.2) id f26IU4q00284 for linux-india-programmers@lists.linux-india.org; Wed, 7 Mar 2001 00:00:04 +0530 X-Authentication-Warning: nick.nikhilwiz.net: nikhil set sender to nikhilwiz@yahoo.com using -f Date: Tue, 6 Mar 2001 23:59:44 +0530 From: Nick Hill To: linux-india-programmers@lists.linux-india.org Subject: Re: Path of file Message-ID: <20010306235944.A159@nick.nikhilwiz.net> References: <20010228163204.24738.qmail@mailweb17.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010228163204.24738.qmail@mailweb17.rediffmail.com>; from karthika212@rediffmail.com on Wed, Feb 28, 2001 at 04:32:04PM -0000 X-Operating-System: Linux nick 2.4.0 X-Archive-Number: 200103/2 X-Sequence-Number: 1722 man fuser Nikhil. On Wed, Feb 28, 2001 at 04:32:04PM -0000, Karthika Sivaramakrishnan wrote: > Hi! > How can I find the path of a file which has been opened by some X application? Is there a system command or some C or Xlib function for this? -- Nikhil Shankar (nikhilwiz at yahoo.com) Slackware Linux http://www.slackware.com/ I guess that's why people care: Some distributions have character. From linux-india-programmers-owner@lists.linux-india.org Thu Mar 1 16:37:25 2001 Received: from pimout4-int.prodigy.net (pimout4-ext.prodigy.net [207.115.63.103]) by www.aunet.org (Postfix) with ESMTP id 199754A15F for ; Thu, 1 Mar 2001 16:37:20 -0800 (PST) Received: from aglaja.swmed.edu (ip-67-92-193.dallas.navipath.net [216.67.92.193]) by pimout4-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f220V2i37822 for ; Thu, 1 Mar 2001 19:31:03 -0500 Received: from localhost (lists@localhost) by aglaja.swmed.edu (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f21Hv8P05267 for ; Thu, 1 Mar 2001 11:57:08 -0600 X-Authentication-Warning: aglaja.swmed.edu: lists owned process doing -bs Date: Thu, 1 Mar 2001 11:56:14 -0600 (CST) From: Indraneel Majumdar X-Sender: lists@aglaja.swmed.edu To: LIP Subject: Re: Core In-Reply-To: <20010301164112.9745.qmail@mailweb8.rediffmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/3 X-Sequence-Number: 1723 check out the debuggers eg man gdb \Indraneel On 1 Mar 2001, Karthika Sivaramakrishnan wrote: > Hello! > How can "core" be decoded? Is it really helpful in getting an idea of what went wrong in executing (C) programs, esp. segmentation faults? > - Karthika -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Thu Mar 1 21:56:15 2001 Received: from jester.ti.com (jester.ti.com [192.94.94.1]) by www.aunet.org (Postfix) with ESMTP id 57D5C4A323 for ; Thu, 1 Mar 2001 21:56:12 -0800 (PST) Received: from dlep7.itg.ti.com ([157.170.134.103]) by jester.ti.com (8.11.1/8.11.1) with ESMTP id f225o9D09065 for ; Thu, 1 Mar 2001 23:50:09 -0600 (CST) Received: from dlep7.itg.ti.com (localhost [127.0.0.1]) by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id XAA19914 for ; Thu, 1 Mar 2001 23:50:09 -0600 (CST) Received: from mailsvr.india.ti.com (mailsvr.india.ti.com [157.87.95.214]) by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id XAA19881 for ; Thu, 1 Mar 2001 23:50:07 -0600 (CST) Received: from india.ti.com (apdsparc089 [157.87.88.140]) by mailsvr.india.ti.com (8.8.8/8.8.8) with ESMTP id LAA17864 for ; Fri, 2 Mar 2001 11:19:12 +0530 (IST) Message-ID: <3A9F348D.2BA49013@india.ti.com> Date: Fri, 02 Mar 2001 11:20:05 +0530 From: Sumit Rangwala Organization: Texas Instruments X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers Subject: Sorce code of lp Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/4 X-Sequence-Number: 1724 Hi I was trying to write a C program that would print a file on a printer. I think on Linux you need to submit it to lp ( a deamon) . If I intend to bypass the lp commnad where should i write the content of my file i intend to print . I thought of looking at the source code of lp but was unable to find it. Can someone help me out? Any pointers would be of great help. Regards Sumit From linux-india-programmers-owner@lists.linux-india.org Thu Mar 1 22:02:24 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 8CC1B4A0FC for ; Thu, 1 Mar 2001 22:02:14 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id LAA26153 for ; Fri, 2 Mar 2001 11:31:32 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id LAA13109 for ; Fri, 2 Mar 2001 11:18:10 +0530 Date: Fri, 2 Mar 2001 11:18:09 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers Subject: Re: Sorce code of lp In-Reply-To: <3A9F348D.2BA49013@india.ti.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/5 X-Sequence-Number: 1725 On Fri, 2 Mar 2001, Sumit Rangwala wrote: > I was trying to write a C program that would print a file on a > printer. I think on Linux you need to submit it to lp ( a deamon) . If I thats lpd you are talking about. lp is the device aka the "file" you would like to write to. If that is your 1st printer then write to /dev/lp0 From linux-india-programmers-owner@lists.linux-india.org Thu Mar 1 22:08:07 2001 Received: from penguin-ext.wise.edt.ericsson.se (penguin-ext.wise.edt.ericsson.se [194.237.142.110]) by www.aunet.org (Postfix) with ESMTP id 16A664A452 for ; Thu, 1 Mar 2001 22:07:45 -0800 (PST) Received: from mbb5.ericsson.se (mbb5.ericsson.se [136.225.151.210]) by penguin.wise.edt.ericsson.se (8.11.0/8.10.1/WIREfire-1.3) with ESMTP id f2261Zd03267 for ; Fri, 2 Mar 2001 07:01:35 +0100 (MET) Received: from CONVERSION-DAEMON by mbb1.ericsson.se (PMDF V5.2-29 #39352) id <0G9K009013EN2H@mbb1.ericsson.se> for linux-india-programmers@lists.linux-india.org; Fri, 2 Mar 2001 07:01:35 +0100 (MET) Received: from eno.ericsson.se (bombay.sg.ao.ericsson.se [150.236.110.78]) by mbb1.ericsson.se (PMDF V5.2-29 #39352) with ESMTP id <0G9K0081O3ELVQ@mbb1.ericsson.se> for linux-india-programmers@lists.linux-india.org; Fri, 02 Mar 2001 07:01:35 +0100 (MET) Date: Fri, 02 Mar 2001 14:04:43 +0800 From: Aravind Sadagopan Subject: Re: Sorce code of lp To: linux-india-programmers@lists.linux-india.org Message-id: <3A9F37FB.D90067D6@eno.ericsson.se> MIME-version: 1.0 X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-6.1.1 i686) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en References: <3A9F348D.2BA49013@india.ti.com> X-Archive-Number: 200103/6 X-Sequence-Number: 1726 Writing a program to print is not an easy task if you want to bypass lpd. Unless your file is pure postscript and your printer is a postcsript printer you could always dump(say a cat) the file to /dev/lp*. Or you could issue the command lpr which runs through various filters (depending on your filetype and /etc/printcap settings) and then sends it suitably to your printer. thats how netscape, staroffice, abiword. do it. They just provide a text field to type your lpr command and execute it blindly. The lpr takes care of queueing and other stuff... In short your program should just call lpr [options] filename :) Cheers Aravind S Sumit Rangwala wrote: > Hi > I was trying to write a C program that would print a file on a > printer. I think on Linux you need to submit it to lp ( a deamon) . If I > intend to bypass the lp commnad where should i write the content of my > file i intend to print . I thought of looking at the source code of lp > but was unable to find it. Can someone help me out? > > Any pointers would be of great help. > > Regards > Sumit > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. From linux-india-programmers-owner@lists.linux-india.org Fri Mar 2 04:55:42 2001 Received: from sina.com (unknown [202.106.187.164]) by www.aunet.org (Postfix) with SMTP id 5F02C4A263 for ; Fri, 2 Mar 2001 04:55:39 -0800 (PST) Received: (qmail 14255 invoked by uid 99); 2 Mar 2001 13:01:28 -0000 Message-ID: <20010302130128.14254.qmail@sina.com> From: xiebin1978 To: linux-india-programmers@lists.linux-india.org Subject: Date: Fri, 02 Mar 2001 21:01:27 +0800 X-Mailer: SinaMail 3.0Beta (FireToad) X-Priority: 3 X-Archive-Number: 200103/7 X-Sequence-Number: 1727 ______________________________________ =================================================================== 新浪免费电子邮箱 (http://mail.sina.com.cn) 网里寻她千百度!没有"聊友速配",怎能"成双成对"? (http://newchat.sina.com.cn) From linux-india-programmers-owner@lists.linux-india.org Fri Mar 2 05:31:59 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 2E40649FDE for ; Fri, 2 Mar 2001 05:31:52 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f22DVul20791 for ; Fri, 2 Mar 2001 19:01:56 +0530 Message-ID: <3A9FA0E1.CD29FB2E@pspl.co.in> Date: Fri, 02 Mar 2001 19:02:17 +0530 From: Shridhar Daithankar Organization: Persistent Systems Pvt. Ltd. X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: References: <20010302130128.14254.qmail@sina.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/8 X-Sequence-Number: 1728 EXCUSE ME!!!!! Shridhar xiebin1978 wrote: > ______________________________________ > > =================================================================== > 新浪免费电子邮箱 (http://mail.sina.com.cn) > 网里寻她千百度!没有"聊友速配",怎能"成双成对"? (http://newchat.sina.com.cn) From linux-india-programmers-owner@lists.linux-india.org Fri Mar 2 07:57:37 2001 Received: from md4.vsnl.net.in (md4.vsnl.net.in [202.54.6.60]) by www.aunet.org (Postfix) with ESMTP id 709484A13A for ; Fri, 2 Mar 2001 07:57:32 -0800 (PST) Received: from default (unknown [203.199.237.145]) by md4.vsnl.net.in (Postfix) with SMTP id C34A59EF4 for ; Fri, 2 Mar 2001 21:25:47 +0530 (IST) Message-ID: <003a01c0a2cb$ccd5d340$7385c5cb@default> From: "Lakshmi Gopinath" To: Subject: Fw: winsock Date: Fri, 2 Mar 2001 09:19:34 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/9 X-Sequence-Number: 1729 hi, I know this is not an appropriate issue in a linux forum. I am having some problems trying to port my networks application from linux to windows environment. I am using vc++ 6.0 and Winsock 1.1...the program compiles fine but I get a link error. any ideas ?? cheers, Lakshmi From linux-india-programmers-owner@lists.linux-india.org Fri Mar 2 10:18:49 2001 Received: by www.aunet.org (Postfix, from userid 1000) id 743194A445; Fri, 2 Mar 2001 10:18:45 -0800 (PST) To: linux-india-programmers@lists.linux-india.org Subject: List Statistics for linux-india-programmers for 02/2001 Message-Id: <20010302181845.743194A445@www.aunet.org> Date: Fri, 2 Mar 2001 10:18:45 -0800 (PST) From: thaths@aunet.org (Sudhakar Chandra) X-Archive-Number: 200103/10 X-Sequence-Number: 1730 ************************************************************** List: linux-india-programmers ************************************************************** Number of subscribers Total: 364 Digest: 12 (3.30 %) Each: 352 (96.70 %) ************************************************************** By TLD .com: 250 (68.68 %) .net: 40 (10.99 %) .edu: 3 (0.82 %) .org: 6 (1.65 %) .in: 65 (17.86 %) ************************************************************** By domain name .vsnl.net.in: 8 (2.20 %) .vsnl.com: 7 (1.92 %) .vsnl.net: 2 (0.55 %) .hotmail.com: 16 (4.40 %) .yahoo.com: 71 (19.51 %) .usa.net: 12 (3.30 %) .softhome.net: 5 (1.37 %) .eth.net: 8 (2.20 %) .netscape.net: 0 (0.00 %) .pobox.com: 2 (0.55 %) .iname.com: 1 (0.27 %) ************************************************************** Signal to noise ratio of top posters Total Messages: 266 Total Original Body Lines: 3678 Total Body Lines: 8048 (55% noise) Sorted by messages posted: Total Total Total Messages Original Lines: Posted: Lines: 1: Shridhar Daithankar 22 182 484 (63% noise) 2: Arun Sharma 18 125 304 (59% noise) 3: Rahul Jindal 16 249 557 (56% noise) 4: Kiran Jonnalagadda 13 108 299 (64% noise) 5: Lakshmi Gopinath 12 360 742 (52% noise) 6: Karthika Sivaramakrishnan 12 237 381 (38% noise) 7: Prashant Ramachandra 10 208 280 (26% noise) 8: Binand Raj S. 10 86 207 (59% noise) 9: Dwivedi Ajay kumar 7 126 223 (44% noise) 10: archan 7 51 181 (72% noise) 11: Ch Rama Krishna Prasad 6 90 405 (78% noise) 12: Ambar Roy 5 32 72 (56% noise) 13: Aseem Rane 5 56 116 (52% noise) 14: Raja Subramanian 5 61 142 (58% noise) 15: shantanu_gwl 4 27 72 (63% noise) 16: gsllgoa@pop3.satyam.net.in 4 28 76 (64% noise) 17: M K Saravanan 4 20 50 (60% noise) 18: Vibhu rishi 4 20 86 (77% noise) 19: Mallikarjuna Rao V.V.Ch. 4 77 136 (44% noise) 20: Indraneel Majumdar 4 28 73 (62% noise) Sorted by original lines posted: Total Total Total Messages Original Lines: Posted: Lines: 1: Guruprasad, Mahendrakar V (IE10) 3 379 546 (31% noise) 2: Lakshmi Gopinath 12 360 742 (52% noise) 3: Rahul Jindal 16 249 557 (56% noise) 4: Karthika Sivaramakrishnan 12 237 381 (38% noise) 5: Prashant Ramachandra 10 208 280 (26% noise) 6: Shridhar Daithankar 22 182 484 (63% noise) 7: Dwivedi Ajay kumar 7 126 223 (44% noise) 8: Arun Sharma 18 125 304 (59% noise) 9: Sudhakar Chandra 2 121 150 (20% noise) 10: Kiran Jonnalagadda 13 108 299 (64% noise) 11: Ch Rama Krishna Prasad 6 90 405 (78% noise) 12: Binand Raj S. 10 86 207 (59% noise) 13: Mallikarjuna Rao V.V.Ch. 4 77 136 (44% noise) 14: Kondaiah (IE10) 4 63 152 (59% noise) 15: Raja Subramanian 5 61 142 (58% noise) 16: lakshmi gopinath 1 61 74 (18% noise) 17: Aseem Rane 5 56 116 (52% noise) 18: archan 7 51 181 (72% noise) 19: Sunil V. 1 50 68 (27% noise) 20: Sumit Rangawala 4 39 91 (58% noise) Sorted by total lines posted: Total Total Total Messages Original Lines: Posted: Lines: 1: Lakshmi Gopinath 12 360 742 (52% noise) 2: Rahul Jindal 16 249 557 (56% noise) 3: Guruprasad, Mahendrakar V (IE10) 3 379 546 (31% noise) 4: Shridhar Daithankar 22 182 484 (63% noise) 5: Ch Rama Krishna Prasad 6 90 405 (78% noise) 6: Karthika Sivaramakrishnan 12 237 381 (38% noise) 7: Arun Sharma 18 125 304 (59% noise) 8: Kiran Jonnalagadda 13 108 299 (64% noise) 9: Balachander Chandrasekaran 1 19 286 (94% noise) 10: Prashant Ramachandra 10 208 280 (26% noise) 11: Dwivedi Ajay kumar 7 126 223 (44% noise) 12: Binand Raj S. 10 86 207 (59% noise) 13: archan 7 51 181 (72% noise) 14: Kondaiah (IE10) 4 63 152 (59% noise) 15: Sudhakar Chandra 2 121 150 (20% noise) 16: Raja Subramanian 5 61 142 (58% noise) 17: Mallikarjuna Rao V.V.Ch. 4 77 136 (44% noise) 18: Jayanth Kishoor 3 24 120 (80% noise) 19: Aseem Rane 5 56 116 (52% noise) 20: Vani R. 3 38 101 (63% noise) Notes: "Total Lines" does not count attachments, only the main body of the message. Messages which contain only attachments count as 0 lines. "Original lines" are the subset of "Total Lines" that are not preceeded by ">". "Noise" is the other part -- the quoted material. This script doesn't do anything clever with HTML, so the stats will be off for HTML messages (no detection of quoted material, and bloated line counts.) ************************************************************** From linux-india-programmers-owner@lists.linux-india.org Fri Mar 2 14:05:24 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 762334A130 for ; Fri, 2 Mar 2001 14:05:14 -0800 (PST) Received: from rahul ([61.11.246.225]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f22M54Q25612 for ; Sat, 3 Mar 2001 03:35:05 +0530 Message-ID: <016c01c0a363$d7a3cd20$97f60b3d@rahul> From: "Rahul Jindal" To: References: <20010302130128.14254.qmail@sina.com> Subject: Re: Date: Sat, 3 Mar 2001 03:09:09 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/11 X-Sequence-Number: 1731 NOW WHAT IS THIS? r /\ |-| |_| |_ ================== First, they ignore you. Then they laugh at you. Then they fight you. Then you win -- MG ================== The Northern Linux lug-northindia@yahoogroups.com ----- Original Message ----- From: "xiebin1978" To: Sent: Friday, March 02, 2001 6:31 PM Subject: [LIP] > > ______________________________________ > > =================================================================== > 新浪免费电子邮箱 (http://mail.sina.com.cn) > 网里寻她千百度!没有"聊友速配",怎能"成双成对"? (http://newchat.sina.com.cn) > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers > From linux-india-programmers-owner@lists.linux-india.org Fri Mar 2 20:18:56 2001 Received: from smtp03.vsnl.net (smtp03.vsnl.net [203.197.12.9]) by www.aunet.org (Postfix) with ESMTP id 68F4C4A1A7; Fri, 2 Mar 2001 20:18:43 -0800 (PST) Received: from intelceleron ([203.200.8.229]) by smtp03.vsnl.net (Netscape Messaging Server 4.15) with SMTP id G9LT0S01.Z2E; Sat, 3 Mar 2001 09:42:28 +0530 Message-ID: <002201c0a398$bb8cd7a0$e508c8cb@intelceleron> From: "Vivek Singhal" To: Cc: Subject: RHL 7.0 Kernel compile workaround Date: Sat, 3 Mar 2001 09:46:17 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200103/12 X-Sequence-Number: 1732 RHL 7.0 kernel 2.2.16 had troubles compiling coz of some bug in kgcc ( gcc in general ), but recently it compiled with a small work around. My previous posting on the list did not have the exact work around. well here it is . Errors would occur while compiling ksyms.c complaining of usage of an undeclared variable which has actually been declared in one of the included files ( bug lies here ). ksyms.c includes a huge number of headers one of them is kernel_stat.h which in turn includes irq.h , smp.h and tasks.h . A variable ( actually a macro ) declared in smp.h called smp_num_cpus was not visible in kernel_stat.h which had actually included it in the first place. When I removed the include gaurd of smp.h .. include gaurd : #ifndef __LINUX_SMP_H #idefine __LINUX_SMP_H //..... ( lines of declarations ) it finally compiled. ( making what lies after it visible hence smp_num_cpus was visible ). This is when I made the posting on the list. Later I tried several things to find out the possible cause of this. Instead of deleting the include gaurd I changed it to .... #ifndef _LINUX_SMP_H #idefine _LINUX_SMP_H //..... ( lines of declarations ) ( notice that I have removed an underscore.. thats it ! ) and the kernel compiled !! So we have some possible causes of this anomoly : a > bug in kgcc ( as reported by redhat ) b > definition of __LINUX_SMP_H prior to smp.h c > some other bug No other included file in kernel_stat.h or even ksyms.c had defined __LINUX_SMP_H pror to smp.h ( as it should be ). So we are left with most probable cause ... bug in kgcc. But a bug can have a work around too so the code given above actually lets the kernel compile !! I have got a kernel small kernel now 300K . I have removed all loadable modules to keep my modules dir small amd whatever I need I have included in kernel itself. I did this coz there was some trouble compiling some of the modules ( probably same bug ). vivek From linux-india-programmers-owner@lists.linux-india.org Fri Mar 2 22:36:23 2001 Received: from xyzsys.sci.tech (unknown [202.142.70.5]) by www.aunet.org (Postfix) with ESMTP id 09F404A111 for ; Fri, 2 Mar 2001 22:36:16 -0800 (PST) Received: from xyzsys ([127.0.0.1]) by xyzsys.sci.tech (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with SMTP id f236avN01649 for ; Sat, 3 Mar 2001 12:06:57 +0530 X-Authentication-Warning: xyzsys.sci.tech: Host [127.0.0.1] claimed to be xyzsys Date: Sat, 3 Mar 2001 12:06:57 +0530 From: Deepak Joglekar To: linux-india-programmers@lists.linux-india.org Subject: Re: RHL 7.0 Kernel compile workaround Message-Id: <20010303120657.431f4528.joglekar@eth.net> In-Reply-To: <002201c0a398$bb8cd7a0$e508c8cb@intelceleron> References: <002201c0a398$bb8cd7a0$e508c8cb@intelceleron> Reply-To: joglekar@eth.net X-Mailer: Sylpheed version 0.4.9 (GTK+ 1.2.8; Linux 2.2.16; i686) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/13 X-Sequence-Number: 1733 On Sat, 3 Mar 2001 09:46:17 +0530 "Vivek Singhal" wrote: > RHL 7.0 kernel 2.2.16 had troubles compiling coz of some bug in kgcc ( gcc > in general ), but recently it compiled with a small work around. My previous > posting on the list did not have the exact work around. well here it is . > > Errors would occur while compiling ksyms.c complaining of usage of an > undeclared variable which has actually been declared in one of the included > files ( bug lies here ). ksyms.c includes a huge number of headers one of > them is kernel_stat.h which in turn includes irq.h , smp.h and tasks.h . A > variable ( actually a macro ) declared in smp.h called smp_num_cpus was not > visible in kernel_stat.h which had actually included it in the first place. > When I removed the include gaurd of smp.h .. > > and the kernel compiled !! So we have some possible causes of this anomoly : > > a > bug in kgcc ( as reported by redhat ) > b > definition of __LINUX_SMP_H prior to smp.h > c > some other bug I complied the kernel yesterday to access NTFS file system from WIN2000. I faced similar error msg. What I did is as follows. make clean make mrproper make menuconfig make dep make bzImage make modules make modules_install and other copy image and lilo stuff. It worked fine for me. and I could get access to NTFS partition from WIN2000. -- Deepak Joglekar joglekar@eth.net ---------------- @> /( )\ ^ ^ From linux-india-programmers-owner@lists.linux-india.org Sat Mar 3 09:24:30 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 1BD594A111 for ; Sat, 3 Mar 2001 09:24:25 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f23HD8k36552 for linux-india-programmers@lists.linux-india.org; Sat, 3 Mar 2001 09:13:08 -0800 (PST) (envelope-from adsharma) Date: Sat, 3 Mar 2001 09:13:08 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Core Message-ID: <20010303091308.A36540@sharmas.dhs.org> References: <20010301164112.9745.qmail@mailweb8.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from lists@123india.com on Thu, Mar 01, 2001 at 11:56:14AM -0600 X-Archive-Number: 200103/14 X-Sequence-Number: 1734 On Thu, Mar 01, 2001 at 11:56:14AM -0600, Indraneel Majumdar wrote: > check out the debuggers > eg > man gdb Specifically, gdb ls ls.core (gdb) bt if the core file was from ls. -Arun From linux-india-programmers-owner@lists.linux-india.org Sat Mar 3 10:17:49 2001 Received: from pimout1-int.prodigy.net (pimout1-ext.prodigy.net [207.115.63.77]) by www.aunet.org (Postfix) with ESMTP id 911F949F05 for ; Sat, 3 Mar 2001 10:17:34 -0800 (PST) Received: from aglaja.swmed.edu (nas-57-85.dallas.navipath.net [216.67.57.85]) by pimout1-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f23IBO6127588 for ; Sat, 3 Mar 2001 13:11:24 -0500 Received: from localhost (lists@localhost) by aglaja.swmed.edu (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f23IAXB04612 for ; Sat, 3 Mar 2001 12:10:33 -0600 X-Authentication-Warning: aglaja.swmed.edu: lists owned process doing -bs Date: Sat, 3 Mar 2001 12:10:33 -0600 (CST) From: Indraneel Majumdar X-Sender: lists@aglaja.swmed.edu To: linux-india-programmers@lists.linux-india.org Subject: Re: Core In-Reply-To: <20010303091308.A36540@sharmas.dhs.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/15 X-Sequence-Number: 1735 On Sat, 3 Mar 2001, Arun Sharma wrote: > On Thu, Mar 01, 2001 at 11:56:14AM -0600, Indraneel Majumdar wrote: > > check out the debuggers > > eg > > man gdb > > Specifically, > > gdb ls ls.core > (gdb) bt > > if the core file was from ls. and (forgot to say) compiling with a -g might be better if your proggie dumps core and you want to run gdb on it. \indraneel -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Sat Mar 3 19:04:42 2001 Received: from mailweb5.rediffmail.com (unknown [202.54.124.150]) by www.aunet.org (Postfix) with SMTP id 8ADC94A070 for ; Sat, 3 Mar 2001 19:04:39 -0800 (PST) Received: (qmail 13236 invoked by uid 510); 4 Mar 2001 02:52:21 -0000 Date: 4 Mar 2001 02:52:21 -0000 Message-ID: <20010304025221.13235.qmail@mailweb5.rediffmail.com> Received: from unknown (210.214.5.4) by rediffmail.com via HTTP; 04 Mar 2001 02:52:21 -0000 MIME-Version: 1.0 To: LIP Subject: Re: File path From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/16 X-Sequence-Number: 1736 Hi! Thanks for your reply. I tried /sbin/fuser and got the message "file not found" I have to specify the path of the file too for it to work. But then, there's no output. (I had kept the file opened in an editor). I need to do something just the reverse. Given the application name (like kwrite) and a caption (file name), I need to determine the file path. How do I do manipulate the various options that come with fuser? Thanks in advance. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Sun Mar 4 22:45:14 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id DCE864A3C8; Sun, 4 Mar 2001 22:44:59 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f256ijl04890; Mon, 5 Mar 2001 12:14:45 +0530 Message-ID: <3AA335FB.76FF08DF@pspl.co.in> Date: Mon, 05 Mar 2001 12:15:15 +0530 From: Shridhar Daithankar Organization: Persistent Systems Pvt. Ltd. X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: LIH , LIP , PLUG Subject: Good utility for CVS Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/17 X-Sequence-Number: 1737 For all those who seriously mess up with cvs, this may be a useful tool... http://freshmeat.net/projects/cvsgraph/ Bye Shridhar From linux-india-programmers-owner@lists.linux-india.org Sun Mar 4 23:38:53 2001 Received: from hindon.hss.co.in (unknown [202.54.26.202]) by www.aunet.org (Postfix) with ESMTP id 9F9A64A021 for ; Sun, 4 Mar 2001 23:38:48 -0800 (PST) Received: from sandesh.hss.hns.com (localhost [127.0.0.1]) by hindon.hss.co.in (8.10.0/8.10.0) with SMTP id f257XgC25522 for ; Mon, 5 Mar 2001 13:03:42 +0530 (IST) Received: by sandesh.hss.hns.com(Lotus SMTP MTA v4.6.3 (733.2 10-16-1998)) id 65256A06.00283384 ; Mon, 5 Mar 2001 12:49:06 +0530 X-Lotus-FromDomain: HSS From: vnair@hss.hns.com To: linux-india-programmers@lists.linux-india.org Message-ID: <65256A06.0028321F.00@sandesh.hss.hns.com> Date: Mon, 5 Mar 2001 12:55:54 +0530 Subject: Code Size Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline X-Archive-Number: 200103/18 X-Sequence-Number: 1738 Hello List, How can i find out (or What are the different ways to check ) that how much memory my executable will take when it is finally loaded. Assuming that there is only one malloc of size X initially. The above question includes the stack size which is built up at any instance of the program execution. size command under linux does give the info but it is more of static in nature. TIA From linux-india-programmers-owner@lists.linux-india.org Sun Mar 4 23:46:33 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 9EA554A15B for ; Sun, 4 Mar 2001 23:46:30 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f257kGl06259 for ; Mon, 5 Mar 2001 13:16:16 +0530 Message-ID: <3AA34466.57E668CA@pspl.co.in> Date: Mon, 05 Mar 2001 13:16:46 +0530 From: Shridhar Daithankar Organization: Persistent Systems Pvt. Ltd. X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Code Size References: <65256A06.0028321F.00@sandesh.hss.hns.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/19 X-Sequence-Number: 1739 You can use top or info from /proc. One would need to dig into /proc tp find out about a single executable. Top does a nice job though. Hit 'f' to find out what fields you can display and 'w' to save the new configuration. man top for more details. HTH Bye Shridhar vnair@hss.hns.com wrote: > Hello List, > > How can i find out (or What are the different ways to check ) that how much > memory my executable will take when it is finally loaded. Assuming that there is > only one malloc of size X initially. > From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 05:05:33 2001 Received: from pimout2-int.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by www.aunet.org (Postfix) with ESMTP id F0A7E4A164 for ; Mon, 5 Mar 2001 05:05:30 -0800 (PST) Received: from aglaja.swmed.edu (nas-49-25.dallas.navipath.net [216.67.49.25]) by pimout2-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f25CxDK84872 for ; Mon, 5 Mar 2001 07:59:13 -0500 Received: from localhost (lists@localhost) by aglaja.swmed.edu (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f25CsHG10315 for ; Mon, 5 Mar 2001 06:54:17 -0600 X-Authentication-Warning: aglaja.swmed.edu: lists owned process doing -bs Date: Mon, 5 Mar 2001 06:54:17 -0600 (CST) From: Indraneel Majumdar To: LIP Subject: Re: Good utility for CVS In-Reply-To: <3AA335FB.76FF08DF@pspl.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/20 X-Sequence-Number: 1740 Thank you for a great link. I am messing about with a 2GB CVS folder. Also I'm in search of an automated CVS syncing tool (eg if I have the same CVS repository at two places and want them synced every 2 hours), any links there? \Indraneel On Mon, 5 Mar 2001, Shridhar Daithankar wrote: > For all those who seriously mess up with cvs, this may be a useful tool... > > http://freshmeat.net/projects/cvsgraph/ -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 05:05:38 2001 Received: from pimout2-int.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by www.aunet.org (Postfix) with ESMTP id AE8DC4A164 for ; Mon, 5 Mar 2001 05:05:32 -0800 (PST) Received: from aglaja.swmed.edu (nas-49-25.dallas.navipath.net [216.67.49.25]) by pimout2-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f25CxEK59200 for ; Mon, 5 Mar 2001 07:59:15 -0500 Received: from localhost (lists@localhost) by aglaja.swmed.edu (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f25Cwoq10332 for ; Mon, 5 Mar 2001 06:58:50 -0600 X-Authentication-Warning: aglaja.swmed.edu: lists owned process doing -bs Date: Mon, 5 Mar 2001 06:58:50 -0600 (CST) From: Indraneel Majumdar To: linux-india-programmers@lists.linux-india.org Subject: Re: Code Size In-Reply-To: <65256A06.0028321F.00@sandesh.hss.hns.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/21 X-Sequence-Number: 1741 On Mon, 5 Mar 2001 vnair@hss.hns.com wrote: > How can i find out (or What are the different ways to check ) that how much > memory my executable will take when it is finally loaded. Assuming that there is memusge gives some indications to how much memory your program is using, but it cannot tell you before you run it. Also if your program crashes due to limited memory, it does not help. \Indraneel -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 05:20:09 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id A0B7749F45 for ; Mon, 5 Mar 2001 05:20:03 -0800 (PST) Received: from Basel (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with SMTP id f25DJll14991 for ; Mon, 5 Mar 2001 18:49:47 +0530 Content-Type: text/plain; charset="iso-8859-1" From: Nandu To: linux-india-programmers@lists.linux-india.org Subject: Re: Code Size Date: Mon, 5 Mar 2001 18:50:19 +0530 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01030518501903.00699@Basel> Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/22 X-Sequence-Number: 1742 Hi Indraneel I don't find any memusage on my RHL6.2 machine. Shridhar On Monday 05 March 2001 18:28, you wrote: > memusge > gives some indications to how much memory your program is using, but it > cannot tell you before you run it. Also if your program crashes due to > limited memory, it does not help. > > \Indraneel From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 05:28:53 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.65.183]) by www.aunet.org (Postfix) with ESMTP id 31BDE4A00C for ; Mon, 5 Mar 2001 05:28:50 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id SAA31303 for ; Mon, 5 Mar 2001 18:56:51 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id SAA01538 for linux-india-programmers@lists.linux-india.org; Mon, 5 Mar 2001 18:56:36 +0530 Date: Mon, 5 Mar 2001 18:56:35 +0530 From: "Binand Raj S." To: LIP Subject: Re: Good utility for CVS Message-ID: <20010305185635.B1177@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: LIP References: <3AA335FB.76FF08DF@pspl.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: ; from lists@123india.com on Mon, Mar 05, 2001 at 06:54:17AM -0600 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/23 X-Sequence-Number: 1743 Indraneel Majumdar forced the electrons to say: > I'm in search of an automated CVS syncing tool (eg if I have the same CVS > repository at two places and want them synced every 2 hours) That would be rsync over ssh, run every two hours from cron. You might want to block port 2401 at both locations while the sync is going on, if the repository is large. Binand From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 05:35:33 2001 Received: from pimout3-int.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by www.aunet.org (Postfix) with ESMTP id 463E74A1C0 for ; Mon, 5 Mar 2001 05:35:31 -0800 (PST) Received: from aglaja.swmed.edu (nas-49-25.dallas.navipath.net [216.67.49.25]) by pimout3-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f25DTDW52598 for ; Mon, 5 Mar 2001 08:29:13 -0500 Received: from localhost (lists@localhost) by aglaja.swmed.edu (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f25DTAB10481 for ; Mon, 5 Mar 2001 07:29:10 -0600 X-Authentication-Warning: aglaja.swmed.edu: lists owned process doing -bs Date: Mon, 5 Mar 2001 07:29:10 -0600 (CST) From: Indraneel Majumdar To: linux-india-programmers@lists.linux-india.org Subject: Re: Code Size In-Reply-To: <01030518501903.00699@Basel> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/24 X-Sequence-Number: 1744 On Mon, 5 Mar 2001, Nandu wrote: > I don't find any memusage on my RHL6.2 machine. dunno, it's there on RedHat7.0. Will try to see if it's available on ftp \Indraneel -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 05:40:33 2001 Received: from pimout2-int.prodigy.net (pimout2-ext.prodigy.net [207.115.63.101]) by www.aunet.org (Postfix) with ESMTP id 55BA64A115 for ; Mon, 5 Mar 2001 05:40:31 -0800 (PST) Received: from aglaja.swmed.edu (nas-49-25.dallas.navipath.net [216.67.49.25]) by pimout2-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f25DYDK88078 for ; Mon, 5 Mar 2001 08:34:13 -0500 Received: from localhost (lists@localhost) by aglaja.swmed.edu (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f25DVO610509 for ; Mon, 5 Mar 2001 07:31:24 -0600 X-Authentication-Warning: aglaja.swmed.edu: lists owned process doing -bs Date: Mon, 5 Mar 2001 07:31:24 -0600 (CST) From: Indraneel Majumdar To: LIP Subject: Re: Good utility for CVS In-Reply-To: <20010305185635.B1177@bombay.retortsoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/25 X-Sequence-Number: 1745 Thanks. Also one side has a firewall so I have to talk with the sysadmin to open port 22, or is there any other method? \Indraneel On Mon, 5 Mar 2001, Binand Raj S. wrote: > That would be rsync over ssh, run every two hours from cron. You might want to > block port 2401 at both locations while the sync is going on, if the repository > is large. -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 06:55:02 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.65.183]) by www.aunet.org (Postfix) with ESMTP id E6CB64A340 for ; Mon, 5 Mar 2001 06:54:23 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id UAA00773 for ; Mon, 5 Mar 2001 20:26:36 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id UAA04255 for linux-india-programmers@lists.linux-india.org; Mon, 5 Mar 2001 20:26:22 +0530 Date: Mon, 5 Mar 2001 20:26:21 +0530 From: "Binand Raj S." To: LIP Subject: Re: Good utility for CVS Message-ID: <20010305202621.D1177@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: LIP References: <20010305185635.B1177@bombay.retortsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: ; from lists@123india.com on Mon, Mar 05, 2001 at 07:31:24AM -0600 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/26 X-Sequence-Number: 1746 Indraneel Majumdar forced the electrons to say: > Thanks. Also one side has a firewall so I have to talk with the sysadmin > to open port 22, or is there any other method? If you can access the outside world from behind the firewall using ssh, then no need. In fact, sysadmins should allow people access to Internet via ssh (IMO) - try to convince the sysad giving people ssh access is a good idea. I have been syncing directories for quite some time this way (not CVS repositories, though). The port 2401 reference was to the CVS pserver port, as a commit while rsync is working might corrupt the repository. You also need to be able to log into the outside server without a password using ssh, if you intend to do this from cron. Binand From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 10:43:38 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 2F0514A6F5; Mon, 5 Mar 2001 10:38:08 -0800 (PST) Received: from rahul ([61.11.246.234]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f25IbNQ27252; Tue, 6 Mar 2001 00:07:23 +0530 Message-ID: <002501c0a5a2$636c49a0$eaf60b3d@rahul> From: "Rahul Jindal" To: , Cc: "Shridhar Daithankar" Subject: gtk minus minus Date: Mon, 5 Mar 2001 23:58:33 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/27 X-Sequence-Number: 1747 Hello people, i need some tutorial on Qt. Actually I had planned to develop the backend of my applicaton in c++. now somebody told me of the gtk wrapper for c++ goes by the name gtk--. has anybody here used that ? I mean i'm not confident going ahead with that. So i'm double minded about using gtk-- or Qt, any suggestions please. This is kinda urgent. Thanks in Anticipation Regards r /\ |-| |_| |_ ================== First, they ignore you. Then they laugh at you. Then they fight you. Then you win -- MG ================== The Northern Linux lug-northindia@yahoogroups.com From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 17:18:34 2001 Received: from pimout3-int.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by www.aunet.org (Postfix) with ESMTP id 84E4D4A10E for ; Mon, 5 Mar 2001 17:18:29 -0800 (PST) Received: from aglaja.swmed.edu (ip-67-92-77.dallas.navipath.net [216.67.92.77]) by pimout3-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f261C9Q217328 for ; Mon, 5 Mar 2001 20:12:09 -0500 Received: from localhost (lists@localhost) by aglaja.swmed.edu (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f2619en00901 for ; Mon, 5 Mar 2001 19:09:41 -0600 X-Authentication-Warning: aglaja.swmed.edu: lists owned process doing -bs Date: Mon, 5 Mar 2001 19:09:40 -0600 (CST) From: Indraneel Majumdar To: LIP Subject: Re: Good utility for CVS In-Reply-To: <20010305202621.D1177@bombay.retortsoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/28 X-Sequence-Number: 1748 Thanks a lot. I can access the outside world via ssh from behind the firewall, so probably there's no problem. The main repository is behind the FW. Also I'll be setting up a FW at the other end. So probably there will have to be some fancy port redirection involved, as well as some expect script to handle passwords (have to have passwords). Thanks, Indraneel On Mon, 5 Mar 2001, Binand Raj S. wrote: > If you can access the outside world from behind the firewall using ssh, then > no need. In fact, sysadmins should allow people access to Internet via ssh > (IMO) - try to convince the sysad giving people ssh access is a good idea. > I have been syncing directories for quite some time this way (not CVS > repositories, though). > > The port 2401 reference was to the CVS pserver port, as a commit while rsync > is working might corrupt the repository. > > You also need to be able to log into the outside server without a password > using ssh, if you intend to do this from cron. -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 20:36:07 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 3F0324A0DF for ; Mon, 5 Mar 2001 20:36:04 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f264Ogn42823 for linux-india-programmers@lists.linux-india.org; Mon, 5 Mar 2001 20:24:42 -0800 (PST) (envelope-from adsharma) Date: Mon, 5 Mar 2001 20:24:41 -0800 From: Arun Sharma To: LIP Subject: Re: Good utility for CVS Message-ID: <20010305202441.A42799@sharmas.dhs.org> References: <3AA335FB.76FF08DF@pspl.co.in> <20010305185635.B1177@bombay.retortsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010305185635.B1177@bombay.retortsoft.com>; from binand@bombay.retortsoft.com on Mon, Mar 05, 2001 at 06:56:35PM +0530 X-Archive-Number: 200103/29 X-Sequence-Number: 1749 On Mon, Mar 05, 2001 at 06:56:35PM +0530, Binand Raj S. wrote: > Indraneel Majumdar forced the electrons to say: > > I'm in search of an automated CVS syncing tool (eg if I have the same CVS > > repository at two places and want them synced every 2 hours) > > That would be rsync over ssh, run every two hours from cron. You might want to > block port 2401 at both locations while the sync is going on, if the repository > is large. That'd work only if both the cvs repositories are read only. If people are checking in stuff to both CVS repositories and you have to sync them, there is nothing short of a checkout -> tar -> transfer -> import to vendor branch. http://www.perforce.com/ might be interesting. Free for writing open source software. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Mar 5 20:37:38 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id E17384A251 for ; Mon, 5 Mar 2001 20:37:36 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f264QGv42850 for linux-india-programmers@lists.linux-india.org; Mon, 5 Mar 2001 20:26:16 -0800 (PST) (envelope-from adsharma) Date: Mon, 5 Mar 2001 20:26:16 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Code Size Message-ID: <20010305202615.B42799@sharmas.dhs.org> References: <65256A06.0028321F.00@sandesh.hss.hns.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <65256A06.0028321F.00@sandesh.hss.hns.com>; from vnair@hss.hns.com on Mon, Mar 05, 2001 at 12:55:54PM +0530 X-Archive-Number: 200103/30 X-Sequence-Number: 1750 On Mon, Mar 05, 2001 at 12:55:54PM +0530, vnair@hss.hns.com wrote: > > > Hello List, > > How can i find out (or What are the different ways to check ) that how much > memory my executable will take when it is finally loaded. Assuming that there is > only one malloc of size X initially. > > The above question includes the stack size which is built up at any instance of > the program execution. > > size command under linux does give the info but it is more of static in nature. > That problem is NP-complete. -Arun From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 08:10:43 2001 Received: from www.aunet.org (localhost [127.0.0.1]) by www.aunet.org (Postfix) with SMTP id DE3CC4A114 for ; Tue, 6 Mar 2001 08:10:40 -0800 (PST) Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6]) by www.aunet.org (Postfix) with ESMTP id 0AF324A185 for ; Thu, 1 Mar 2001 19:20:24 -0800 (PST) Received: from ecvwall1.wipro.com (ecvwall1.wipro.com [192.168.181.23]) by wiproecmx2.wipro.com (8.9.3/8.9.3) with SMTP id IAA29384 for ; Fri, 2 Mar 2001 08:54:04 GMT Received: from sarath ([192.168.178.17]) by ecmail.mail.wipro.com (Netscape Messaging Server 4.15) with SMTP id G9JVNB00.B68 for ; Fri, 2 Mar 2001 08:43:59 +0530 Message-ID: <078701c0a2c7$a6163a00$3f47a8c0@wipsys.soft.net> Reply-To: "Sarath Babu" From: "Sarath Babu Govindarajulu" To: References: <20010301164112.9745.qmail@mailweb8.rediffmail.com> Subject: Re: Core Date: Fri, 2 Mar 2001 08:49:53 +0530 Organization: Wipro Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200103/31 X-Sequence-Number: 1751 Try "gdb a.out core", where "a.out" is the program that dumped "core". Once you get gdb prompt, type "where", to see exact location of the code which dumped core. The pre-requisite is that you should have compiled a.out with debug option. - Sarath ----- Original Message ----- From: "Karthika Sivaramakrishnan" To: "LIP" Sent: Thursday, March 01, 2001 10:11 PM Subject: [LIP] Core > Hello! > How can "core" be decoded? Is it really helpful in getting an idea of what went wrong in executing (C) programs, esp. segmentation faults? > - Karthika > > _____________________________________________________ > Chat with your friends as soon as they come online. Get Rediff Bol at > http://bol.rediff.com > > > > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 10:35:36 2001 Received: from bom6.vsnl.net.in (bom6.vsnl.net.in [202.54.4.38]) by www.aunet.org (Postfix) with ESMTP id 4C9D14A0BD for ; Tue, 6 Mar 2001 10:35:34 -0800 (PST) Received: from vikrant (unknown [202.54.95.117]) by bom6.vsnl.net.in (Postfix) with ESMTP id 87C0C56416 for ; Tue, 6 Mar 2001 23:57:45 +0500 (IST) Message-ID: <005301c0a66b$c53266a0$755f36ca@vikrant> From: "Vikrant Dhawale" To: References: <003201c09edf$34a81460$c2e7c7cb@default> <3A99DF5F.698414@bigfoot.com> Subject: Re: Programming using Xlib Date: Wed, 7 Mar 2001 00:00:44 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Archive-Number: 200103/32 X-Sequence-Number: 1752 hi archan, please if u cud send me book to me too, it would be a great help, as i m trying to learn x-window programming. thanx in advance vikrant dhawale To: ; Sent: Monday, February 26, 2001 10:15 AM > I can send u one book (ps format) as an attachment. > > archan > archanp@bigfoot.com > devrootp@bigfoot.com > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. > From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 19:41:38 2001 Received: from accord-soft.com (unknown [164.164.69.252]) by www.aunet.org (Postfix) with ESMTP id B573249F43 for ; Tue, 6 Mar 2001 19:41:27 -0800 (PST) Received: from accord-products.com (Akhila [192.168.1.35]) by accord-soft.com (8.9.3/8.9.3) with ESMTP id JAA10727 for ; Wed, 7 Mar 2001 09:04:56 +0530 Message-ID: <3AA5AC5F.F0496CB3@accord-products.com> Date: Wed, 07 Mar 2001 09:04:55 +0530 From: "Vani R." Organization: Accord Software & Systems Pvt Ltd., X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Fw: winsock References: <003a01c0a2cb$ccd5d340$7385c5cb@default> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/33 X-Sequence-Number: 1753 Hi, You need to use the following before making use of win sock calls. if (WSAStartup(wVersion,&wsaData) != 0) { Terminate(GetLastError()); return FALSE; } where the two parameters of WSAStartup declared and initialized as follows: WORD wVersion = MAKEWORD(1,1); WSADATA wsaData; Hope this helps u. Lakshmi Gopinath wrote: > hi, > > I know this is not an appropriate issue in a linux forum. I am having some > problems trying to port my networks application from linux to windows > environment. I am using vc++ 6.0 and Winsock 1.1...the program compiles fine > but I get a link error. any ideas ?? > > cheers, > Lakshmi > > --------------------------------------------- > An alpha version of a web based tool to manage > your subscription with this mailing list is at > http://lists.linux-india.org/cgi-bin/mj_wwwusr -- To make mistakes is human; to stumble is commonplace; to be able to laugh at yourself is maturity. - William Ward From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 19:49:18 2001 Received: from mailweb2.rediffmail.com (unknown [202.54.124.147]) by www.aunet.org (Postfix) with SMTP id 6FDCC4A0FC for ; Tue, 6 Mar 2001 19:49:09 -0800 (PST) Received: (qmail 14700 invoked by uid 510); 7 Mar 2001 01:47:37 -0000 Date: 7 Mar 2001 01:47:37 -0000 Message-ID: <20010307014737.14699.qmail@mailweb2.rediffmail.com> Received: from unknown (210.214.6.240) by rediffmail.com via HTTP; 07 Mar 2001 01:47:37 -0000 MIME-Version: 1.0 To: LIP Subject: File path From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/34 X-Sequence-Number: 1754 Hello! How can I find the path of a file (at runtime) which has been opened by some X application? I read the man pages of 'ps' and 'top'. Since they give the command name of a process, I am able to obtain the path of a file only when that file has been opened (by clicking it). When the application has been opened alone, and then a file loaded by it, I cannot get the path of the loaded file. Specifically, I need the path of the file whose name *appears in the caption of that window*. Is there a system command or some C or Xlib function for this? Please shed some light. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 19:51:40 2001 Received: from accord-soft.com (unknown [164.164.69.252]) by www.aunet.org (Postfix) with ESMTP id 025574A146 for ; Tue, 6 Mar 2001 19:51:34 -0800 (PST) Received: from accord-products.com (Akhila [192.168.1.35]) by accord-soft.com (8.9.3/8.9.3) with ESMTP id JAA10985 for ; Wed, 7 Mar 2001 09:14:01 +0530 Message-ID: <3AA5AE7F.410B8D13@accord-products.com> Date: Wed, 07 Mar 2001 09:13:59 +0530 From: "Vani R." Organization: Accord Software & Systems Pvt Ltd., X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Fw: winsock References: <003a01c0a2cb$ccd5d340$7385c5cb@default> <3AA5AC5F.F0496CB3@accord-products.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/35 X-Sequence-Number: 1755 Hello, Also u need to link with Wsock32.lib "Vani R." wrote: > Hi, > > You need to use the following before making use of win sock calls. > > if (WSAStartup(wVersion,&wsaData) != 0) > { > Terminate(GetLastError()); > return FALSE; > } > > where the two parameters of WSAStartup declared and initialized as follows: > WORD wVersion = MAKEWORD(1,1); > WSADATA wsaData; > > Hope this helps u. > > Lakshmi Gopinath wrote: > > > hi, > > > > I know this is not an appropriate issue in a linux forum. I am having some > > problems trying to port my networks application from linux to windows > > environment. I am using vc++ 6.0 and Winsock 1.1...the program compiles fine > > but I get a link error. any ideas ?? > > > > cheers, > > Lakshmi > > > > --------------------------------------------- > > An alpha version of a web based tool to manage > > your subscription with this mailing list is at > > http://lists.linux-india.org/cgi-bin/mj_wwwusr > > -- > To make mistakes is human; > to stumble is commonplace; > to be able to laugh at yourself is maturity. > > - William Ward > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ -- To make mistakes is human; to stumble is commonplace; to be able to laugh at yourself is maturity. - William Ward From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 20:07:42 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 65A5C4A0AA for ; Tue, 6 Mar 2001 20:04:52 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id OAA16500 for ; Mon, 5 Mar 2001 14:34:08 +0530 Date: Mon, 5 Mar 2001 14:34:08 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: writting a new RPM In-Reply-To: <65256A06.0028321F.00@sandesh.hss.hns.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/36 X-Sequence-Number: 1756 dear friends can some one pls tell me how to write a _RPM_ is there any docs regarding this shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 20:13:21 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 437214A0AA for ; Tue, 6 Mar 2001 20:10:25 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id OAA16692 for ; Mon, 5 Mar 2001 14:38:31 +0530 Date: Mon, 5 Mar 2001 14:38:31 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: prgram writting to some port In-Reply-To: <65256A06.0028321F.00@sandesh.hss.hns.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/37 X-Sequence-Number: 1757 hai friends i am writting a program that should send some data at some port say XYZ now i will be using netscape to connect to that port to read the data any help how to do it correctly ? docs etc ..? regards shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 20:25:57 2001 Received: from wilco-int.com (intmailserv.wilco-int.com [212.36.174.165]) by www.aunet.org (Postfix) with ESMTP id 4E29349F1B for ; Tue, 6 Mar 2001 20:25:54 -0800 (PST) Received: from wilco-fw3.wilco-int.com (wilco-fwdmz.wilco-int.com [192.168.32.253]) by wilco-int.com (8.9.1b+Sun/8.9.1) with SMTP id EAA05668 for ; Wed, 7 Mar 2001 04:09:55 GMT Received: from mailsweeper.wilco-int.com ([194.62.147.25]) by wilco-fw3.wilco-int.com; Wed, 07 Mar 2001 04:10:12 +0000 (GMT) Received: from lonmail01.wilco-int.com (unverified) by mailsweeper.wilco-int.com (Content Technologies SMTPRS 4.1.2) with ESMTP id for ; Wed, 7 Mar 2001 04:11:24 +0000 Received: by lonmail01 with Internet Mail Service (5.5.2650.21) id ; Wed, 7 Mar 2001 04:08:00 -0000 Received: from hydmail02.hyd.wilco-int.com (HYDMAIL02 [192.168.130.33]) by lonmail01.wilco-int.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id FSYV6J8R; Wed, 7 Mar 2001 04:07:58 -0000 Received: by hydmail02.hyd.wilco-int.com with Internet Mail Service (5.5.2650.21) id ; Wed, 7 Mar 2001 09:39:46 +0530 From: Prashant Ramachandra To: "'linux-india-programmers@lists.linux-india.org'" Message-ID: <5BF60CD649EDD411A04600B0D049F53A09251D@hydmail02.hyd.wilco-int.com> Subject: RE: prgram writting to some port Date: Wed, 7 Mar 2001 09:39:43 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Archive-Number: 200103/38 X-Sequence-Number: 1758 On Monday, March 05, 2001 2:39 PM, shubhendu [SMTP:97co266@vikram.svrec.ernet.in] wrote: | | hai friends | | i am writting a program that should send some data at some port | | say XYZ now i will be using netscape to connect to that port to | read | the data | | any help how to do it correctly ? docs etc ..? "info libc sockets" has an example of a server and a client. You can check it out. It's got all that you need about sockets. -- Prashant TR Web: http://www.midpec.com/ ---------------------------------------------------------------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ---------------------------------------------------------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 22:29:36 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.78.202]) by www.aunet.org (Postfix) with ESMTP id E6CE64A2FF for ; Tue, 6 Mar 2001 22:29:09 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id LAA18293 for ; Wed, 7 Mar 2001 11:52:24 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id MAA02222 for linux-india-programmers@lists.linux-india.org; Wed, 7 Mar 2001 12:02:11 +0530 Date: Wed, 7 Mar 2001 12:02:11 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: writting a new RPM Message-ID: <20010307120211.B2137@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <65256A06.0028321F.00@sandesh.hss.hns.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: ; from 97co266@svrec.ernet.in on Mon, Mar 05, 2001 at 02:34:08PM +0530 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/39 X-Sequence-Number: 1759 shubhendu forced the electrons to say: > can some one pls tell me how to write a _RPM_ > is there any docs regarding this Try http://www.rpmdp.org (The RPM Documentation Project). Binand From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 22:31:02 2001 Received: from valium.lu.com (unknown [203.122.32.98]) by www.aunet.org (Postfix) with SMTP id C5EB84A0EB for ; Tue, 6 Mar 2001 22:30:56 -0800 (PST) Received: (qmail 17622 invoked by alias); 7 Mar 2001 06:24:30 -0000 Received: from mithun.internal.egurucool.com (HELO egurucool.com) (10.40.2.25) by valium.internal.egurucool.com with SMTP; 7 Mar 2001 06:24:30 -0000 Message-ID: <3AA5D510.5AD5B1B6@egurucool.com> Date: Wed, 07 Mar 2001 11:58:32 +0530 From: Mithun Bhattacharya Organization: Learning Universe [http://www.egurucool.com] X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: prgram writting to some port References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/40 X-Sequence-Number: 1760 Since you are using Netscape I am assuming you are expecting HTML data. In that case just use the following url http://hostname:xyz/ when your data is being output to port xyz of host 'hostname' Mithun From linux-india-programmers-owner@lists.linux-india.org Tue Mar 6 22:42:42 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.78.202]) by www.aunet.org (Postfix) with ESMTP id EA9A24A09E for ; Tue, 6 Mar 2001 22:41:02 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id MAA19014 for ; Wed, 7 Mar 2001 12:04:11 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id MAA02258 for linux-india-programmers@lists.linux-india.org; Wed, 7 Mar 2001 12:13:58 +0530 Date: Wed, 7 Mar 2001 12:13:58 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: prgram writting to some port Message-ID: <20010307121358.C2137@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <65256A06.0028321F.00@sandesh.hss.hns.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: ; from 97co266@svrec.ernet.in on Mon, Mar 05, 2001 at 02:38:31PM +0530 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/41 X-Sequence-Number: 1761 shubhendu forced the electrons to say: > i am writting a program that should send some data at some port > any help how to do it correctly ? docs etc ..? W. Richard Stevens, "Unix Network Programming", 2 ed, AWL. (2 vols). Documentation in this field never got better than that. Binand From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 02:11:46 2001 Received: from cooper.spectranet.com (unknown [203.122.63.156]) by www.aunet.org (Postfix) with ESMTP id 6B16049EFC for ; Wed, 7 Mar 2001 02:11:42 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by cooper.spectranet.com (Netscape Messaging Server 4.15) with SMTP id G9UH3Y00.R2L for ; Wed, 7 Mar 2001 15:33:34 -0500 Message-ID: <005201c0a6ed$c4764880$8900000a@aclindia.com> From: "Ambar Roy" To: References: Subject: Re: prgram writting to some port Date: Wed, 7 Mar 2001 15:32:48 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/42 X-Sequence-Number: 1762 Hi, > i am writting a program that should send some data at some port > say XYZ now i will be using netscape to connect to that port to read > the data if u r going to use netscape as a web browser, then your server will have to implement the http protocol. Otherwise if u are going to use a java applet, then u will find tons of examples on making a java chat client and server, which u can customise for your own apps. If u just wan't http responses, then the easiest method is to run a virtual server on apache at that port, and then write php3/java servlet or cgi program to send the output to netscape! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 02:27:57 2001 Received: from trinetra.ncb.ernet.in (unknown [202.141.136.157]) by www.aunet.org (Postfix) with ESMTP id 10BDF4A1B1 for ; Wed, 7 Mar 2001 02:27:37 -0800 (PST) Received: from gdrd05 ([172.16.1.105]) by trinetra.ncb.ernet.in (8.9.3/8.8.7) with SMTP id PAA26949 for ; Wed, 7 Mar 2001 15:55:10 +0530 Message-ID: <00d501c0a6f0$fd45dd30$690110ac@ncb.ernet.in> From: "Ajey Y Gore" To: References: <005201c0a6ed$c4764880$8900000a@aclindia.com> Subject: RootKit Date: Wed, 7 Mar 2001 15:55:52 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/43 X-Sequence-Number: 1763 I came to know abuot knark root kit how to detect and freez it! and how root kits get installed! I have read about XFS buffer overflow bugs and other things, but what about other root kits! actually I wanted to prevent the attack. any body please help me out. -ajey From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 02:48:15 2001 Received: from recjai.ernet.in (unknown [202.141.50.3]) by www.aunet.org (Postfix) with ESMTP id B9FE049F15 for ; Wed, 7 Mar 2001 02:46:12 -0800 (PST) Received: from localhost (seemanta@localhost) by recjai.ernet.in (8.9.3/8.8.7) with ESMTP id PAA15895 for ; Wed, 7 Mar 2001 15:57:33 +0530 Date: Wed, 7 Mar 2001 15:57:33 +0530 (IST) From: Seemanta Dutta To: linux-india-programmers@lists.linux-india.org Subject: Re:dos and donts in c programming Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/44 X-Sequence-Number: 1764 for dos and donts in c,refer the book MASTERING TURBO C by stan-kelly-bootle. it is marvellous as far as the unusual intricacies of the language is concerned... but do keep refering K&R at times... best wishes! seemanta dutta -- 2nd Year B.E. Electronics and Communication Engineering Hostel No:6,Room No:88 Malaviya Regional Engineering College Jaipur,Rajasthan PIN-302017 INDIA P.S. While replying please send a copy to seemanta_18@yahoo.com. Thank You. From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 02:55:25 2001 Received: from stewart.spectranet.com (unknown [203.122.63.155]) by www.aunet.org (Postfix) with ESMTP id 032074A232 for ; Wed, 7 Mar 2001 02:55:21 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by stewart.spectranet.com (Netscape Messaging Server 4.15) with SMTP id G9UJ8W00.41I for ; Wed, 7 Mar 2001 16:19:44 -0500 Message-ID: <00b301c0a6f4$3838a000$8900000a@aclindia.com> From: "Ambar Roy" To: References: <005201c0a6ed$c4764880$8900000a@aclindia.com> <00d501c0a6f0$fd45dd30$690110ac@ncb.ernet.in> Subject: Re: RootKit Date: Wed, 7 Mar 2001 16:18:55 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/45 X-Sequence-Number: 1765 the only way to prevent these attacks is to routinely update any packages with a security exploit. This is mostly an ongoing process. U might like to try securityfocus.com for more info! > I came to know abuot knark root kit how to detect and freez it! and how root > kits get installed! I have read about XFS buffer overflow bugs and other > things, but what about other root kits! actually I wanted to prevent the > attack. From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 03:15:26 2001 Received: from trinetra.ncb.ernet.in (unknown [202.141.136.157]) by www.aunet.org (Postfix) with ESMTP id 5A73C4A16C for ; Wed, 7 Mar 2001 03:15:17 -0800 (PST) Received: from gdrd05 ([172.16.1.105]) by trinetra.ncb.ernet.in (8.9.3/8.8.7) with SMTP id QAA28885 for ; Wed, 7 Mar 2001 16:42:49 +0530 Message-ID: <00f501c0a6f7$a4ef4110$690110ac@ncb.ernet.in> From: "Ajey Y Gore" To: References: <005201c0a6ed$c4764880$8900000a@aclindia.com> <00d501c0a6f0$fd45dd30$690110ac@ncb.ernet.in> <00b301c0a6f4$3838a000$8900000a@aclindia.com> Subject: Re: RootKit Date: Wed, 7 Mar 2001 16:43:30 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/46 X-Sequence-Number: 1766 but how do i know that who done that1 Because it deletes everylog, is there any which is there to see or worth having a look. -ajey From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 06:28:10 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 6194C4A16C for ; Wed, 7 Mar 2001 06:27:29 -0800 (PST) Received: from rahul ([61.11.246.227]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f27EQKQ01214 for ; Wed, 7 Mar 2001 19:56:20 +0530 Message-ID: <016101c0a711$9d4c9ba0$6cf60b3d@rahul> From: "Rahul Jindal" To: Subject: itoa Date: Wed, 7 Mar 2001 19:45:12 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/47 X-Sequence-Number: 1767 hi there to my utter surprise, i found that gnu c++ does not have a itoa function even when it has an atoi. am i right, and is there a work around ? r /\ |-| |_| |_ ================== First, they ignore you. Then they laugh at you. Then they fight you. Then you win -- MG ================== The Northern Linux lug-northindia@yahoogroups.com From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 06:31:13 2001 Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6]) by www.aunet.org (Postfix) with ESMTP id EE4F84A1CF for ; Wed, 7 Mar 2001 06:31:07 -0800 (PST) Received: from ecvwall1.wipro.com (ecvwall1.wipro.com [192.168.181.23]) by wiproecmx2.wipro.com (8.9.3/8.9.3) with SMTP id UAA19506 for ; Wed, 7 Mar 2001 20:04:24 GMT Received: from sarath ([192.168.178.17]) by ecmail.mail.wipro.com (Netscape Messaging Server 4.15) with SMTP id G9U00E00.RC2 for ; Wed, 7 Mar 2001 19:54:14 +0530 Message-ID: <00c201c0a713$1d5bb320$3f47a8c0@wipsys.soft.net> Reply-To: "Sarath Babu" From: "Sarath Babu Govindarajulu" To: References: <016101c0a711$9d4c9ba0$6cf60b3d@rahul> Subject: Re: itoa Date: Wed, 7 Mar 2001 20:00:09 +0530 Organization: Wipro Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200103/48 X-Sequence-Number: 1768 man sprintf -Sarath ----- Original Message ----- From: "Rahul Jindal" To: Sent: Wednesday, March 07, 2001 7:45 PM Subject: [LIP] itoa > hi there > to my utter surprise, i found that gnu c++ does not have a itoa function > even when it has an atoi. > > am i right, and is there a work around ? > > r /\ |-| |_| |_ > ================== > First, they ignore you. > Then they laugh at you. > Then they fight you. > Then you win -- MG > ================== > > The Northern Linux lug-northindia@yahoogroups.com > > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 07:04:12 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.86.44]) by www.aunet.org (Postfix) with ESMTP id A25864A165 for ; Wed, 7 Mar 2001 07:03:59 -0800 (PST) Received: from jediland.bombay.retortsoft.com (jediland.bombay.retortsoft.com [192.168.100.33]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id UAA03379 for ; Wed, 7 Mar 2001 20:27:10 +0530 Received: (from binand@localhost) by jediland.bombay.retortsoft.com (8.9.3/8.9.3) id UAA02560 for linux-india-programmers@lists.linux-india.org; Wed, 7 Mar 2001 20:17:31 +0530 Date: Wed, 7 Mar 2001 20:17:31 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: itoa Message-ID: <20010307201731.B1821@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <016101c0a711$9d4c9ba0$6cf60b3d@rahul> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <016101c0a711$9d4c9ba0$6cf60b3d@rahul>; from rahulj@glide.net.in on Wed, Mar 07, 2001 at 07:45:12PM +0530 X-Operating-System: Linux 2.2.16-1 X-Editor: VIM - Vi IMproved 5.7a BETA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/49 X-Sequence-Number: 1769 Rahul Jindal forced the electrons to say: > to my utter surprise, i found that gnu c++ does not have a itoa function > even when it has an atoi. There is no itoa() in ANSI C or POSIX either. Use sprintf(3) (or better, snprintf(3)) instead. sample: int n = 50; char s[3]; snprintf (s, sizeof s, "%d", n); Binand From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 09:27:34 2001 Received: from md4.vsnl.net.in (md4.vsnl.net.in [202.54.6.60]) by www.aunet.org (Postfix) with ESMTP id 647A54A30E for ; Wed, 7 Mar 2001 09:27:32 -0800 (PST) Received: from default (unknown [203.199.229.124]) by md4.vsnl.net.in (Postfix) with SMTP id E14B79F4B; Wed, 7 Mar 2001 22:55:23 +0530 (IST) Message-ID: <007501c0a6c6$1f493240$bce5c7cb@default> From: "Lakshmi Gopinath" To: Cc: Subject: winsock Date: Wed, 7 Mar 2001 10:48:05 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 x-mimeole: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/50 X-Sequence-Number: 1770 hi Vani, I am using VC++ 6.0 for developing my project. wsock32.lib is already there in the default path. but still i keep getting a link error. what could be the problem. Regards, lakshmi From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 12:10:12 2001 Received: from exchange1.sset.com (exchange1.sset.com [206.216.5.6]) by www.aunet.org (Postfix) with ESMTP id 507414A24E for ; Wed, 7 Mar 2001 12:10:06 -0800 (PST) Received: by exchange1.sset.com with Internet Mail Service (5.5.2650.21) id ; Wed, 7 Mar 2001 12:06:37 -0800 Message-ID: <51E0CBE218C9D21188F400805F650E1FC541FA@exchange1.sset.com> From: Nitin Kakkar To: "'linux-india-programmers@lists.linux-india.org'" Subject: How to build a new distribution Date: Wed, 7 Mar 2001 12:06:31 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200103/51 X-Sequence-Number: 1771 Hi We have a linux port for our properatory hardware. The overall package includes our kernel, device drivers and some utilities. I want to have a customize distribution where we can boot our kernel from cd and installs this distributionfrom a cd. Basically its like a special distribution of Linux. Can any body tell me how can i do this. Are there any tools available which can help me in building a distribution? TIA Nitin From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 17:52:54 2001 Received: from pimout3-int.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by www.aunet.org (Postfix) with ESMTP id 15B1D4A1D5 for ; Wed, 7 Mar 2001 17:52:49 -0800 (PST) Received: from aglaja.swmed.edu (ip-67-92-165.dallas.navipath.net [216.67.92.165]) by pimout3-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f281kJ2152114 for ; Wed, 7 Mar 2001 20:46:20 -0500 Received: from localhost (lists@localhost) by aglaja.swmed.edu (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f27Ep6M04097 for ; Wed, 7 Mar 2001 08:51:06 -0600 X-Authentication-Warning: aglaja.swmed.edu: lists owned process doing -bs Date: Wed, 7 Mar 2001 08:51:06 -0600 (CST) From: Indraneel Majumdar To: linux-india-programmers@lists.linux-india.org Subject: Re: itoa In-Reply-To: <016101c0a711$9d4c9ba0$6cf60b3d@rahul> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/52 X-Sequence-Number: 1772 use sprintf \Indraneel On Wed, 7 Mar 2001, Rahul Jindal wrote: > hi there > to my utter surprise, i found that gnu c++ does not have a itoa function > even when it has an atoi. -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 19:27:40 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.78.146]) by www.aunet.org (Postfix) with ESMTP id 383324A1D4 for ; Wed, 7 Mar 2001 19:27:33 -0800 (PST) Received: (from amarg@localhost) by alice.bombay.retortsoft.com (8.9.3/8.9.3) id IAA20019 for linux-india-programmers@lists.linux-india.org; Thu, 8 Mar 2001 08:51:09 +0530 Date: Thu, 8 Mar 2001 08:51:09 +0530 From: Amarendra GODBOLE To: linux-india-programmers@lists.linux-india.org Subject: Re: itoa Message-ID: <20010308085109.A19689@bombay.retortsoft.com> References: <016101c0a711$9d4c9ba0$6cf60b3d@rahul> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <016101c0a711$9d4c9ba0$6cf60b3d@rahul>; from rahulj@glide.net.in on Wed, Mar 07, 2001 at 07:45:12PM +0530 X-Quote: "If you don't try to succeed, nobody will try to stop you." X-Friends: Shailesh, Shantanu, Sameer, Prachi, Dinesh, Sujeet. X-Home: www.crosswinds.net/~amargod X-Organisation: Retort Software Pvt. Ltd., Mumbai. INDIA. X-Archive-Number: 200103/53 X-Sequence-Number: 1773 On Wed, Mar 07, 2001, the greycells of Rahul Jindal expressed: > hi there > to my utter surprise, i found that gnu c++ does not have a itoa function > even when it has an atoi. > > am i right, and is there a work around ? Write your own ! Pretty simple. ;) Cheers, -amar- -- Let Linux rule, but let it not be the dictator ! From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 19:45:42 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 962964A261 for ; Wed, 7 Mar 2001 19:45:27 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id JAA20948 for ; Thu, 8 Mar 2001 09:14:15 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id JAA32295 for ; Thu, 8 Mar 2001 09:00:54 +0530 Date: Thu, 8 Mar 2001 09:00:54 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: "'linux-india-programmers@lists.linux-india.org'" Subject: Re: How to build a new distribution In-Reply-To: <51E0CBE218C9D21188F400805F650E1FC541FA@exchange1.sset.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/54 X-Sequence-Number: 1774 On Wed, 7 Mar 2001, Nitin Kakkar wrote: > Can any body tell me how can i do this. Are there any tools available which > can help me in building a distribution? http://www.linuxfromscratch.org From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 19:53:45 2001 Received: from xyzsys.sci.tech (PPP-182-208.bng.vsnl.net.in [203.197.182.208]) by www.aunet.org (Postfix) with ESMTP id B801C4A38E for ; Wed, 7 Mar 2001 19:53:41 -0800 (PST) Received: from xyzsys ([127.0.0.1]) by xyzsys.sci.tech (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with SMTP id f283sZR01580; Thu, 8 Mar 2001 09:24:36 +0530 X-Authentication-Warning: xyzsys.sci.tech: Host [127.0.0.1] claimed to be xyzsys Date: Thu, 8 Mar 2001 08:55:55 +0530 From: Deepak Joglekar To: linux-india-programmers@lists.linux-india.org Cc: vani@accord-soft.com Subject: Re: winsock Message-Id: <20010308085555.130656cb.joglekar@eth.net> In-Reply-To: <007501c0a6c6$1f493240$bce5c7cb@default> References: <007501c0a6c6$1f493240$bce5c7cb@default> Reply-To: joglekar@eth.net X-Mailer: Sylpheed version 0.4.9 (GTK+ 1.2.8; Linux 2.2.16; i686) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/55 X-Sequence-Number: 1775 On Wed, 7 Mar 2001 10:48:05 +0530 "Lakshmi Gopinath" wrote: > hi Vani, > > I am using VC++ 6.0 for developing my project. wsock32.lib is already there > in the default path. but still i keep getting a link error. what could be > the problem. > > Regards, > lakshmi Why you are posting Windows questions here repeatedly. Change it to your personal mails. -- Deepak Joglekar joglekar@eth.net ---------------- @> /( )\ ^ ^ From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 20:24:44 2001 Received: from matrix.mediasolv.com (unknown [203.115.19.131]) by www.aunet.org (Postfix) with ESMTP id A24D54A505 for ; Wed, 7 Mar 2001 20:24:33 -0800 (PST) Received: from kugan ([192.168.1.51]) by matrix.mediasolv.com (8.11.1/8.11.1) with SMTP id f284GYU00645 for ; Thu, 8 Mar 2001 10:16:34 +0600 From: "V Kugan" To: Subject: Inline function Date: Thu, 8 Mar 2001 10:21:57 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Archive-Number: 200103/56 X-Sequence-Number: 1776 Hello everyone Can anyone please tell me the usage of inline functions in c. k&r wasnt of much use for this. If u can pls give me an example it would be of real help. Thanking you in advance. Kugan From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 21:18:36 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id C566E4A288 for ; Wed, 7 Mar 2001 21:18:28 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2856rK48502 for linux-india-programmers@lists.linux-india.org; Wed, 7 Mar 2001 21:06:53 -0800 (PST) (envelope-from adsharma) Date: Wed, 7 Mar 2001 21:06:53 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: How to build a new distribution Message-ID: <20010307210653.A48487@sharmas.dhs.org> References: <51E0CBE218C9D21188F400805F650E1FC541FA@exchange1.sset.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <51E0CBE218C9D21188F400805F650E1FC541FA@exchange1.sset.com>; from Nitin.Kakkar@sset.com on Wed, Mar 07, 2001 at 12:06:31PM -0800 X-Archive-Number: 200103/57 X-Sequence-Number: 1777 On Wed, Mar 07, 2001 at 12:06:31PM -0800, Nitin Kakkar wrote: > Hi > We have a linux port for our properatory hardware. The overall package > includes our kernel, device drivers and some utilities. I want to have a > customize distribution where we can boot our kernel from cd and installs > this distributionfrom a cd. Basically its like a special distribution of > Linux. > Can any body tell me how can i do this. Are there any tools available which > can help me in building a distribution? Pick your favorite distribution and recompile the packages for your architecture. For those packages where you have code changes, rebuild them with your changes. I know RPM allows you to do this. -Arun From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 22:02:34 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 292C549F04 for ; Wed, 7 Mar 2001 22:01:32 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id LAA02756; Thu, 8 Mar 2001 11:14:47 +0530 Date: Thu, 8 Mar 2001 11:14:47 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: Ambar Roy Cc: linux-india-programmers@lists.linux-india.org Subject: Re: prgram writting to some port In-Reply-To: <005201c0a6ed$c4764880$8900000a@aclindia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/58 X-Sequence-Number: 1778 dear friends thank for replies i have tried with socket programming ,when simply implementing client and server the client is reading the string send by server at port XYZ, but at the same time when i want to use netscape as client side using localhost:portno it says that connection is refused by the server what may be the reason ? regards shubh From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 22:12:32 2001 Received: from gda-server (unknown [202.88.153.15]) by www.aunet.org (Postfix) with ESMTP id 033B049EFE for ; Wed, 7 Mar 2001 22:12:28 -0800 (PST) Received: from [192.168.0.66] by gda-server (ArGoSoft Mail Server, Version 1.5 (1.5.0.8)); Thu, 8 Mar 2001 11:29:53 Message-ID: <004201c0a794$80cb9d40$4200a8c0@gdatr4> From: "Harishankkar" To: Cc: References: Subject: framebuffer Date: Thu, 8 Mar 2001 11:26:20 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200103/59 X-Sequence-Number: 1779 Hi all, Earlier in Redhat 6.1 when there was no support for SiS6326,framebuffer mode was there.A framebuffer is nothing but the video memory.But what is the difference between this and the normal driver mode where we have 6326 driver? Is the no. of bit per pixel is fixed in a frame buffer mode,for eg is it something like Standard VGA in windows?Please help.Or give me some links where I cn proceed from? Thanx, Harishankkar.S Harishankkar.S Member Tech Staff S.harishankkar@gdatech.co.in GDA Technologies www.gdatech.com From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 23:01:58 2001 Received: from stewart.spectranet.com (unknown [203.122.63.155]) by www.aunet.org (Postfix) with ESMTP id 976F24A00A for ; Wed, 7 Mar 2001 23:01:53 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by stewart.spectranet.com (Netscape Messaging Server 4.15) with SMTP id G9W33O00.L4I for ; Thu, 8 Mar 2001 12:26:12 -0500 Message-ID: <00c501c0a79c$c2353ea0$8900000a@aclindia.com> From: "Ambar Roy" To: References: <004201c0a794$80cb9d40$4200a8c0@gdatr4> Subject: Re: framebuffer Date: Thu, 8 Mar 2001 12:25:21 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 x-mimeole: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/60 X-Sequence-Number: 1780 > Earlier in Redhat 6.1 when there was no support for SiS6326,framebuffer mode > was there.A framebuffer is nothing but the video memory.But what is the > difference between this and the normal driver mode where we have 6326 > driver? basically the framebuffer mode under linux is a special service provided by the linux kernel! In the framebuffer mode, the linux kernel has the video drivers for the video card. This way you need to write just one x server which uses the framebuffer interface, and all the drivers can then be consolidated into the kernel. This has intresting uses other than x too. U can for example have a graphical boot up for linux (similar, but better than the windows boot screens!) while the kernel loads, etc! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 23:10:50 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.85.244]) by www.aunet.org (Postfix) with ESMTP id F0C574A17D for ; Wed, 7 Mar 2001 23:10:41 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id MAA30693 for ; Thu, 8 Mar 2001 12:34:07 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id MAA03149 for linux-india-programmers@lists.linux-india.org; Thu, 8 Mar 2001 12:43:57 +0530 Date: Thu, 8 Mar 2001 12:43:57 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: Inline function Message-ID: <20010308124357.A2543@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: ; from kugan@mediasolv.com on Thu, Mar 08, 2001 at 10:21:57AM -0000 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/61 X-Sequence-Number: 1781 V Kugan forced the electrons to say: > Can anyone please tell me the usage of inline functions in c. k&r wasnt of > much use for this. If u can pls give me an example it would be of real help. > Thanking you in advance. There are no inline functions in both ISO and K&R C. There is a GCC extension, whose docs are available by simply typing 'info gcc' at your prompt. But be warned that such non-standard extensions tend to be non-portable as well. Binand From linux-india-programmers-owner@lists.linux-india.org Wed Mar 7 23:19:06 2001 Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by www.aunet.org (Postfix) with ESMTP id 660944A3E1 for ; Wed, 7 Mar 2001 23:19:04 -0800 (PST) Received: from divyaroot.India.Sun.COM ([129.158.224.35]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id XAA26224 for ; Wed, 7 Mar 2001 23:12:33 -0800 (PST) Received: from india.sun.com (pramod [129.158.226.245]) by divyaroot.India.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with ESMTP id MAA06877 for ; Thu, 8 Mar 2001 12:42:32 +0530 (IST) Message-ID: <3AA7310F.3F6321D8@india.sun.com> Date: Thu, 08 Mar 2001 12:43:19 +0530 From: Isvaran Krishnamurthy Organization: Sun Microsystems X-Mailer: Mozilla 4.74 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Inline function References: <20010308124357.A2543@bombay.retortsoft.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/62 X-Sequence-Number: 1782 You are mistaken.... Later versions of the ISO & the ANSI C standard (i.e., C9x standards; especially the C99 standard) include the inline function as part of the language..... Check out the gcc homepage....gcc 3.0 is supposed to be completely compatible with the C99 standard "Binand Raj S." wrote: > V Kugan forced the electrons to say: > > Can anyone please tell me the usage of inline functions in c. k&r wasnt of > > much use for this. If u can pls give me an example it would be of real help. > > Thanking you in advance. > > There are no inline functions in both ISO and K&R C. There is a GCC extension, > whose docs are available by simply typing 'info gcc' at your prompt. But be > warned that such non-standard extensions tend to be non-portable as well. > > Binand > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 00:53:27 2001 Received: from gda-server (unknown [202.88.153.15]) by www.aunet.org (Postfix) with ESMTP id 86A8C4A2F0 for ; Thu, 8 Mar 2001 00:53:07 -0800 (PST) Received: from [192.168.0.66] by gda-server (ArGoSoft Mail Server, Version 1.5 (1.5.0.8)); Thu, 8 Mar 2001 14:11:09 Message-ID: <001901c0a7ab$09416220$4200a8c0@gdatr4> From: "Harishankkar" To: References: <004201c0a794$80cb9d40$4200a8c0@gdatr4> <00c501c0a79c$c2353ea0$8900000a@aclindia.com> Subject: Re: framebuffer Date: Thu, 8 Mar 2001 14:07:38 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 x-mimeole: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200103/63 X-Sequence-Number: 1783 Hi ambar, Thanx for the reply.What I am asking is that the frame buffer mode is like a Standard VGA,where u don't have the card specific driver but it will run on any card without the driver.Let's take a eg of a bitmap .We will assume the resolution to be 800x600.Now for each pixel there will be a entry in the video memory of tha value.If it's 8bpp then there will be 8 bits per pixel,if it is 16bpp then there will be 16 bits in the Video RAM.This is what decides the size of the Video RAM.Now the VGA contoller reads in the value accordinglty and adjusts the RGB value and puts it on the screen.It's the driver that writes it on the Video RAM the pixelvalues.In what way does this differ in the frame buffer mode? And how it does?fundamentally what does this frame buffer mean when compared to the above mentioned normal process. Thanx, Harishankkar.S ----- Original Message ----- From: Ambar Roy To: Sent: Thursday, March 08, 2001 12:25 PM Subject: Re: [LIP] framebuffer > > Earlier in Redhat 6.1 when there was no support for SiS6326,framebuffer > mode > > was there.A framebuffer is nothing but the video memory.But what is the > > difference between this and the normal driver mode where we have 6326 > > driver? > basically the framebuffer mode under linux is a special service provided by > the linux kernel! In the framebuffer mode, the linux kernel has the video > drivers for the video card. This way you need to write just one x server > which uses the framebuffer interface, and all the drivers can then be > consolidated into the kernel. This has intresting uses other than x too. U > can for example have a graphical boot up for linux (similar, but better than > the windows boot screens!) while the kernel loads, etc! > > Bye, > /\ |\/| |3 /\ r > > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 01:32:31 2001 Received: from cooper.spectranet.com (unknown [203.122.63.156]) by www.aunet.org (Postfix) with ESMTP id B5F3C4A2CA for ; Thu, 8 Mar 2001 01:32:27 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by cooper.spectranet.com (Netscape Messaging Server 4.15) with SMTP id G9WA2O00.S9N for ; Thu, 8 Mar 2001 14:56:48 -0500 Message-ID: <013f01c0a7b1$caf77980$8900000a@aclindia.com> From: "Ambar Roy" To: References: <004201c0a794$80cb9d40$4200a8c0@gdatr4> <00c501c0a79c$c2353ea0$8900000a@aclindia.com> <001901c0a7ab$09416220$4200a8c0@gdatr4> Subject: Re: framebuffer Date: Thu, 8 Mar 2001 14:56:01 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 x-mimeole: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/64 X-Sequence-Number: 1784 > Thanx for the reply.What I am asking is that the frame buffer mode is like > a Standard VGA,where u don't have the card specific driver but it will run > on > any card without the driver.Let's take a eg of a bitmap .We will assume the > resolution to be 800x600.Now for each pixel there will be a entry in the > video > memory of tha value.If it's 8bpp then there will be 8 bits per pixel,if it > is > 16bpp then there will be 16 bits in the Video RAM.This is what decides the > size > of the Video RAM.Now the VGA contoller reads in the value accordinglty and > adjusts the RGB value and puts it on the screen.It's the driver that writes > it on the > Video RAM the pixelvalues.In what way does this differ in the frame buffer > mode? > And how it does?fundamentally what does this frame buffer mean when compared > to > the above mentioned normal process. the basic concept of framebuffer under linux is slightly different. All the videocards out there have a framebuffer. This is accessed thru a video driver. The reason why you need the video driver is that firstly the video driver sets up this framebuffer for your app and once that is done, the video driver is also used to interface with the video chipset to provide acceleration! Things like mouse pointers, etc are normally handled by the hardware, for which u need the video driver. Anything that cannot be accelerated is output directly to the video card's frame buffer. Now under linux, say for running X u wud normally need a driver for your video card in the x server, which then sets up the video mode and the framebuffer. The twist that i guess is confusing u is that this feature can also be provided by the linux kernel. The linux kernel provides a framebuffer interface! When u do this the video drivers are not in the X server, but in the kernel. To run X using these kernel drivers, u run it in framebuffer mode! The whole thing might be a bit confusing at first, but basically here there are 2 framebuffers in question, the first one is the actual framebuffer provided by your video card hardware, which contains the actual data that u see on your monitor. The other framebuffer is the linux kernel's interface for this framebuffer! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 05:42:23 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.85.224]) by www.aunet.org (Postfix) with ESMTP id D681B4A143 for ; Thu, 8 Mar 2001 05:42:17 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id TAA13003 for ; Thu, 8 Mar 2001 19:05:02 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id TAA00660 for linux-india-programmers@lists.linux-india.org; Thu, 8 Mar 2001 19:14:45 +0530 Date: Thu, 8 Mar 2001 19:14:44 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: Inline function Message-ID: <20010308191444.A636@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20010308124357.A2543@bombay.retortsoft.com> <3AA7310F.3F6321D8@india.sun.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <3AA7310F.3F6321D8@india.sun.com>; from isvaran.krishnamurthy@india.sun.com on Thu, Mar 08, 2001 at 12:43:19PM +0530 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/65 X-Sequence-Number: 1785 Isvaran Krishnamurthy forced the electrons to say: > Later versions of the ISO & the ANSI C standard (i.e., C9x standards; especially > the C99 standard) include the inline function as part of the language..... I was talking about the prevalent standard, C89. AFAICT, there is no compiler which is C99 compliant completely. C99 has many new features, but I believe it is still in draft stage. Binand From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 09:39:12 2001 Received: from prodserver1.goatelecom.com (unknown [210.212.161.28]) by www.aunet.org (Postfix) with ESMTP id 969A14A14B for ; Thu, 8 Mar 2001 09:38:55 -0800 (PST) Received: by prodserver1.goatelecom.com (8.9.3/1.1.20.3/07Jul00-0916AM) id XAA0000010371; Thu, 8 Mar 2001 23:06:57 +0530 (IST) Date: Thu, 8 Mar 2001 23:06:57 +0530 (IST) From: Message-Id: <200103081736.XAA0000010371@prodserver1.goatelecom.com> X-Authentication-Warning: prodserver1.goatelecom.com: sharmad set sender to postmaster@goatelecom.com using -f To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: framebuffer References: <004201c0a794$80cb9d40$4200a8c0@gdatr4> <00c501c0a79c$c2353ea0$8900000a@aclindia.com> In-Reply-To: <00c501c0a79c$c2353ea0$8900000a@aclindia.com> Precedence: junk X-Loop: postmaster@goatelecom.com X-Archive-Number: 200103/66 X-Sequence-Number: 1786 Mail not delivered to sharmad@goatelecom.com. The mailbox of the user has exceeded the allotted limit. Try sending later. From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 20:37:50 2001 Received: from hotmail.com (oe71.law14.hotmail.com [64.4.20.206]) by www.aunet.org (Postfix) with ESMTP id C750D4A15F for ; Thu, 8 Mar 2001 20:37:46 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 8 Mar 2001 20:31:15 -0800 X-Originating-IP: [203.197.150.234] From: "Mohamed Ghouse" To: "LIP" Subject: File Structure of PDF Date: Fri, 9 Mar 2001 10:02:47 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: X-OriginalArrivalTime: 09 Mar 2001 04:31:15.0008 (UTC) FILETIME=[C6F42400:01C0A851] X-Archive-Number: 200103/67 X-Sequence-Number: 1787 Can any help me get the Structure of PDF. Thanks in Advance. From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 22:55:10 2001 Received: from gda-server (unknown [202.88.153.15]) by www.aunet.org (Postfix) with ESMTP id E51E34A4D7 for ; Thu, 8 Mar 2001 22:54:56 -0800 (PST) Received: from [192.168.0.66] by gda-server (ArGoSoft Mail Server, Version 1.5 (1.5.0.8)); Fri, 9 Mar 2001 12:12:12 Message-ID: <000901c0a863$971469e0$4200a8c0@gdatr4> From: "Harishankkar" To: Cc: References: <004201c0a794$80cb9d40$4200a8c0@gdatr4> <00c501c0a79c$c2353ea0$8900000a@aclindia.com> Subject: Re: framebuffer Date: Fri, 9 Mar 2001 12:08:43 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200103/68 X-Sequence-Number: 1788 Hi Ambar, Thanx again.Ya ur answer has raised some issues.Now let me verify whether my understanding of frame buffer is right.Every Video card has a frame buffer.A frame buffer is nothing but the video memory.Normally u require the driver for supporting some extra features of the card like hardware acceleration,etc.Now since we are bypassing this and writing directly to the video memory(Frame buffer)we cannot use any of the special features of the card.This gives us a normal VGA functionality.The frame buffer mode must be enabled at boot up so that Linux in real mode shifts to directly wriitng on to the VideoRAM,instead of going via a driver. Any good links abt how Linux writes on to the framebuffer ,etc. Thanx, Harishankkar ----- Original Message ----- From: Ambar Roy To: Sent: Thursday, March 08, 2001 12:25 PM Subject: Re: [LIP] framebuffer > > Earlier in Redhat 6.1 when there was no support for SiS6326,framebuffer > mode > > was there.A framebuffer is nothing but the video memory.But what is the > > difference between this and the normal driver mode where we have 6326 > > driver? > basically the framebuffer mode under linux is a special service provided by > the linux kernel! In the framebuffer mode, the linux kernel has the video > drivers for the video card. This way you need to write just one x server > which uses the framebuffer interface, and all the drivers can then be > consolidated into the kernel. This has intresting uses other than x too. U > can for example have a graphical boot up for linux (similar, but better than > the windows boot screens!) while the kernel loads, etc! > > Bye, > /\ |\/| |3 /\ r > > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 23:05:13 2001 Received: from po.nextset.com (unknown [63.107.219.39]) by www.aunet.org (Postfix) with ESMTP id E76954A3CD for ; Thu, 8 Mar 2001 23:05:11 -0800 (PST) Received: from nextset.com ([209.157.151.254]) by po.nextset.com (8.10.0/8.10.0) with ESMTP id f296lhK24212 for ; Thu, 8 Mar 2001 22:47:44 -0800 (PST) Message-ID: <3AA87E83.B18EEABB@nextset.com> Date: Fri, 09 Mar 2001 12:26:03 +0530 From: Anurag Shekhar X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "linux-india-programmers@lists.linux-india.org" Subject: why goto ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/69 X-Sequence-Number: 1789 i was going through the kernel modules and saw lots of goto (in fact this is the only place i have seen goto in any c code) And Alessandro Rubini (Linux Device Driver) also recommends using goto for error handling in kernel modules. Is there any specific advantage of using it ? thanks anurag From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 23:21:56 2001 Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210]) by www.aunet.org (Postfix) with ESMTP id 3542F49F02 for ; Thu, 8 Mar 2001 23:21:44 -0800 (PST) Received: from redsea.india.hp.com (redsea.india.hp.com [15.76.97.3]) by atlrel1.hp.com (Postfix) with ESMTP id F2DE14D1 for ; Fri, 9 Mar 2001 02:15:09 -0500 (EST) Received: from EB9656 (eb9656.india.hp.com [15.76.96.56]) by redsea.india.hp.com with SMTP (8.7.1/8.7.3 SMKit7.02) id MAA18523 for ; Fri, 9 Mar 2001 12:47:06 +0530 (IST) From: "Vikram K" To: Subject: RE: RHL 7.0 Kernel compile workaround Date: Fri, 9 Mar 2001 12:45:02 +0530 Message-ID: <000601c0a868$a9510be0$38604c0f@EB9656> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 In-Reply-To: <002201c0a398$bb8cd7a0$e508c8cb@intelceleron> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-Archive-Number: 200103/70 X-Sequence-Number: 1790 Hi, I have RH7.0 and Kernel 2.2.16. I have problems compiling the kernel with gcc 2.96. I tried the work around vivek has mentioned, but it doesn't seem to work. Here is the error message I got: make[1]: Entering directory `/usr/src/linux-2.2.16/arch/i386/lib' make all_targets make[2]: Entering directory `/usr/src/linux-2.2.16/arch/i386/lib' gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -D__SMP__ -traditio nal -c checksum.S -o checksum.o checksum.S:231: badly punctuated parameter list in #define checksum.S:237: badly punctuated parameter list in #define make[2]: *** [checksum.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/lib' make[1]: *** [first_rule] Error 2 make[1]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/lib' make: *** [_dir_arch/i386/lib] Error 2 I also keep getting the warning which says: " warning: pasting would not give a valid preprocessing token" in many places. The same kernel compiles under RH6.2, which has gcc 2.91. can anybody suggest a way out? TIA, Vikram -----Original Message----- From: linux-india-programmers-owner@lists.linux-india.org [mailto:linux-india-programmers-owner@lists.linux-india.org]On Behalf Of Vivek Singhal Sent: Saturday, March 03, 2001 9:46 AM To: linux-india-programmers@lists.linux-india.org Cc: linux-india-general@lists.linux-india.org Subject: [LIP] RHL 7.0 Kernel compile workaround RHL 7.0 kernel 2.2.16 had troubles compiling coz of some bug in kgcc ( gcc in general ), but recently it compiled with a small work around. My previous posting on the list did not have the exact work around. well here it is . Errors would occur while compiling ksyms.c complaining of usage of an undeclared variable which has actually been declared in one of the included files ( bug lies here ). ksyms.c includes a huge number of headers one of them is kernel_stat.h which in turn includes irq.h , smp.h and tasks.h . A variable ( actually a macro ) declared in smp.h called smp_num_cpus was not visible in kernel_stat.h which had actually included it in the first place. When I removed the include gaurd of smp.h .. include gaurd : #ifndef __LINUX_SMP_H #idefine __LINUX_SMP_H //..... ( lines of declarations ) it finally compiled. ( making what lies after it visible hence smp_num_cpus was visible ). This is when I made the posting on the list. Later I tried several things to find out the possible cause of this. Instead of deleting the include gaurd I changed it to .... #ifndef _LINUX_SMP_H #idefine _LINUX_SMP_H //..... ( lines of declarations ) ( notice that I have removed an underscore.. thats it ! ) and the kernel compiled !! So we have some possible causes of this anomoly : a > bug in kgcc ( as reported by redhat ) b > definition of __LINUX_SMP_H prior to smp.h c > some other bug No other included file in kernel_stat.h or even ksyms.c had defined __LINUX_SMP_H pror to smp.h ( as it should be ). So we are left with most probable cause ... bug in kgcc. But a bug can have a work around too so the code given above actually lets the kernel compile !! I have got a kernel small kernel now 300K . I have removed all loadable modules to keep my modules dir small amd whatever I need I have included in kernel itself. I did this coz there was some trouble compiling some of the modules ( probably same bug ). vivek --------------------------------------------- An alpha version of a web based tool to manage your subscription with this mailing list is at http://lists.linux-india.org/cgi-bin/mj_wwwusr From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 23:29:01 2001 Received: from blue.csa.iisc.ernet.in (blue.csa.iisc.ernet.in [144.16.67.191]) by www.aunet.org (Postfix) with ESMTP id 23A574A28B for ; Thu, 8 Mar 2001 23:28:57 -0800 (PST) Received: from localhost (alex@localhost) by blue.csa.iisc.ernet.in (8.9.3/8.9.3) with ESMTP id MAA17084 for ; Fri, 9 Mar 2001 12:58:49 +0530 Date: Fri, 9 Mar 2001 12:58:49 +0530 (IST) From: Alex M Alex To: "linux-india-programmers@lists.linux-india.org" Subject: printf vs printk In-Reply-To: <3AA87E83.B18EEABB@nextset.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/71 X-Sequence-Number: 1791 hi all, I was not able to understand the funda on printf vs printk(WHY???) These are some of the fundas came over me ( varargs actual available stack is only 4k+ stack manuplation is simpler ) Can anyone give me a correct funda on this?? regards alex ............................... Alex M Alex alex@hpc.serc.iisc.ernet.in http://hpc.serc.iisc.ernet.in/~alex From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 23:31:58 2001 Received: from mail.cse.iitk.ac.in (unknown [210.212.54.4]) by www.aunet.org (Postfix) with ESMTP id 40C434A28B for ; Thu, 8 Mar 2001 23:31:52 -0800 (PST) Received: from cseultra2.cse.iitk.ac.in (cseultra2 [172.31.16.2]) by mail.cse.iitk.ac.in (8.9.3/8.9.3) with ESMTP id MAA14178 for ; Fri, 9 Mar 2001 12:52:59 +0530 Received: from csemt72.cse.iitk.ac.in (IDENT:saugata@csemt72.cse.iitk.ac.in [172.31.17.72]) by cseultra2.cse.iitk.ac.in (8.10.1/8.10.1) with ESMTP id f297J4J22933 for ; Fri, 9 Mar 2001 12:49:04 +0530 (IST) Date: Fri, 9 Mar 2001 13:02:18 +0530 (IST) From: Saugata Das Purkayastha To: LIP Subject: jiffies Message-ID: Organization: Dept of Computer Science IIT Kanpur MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/72 X-Sequence-Number: 1792 Hi, Is jiffies anyway proportional to real time. What is initial value of jiffies. cheers, saugata From linux-india-programmers-owner@lists.linux-india.org Thu Mar 8 23:38:35 2001 Received: from blue.csa.iisc.ernet.in (blue.csa.iisc.ernet.in [144.16.67.191]) by www.aunet.org (Postfix) with ESMTP id 1A71A4A501 for ; Thu, 8 Mar 2001 23:38:29 -0800 (PST) Received: from localhost (alex@localhost) by blue.csa.iisc.ernet.in (8.9.3/8.9.3) with ESMTP id NAA17127 for ; Fri, 9 Mar 2001 13:08:21 +0530 Date: Fri, 9 Mar 2001 13:08:21 +0530 (IST) From: Alex M Alex To: "linux-india-programmers@lists.linux-india.org" Subject: Messages In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/73 X-Sequence-Number: 1793 hi all, IN KERNEL LEVEL WHy can't the messages be written other than console? Is it to simplify the design of kernel? In Kernel level which is faster ?? Writing to console OR writing to disk ?? WHY?? HOW? regards alex .................... Alex M Alex alex@hpc.serc.iisc.ernet.in http://hpc.serc.iisc.ernet.in/~alex From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 00:31:17 2001 Received: from pyr.uniflex.net (unknown [209.201.58.10]) by www.aunet.org (Postfix) with ESMTP id 1C44A4A55A for ; Fri, 9 Mar 2001 00:31:13 -0800 (PST) Received: from USNJ01EX01.mindtree.com (mtreedsl.uniflex.net [209.201.58.149]) by pyr.uniflex.net (8.9.3/8.9.3) with ESMTP id DAA20716 for ; Fri, 9 Mar 2001 03:25:46 -0500 Received: from hqbng01ex01.mindtree.com ([172.20.20.4]) by USNJ01EX01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Fri, 9 Mar 2001 03:24:43 -0500 Received: from mtv01ex01.mindtree.com ([172.20.32.4]) by hqbng01ex01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Fri, 9 Mar 2001 13:54:34 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: why goto ? Date: Fri, 9 Mar 2001 13:54:33 +0530 Message-ID: <2330401A6FE03445ADA682F5EBB7502D7AC697@mtv01ex01.mindtree.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [LIP] why goto ? Thread-Index: AcCoZm/vUDlY6OZdQWyapT3RjiH3VgAC9yyQ From: "Mayank Sharma" To: X-OriginalArrivalTime: 09 Mar 2001 08:24:34.0346 (UTC) FILETIME=[5F3598A0:01C0A872] X-Archive-Number: 200103/74 X-Sequence-Number: 1794 does'nt Rubini says why ?? he does..=20 > -----Original Message----- > From: Anurag Shekhar [mailto:anurag@NextSet.com] > Sent: Friday, March 09, 2001 12:26 PM > To: linux-india-programmers@lists.linux-india.org > Subject: [LIP] why goto ? >=20 >=20 > i was going through the kernel modules and saw lots of goto (in fact > this is the only place i have seen goto in any c code) And Alessandro > Rubini (Linux Device Driver) also recommends using goto for error > handling in kernel modules. Is there any specific advantage=20 > of using it > ? > thanks > anurag >=20 >=20 > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ >=20 From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 00:38:48 2001 Received: from pyr.uniflex.net (unknown [209.201.58.10]) by www.aunet.org (Postfix) with ESMTP id 4A74F4A1A2 for ; Fri, 9 Mar 2001 00:37:57 -0800 (PST) Received: from USNJ01EX01.mindtree.com (mtreedsl.uniflex.net [209.201.58.149]) by pyr.uniflex.net (8.9.3/8.9.3) with ESMTP id DAA40462 for ; Fri, 9 Mar 2001 03:32:31 -0500 Received: from hqbng01ex01.mindtree.com ([172.20.20.4]) by USNJ01EX01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Fri, 9 Mar 2001 03:31:28 -0500 Received: from HQBNG01EXFE01.mindtree.com ([172.20.20.23]) by hqbng01ex01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Fri, 9 Mar 2001 14:01:09 +0530 Received: from mtv01ex01.mindtree.com ([172.20.32.4]) by HQBNG01EXFE01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Fri, 9 Mar 2001 14:01:09 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Messages Date: Fri, 9 Mar 2001 14:01:09 +0530 Message-ID: <2330401A6FE03445ADA682F5EBB7502D7AC698@mtv01ex01.mindtree.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [LIP] Messages Thread-Index: AcCoaxS6J/3UVCaIS1KBBeCDXPNDggACA62Q From: "Mayank Sharma" To: X-OriginalArrivalTime: 09 Mar 2001 08:31:09.0606 (UTC) FILETIME=[4ACD7C60:01C0A873] X-Archive-Number: 200103/75 X-Sequence-Number: 1795 messages can be written on /var/log/messages if u set the proper priority in printk the messages will be printed only in /var/log/messages and not on console Mayank > -----Original Message----- > From: Alex M Alex [mailto:alex@blue.csa.iisc.ernet.in] > Sent: Friday, March 09, 2001 1:08 PM > To: linux-india-programmers@lists.linux-india.org > Subject: [LIP] Messages=20 >=20 >=20 > hi all,=20=20 > IN KERNEL LEVEL >=20 > WHy can't the messages be written other than console? > Is it to simplify the design of kernel? > In Kernel level which is faster ?? Writing to console OR > writing to disk ?? WHY?? HOW? > regards > alex > .................... >=20 > Alex M Alex > alex@hpc.serc.iisc.ernet.in > http://hpc.serc.iisc.ernet.in/~alex >=20 >=20 >=20=20=20=20=20=20=20 >=20=20=20=20=20=20=20=20=20=20=20=20=20=20 >=20 >=20=20=20=20 >=20 >=20 > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. >=20 From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 01:13:57 2001 Received: from gda-server (unknown [202.88.153.15]) by www.aunet.org (Postfix) with ESMTP id 7DBB14A429 for ; Fri, 9 Mar 2001 01:13:53 -0800 (PST) Received: from [192.168.0.66] by gda-server (ArGoSoft Mail Server, Version 1.5 (1.5.0.8)); Fri, 9 Mar 2001 14:32:20 Message-ID: <002c01c0a877$2bd926c0$4200a8c0@gdatr4> From: "Harishankkar" To: Cc: References: <3AA87E83.B18EEABB@nextset.com> Subject: Re: why goto ? Date: Fri, 9 Mar 2001 14:28:53 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200103/76 X-Sequence-Number: 1796 Hi Anurag, Goto is mainly used in functions where having multiple return points is not possible.What I mean that u simply cannot afford to have 2 return statements in the same function.If the function needs to dom some cleanup before it exits -for eg,to release a resource it is holding -in the best cas it will contain duplicated code. U will find when u handle exceptions in C. Let's say u have a piece f code void test() { lock();//this will prevent any body from using a particular rsource . funA(status); EXCEPA(status); funB(status); EXCEPB(status); EXIT: unlock(); } Now consider the above program,The macros excepA(status) and excepB(status) are exception handler's.Now when on calling function A suppose it returns an exception.Now EXCEPA(status) should write the error code to some file and then execute the statement goto EXIT; It cannot just return to the parent function without giving back all the resources .If it had done like that then that resource which funA used would never be used again!.So each function must have a single exit point.For more info read the C/C++ user's journal Feb 2001 edition. Thanx, Harishankkar ----- Original Message ----- From: Anurag Shekhar To: Sent: Friday, March 09, 2001 12:26 PM Subject: [LIP] why goto ? > i was going through the kernel modules and saw lots of goto (in fact > this is the only place i have seen goto in any c code) And Alessandro > Rubini (Linux Device Driver) also recommends using goto for error > handling in kernel modules. Is there any specific advantage of using it > ? > thanks > anurag > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ > From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 02:30:17 2001 Received: from cooper.spectranet.com (unknown [203.122.63.156]) by www.aunet.org (Postfix) with ESMTP id 145CC4A42A for ; Fri, 9 Mar 2001 02:30:10 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by cooper.spectranet.com (Netscape Messaging Server 4.15) with SMTP id G9Y7EN00.25D for ; Fri, 9 Mar 2001 15:54:23 -0500 Message-ID: <028801c0a882$ff5095a0$8900000a@aclindia.com> From: "Ambar Roy" To: References: <004201c0a794$80cb9d40$4200a8c0@gdatr4> <00c501c0a79c$c2353ea0$8900000a@aclindia.com> <000901c0a863$971469e0$4200a8c0@gdatr4> Subject: Re: framebuffer Date: Fri, 9 Mar 2001 15:53:33 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 x-mimeole: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/77 X-Sequence-Number: 1797 > Thanx again.Ya ur answer has raised some issues.Now let me verify whether my > understanding of frame buffer is right.Every Video card has a frame buffer.A > frame buffer is nothing but the video memory.Normally u require the driver > for supporting some extra features > of the card like hardware acceleration,etc.Now since we are bypassing this > and writing directly to the video memory(Frame buffer)we cannot use any of > the special features of the card.This gives us a normal VGA functionality. >The frame buffer mode must be enabled at boot up so that Linux in real mode > shifts to directly wriitng on to the VideoRAM,instead of going via a driver. > Any good links abt how Linux writes on to the framebuffer ,etc. There is one ambiguity here.. when u r using a driver for your card inside the x server, then the driver is responsible for setting up the framebuffer and video modes and to write to this framebuffer (if required)! When u use the kernel framebuffer mode, u effectively move this video driver from the x server to the kernel. The framebuffer interface provided by the kernel is thus something like a universal video driver interface! I don't know the exact details of the linux kernel framebuffer interface and how it is used with x servers. The main thing is (again i say this!!!) the framebuffer from the kernel is just a name for a interface to the video drivers inside the linux kernel(which might just give u a framebuffer to write to, though frankly, i don't know abt that!) To know more abt the kernel framebuffer i guess u cud read the docs in yr /usr/src/linux/Documentation/fb! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 03:35:26 2001 Received: from blue.csa.iisc.ernet.in (blue.csa.iisc.ernet.in [144.16.67.191]) by www.aunet.org (Postfix) with ESMTP id 7B6994A6D1 for ; Fri, 9 Mar 2001 03:28:42 -0800 (PST) Received: from localhost (alex@localhost) by blue.csa.iisc.ernet.in (8.9.3/8.9.3) with ESMTP id QAA17452 for ; Fri, 9 Mar 2001 16:58:35 +0530 Date: Fri, 9 Mar 2001 16:58:35 +0530 (IST) From: Alex M Alex To: linux-india-programmers@lists.linux-india.org Subject: RE: Messages In-Reply-To: <2330401A6FE03445ADA682F5EBB7502D7AC698@mtv01ex01.mindtree.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/78 X-Sequence-Number: 1798 hi all, i see that the printk logged to/var/log/messages gets updated faster. ie, faster than when it gets printed on to console. is there any 'flow ctrl' in-built in tty driver? if so, can printk 'block' when writing to console in a debugging session? will it change subtle 'timing' aspects of system under scrutiny? alex On Fri, 9 Mar 2001, Mayank Sharma wrote: > messages can be written on /var/log/messages if u set the proper priority in > printk the messages will be printed only in /var/log/messages and not on > console > > Mayank > > > -----Original Message----- > > From: Alex M Alex [mailto:alex@blue.csa.iisc.ernet.in] > > Sent: Friday, March 09, 2001 1:08 PM > > To: linux-india-programmers@lists.linux-india.org > > Subject: [LIP] Messages > > > > > > hi all, > > IN KERNEL LEVEL > > > > WHy can't the messages be written other than console? > > Is it to simplify the design of kernel? > > In Kernel level which is faster ?? Writing to console OR > > writing to disk ?? WHY?? HOW? > > regards > > alex > > .................... > > > > Alex M Alex > > alex@hpc.serc.iisc.ernet.in > > http://hpc.serc.iisc.ernet.in/~alex > > > > > > > > > > > > > > > > > > --------------------------------------------- > > LIP is all for free speech. But it was created > > for a purpose. Violations of the rules of > > this list will result in stern action. > > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers > From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 04:38:19 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 0016B4A268 for ; Fri, 9 Mar 2001 04:38:15 -0800 (PST) Received: from Basel (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with SMTP id f29CbTl26833 for ; Fri, 9 Mar 2001 18:07:29 +0530 Message-ID: <00c201c0a895$20a82da0$bc02a8c0@intranet.pspl.co.in> From: "Shridhar Daithankar" To: "LIP" Subject: IPC Question Date: Fri, 9 Mar 2001 18:03:21 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/79 X-Sequence-Number: 1799 Hi all I need to have an one to one IPC channel between threads of two different process on per thread basis. There are going to be huge number of threads and I want the IPC channels to be volatile i.e. created on demand types.... Any suggestions? Particularly how can I make pipes/socket created with one process visible to an unrelated process.... Shridhar From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 04:38:48 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 1E63A4A615 for ; Fri, 9 Mar 2001 04:38:39 -0800 (PST) Received: from rahul ([61.11.246.85]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f29Cb7Q09591 for ; Fri, 9 Mar 2001 18:07:08 +0530 Message-ID: <03f801c0a894$bc48fce0$1c7483ca@rahul> From: "Rahul Jindal" To: References: Subject: Re: jiffies Date: Fri, 9 Mar 2001 17:36:34 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/80 X-Sequence-Number: 1800 I know i'm stupid but what after all is jiffies (hope i got at least the spelling right ;-) ) ? r /\ |-| |_| |_ ================== First, they ignore you. Then they laugh at you. Then they fight you. Then you win -- MG ================== The Northern Linux lug-northindia@yahoogroups.com ----- Original Message ----- From: "Saugata Das Purkayastha" To: "LIP" Sent: Friday, March 09, 2001 1:02 PM Subject: [LIP] jiffies > Hi, > Is jiffies anyway proportional to real time. What is initial value of > jiffies. > > cheers, > saugata > > > --------------------------------------------- > An alpha version of a web based tool to manage > your subscription with this mailing list is at > http://lists.linux-india.org/cgi-bin/mj_wwwusr > From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 04:39:04 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 260F24A56B for ; Fri, 9 Mar 2001 04:38:38 -0800 (PST) Received: from rahul ([61.11.246.85]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f29Cb7Q09585 for ; Fri, 9 Mar 2001 18:07:07 +0530 Message-ID: <03f701c0a894$bbc2b5e0$1c7483ca@rahul> From: "Rahul Jindal" To: References: <000601c0a868$a9510be0$38604c0f@EB9656> Subject: Re: RHL 7.0 Kernel compile workaround Date: Fri, 9 Mar 2001 17:35:20 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/81 X-Sequence-Number: 1801 i've heard that gcc in Red hat 7.0 is broken. use kgcc to compile the kernel. r /\ |-| |_| |_ ================== First, they ignore you. Then they laugh at you. Then they fight you. Then you win -- MG ================== The Northern Linux lug-northindia@yahoogroups.com From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 04:55:37 2001 Received: from epic7.Stanford.EDU (epic7.Stanford.EDU [171.64.15.40]) by www.aunet.org (Postfix) with ESMTP id 32B2D4A246 for ; Fri, 9 Mar 2001 04:55:04 -0800 (PST) Received: (from vvikram@localhost) by epic7.Stanford.EDU (8.11.1/8.11.1) id f29ClpL16806; Fri, 9 Mar 2001 04:47:51 -0800 (PST) Date: Fri, 9 Mar 2001 04:47:51 -0800 (PST) From: "V.Vikram" To: Cc: Subject: Re: Bootcode In-Reply-To: <006d01c0a881$e9861520$4200a8c0@gdatr4> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/82 X-Sequence-Number: 1802 hello! about the kernel bootsect.S code : 1. check tigran's linux kernel-2.4 internals at: http://www.moses.uklinux.net/patches/lki.html 2. your specific question i think is about the movb $36.... this is to allow multi-sector reads instead of `slower` single sector reads. 36 i think refers to max. sector count. 3. i have pasted below the relevant lines from the doc for reference which makes it clear. your specific query might be line no 101. Vikram ---- Lines 77-103 patch the disk parameter table for the first disk to allow multi-sector reads: ______________________________________________________________ 77 # Many BIOS's default disk parameter tables will not recognise 78 # multi-sector reads beyond the maximum sector number specified 79 # in the default diskette parameter tables - this may mean 7 80 # sectors in some cases. 81 # 82 # Since single sector reads are slow and out of the question, 83 # we must take care of this by creating new parameter tables 84 # (for the first disk) in RAM. We will set the maximum sector 85 # count to 36 - the most we will encounter on an ED 2.88. 86 # 87 # High doesn't hurt. Low does. 88 # 89 # Segments are as follows: ds = es = ss = cs - INITSEG, fs = 0, 90 # and gs is unused. 91 movw %cx, %fs # set fs to 0 92 movw $0x78, %bx # fs:bx is parameter table address 93 pushw %ds 94 ldsw %fs:(%bx), %si # ds:si is source 95 movb $6, %cl # copy 12 bytes 96 pushw %di # di = 0x4000-12. 97 rep # don't need cld -> done on line 66 98 movsw 99 popw %di 100 popw %ds 101 movb $36, 0x4(%di) # patch sector count 102 movw %di, %fs:(%bx) 103 movw %es, %fs:2(%bx) ---- From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 04:57:10 2001 Received: from mail.cse.iitk.ac.in (unknown [210.212.54.4]) by www.aunet.org (Postfix) with ESMTP id 8FEEE49F62 for ; Fri, 9 Mar 2001 04:56:58 -0800 (PST) Received: from cseultra2.cse.iitk.ac.in (cseultra2 [172.31.16.2]) by mail.cse.iitk.ac.in (8.9.3/8.9.3) with ESMTP id SAA16904 for ; Fri, 9 Mar 2001 18:18:06 +0530 Received: from csews56.cse.iitk.ac.in (IDENT:saugata@csews56.cse.iitk.ac.in [172.31.18.56]) by cseultra2.cse.iitk.ac.in (8.10.1/8.10.1) with ESMTP id f29CiAJ21034 for ; Fri, 9 Mar 2001 18:14:10 +0530 (IST) Date: Fri, 9 Mar 2001 18:18:16 +0530 (IST) From: Saugata Das Purkayastha To: linux-india-programmers@lists.linux-india.org Subject: Re: jiffies In-Reply-To: <03f801c0a894$bc48fce0$1c7483ca@rahul> Message-ID: Organization: Dept of Computer Science IIT Kanpur MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/83 X-Sequence-Number: 1803 Well, I should have mentioned, I was referring kernel source code. "jiffies" is a global timer variable, which is incremented on each timer interrupt. And I have also got my answer. Its initialized to 0 (ref. kernel/sched.c). Thanks, saugata From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 08:50:05 2001 Received: from eth.net (unknown [202.9.145.10]) by www.aunet.org (Postfix) with ESMTP id 2D02749EFB for ; Fri, 9 Mar 2001 08:50:01 -0800 (PST) Received: from [202.9.150.173] ([202.9.150.173]) by eth.net with Microsoft SMTPSVC(5.5.1877.537.53); Fri, 9 Mar 2001 22:05:43 +0530 From: Ashwin Subject: Re:linux-india-help digest V1 #115 To: linux-india-programmers@lists.linux-india.org Date: Fri, 9 Mar 2001 21:03:12 +0530 Lines: 14 Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Mailer: Kaufman Mail Warrior 3.61 Final X-Archive-Number: 200103/84 X-Sequence-Number: 1804 On 3/8/01 1:40:17 AM, "Lakshmi Gopinath" wrote : >hi Vani, > >I am using VC++ 6.0 for developing my project. wsock32.lib is already there >in the default path. but still i keep getting a link error. what could be >the problem. > >Regards, >lakshmi Not on a Linux list please - ashwin From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 09:07:40 2001 Received: from mailweb6.rediffmail.com (unknown [202.54.124.151]) by www.aunet.org (Postfix) with SMTP id 2AAB84A30F for ; Fri, 9 Mar 2001 09:07:36 -0800 (PST) Received: (qmail 8688 invoked by uid 510); 9 Mar 2001 16:20:36 -0000 Date: 9 Mar 2001 16:20:36 -0000 Message-ID: <20010309162036.8687.qmail@mailweb6.rediffmail.com> Received: from unknown (210.214.6.69) by rediffmail.com via HTTP; 09 Mar 2001 16:20:36 -0000 MIME-Version: 1.0 To: LIP Subject: File creation time From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/85 X-Sequence-Number: 1805 Hi! In Linux, how do I find if a file was *created* in the last 'n' minutes or seconds? Or, is there a way to find the time of creation of a file? Thanks. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 10:48:43 2001 Received: from mailweb30.rediffmail.com (unknown [203.199.83.150]) by www.aunet.org (Postfix) with SMTP id 7F9784A090 for ; Fri, 9 Mar 2001 10:48:40 -0800 (PST) Received: (qmail 26815 invoked by uid 510); 9 Mar 2001 18:32:44 -0000 Date: 9 Mar 2001 18:32:44 -0000 Message-ID: <20010309183244.26814.qmail@mailweb30.rediffmail.com> Received: from unknown (210.214.5.11) by rediffmail.com via HTTP; 09 Mar 2001 18:32:44 -0000 MIME-Version: 1.0 To: LIP Subject: Re: File path From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/86 X-Sequence-Number: 1806 Hi! I have found that the 'find' command (mmin option) can be used to figure out when a file with a given name (but path unknown) was last modified. Since I search the entire file system for this file name, it takes a long time. Can you suggest some improvement? Is there any other way to know which file an X application is using? (Speed is an important consideration as I am writing a monitoring software). Thanks in advance. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 11:09:08 2001 Received: from mailweb29.rediffmail.com (unknown [203.199.83.149]) by www.aunet.org (Postfix) with SMTP id E68684A11E for ; Fri, 9 Mar 2001 11:09:02 -0800 (PST) Received: (qmail 30723 invoked by uid 510); 9 Mar 2001 18:34:02 -0000 Date: 9 Mar 2001 18:34:02 -0000 Message-ID: <20010309183402.30722.qmail@mailweb29.rediffmail.com> Received: from unknown (210.214.5.11) by rediffmail.com via HTTP; 09 Mar 2001 18:34:02 -0000 MIME-Version: 1.0 To: LIP Subject: Re: jiffies From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/87 X-Sequence-Number: 1807 Hi! Here is an excerpt from some literature I have. Linux has a very simple view of what time it is; it measures time in clock ticks since the system booted. All system times are based on this measurement, which is known as jiffies after the globally available variable of the same name. ( - Does this mean jiffies is initialised to 0?) Times and Timers: The kernel keeps track of a processes creation time as well as the CPU time that it consumes during its lifetime. Each clock tick, the kernel updates the amount of time in jiffies that the current process has spent in system and in user mode. Linux also supports process specific interval timers, processes can use system calls to set up timers to send signals to themselves when the timers expire. These timers can be single-shot or periodic timers. Hope you find it useful. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 12:17:38 2001 Received: from falcon.prod.itd.earthlink.net (falcon.prod.itd.earthlink.net [207.217.120.74]) by www.aunet.org (Postfix) with ESMTP id B35124A102 for ; Fri, 9 Mar 2001 12:17:35 -0800 (PST) Received: from DAVID-TP.belzabar.com (dialup-209.246.100.79.NewYork1.Level3.net [209.246.100.79]) by falcon.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id MAA06707 for ; Fri, 9 Mar 2001 12:10:58 -0800 (PST) Message-Id: <5.0.0.25.0.20010309150834.02be8848@pop3.idt.net> X-Sender: dbodnick@mail.earthlink.net X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Fri, 09 Mar 2001 15:11:24 -0500 To: linux-india-programmers@lists.linux-india.org From: David Bodnick Subject: Seeking a Linux or Unix programming guru for CTO position Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200103/88 X-Sequence-Number: 1808 We've had a tough time finding someone with the right credentials to be our Chief Technology Officer in India, so I'm hoping that someone on this list would either be qualified for this position or know someone who is. It is a fantastic opportunity for the right candidate, with a great base salary and enormous upside potential. Our company, Belzabar Software Development LLC, is an innovative New York-based startup that will be opening an office in India in one of the high-tech cities. We are working on a number of interesting Internet and non-Internet software development projects that are both server-based and client-based. We love Linux for server-side and database-backed apps, and usually create client-based front ends for Windows. Although we are developing server- and client- based applications and not OS software, we are looking for someone who is knowledgeable and comfortable with systems-level programming (IPC, networking, etc via C/Unix) as well as application-level programming in C++. Database experience would be nice too. The reason is that high volume systems can benefit from a real performance advantage when the capabilities of the O/S are leveraged. We want candidates for the CTO position to have experience managing software projects and motivating developers, although we will also be hiring developers who do not need to have management experience. (The developer positions are also very well paid and offer great upside potential, and can be applied for online.) If you have the qualifications for this position or know someone who has, or if you have ideas for where we should look to find candidates with these qualifications, please send a letter or CV to us at CTO@belzabar.com. We will maintain complete confidentiality. Thanks and very best regards. Sincerely, David Bodnick From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 18:21:35 2001 Received: from alice.bombay.retortsoft.com (unknown [203.197.41.118]) by www.aunet.org (Postfix) with ESMTP id 6C6EF4A2EE for ; Fri, 9 Mar 2001 18:21:30 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id HAA04886 for ; Sat, 10 Mar 2001 07:14:10 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id HAA00666 for linux-india-programmers@lists.linux-india.org; Sat, 10 Mar 2001 07:23:51 +0530 Date: Sat, 10 Mar 2001 07:23:51 +0530 From: "Binand Raj S." To: LIP Subject: Re: File creation time Message-ID: <20010310072351.A652@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: LIP References: <20010309162036.8687.qmail@mailweb6.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <20010309162036.8687.qmail@mailweb6.rediffmail.com>; from karthika212@rediffmail.com on Fri, Mar 09, 2001 at 04:20:36PM -0000 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/89 X-Sequence-Number: 1809 Karthika Sivaramakrishnan forced the electrons to say: > In Linux, how do I find if a file was *created* in the last 'n' minutes or > seconds? Or, is there a way to find the time of creation of a file? Not that I know of. Linux, or for that matter, any Unix variant, does not store file creation time at all. Binand From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 19:33:57 2001 Received: from bluesky.imeme.net (imeme.net [216.17.170.123]) by www.aunet.org (Postfix) with ESMTP id 5A76B4A187 for ; Fri, 9 Mar 2001 19:33:55 -0800 (PST) Received: from (jace.pobox.com) [210.212.160.69] by bluesky.imeme.net with esmtp (Exim 3.12 #1 (Debian)) id 14ba2H-0005Sp-00; Fri, 09 Mar 2001 20:27:18 -0700 X-Pgp-Dsskey: 0x735BC875 X-Pgp-Rsakey: 0xF85BA8E9 Message-Id: <5.0.2.1.0.20010310085120.00a5ac38@wheresmymailserver.com> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sat, 10 Mar 2001 08:52:11 +0530 To: linux-india-programmers@lists.linux-india.org From: Kiran Jonnalagadda Subject: Re: Re: File path In-Reply-To: <20010309183244.26814.qmail@mailweb30.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200103/90 X-Sequence-Number: 1810 At 06:32 PM 3/9/2001 +0000, you wrote: >Hi! >I have found that the 'find' command (mmin option) can be used to figure >out when a file with a given name (but path unknown) was last modified. >Since I search the entire file system for this file name, it takes a long >time. Can you suggest some improvement? Is there any other way to know >which file an X application is using? (Speed is an important consideration >as I am writing a monitoring software). man lsof Install if necessary. -- Kiran Jonnalagadda http://www.pobox.com/~jace From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 22:42:15 2001 Received: from trinetra.ncb.ernet.in (unknown [202.141.136.157]) by www.aunet.org (Postfix) with ESMTP id E774C4A11C for ; Fri, 9 Mar 2001 22:42:09 -0800 (PST) Received: from gdrd05 ([172.16.1.105]) by trinetra.ncb.ernet.in (8.9.3/8.8.7) with SMTP id MAA06585 for ; Sat, 10 Mar 2001 12:09:29 +0530 Message-ID: <004d01c0a92c$fb200a10$690110ac@ncb.ernet.in> From: "Ajey Y Gore" To: References: Subject: mounting DVD Date: Sat, 10 Mar 2001 12:10:21 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/91 X-Sequence-Number: 1811 hi, I mounted DVD using CDFS files system but now in directory listing it shows ";" after every file name any solution TIA -ajey From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 22:44:44 2001 Received: from cello.cs.iitm.ernet.in (cello.cs.iitm.ernet.in [202.141.24.3]) by www.aunet.org (Postfix) with ESMTP id 770004A11A for ; Fri, 9 Mar 2001 22:44:40 -0800 (PST) Received: from eagle.iitm.ernet.in (IDENT:root@eagle.iitm.ernet.in [144.16.241.142]) by cello.cs.iitm.ernet.in (8.11.0/8.11.0) with ESMTP id f2A6oTQ02249 for ; Sat, 10 Mar 2001 12:20:30 +0530 Received: from localhost (vinod@localhost) by eagle.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id NAA09518 for ; Sat, 10 Mar 2001 13:56:56 +0530 Date: Sat, 10 Mar 2001 13:56:56 +0530 (IST) From: Vinod Pathangay To: linux-india-programmers@lists.linux-india.org Subject: Re: jiffies In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/92 X-Sequence-Number: 1812 just to get some facts... the timer var is updated by the timer interrupt, ok 1. how diff is the BIOS clock compared to this timer var in terms of updation? 2. i think the timer var update has a high priority. In case of a long disk i/o wont this lose a tick?? vinod... On Fri, 9 Mar 2001, Saugata Das Purkayastha wrote: > Well, I should have mentioned, I was referring kernel source > code. "jiffies" is a global timer variable, which is incremented on each > timer interrupt. And I have also got my answer. Its initialized to 0 > (ref. kernel/sched.c). > > Thanks, > saugata > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ > -- From linux-india-programmers-owner@lists.linux-india.org Fri Mar 9 23:40:55 2001 Received: from xyzsys.sci.tech (unknown [202.142.70.5]) by www.aunet.org (Postfix) with ESMTP id 3A40C4A15A for ; Fri, 9 Mar 2001 23:40:50 -0800 (PST) Received: from xyzsys ([127.0.0.1]) by xyzsys.sci.tech (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with SMTP id f2A7feX01469 for ; Sat, 10 Mar 2001 13:11:40 +0530 X-Authentication-Warning: xyzsys.sci.tech: Host [127.0.0.1] claimed to be xyzsys Date: Sat, 10 Mar 2001 13:11:40 +0530 From: Deepak Joglekar To: linux-india-programmers@lists.linux-india.org Subject: Re: mounting DVD Message-Id: <20010310131140.44b79d11.joglekar@eth.net> In-Reply-To: <004d01c0a92c$fb200a10$690110ac@ncb.ernet.in> References: <004d01c0a92c$fb200a10$690110ac@ncb.ernet.in> Reply-To: joglekar@eth.net X-Mailer: Sylpheed version 0.4.9 (GTK+ 1.2.8; Linux 2.2.16; i686) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/93 X-Sequence-Number: 1813 On Sat, 10 Mar 2001 12:10:21 +0530 "Ajey Y Gore" wrote: > hi, > I mounted DVD using CDFS files system but now in directory listing it shows > ";" after every file name > I you are using data DVD then mount as iso9660 file system. It works with SuSE 7.0 DVD. -- Deepak Joglekar joglekar@eth.net ---------------- @> /( )\ ^ ^ From linux-india-programmers-owner@lists.linux-india.org Sat Mar 10 03:55:08 2001 Received: from prodserver1.goatelecom.com (unknown [210.212.161.28]) by www.aunet.org (Postfix) with ESMTP id 4E2B64A0E8 for ; Sat, 10 Mar 2001 03:54:59 -0800 (PST) Received: from localhost.localdomain by prodserver1.goatelecom.com (8.9.3/1.1.20.3/07Jul00-0916AM) id RAA0000001292; Sat, 10 Mar 2001 17:22:53 +0530 (IST) Received: (from gaurav@localhost) by localhost.localdomain (8.9.3/8.9.3) id QAA01435 for linux-india-programmers@lists.linux-india.org; Sat, 10 Mar 2001 16:53:28 +0530 X-Authentication-Warning: localhost.localdomain: gaurav set sender to gauravp@im.eth.net using -f Date: Sat, 10 Mar 2001 16:53:27 +0530 From: Gaurav Priyolkar To: LIP Subject: Re: IPC Question Message-ID: <20010310165327.A1373@goatelecom.com> Mail-Followup-To: LIP References: <00c201c0a895$20a82da0$bc02a8c0@intranet.pspl.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00c201c0a895$20a82da0$bc02a8c0@intranet.pspl.co.in>; from shridhar_daithankar@pspl.co.in on Fri, Mar 09, 2001 at 06:03:21PM +0530 X-Archive-Number: 200103/94 X-Sequence-Number: 1814 On Fri, Mar 09, 2001 at 06:03:21PM +0530, Shridhar Daithankar wrote: > I need to have an one to one IPC channel between threads of two different > process on per thread basis. There are going to be huge number of threads > and I want the IPC channels to be volatile i.e. created on demand types.... > > Any suggestions? Particularly how can I make pipes/socket created with one > process visible to an unrelated process.... You could use fifo's (named pipes), or far better, message queues. -Gaurav -- Ultimate file compression: 'rm -rf /' (100% compression) From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 02:28:34 2001 Received: from mailweb10.rediffmail.com (unknown [203.199.83.22]) by www.aunet.org (Postfix) with SMTP id 9133A4A106 for ; Sun, 11 Mar 2001 02:28:31 -0800 (PST) Received: (qmail 15318 invoked by uid 510); 11 Mar 2001 05:09:32 -0000 Date: 11 Mar 2001 05:09:32 -0000 Message-ID: <20010311050932.15316.qmail@mailweb10.rediffmail.com> Received: from unknown (210.214.6.6) by rediffmail.com via HTTP; 11 Mar 2001 05:09:32 -0000 MIME-Version: 1.0 To: LIP Subject: Re: File creation time From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/95 X-Sequence-Number: 1815 >Linux, or for that matter, any Unix variant, does not >store file creation time at all. Then, is there any way to intercept the file creation command dynamically (during a given period of time) in Linux? Something like the ROM-BIOS / DOS services to create directories, etc., available in DOS? Is it possible to write a TSR to capture the file creation command in Linux? If so, how? Waiting for a reply, - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 03:09:03 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.85.243]) by www.aunet.org (Postfix) with ESMTP id A86DD4A071 for ; Sun, 11 Mar 2001 03:08:56 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id QAA15462 for ; Sun, 11 Mar 2001 16:29:31 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id QAA10362 for linux-india-programmers@lists.linux-india.org; Sun, 11 Mar 2001 16:39:15 +0530 Date: Sun, 11 Mar 2001 16:39:15 +0530 From: "Binand Raj S." To: LIP Subject: Re: Re: File creation time Message-ID: <20010311163915.A697@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: LIP References: <20010311050932.15316.qmail@mailweb10.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <20010311050932.15316.qmail@mailweb10.rediffmail.com>; from karthika212@rediffmail.com on Sun, Mar 11, 2001 at 05:09:32AM -0000 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/96 X-Sequence-Number: 1816 Karthika Sivaramakrishnan forced the electrons to say: > Is it possible to write a TSR to capture the file creation command in Linux? > If so, how? Linux creates various types of file system entries, all by different system calls. It may not be possible to monitor all these syscalls. And I have absolutely no idea what a TSR is. I am sure there is a better way to achieve what you want to do. If you tell us what it is, we can probably suggest a viable alternative. Binand From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 04:18:50 2001 Received: from gda-server (unknown [202.88.153.15]) by www.aunet.org (Postfix) with ESMTP id 3C2874A292 for ; Sun, 11 Mar 2001 04:18:43 -0800 (PST) Received: from [192.168.0.66] by gda-server (ArGoSoft Mail Server, Version 1.5 (1.5.0.8)); Sun, 11 Mar 2001 17:36:39 Message-ID: <001101c0aa23$45681440$4200a8c0@gdatr4> From: "Harishankkar" To: References: <20010311050932.15316.qmail@mailweb10.rediffmail.com> <20010311163915.A697@bombay.retortsoft.com> Subject: Re: Re: File creation time Date: Sun, 11 Mar 2001 17:33:21 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200103/97 X-Sequence-Number: 1817 Hi, A TSR is a Terminate and Stay Rsident Program.One of the standard example of the TSR is teh doskey .What happens is that when ever u press a key on the keyboard then an interrupt is generated and the appropraite ISR (interrrupt service routine) is called which takes care of the handling of the key pressed in the keyboard.What happens is that in MSDOS is that the doskey TSR sits instead of the ISR and stores the keys pressed in the buffer until a enter key is pressed and also calls the normal ISR for each key pressed. Coming to TSR'sthey have become extinct as windows doesn't allow u to modify the ISR etc.The DOS that u r running on windows is not the real one but a simulated one and so is the doskey Program.In Linux u r not allowed to access the ISR and hence the prospect of TSR's become impossible.If it is allowed it may lead to a security bug may be. Thanx, Harishankkar.S ----- Original Message ----- From: Binand Raj S. To: LIP Sent: Sunday, March 11, 2001 4:39 PM Subject: Re: [LIP] Re: File creation time > Karthika Sivaramakrishnan forced the electrons to say: > > Is it possible to write a TSR to capture the file creation command in Linux? > > If so, how? > > Linux creates various types of file system entries, all by different system > calls. It may not be possible to monitor all these syscalls. And I have > absolutely no idea what a TSR is. > > I am sure there is a better way to achieve what you want to do. If you tell us > what it is, we can probably suggest a viable alternative. > > Binand > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers > From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 05:02:21 2001 Received: from hotmail.com (f76.law14.hotmail.com [64.4.21.76]) by www.aunet.org (Postfix) with ESMTP id 06E654A0BC for ; Sun, 11 Mar 2001 05:02:10 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 11 Mar 2001 04:55:29 -0800 Received: from 204.177.156.26 by lw14fd.law14.hotmail.msn.com with HTTP; Sun, 11 Mar 2001 12:55:28 GMT X-Originating-IP: [204.177.156.26] From: "Linux Developer" To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: File creation time Date: Sun, 11 Mar 2001 12:55:28 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 11 Mar 2001 12:55:29.0199 (UTC) FILETIME=[8CAED3F0:01C0AA2A] X-Archive-Number: 200103/98 X-Sequence-Number: 1818 32-bit Windows OS like 95,NT,2000 have DOS emulators also referred to as VDM (Virtual Dos Machine). From a technical viewpoint VDM is a protected subsystem. Correspondingly the ISR's cannot be changed as expected when working with DOS. Thanks Linux Dev. >----- Original Message ----- >From: Binand Raj S. >To: LIP >Sent: Sunday, March 11, 2001 4:39 PM >Subject: Re: [LIP] Re: File creation time > > > > Karthika Sivaramakrishnan forced the electrons to say: > > > Is it possible to write a TSR to capture the file creation command in >Linux? > > > If so, how? > > > > Linux creates various types of file system entries, all by different >system > > calls. It may not be possible to monitor all these syscalls. And I have > > absolutely no idea what a TSR is. > > > > I am sure there is a better way to achieve what you want to do. If you >tell us > > what it is, we can probably suggest a viable alternative. > > > > Binand > > > > > > --------------------------------------------- > > The mailing list archives are available at > > http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers > > > > > >--------------------------------------------- >Find out more about this and other Linux India >mailing lists at http://lists.linux-india.org/ _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 05:07:49 2001 Received: from bluesky.imeme.net (imeme.net [216.17.170.123]) by www.aunet.org (Postfix) with ESMTP id D60674A335 for ; Sun, 11 Mar 2001 05:07:45 -0800 (PST) Received: from (jace.pobox.com) [210.212.160.138] by bluesky.imeme.net with esmtp (Exim 3.12 #1 (Debian)) id 14c5T0-0000oX-00; Sun, 11 Mar 2001 06:01:02 -0700 X-Pgp-Dsskey: 0x735BC875 X-Pgp-Rsakey: 0xF85BA8E9 Message-Id: <5.0.2.1.0.20010311182835.00a59b38@wheresmymailserver.com> X-Sender: X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sun, 11 Mar 2001 18:30:29 +0530 To: linux-india-programmers@lists.linux-india.org From: Kiran Jonnalagadda Subject: Re: Re: File creation time In-Reply-To: <001101c0aa23$45681440$4200a8c0@gdatr4> References: <20010311050932.15316.qmail@mailweb10.rediffmail.com> <20010311163915.A697@bombay.retortsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200103/99 X-Sequence-Number: 1819 At 05:33 PM 3/11/2001 +0530, you wrote: >Hi, >A TSR is a Terminate and Stay Rsident Program.One of the standard example of >the >TSR is teh doskey .What happens is that when ever u press a key on the >keyboard Err dudes, What's wrong with you people? You don't need TSRs on Linux, this is a multitasking OS! If you want to mess with the file system, go patch the kernel. What's source code for anyway? -- Kiran Jonnalagadda http://www.pobox.com/~jace From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 08:19:34 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 6A3F14A073 for ; Sun, 11 Mar 2001 08:13:05 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id VAA15999 for ; Sun, 11 Mar 2001 21:25:37 +0530 Date: Sun, 11 Mar 2001 21:25:37 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: LIP Subject: reading the frame buffer In-Reply-To: <20010311163915.A697@bombay.retortsoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/100 X-Sequence-Number: 1820 dear friends i want to read frame buffer at certain instance so i have two questions regarding this 1. from where i can read ( if /proc then from which spesific file) ?? 2. What is the fromat ( hopefully it should be bit by bit but may be different any comments ) ...? regards shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 11:06:27 2001 Received: from pimout3-int.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by www.aunet.org (Postfix) with ESMTP id 9E66F4A1D7 for ; Sun, 11 Mar 2001 11:06:10 -0800 (PST) Received: from aglaja.swmed.edu (nas-49-122.dallas.navipath.net [216.67.49.122]) by pimout3-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f2BIxQ295840 for ; Sun, 11 Mar 2001 13:59:26 -0500 Received: from localhost (lists@localhost) by aglaja.swmed.edu (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f2BIutK10446 for ; Sun, 11 Mar 2001 12:56:55 -0600 X-Authentication-Warning: aglaja.swmed.edu: lists owned process doing -bs Date: Sun, 11 Mar 2001 12:56:55 -0600 (CST) From: Indraneel Majumdar To: LIP Subject: Re: Good utility for CVS In-Reply-To: <20010305202441.A42799@sharmas.dhs.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/101 X-Sequence-Number: 1821 Sorry for late replies. Perforce too does not have a distributed server architecture. That means two repositories with continuous activity cannot be synced without the export-import you mentioned (which stops activity on at least one server). This limits the development process only to people with fast network access to the CVS server. I checked again at cvshome.org and found some info to do this at: http://www.cvshome.org/docs/infomultisite.html This sounds complicated but at least it's possible for CVS. Thanks to all, Indraneel On Mon, 5 Mar 2001, Arun Sharma wrote: > On Mon, Mar 05, 2001 at 06:56:35PM +0530, Binand Raj S. wrote: > > Indraneel Majumdar forced the electrons to say: > > > I'm in search of an automated CVS syncing tool (eg if I have the same CVS > > > repository at two places and want them synced every 2 hours) > > > > That would be rsync over ssh, run every two hours from cron. You might want to > > block port 2401 at both locations while the sync is going on, if the repository > > is large. > > That'd work only if both the cvs repositories are read only. If people are > checking in stuff to both CVS repositories and you have to sync them, there > is nothing short of a checkout -> tar -> transfer -> import to vendor branch. > > http://www.perforce.com/ might be interesting. Free for writing open source > software. -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 16:17:23 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id C118F49F15 for ; Sun, 11 Mar 2001 16:13:10 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id VAA15764; Sun, 11 Mar 2001 21:13:38 +0530 Date: Sun, 11 Mar 2001 21:13:37 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: "Binand Raj S." Cc: LIP Subject: Re: Re: File creation time In-Reply-To: <20010311163915.A697@bombay.retortsoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/102 X-Sequence-Number: 1822 > > Is it possible to write a TSR to capture the file creation command in Linux? > > If so, how? > > Linux creates various types of file system entries, all by different system > calls. It may not be possible to monitor all these syscalls. And I have > absolutely no idea what a TSR is. > i think so file creation can be captured by writting some shell script run as background process ( it may cause extra burden on system but can be a solution to the problem ) so far as TSRs are concern i dont think so it is possible to do TSR programming in linux as it doesnt provide u an access to the critical addresses like dos (the IVT) shubh From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 17:55:44 2001 Received: from server1.focusite.com (unknown [207.235.7.179]) by www.aunet.org (Postfix) with ESMTP id 036C84A111 for ; Sun, 11 Mar 2001 17:55:38 -0800 (PST) Received: (from uucp@localhost) by server1.focusite.com (8.9.3/8.9.3) with UUCP id HAA12493 for linux-india-programmers@lists.linux-india.org; Mon, 12 Mar 2001 07:09:54 +0500 Received: from pdcserver ([203.199.225.244]) by alpha.focusite.com (8.8.7/8.8.7) with SMTP id HAA09274 for ; Mon, 12 Mar 2001 07:16:58 +0530 Message-ID: <001001c0aa95$d3c117b0$0100000a@pasokan.cibsnet.net> From: "Pichai Asokan" To: References: Subject: Re: Re: File creation time Date: Mon, 12 Mar 2001 07:13:23 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/103 X-Sequence-Number: 1823 Will the inode timestamps be of any use? P Asokan From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 22:28:20 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 602944A018 for ; Sun, 11 Mar 2001 22:28:17 -0800 (PST) Received: from Basel (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with SMTP id f2C6R8l10940 for ; Mon, 12 Mar 2001 11:57:08 +0530 Message-ID: <01f101c0aabc$ea9327e0$bc02a8c0@intranet.pspl.co.in> From: "Shridhar Daithankar" To: References: <00c201c0a895$20a82da0$bc02a8c0@intranet.pspl.co.in> <20010310165327.A1373@goatelecom.com> Subject: Re: Re: IPC Question Date: Mon, 12 Mar 2001 11:53:13 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/104 X-Sequence-Number: 1824 I think I need to check this thread from going in weird direction. The solution I found was to use hundreds of unix domain stream sockets. But doesn't sound good. Currently I am trying to decipher what stevens has wrote about descriptor passing useing message queues. That will take few days for me as this is spare time activity. If that works will use pipes and pass the descriptor between threads. Otherwise back to sockets... BTW, AFAICT, message queues does not support huge amount of data. I would certainly not choose them if I am not even aware of order of data being passed, forget the magnitude... Shridhar > You could use fifo's (named pipes), or far better, message queues. From linux-india-programmers-owner@lists.linux-india.org Sun Mar 11 22:46:42 2001 Received: from wiprom2mx1.wipro.com (wiprom2mx1.wipro.com [203.197.164.41]) by www.aunet.org (Postfix) with ESMTP id 866734A789 for ; Sun, 11 Mar 2001 22:41:08 -0800 (PST) Received: from m2vwall2.wipro.com (m2vwall2.wipro.com [164.164.27.52]) by wiprom2mx1.wipro.com (8.9.3+Sun/8.9.3) with SMTP id MAA23554 for ; Mon, 12 Mar 2001 12:11:56 GMT Received: from wipro.com ([192.107.143.16]) by sarovar.mail.wipro.com (Netscape Messaging Server 4.15) with ESMTP id GA2PH000.LBK; Mon, 12 Mar 2001 02:15:00 -0500 Message-ID: <3AAC6E1B.8DE2AB15@wipro.com> Date: Mon, 12 Mar 2001 12:05:07 +0530 From: Pratap Chakravarthy X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: "linux-india-programmers@lists.linux-india.org" Subject: bootp Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/105 X-Sequence-Number: 1825 hello all, There is small query from my friend who is stuck with that. He is working on BOOTP where he has to use the protocol to get the boot image from the server. There are 4 CPUs in their board and each CPU needs different boot image[here the board is the client]. The 4 boot images are present in the server. The problem is how to get the name of the boot images from the server. The server has to be configured to serve the 4 boot images on request. Can anyone help on this. Pointers on the net would be very much helpful. Thanks in advance pratap From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 02:13:58 2001 Received: from cisco.com (cbin2-mail.cisco.com [192.135.246.72]) by www.aunet.org (Postfix) with ESMTP id AE5F64A6A7 for ; Mon, 12 Mar 2001 02:03:30 -0800 (PST) Received: from cbin2-mira-01.cisco.com (mirapoint@cbin2-mira-01.cisco.com [192.135.246.89]) by cisco.com (8.8.8-Cisco List Logging/8.8.8) with ESMTP id PAA06763 for ; Mon, 12 Mar 2001 15:18:29 +0530 (IST) Received: from cisco.com (casanova.cisco.com [64.104.134.26]) by cbin2-mira-01.cisco.com (Mirapoint) with ESMTP id AET15885; Mon, 12 Mar 2001 15:26:39 +0530 (IST) Message-ID: <3AAC9E9E.6030502@cisco.com> Date: Mon, 12 Mar 2001 15:32:06 +0530 From: Pankaj Kr Rathore User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.0 i686; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: bootp References: <3AAC6E1B.8DE2AB15@wipro.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/106 X-Sequence-Number: 1826 Is he using etherboot ? In which case check out http://etherboot.sourceforge.net/doc/html/diskless-3.html Pankaj Pratap Chakravarthy wrote: > hello all, > There is small query from my friend who is stuck with that. > He is working on BOOTP where he has to use the protocol to get the boot image from the server. > There are 4 CPUs in their board and each CPU needs different boot image[here the board is the client]. The 4 boot images are present in the server. The problem is how to get the name of the > boot images from the server. The server has to be configured to serve the 4 boot images on > request. Can anyone help on this. Pointers on the net would be very much helpful. > > Thanks in advance > pratap > > > --------------------------------------------- > An alpha version of a web based tool to manage > your subscription with this mailing list is at > http://lists.linux-india.org/cgi-bin/mj_wwwusr > > From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 04:55:40 2001 Received: from web1501.mail.yahoo.com (web1501.mail.yahoo.com [128.11.23.179]) by www.aunet.org (Postfix) with SMTP id 47A094A2C3 for ; Mon, 12 Mar 2001 04:55:37 -0800 (PST) Received: (qmail 22955 invoked by uid 60001); 12 Mar 2001 12:48:51 -0000 Message-ID: <20010312124851.22954.qmail@web1501.mail.yahoo.com> Received: from [203.197.174.2] by web1501.mail.yahoo.com; Mon, 12 Mar 2001 04:48:51 PST Date: Mon, 12 Mar 2001 04:48:51 -0800 (PST) From: Ganapati Hegde Subject: Re: bootp To: linux-india-programmers@lists.linux-india.org In-Reply-To: <3AAC6E1B.8DE2AB15@wipro.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200103/107 X-Sequence-Number: 1827 hi, check out www.ltsp.org hegde --- Pratap Chakravarthy wrote: > hello all, > There is small query from my friend who is stuck > with that. > He is working on BOOTP where he has to use the > protocol to get the boot image from the server. > There are 4 CPUs in their board and each CPU needs > different boot image[here the board is the client]. > The 4 boot images are present in the server. The > problem is how to get the name of the > boot images from the server. The server has to be > configured to serve the 4 boot images on > request. Can anyone help on this. Pointers on the > net would be very much helpful. > > Thanks in advance > pratap > > > --------------------------------------------- > An alpha version of a web based tool to manage > your subscription with this mailing list is at > http://lists.linux-india.org/cgi-bin/mj_wwwusr __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 07:41:00 2001 Received: from www.aunet.org (localhost [127.0.0.1]) by www.aunet.org (Postfix) with SMTP id D4DE44A13E for ; Mon, 12 Mar 2001 07:40:56 -0800 (PST) Received: from xyzsys.sci.tech (unknown [202.142.70.5]) by www.aunet.org (Postfix) with ESMTP id 5C3374A541 for ; Mon, 12 Mar 2001 02:47:23 -0800 (PST) Received: from xyzsys ([127.0.0.1]) by xyzsys.sci.tech (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with SMTP id f2CAmGP02278 for ; Mon, 12 Mar 2001 16:18:16 +0530 X-Authentication-Warning: xyzsys.sci.tech: Host [127.0.0.1] claimed to be xyzsys Date: Mon, 12 Mar 2001 16:18:16 +0530 From: Deepak Joglekar To: linux-india-programmers@lists.linux-india.org Subject: Re: Programming using Xlib Message-Id: <20010312161816.6e857a9e.joglekar@eth.net> In-Reply-To: <003201c09edf$34a81460$c2e7c7cb@default> References: <003201c09edf$34a81460$c2e7c7cb@default> Reply-To: joglekar@eth.net X-Mailer: Sylpheed version 0.4.9 (GTK+ 1.2.8; Linux 2.2.16; i686) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/108 X-Sequence-Number: 1828 On Sun, 25 Feb 2001 09:28:22 +0530 "Lakshmi Gopinath" wrote: > Hi, > > I need to develop a simple graphics front end using Xlib api for my > project. All that the graphics program needs to do is : draw a graph and > draw a line graph by continously accepting points from another module. Cud > someone pls help me out. Is there any good site/book for X Windows > programming using Xlib. > > I found some resource on net. It may be useful. http://www.xs4all.nl/~rsmith/software or search the web for xnetload you will get links. -- Deepak Joglekar joglekar@eth.net ---------------- @> /( )\ ^ ^ From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 08:10:44 2001 Received: from mailweb16.rediffmail.com (unknown [203.199.83.28]) by www.aunet.org (Postfix) with SMTP id 6E70C4A14A for ; Mon, 12 Mar 2001 08:10:40 -0800 (PST) Received: (qmail 10492 invoked by uid 510); 12 Mar 2001 13:42:30 -0000 Date: 12 Mar 2001 13:42:30 -0000 Message-ID: <20010312134230.10490.qmail@mailweb16.rediffmail.com> Received: from unknown (210.214.6.153) by rediffmail.com via HTTP; 12 Mar 2001 13:42:30 -0000 MIME-Version: 1.0 To: LIP Subject: Re: file creation time From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/109 X-Sequence-Number: 1829 Hello! Thanks for the numerous replies. Quoting Binand Raj S, > I am sure there is a better way to achieve what you want to do. If > you tell us what it is, we can probably suggest a viable > alternative. I have to monitor the activities done by X Window applications in a Linux system. I must report what files have been modified, which applications used, etc. I have been able to capture certain events, such as window caption changes. When the caption of a window changes (to a file name), I must determine what its source was: opening of an existing file or creation of a new file. I am planning to call my to-be-written function that will find the time of creation of this file (caption), compare with the current system time, and hence say if it was a file "open" or "creation" operation. Quoting shubhendu, > i think so > file creation can be captured by writting some shell > script run as background process Please tell how I should get notified of a file creation command. Quoting Pichai Asokan > Will the inode timestamps be of any use? What does the inode timestamp stand for, and how can I access it? Thanks a lot! - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 09:24:42 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id F17084A19C for ; Mon, 12 Mar 2001 09:24:31 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2CHCqs62239 for linux-india-programmers@lists.linux-india.org; Mon, 12 Mar 2001 09:12:52 -0800 (PST) (envelope-from adsharma) Date: Mon, 12 Mar 2001 09:12:52 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: file creation time Message-ID: <20010312091252.A62208@sharmas.dhs.org> References: <20010312134230.10490.qmail@mailweb16.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010312134230.10490.qmail@mailweb16.rediffmail.com>; from karthika212@rediffmail.com on Mon, Mar 12, 2001 at 01:42:30PM -0000 X-Archive-Number: 200103/110 X-Sequence-Number: 1830 On Mon, Mar 12, 2001 at 01:42:30PM -0000, Karthika Sivaramakrishnan wrote: > Quoting Pichai Asokan > > Will the inode timestamps be of any use? > > What does the inode timestamp stand for, and how can I access it? > File last modified :) You read it using stat(2). Read the archives for a discussion of the same topic. BTW, a lot of the questions you've been asking on the list are interesting, but not supported on general purpose UNIX OSes, because it conflicts with the "small and beautiful" philosophy. Not very unlike the reasons Linus rejects debugger patches. The general trend is to write kernel extensions (ioctl and other abused APIs) to get it to do what you want. For some, like the file creation time, it's not easy to do it, without being incompatible with an unmodified Linux. My query on a freebsd mailing list was mainly met with "tell us why you need the creation time stamp ?" question. One suggestion is to: link all your apps with a modified libc, which sends a signal to some pre-registered process, every time a file is created via libc. Of course, you can use a more efficient IPC to do this - but you get the idea. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 09:28:08 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 6FE874A23C for ; Mon, 12 Mar 2001 09:28:07 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2CHGYx62257 for linux-india-programmers@lists.linux-india.org; Mon, 12 Mar 2001 09:16:34 -0800 (PST) (envelope-from adsharma) Date: Mon, 12 Mar 2001 09:16:34 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: why goto ? Message-ID: <20010312091634.B62208@sharmas.dhs.org> References: <3AA87E83.B18EEABB@nextset.com> <002c01c0a877$2bd926c0$4200a8c0@gdatr4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002c01c0a877$2bd926c0$4200a8c0@gdatr4>; from S.harishankkar@gdatech.co.in on Fri, Mar 09, 2001 at 02:28:53PM +0530 X-Archive-Number: 200103/111 X-Sequence-Number: 1831 On Fri, Mar 09, 2001 at 02:28:53PM +0530, Harishankkar wrote: > Hi Anurag, > Goto is mainly used in functions where having multiple return points is not > possible. This is a valid use of goto, but should be replaced by having a "name" for it, so that it can be distinguished from a completely abusive use of goto, so that compilers can continue to do optimizations in the presence of gotos. In java, the "name" is try-catch-finally. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 09:53:10 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 403E949F44 for ; Mon, 12 Mar 2001 09:53:06 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2CHfWE62301 for linux-india-programmers@lists.linux-india.org; Mon, 12 Mar 2001 09:41:32 -0800 (PST) (envelope-from adsharma) Date: Mon, 12 Mar 2001 09:41:29 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Good utility for CVS Message-ID: <20010312094129.C62208@sharmas.dhs.org> References: <20010305202441.A42799@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from lists@123india.com on Sun, Mar 11, 2001 at 12:56:55PM -0600 X-Archive-Number: 200103/112 X-Sequence-Number: 1832 On Sun, Mar 11, 2001 at 12:56:55PM -0600, Indraneel Majumdar wrote: > Sorry for late replies. Perforce too does not have a distributed server > architecture. That means two repositories with continuous activity cannot > be synced without the export-import you mentioned (which stops activity on > at least one server). This limits the development process only to people > with fast network access to the CVS server. > > I checked again at cvshome.org and found some info to do this at: > http://www.cvshome.org/docs/infomultisite.html > > This sounds complicated but at least it's possible for CVS. The link above says what cvs can not do: pass meta data between multiple sites. Only data can be exchanged and checked into a vendor branch - your checkin messages are lost. Perforce also uses a journal to be more crash resistant. I guess, that helps it do distributed stuff better. You're right about perforce - you can't check in simultaneously to two repositories at the same time (I doubt if any system can do that without human intervention). The main issue is the ease of syncing repositories. The remote depot feature: http://www.perforce.com/perforce/technotes/note030.html makes it easy to do that. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 10:48:47 2001 Received: from prodserver1.goatelecom.com (unknown [210.212.161.28]) by www.aunet.org (Postfix) with ESMTP id 586524A1A9 for ; Mon, 12 Mar 2001 10:48:39 -0800 (PST) Received: from localhost.localdomain by prodserver1.goatelecom.com (8.9.3/1.1.20.3/07Jul00-0916AM) id AAA0000006419; Tue, 13 Mar 2001 00:16:31 +0530 (IST) Received: (from gaurav@localhost) by localhost.localdomain (8.9.3/8.9.3) id AAA02065 for linux-india-programmers@lists.linux-india.org; Tue, 13 Mar 2001 00:11:41 +0530 X-Authentication-Warning: localhost.localdomain: gaurav set sender to gauravp@im.eth.net using -f Date: Tue, 13 Mar 2001 00:11:40 +0530 From: Gaurav Priyolkar To: Linux India Programmers List Subject: initialising number of vars in perl Message-ID: <20010313001140.A2054@goatelecom.com> Mail-Followup-To: Linux India Programmers List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Archive-Number: 200103/113 X-Sequence-Number: 1833 Hi all, How do I assign an initial value to a number of scalar variables? my ($a, $b, $c, $n ) = 'NULL'; doesn't work 'coz left side is list context. my $a, $b, $c, $n = 'NULL' assigns 'NULL' only to $n. Right now I have an array on right side in list context with lots of 'NULL's, but I guess there must be a cleaner way. -Gaurav -- Ultimate file compression: 'rm -rf /' (100% compression) From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 10:48:50 2001 Received: from prodserver1.goatelecom.com (unknown [210.212.161.28]) by www.aunet.org (Postfix) with ESMTP id A52874A2A5 for ; Mon, 12 Mar 2001 10:48:41 -0800 (PST) Received: from localhost.localdomain by prodserver1.goatelecom.com (8.9.3/1.1.20.3/07Jul00-0916AM) id AAA0000019318; Tue, 13 Mar 2001 00:16:35 +0530 (IST) Received: (from gaurav@localhost) by localhost.localdomain (8.9.3/8.9.3) id QAA01439 for linux-india-programmers@lists.linux-india.org; Mon, 12 Mar 2001 16:00:45 +0530 X-Authentication-Warning: localhost.localdomain: gaurav set sender to gauravp@im.eth.net using -f Date: Mon, 12 Mar 2001 16:00:45 +0530 From: Gaurav Priyolkar To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: IPC Question Message-ID: <20010312160045.A1394@goatelecom.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <00c201c0a895$20a82da0$bc02a8c0@intranet.pspl.co.in> <20010310165327.A1373@goatelecom.com> <01f101c0aabc$ea9327e0$bc02a8c0@intranet.pspl.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01f101c0aabc$ea9327e0$bc02a8c0@intranet.pspl.co.in>; from shridhar_daithankar@pspl.co.in on Mon, Mar 12, 2001 at 11:53:13AM +0530 X-Archive-Number: 200103/114 X-Sequence-Number: 1834 On Mon, Mar 12, 2001 at 11:53:13AM +0530, Shridhar Daithankar wrote: > I think I need to check this thread from going in weird direction. ??? > The solution I found was to use hundreds of unix domain stream sockets. But > doesn't sound good. Currently I am trying to decipher what stevens has wrote Oops ... never done ch14 Stevens. Was about to say so many sockets might be too heavy before I saw that he says AF_LOCAL sockets are significantly faster than AF_INET sockets. I suggested message queues 'coz they allow you to assign priorities to individual messages and so I suppose you could have different threads reading only appropriate messages off the single queue rather than the multiple sockets that would otherwise be required. > If that works will use pipes and pass the descriptor between threads. > Otherwise back to sockets... When you use named sockets (fifo), what descriptor do you need to pass? > BTW, AFAICT, message queues does not support huge amount of data. I would No idea about that. -- Ultimate file compression: 'rm -rf /' (100% compression) From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 11:04:17 2001 Received: from tower.ti.com (tower.ti.com [192.94.94.5]) by www.aunet.org (Postfix) with ESMTP id 9CF924A232 for ; Mon, 12 Mar 2001 11:04:15 -0800 (PST) Received: from dlep8.itg.ti.com ([157.170.134.88]) by tower.ti.com (8.11.1/8.11.1) with ESMTP id f2CIvRr16178 for ; Mon, 12 Mar 2001 12:57:27 -0600 (CST) Received: from dlep8.itg.ti.com (localhost [127.0.0.1]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id MAA06166 for ; Mon, 12 Mar 2001 12:57:27 -0600 (CST) Received: from mailsvr.india.ti.com (mailsvr.india.ti.com [157.87.95.214]) by dlep8.itg.ti.com (8.9.3/8.9.3) with ESMTP id MAA06147 for ; Mon, 12 Mar 2001 12:57:25 -0600 (CST) Received: from india.ti.com (apdsparc089 [157.87.88.140]) by mailsvr.india.ti.com (8.8.8/8.8.8) with ESMTP id AAA19793 for ; Tue, 13 Mar 2001 00:26:20 +0530 (IST) Message-ID: <3AAD1C12.9BAEC9C1@india.ti.com> Date: Tue, 13 Mar 2001 00:27:22 +0530 From: Sumit Rangwala Organization: Texas Instruments X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: initialising number of vars in perl References: <20010313001140.A2054@goatelecom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/115 X-Sequence-Number: 1835 my ($a,$b,$c,$n) = ("NULL") x 4; Regards Sumit Gaurav Priyolkar wrote: > Hi all, > > How do I assign an initial value to a number of scalar variables? > > my ($a, $b, $c, $n ) = 'NULL'; > > doesn't work 'coz left side is list context. > > my $a, $b, $c, $n = 'NULL' > > assigns 'NULL' only to $n. > > Right now I have an array on right side in list context with lots of > 'NULL's, but I guess there must be a cleaner way. > > -Gaurav > > -- > Ultimate file compression: 'rm -rf /' (100% compression) > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 11:30:42 2001 Received: from gda-server (unknown [202.88.153.15]) by www.aunet.org (Postfix) with ESMTP id 463F54A15C for ; Mon, 12 Mar 2001 11:30:36 -0800 (PST) Received: from [192.168.0.66] by gda-server (ArGoSoft Mail Server, Version 1.5 (1.5.0.8)); Tue, 13 Mar 2001 00:48:26 Message-ID: <010201c0ab28$c9058e80$4200a8c0@gdatr4> From: "Harishankkar" To: References: <00c201c0a895$20a82da0$bc02a8c0@intranet.pspl.co.in> <20010310165327.A1373@goatelecom.com> <01f101c0aabc$ea9327e0$bc02a8c0@intranet.pspl.co.in> <20010312160045.A1394@goatelecom.com> Subject: bad header! Date: Tue, 13 Mar 2001 00:45:21 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200103/116 X-Sequence-Number: 1836 Hi, My friend is doing a project in linux dealing with networking. He is held up with his project. Pls tell me how do u send a packet with a bad header to server. A program which will send a bad header- in c language an array(i am not sure of that). He wants it to be send to server from any of the local machine connected to it via LAN. He is doing socket programming we are using a library function - pcap which stands for packet capture. Hari From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 12:32:48 2001 Received: from gda-server (unknown [202.88.153.15]) by www.aunet.org (Postfix) with ESMTP id B73204A06B for ; Mon, 12 Mar 2001 12:32:40 -0800 (PST) Received: from [192.168.0.66] by gda-server (ArGoSoft Mail Server, Version 1.5 (1.5.0.8)); Tue, 13 Mar 2001 01:50:30 Message-ID: <015901c0ab31$750e6a00$4200a8c0@gdatr4> From: "Harishankkar" To: References: <20010313001140.A2054@goatelecom.com> <3AAD1C12.9BAEC9C1@india.ti.com> Subject: Stong ARM Linux Date: Tue, 13 Mar 2001 01:42:51 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200103/117 X-Sequence-Number: 1837 Hi, I am trying to Port Linux in to Strong ARM.Before that I am u nable to use the JTAG utility Jflash provided to upload the DB1110B.bin file in to the target. I am getting the error >Jflash error, failed to read device ID ACT: 1111 1111111111111111 11111111111 1 EXP: 0101 1001001001100001 00000001001 1 failed to read device ID for the SA-1110 What could be the problem? Thanx, Harishankkar.S Harishankkar.S Member Tech Staff S.harishankkar@gdatech.co.in GDA Technologies www.gdatech.com From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 17:26:12 2001 Received: from server1.focusite.com (unknown [207.235.7.179]) by www.aunet.org (Postfix) with ESMTP id 0B8E54A224 for ; Mon, 12 Mar 2001 17:26:10 -0800 (PST) Received: (from uucp@localhost) by server1.focusite.com (8.9.3/8.9.3) with UUCP id GAA31493 for linux-india-programmers@lists.linux-india.org; Tue, 13 Mar 2001 06:39:59 +0500 Received: from pdcserver ([203.199.225.215]) by alpha.focusite.com (8.8.7/8.8.7) with SMTP id GAA31482 for ; Tue, 13 Mar 2001 06:45:48 +0530 Message-ID: <002101c0ab5a$a45034a0$0100000a@pasokan.cibsnet.net> From: "Pichai Asokan" To: References: <20010312134230.10490.qmail@mailweb16.rediffmail.com> <20010312091252.A62208@sharmas.dhs.org> Subject: Re: Re: file creation time Date: Tue, 13 Mar 2001 06:42:15 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/118 X-Sequence-Number: 1838 > > Quoting Pichai Asokan > > > Will the inode timestamps be of any use? > > What does the inode timestamp stand for, and how can I access it? > File last modified :) You read it using stat(2). Read the archives > for a discussion of the same topic. Hi Arun I cannot locate my copy of Maurice Bach, but i remember that there are three time stamps in the inode. I am totally relying on my memory here so I amy be absolutely off: One of them is creation and other is file modification and the third is inode modification. Now if only I cud lay my hands on Maurice Bach and if only i could be sure of what the inode modification time is :-( P Asokan From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 20:26:54 2001 Received: from brahma01.netbrahma.com (unknown [164.164.70.67]) by www.aunet.org (Postfix) with ESMTP id C7D5E4A2AE for ; Mon, 12 Mar 2001 20:26:45 -0800 (PST) Received: from anands.netbrahma.com (172.16.72.66 [172.16.72.66]) by brahma01.netbrahma.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id GGX9FMQ9; Tue, 13 Mar 2001 09:51:18 +0530 Received: (from anand@localhost) by anands.netbrahma.com (8.11.2/8.11.2) id f2D4OQb12665 for linux-india-programmers@lists.linux-india.org; Tue, 13 Mar 2001 09:54:26 +0530 X-Authentication-Warning: anands.netbrahma.com: anand set sender to AnandS@NetBrahma.com using -f Date: Tue, 13 Mar 2001 09:54:26 +0530 From: Anand Biligiri S To: linux-india-programmers@lists.linux-india.org Subject: Re: bad header! Message-ID: <20010313095426.A12543@anands.netbrahma.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <00c201c0a895$20a82da0$bc02a8c0@intranet.pspl.co.in> <20010310165327.A1373@goatelecom.com> <01f101c0aabc$ea9327e0$bc02a8c0@intranet.pspl.co.in> <20010312160045.A1394@goatelecom.com> <010201c0ab28$c9058e80$4200a8c0@gdatr4> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Mutt/1.2.5i In-Reply-To: <010201c0ab28$c9058e80$4200a8c0@gdatr4>; from S.harishankkar@gdatech.co.in on Tue, Mar 13, 2001 at 12:45:21AM +0530 X-Archive-Number: 200103/119 X-Sequence-Number: 1839 On Tue, Mar 13, 2001 at 12:45:21AM +0530, Harishankkar wrote: >with his project. Pls tell me how do u send a packet with a bad header to >server. You can use libnet to send any kind of packets on the network.=20 http://www.packetfactory.net/Projects/libnet HTH --=20 Anand Biligiri S ---------------- There *__=08=08is* no such thing as a civil engineer. From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 20:38:30 2001 Received: from bluesky.imeme.net (imeme.net [216.17.170.123]) by www.aunet.org (Postfix) with ESMTP id 2ED084A1A9 for ; Mon, 12 Mar 2001 20:38:28 -0800 (PST) Received: from (jace.pobox.com) [210.212.160.67] by bluesky.imeme.net with esmtp (Exim 3.12 #1 (Debian)) id 14cgT9-0002LC-00; Mon, 12 Mar 2001 21:31:39 -0700 X-Pgp-Dsskey: 0x735BC875 X-Pgp-Rsakey: 0xF85BA8E9 Message-Id: <5.0.2.1.0.20010313095402.00a5b340@wheresmymailserver.com> X-Sender: X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Tue, 13 Mar 2001 09:55:21 +0530 To: linux-india-programmers@lists.linux-india.org From: Kiran Jonnalagadda Subject: Re: initialising number of vars in perl In-Reply-To: <20010313001140.A2054@goatelecom.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200103/120 X-Sequence-Number: 1840 At 12:11 AM 3/13/2001 +0530, you wrote: >Hi all, > >How do I assign an initial value to a number of scalar variables? > >my ($a, $b, $c, $n ) = 'NULL'; > >doesn't work 'coz left side is list context. > >my $a, $b, $c, $n = 'NULL' > >assigns 'NULL' only to $n. What about my $a = $b = $c = $n = 'NULL'; Just guessing; such a syntax works in C. -- Kiran Jonnalagadda http://www.pobox.com/~jace From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 20:51:13 2001 Received: from blue.csa.iisc.ernet.in (blue.csa.iisc.ernet.in [144.16.67.191]) by www.aunet.org (Postfix) with ESMTP id 7E84F49F04 for ; Mon, 12 Mar 2001 20:51:08 -0800 (PST) Received: from localhost (alex@localhost) by blue.csa.iisc.ernet.in (8.9.3/8.9.3) with ESMTP id KAA21429 for ; Tue, 13 Mar 2001 10:21:14 +0530 Date: Tue, 13 Mar 2001 10:21:14 +0530 (IST) From: Alex M Alex To: linux-india-programmers@lists.linux-india.org Subject: Re: Stong ARM Linux In-Reply-To: <015901c0ab31$750e6a00$4200a8c0@gdatr4> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/121 X-Sequence-Number: 1841 hi hari, It looks like you are using assabet board. For your information GNU/Linux is ported first time to SA11xx DEC 98 brutus board in PERCOLAT LAB, CSA IISc. It is better to use blob . Read the documentation of blob regards alex .................................. Alex M Alex alex@hpc.serc.iisc.ernet.in http://hpc.serc.iisc.ernet.in/~alex On Tue, 13 Mar 2001, Harishankkar wrote: > Hi, > I am trying to Port Linux in to Strong ARM.Before that > I am u nable to use the JTAG utility Jflash provided to upload the > DB1110B.bin file > in to the target. > I am getting the error > >Jflash > error, failed to read device ID > ACT: 1111 1111111111111111 11111111111 1 > EXP: 0101 1001001001100001 00000001001 1 > failed to read device ID for the SA-1110 > > What could be the problem? > Thanx, > Harishankkar.S > > Harishankkar.S > Member Tech Staff > S.harishankkar@gdatech.co.in > GDA Technologies > www.gdatech.com > > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers > From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 20:56:26 2001 Received: from nsg_fs.cmc.net.in (unknown [206.103.13.222]) by www.aunet.org (Postfix) with SMTP id 4994D49F4A for ; Mon, 12 Mar 2001 20:56:21 -0800 (PST) Received: FROM bandra.cmc.net.in BY nsg_fs.cmc.net.in ; Tue Mar 13 09:32:16 2001 +0500 Received: from ports.cmc.net.in. (ports.cmc.net.in [172.20.5.102]) by bandra.cmc.net.in (8.9.1/8.9.1) with SMTP id JAA24606 for ; Tue, 13 Mar 2001 09:31:30 -0500 (GMT) Received: from ports-gajanan by ports.cmc.net.in. (SMI-8.6/SMI-SVR4) id JAA09014; Tue, 13 Mar 2001 09:24:03 -0500 Received: by localhost with Microsoft MAPI; Tue, 13 Mar 2001 09:46:49 -0000 Message-ID: <01C0ABA2.862BE850.aseem@ports.cmc.net.in> From: Aseem Rane Reply-To: "aseem@ports.cmc.net.in" To: "'linux-india-programmers@lists.linux-india.org'" Subject: RE: Re: file creation time Date: Tue, 13 Mar 2001 09:46:47 -0000 Organization: cmc ltd X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211 Encoding: 13 TEXT X-Archive-Number: 200103/122 X-Sequence-Number: 1842 > I am totally relying on my memory here so I amy be absolutely off: One of > them is creation and other is file modification and the third is inode > modification. Now if only I cud lay my hands on Maurice Bach and if only i > could be sure of what the inode modification time is :-( > > P Asokan Yes. there are 3 timestamps on an inode. 1) time the file was last modified 2) when it was last accessed 3) when the inod was last modified as somebody already wrote, Unix doesnt store file creation time. From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 21:54:50 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 81CED4A18F for ; Mon, 12 Mar 2001 21:54:47 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2D5hDa63531 for linux-india-programmers@lists.linux-india.org; Mon, 12 Mar 2001 21:43:13 -0800 (PST) (envelope-from adsharma) Date: Mon, 12 Mar 2001 21:43:13 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: printf vs printk Message-ID: <20010312214312.A63519@sharmas.dhs.org> References: <3AA87E83.B18EEABB@nextset.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from alex@blue.csa.iisc.ernet.in on Fri, Mar 09, 2001 at 12:58:49PM +0530 X-Archive-Number: 200103/123 X-Sequence-Number: 1843 On Fri, Mar 09, 2001 at 12:58:49PM +0530, Alex M Alex wrote: > > hi all, > I was not able to understand > the funda on printf vs printk(WHY???) Because the kernel is not linked to libc, it can't use printf. Printk is a simplified clone. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 22:00:24 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 83B194A29E for ; Mon, 12 Mar 2001 22:00:21 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2D5mlT63553 for linux-india-programmers@lists.linux-india.org; Mon, 12 Mar 2001 21:48:47 -0800 (PST) (envelope-from adsharma) Date: Mon, 12 Mar 2001 21:48:46 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: IPC Question Message-ID: <20010312214846.B63519@sharmas.dhs.org> References: <00c201c0a895$20a82da0$bc02a8c0@intranet.pspl.co.in> <20010310165327.A1373@goatelecom.com> <01f101c0aabc$ea9327e0$bc02a8c0@intranet.pspl.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <01f101c0aabc$ea9327e0$bc02a8c0@intranet.pspl.co.in>; from shridhar_daithankar@pspl.co.in on Mon, Mar 12, 2001 at 11:53:13AM +0530 X-Archive-Number: 200103/124 X-Sequence-Number: 1844 On Mon, Mar 12, 2001 at 11:53:13AM +0530, Shridhar Daithankar wrote: > I think I need to check this thread from going in weird direction. > > The solution I found was to use hundreds of unix domain stream sockets. But > doesn't sound good. Currently I am trying to decipher what stevens has wrote > about descriptor passing useing message queues. That will take few days for > me as this is spare time activity. If you care about speed, you can implement your own library, which uses virtual memory to communicate among threads. Any other alternative involving an OS supported IPC mechanism will pay a syscall overhead. Basically you implement your own message queue at a fixed address in the address space shared by all threads. There may be such libraries already available (mm, shm ?) -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 22:09:47 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 0A81C4A013 for ; Mon, 12 Mar 2001 22:09:46 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2D5wBm63589 for linux-india-programmers@lists.linux-india.org; Mon, 12 Mar 2001 21:58:11 -0800 (PST) (envelope-from adsharma) Date: Mon, 12 Mar 2001 21:58:11 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: file creation time Message-ID: <20010312215811.C63519@sharmas.dhs.org> References: <20010312134230.10490.qmail@mailweb16.rediffmail.com> <20010312091252.A62208@sharmas.dhs.org> <002101c0ab5a$a45034a0$0100000a@pasokan.cibsnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002101c0ab5a$a45034a0$0100000a@pasokan.cibsnet.net>; from pasokan@os4.com on Tue, Mar 13, 2001 at 06:42:15AM +0530 X-Archive-Number: 200103/125 X-Sequence-Number: 1845 On Tue, Mar 13, 2001 at 06:42:15AM +0530, Pichai Asokan wrote: > I cannot locate my copy of Maurice Bach, but i remember that there are three > time stamps in the inode. > I am totally relying on my memory here so I amy be absolutely off: One of > them is creation and other is file modification and the third is inode > modification. Now if only I cud lay my hands on Maurice Bach and if only i > could be sure of what the inode modification time is :-( > I thought so too, much to my surprise a couple of years ago. I had to read "UNIX haters handbook" to be educated :) From stat.h on a FreeBSD box (which is probably closer to Bach than Linux): time_t st_atime; /* time of last access */ long st_atimensec; /* nsec of last access */ time_t st_mtime; /* time of last data modification */ long st_mtimensec; /* nsec of last data modification */ time_t st_ctime; /* time of last file status change */ long st_ctimensec; /* nsec of last file status change */ You're probably confused about "ctime". -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Mar 12 22:13:56 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 716F84A104 for ; Mon, 12 Mar 2001 22:13:54 -0800 (PST) Received: from Basel (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with SMTP id f2D6Ccl04765 for ; Tue, 13 Mar 2001 11:42:38 +0530 Message-ID: <00e001c0ab84$108a0f50$bc02a8c0@intranet.pspl.co.in> From: "Shridhar Daithankar" To: References: <00c201c0a895$20a82da0$bc02a8c0@intranet.pspl.co.in> <20010310165327.A1373@goatelecom.com> <01f101c0aabc$ea9327e0$bc02a8c0@intranet.pspl.co.in> <20010312160045.A1394@goatelecom.com> Subject: Re: Re: Re: IPC Question Date: Tue, 13 Mar 2001 11:38:46 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/126 X-Sequence-Number: 1846 > Oops ... never done ch14 Stevens. Was about to say so many sockets > might be too heavy before I saw that he says AF_LOCAL sockets are > significantly faster than AF_INET sockets. Well, they will surely be heavy if I connect one local X server/client thr. each of them. But that won't be the case. The reason I want a stream interface is that I don't know amount of data being passed in advance. For sure it won't be huge. They will be just number of IPC channels lying around. > > I suggested message queues 'coz they allow you to assign priorities to > individual messages and so I suppose you could have different threads > reading only appropriate messages off the single queue rather than the > multiple sockets that would otherwise be required. I haven't checked off queues from my list but the fact that it's not a stream interface put lot of management burdon on my application. I don't mind doing that but that may introduce unnecessary bugs. I mean I can avoid them if I use a stream interface already available. > When you use named sockets (fifo), what descriptor do you need to pass? Actually none. But named pipes are kinda static in my opinion, so I lowered their rank in my inteded application. > > BTW, AFAICT, message queues does not support huge amount of data. I would > No idea about that. Actually that's one important thing I need to check out... Bye Shridhar From linux-india-programmers-owner@lists.linux-india.org Tue Mar 13 05:14:19 2001 Received: from web5304.mail.yahoo.com (web5304.mail.yahoo.com [216.115.106.113]) by www.aunet.org (Postfix) with SMTP id 7BEB44A493 for ; Tue, 13 Mar 2001 05:14:13 -0800 (PST) Message-ID: <20010313130723.15397.qmail@web5304.mail.yahoo.com> Received: from [202.54.79.110] by web5304.mail.yahoo.com; Tue, 13 Mar 2001 05:07:23 PST Date: Tue, 13 Mar 2001 05:07:23 -0800 (PST) From: Santosh Singh Subject: Re: printf vs printk To: linux-india-programmers@lists.linux-india.org In-Reply-To: <20010312214312.A63519@sharmas.dhs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200103/127 X-Sequence-Number: 1847 > > the funda on printf vs printk(WHY???) printf is used for user programs whereas printk is meant mostly for logging of kernel messages. Based on the level of priority printk can be used to send output to kernel logger or on stdout. printk does not supports float. Use printk only if you are developing kernel modules. for better idea consult:- Beginning Linux Programming(Wrox) CHEERS Santosh __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Tue Mar 13 05:22:12 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id A0B274A45C; Tue, 13 Mar 2001 05:21:24 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id SAA20458; Tue, 13 Mar 2001 18:40:46 +0530 Date: Tue, 13 Mar 2001 18:40:46 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: linux-india-help@lists.linux-india.org Cc: linux-india-programmers@lists.linux-india.org Subject: frame buffer location In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/128 X-Sequence-Number: 1848 hi friends i want to know where frambuffer is stored in linux if /proc then in which paticuler file ..or some where else ?? and can a user process read it ? shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Tue Mar 13 12:17:09 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.65.175]) by www.aunet.org (Postfix) with ESMTP id B6D2A4A3EF; Tue, 13 Mar 2001 12:16:32 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id BAA12674; Wed, 14 Mar 2001 01:39:38 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id BAA31527; Wed, 14 Mar 2001 01:49:30 +0530 Date: Wed, 14 Mar 2001 01:49:29 +0530 From: "Binand Raj S." To: linux-india-help@lists.linux-india.org Cc: linux-india-programmers@lists.linux-india.org Subject: Re: [LIH] Linux for Unix and gcc Message-ID: <20010314014929.A31229@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: linux-india-help@lists.linux-india.org, linux-india-programmers@lists.linux-india.org References: <003301c0ab6c$ad5413c0$8f02e00a@wipro.com> <20010313122106.21780.qmail@web12501.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <20010313122106.21780.qmail@web12501.mail.yahoo.com>; from nero10574@yahoo.co.uk on Tue, Mar 13, 2001 at 12:21:06PM +0000 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/129 X-Sequence-Number: 1849 [x-posting to LIP - as this is more on topic there. fup2 LIP, please] Diwakar Ranganathan forced the electrons to say: > thanks Gautham! the error message did say something > about int. sorry Binand, i just didnt want to enter > the programmers' list without being a programmer :) Well, the Chinese say something about a thousand mile journey starting with a single step... > so, c has a version for each OS? No. C has an international standard, originally published by ANSI, generally known as C89. ISO (ISO is an international organisation, whereas ANSI's scope is only within the USA) adopted it and has been revising that and trying to come up with an updated standard (called C99), which is still in draft stage. Older C (ie, earlier to C89) is called K&R C, as documented by those two guys ("See that PDP 7, Ken?") in their book (the first edition - what you get here in India is the second edition, which is more C89) is also still supported by major compilers (including gcc). These standards define not only the behaviour of C, but its standard library as well. Every implementation of the C library provides these standard functions, and Unix implementations of the library also try to be conformant to the POSIX standard, which tells the implementor what features an OS should provide. Read the man page of any C function, and look for the section CONFORMING TO. If it says ANSI/ISO, then it is standard C. If it talks of POSIX, then it is POSIX, and maybe ANSI. Unix programmers are better off if they stick to POSIX. Sticking to ANSI is necessary to write the maximum portable code (and to get answers from comp.lang.c). Using compiler / library / OS specific extensions (eg., far pointers, conio.h, strdup()) should generally be avoided. Binand From linux-india-programmers-owner@lists.linux-india.org Tue Mar 13 23:20:58 2001 Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com [216.136.174.114]) by www.aunet.org (Postfix) with SMTP id D78604A131 for ; Tue, 13 Mar 2001 23:20:56 -0800 (PST) Received: from unknown (HELO hbiserver) (203.200.8.98) by smtp.mail.vip.sc5.yahoo.com with SMTP; 14 Mar 2001 07:14:02 -0000 X-Apparently-From: From: Prasad H K Date: Wed, 14 Feb 2001 12:49:50 +0530 X-Mailer: KMail [version 1.1.99] Content-Type: text/plain; charset="iso-8859-1" To: linux-india-programmers@lists.linux-india.org Subject: C Documentation MIME-Version: 1.0 Message-Id: <01021412495000.02462@hbiserver> Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/130 X-Sequence-Number: 1850 Dear Sir, Where can I find C library functions documentation to download _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Tue Mar 13 23:32:55 2001 Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6]) by www.aunet.org (Postfix) with ESMTP id B7BA749FF1 for ; Tue, 13 Mar 2001 23:32:46 -0800 (PST) Received: from ecvwall1.wipro.com (ecvwall1.wipro.com [192.168.181.23]) by wiproecmx2.wipro.com (8.9.3/8.9.3) with SMTP id NAA00791 for ; Wed, 14 Mar 2001 13:05:39 GMT Received: from ecvwall1.wipro.com ([192.168.181.23]) by ecmail.mail.wipro.com (Netscape Messaging Server 4.15) with SMTP id GA6FA800.06E for ; Wed, 14 Mar 2001 12:55:20 +0530 Received: from gautham ([192.168.41.16]) by itplmail.mail.wipro.com (Netscape Messaging Server 4.15) with SMTP id GA6F9O00.JIE for ; Wed, 14 Mar 2001 12:55:00 +0530 Message-ID: <013101c0ac58$a0956a20$8f02e00a@wipro.com> From: "Gautham Ganapathy" To: References: <01021412495000.02462@hbiserver> Subject: Re: C Documentation Date: Wed, 14 Mar 2001 13:00:21 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Archive-Number: 200103/131 X-Sequence-Number: 1851 should be there if u have installed man pages. give man . if u get something else, try man -a. However, u need to know which function u want the docs for ----- Original Message ----- From: Prasad H K To: Sent: Wednesday, February 14, 2001 12:49 PM Subject: [LIP] C Documentation > Dear Sir, > > Where can I find C library functions documentation to download > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers > From linux-india-programmers-owner@lists.linux-india.org Tue Mar 13 23:48:54 2001 Received: from stewart.spectranet.com (unknown [203.122.63.155]) by www.aunet.org (Postfix) with ESMTP id E30284A0C2 for ; Tue, 13 Mar 2001 23:48:50 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by stewart.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GA797L00.PMB for ; Wed, 14 Mar 2001 13:11:45 -0500 Message-ID: <007801c0ac5a$156664c0$8900000a@aclindia.com> From: "Ambar Roy" To: References: <01021412495000.02462@hbiserver> Subject: Re: C Documentation Date: Wed, 14 Mar 2001 13:10:42 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/132 X-Sequence-Number: 1852 > Where can I find C library functions documentation to download it is there on most linux distros. Its a part of the man pages!!! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Tue Mar 13 23:52:27 2001 Received: from surya.bom.freeos.com (unknown [202.54.93.212]) by www.aunet.org (Postfix) with SMTP id 26FEC4A416 for ; Tue, 13 Mar 2001 23:52:23 -0800 (PST) Received: (qmail 2576 invoked by uid 2633); 14 Mar 2001 07:45:21 -0000 Received: from cartoon.bom.freeos.com (HELO freeos.com) (root@192.168.0.10) by surya.bom.freeos.com with SMTP; 14 Mar 2001 07:45:21 -0000 Message-ID: <3AAF241F.39686420@freeos.com> Date: Wed, 14 Mar 2001 13:26:15 +0530 From: G Karunakar Reply-To: karunakar@freeos.com Organization: FreeOS.com X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: C Documentation References: <01021412495000.02462@hbiserver> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/133 X-Sequence-Number: 1853 Prasad H K wrote:, > Where can I find C library functions documentation to download you must be already having them. C docs are installed when u install glibc-devel just do info libc From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 00:26:28 2001 Received: from hotmail.com (oe63.law14.hotmail.com [64.4.20.198]) by www.aunet.org (Postfix) with ESMTP id 1DCCA4A04C for ; Wed, 14 Mar 2001 00:26:24 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 14 Mar 2001 00:19:30 -0800 X-Originating-IP: [203.197.150.234] From: "Mohamed Ghouse" To: References: <01021412495000.02462@hbiserver> Subject: Re: C Documentation Date: Wed, 14 Mar 2001 13:50:58 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Message-ID: X-OriginalArrivalTime: 14 Mar 2001 08:19:30.0447 (UTC) FILETIME=[7E2309F0:01C0AC5F] X-Archive-Number: 200103/134 X-Sequence-Number: 1854 Hello Prasad I think Gautham is right. If u need online Documentation u can get it through man pages. If u need the complete list of the ANSI C library then go 2 this site. http://www.infosys.utas.edu.au/info/documentation/C/CStdLib.html I think this is what u need. Bye. ----- Original Message ----- From: Prasad H K To: Sent: Wednesday, February 14, 2001 12:49 PM Subject: [LIP] C Documentation > Dear Sir, > > Where can I find C library functions documentation to download > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers > From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 00:27:33 2001 Received: from wilco-int.com (intmailserv.wilco-int.com [212.36.174.165]) by www.aunet.org (Postfix) with ESMTP id 9F4294A20C for ; Wed, 14 Mar 2001 00:27:30 -0800 (PST) Received: from wilco-fw3.wilco-int.com (wilco-fwdmz.wilco-int.com [192.168.32.253]) by wilco-int.com (8.9.1b+Sun/8.9.1) with SMTP id IAA12737 for ; Wed, 14 Mar 2001 08:16:40 GMT Received: from mailsweeper.wilco-int.com ([194.62.147.25]) by wilco-fw3.wilco-int.com; Wed, 14 Mar 2001 08:17:09 +0000 (GMT) Received: from lonmail01.wilco-int.com (unverified) by mailsweeper.wilco-int.com (Content Technologies SMTPRS 4.1.2) with ESMTP id for ; Wed, 14 Mar 2001 08:17:52 +0000 Received: by lonmail01 with Internet Mail Service (5.5.2650.21) id ; Wed, 14 Mar 2001 08:14:37 -0000 Received: from hydmail02.hyd.wilco-int.com (HYDMAIL02 [192.168.130.33]) by lonmail01.wilco-int.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id FSYV9F42; Wed, 14 Mar 2001 08:14:32 -0000 Received: by hydmail02.hyd.wilco-int.com with Internet Mail Service (5.5.2650.21) id ; Wed, 14 Mar 2001 13:46:26 +0530 From: Prashant Ramachandra To: "'linux-india-programmers@lists.linux-india.org'" Message-ID: <5BF60CD649EDD411A04600B0D049F53A092557@hydmail02.hyd.wilco-int.com> Subject: RE: C Documentation Date: Wed, 14 Mar 2001 13:46:26 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Archive-Number: 200103/135 X-Sequence-Number: 1855 On Wednesday, March 14, 2001 1:00 PM, Gautham Ganapathy [SMTP:gautham.ganapathy@wipro.com] wrote: | should be there if u have installed man pages. give man . if | u get something else, try man -a. However, u need to | know | which function u want the docs for I would suggest the info docs. It's got a wealth of information as compared to the man pages. And man pages aren't generally maintained by the GNU people. Type "info libc" for the official GNU docs. -- Prashant TR Web: http://www.midpec.com/ ---------------------------------------------------------------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ---------------------------------------------------------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 01:18:49 2001 Received: from accord-soft.com (unknown [164.164.69.252]) by www.aunet.org (Postfix) with ESMTP id 9DB2E4A04C for ; Wed, 14 Mar 2001 01:18:24 -0800 (PST) Received: from accord-soft.com (IDENT:sunilv@Sunilv [192.168.1.41]) by accord-soft.com (8.9.3/8.9.3) with ESMTP id OAA27752 for ; Wed, 14 Mar 2001 14:40:59 +0530 Message-ID: <3AAF35A4.975717F2@accord-soft.com> Date: Wed, 14 Mar 2001 14:41:00 +0530 From: "Sunil V." Organization: Accord X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Ping broadcast Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/136 X-Sequence-Number: 1856 Hello, When I do a ping broadcast ( ping -b 192.168.1.255 ) I get replies only from GNU/Linux systems and from the HP printer we have on our network. I am not getting echo replies from other PCs running Win9x/NT. Why is this? Can anybody throw some light on the same. TIA, sunil From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 01:25:43 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 709B14A14A for ; Wed, 14 Mar 2001 01:25:34 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA03910 for ; Wed, 14 Mar 2001 14:54:07 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA18497 for ; Wed, 14 Mar 2001 14:40:44 +0530 Date: Wed, 14 Mar 2001 14:40:40 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: Ping broadcast In-Reply-To: <3AAF35A4.975717F2@accord-soft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/137 X-Sequence-Number: 1857 On Wed, 14 Mar 2001, Sunil V. wrote: > Hello, > When I do a ping broadcast ( ping -b 192.168.1.255 ) I get replies only > from GNU/Linux systems some listen to the 0th host, so try 192.168.1.0 From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 01:43:11 2001 Received: from accord-soft.com (unknown [164.164.69.252]) by www.aunet.org (Postfix) with ESMTP id BFB5149F60 for ; Wed, 14 Mar 2001 01:42:57 -0800 (PST) Received: from accord-soft.com (IDENT:sunilv@Sunilv [192.168.1.41]) by accord-soft.com (8.9.3/8.9.3) with ESMTP id PAA28966 for ; Wed, 14 Mar 2001 15:05:05 +0530 Message-ID: <3AAF3B49.D819BE08@accord-soft.com> Date: Wed, 14 Mar 2001 15:05:05 +0530 From: "Sunil V." Organization: Accord X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Ping broadcast References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/138 X-Sequence-Number: 1858 Hello, No, even with "192.168.1.0" the behavior is still the same... regards, sunil sreangsu acharyya wrote: > On Wed, 14 Mar 2001, Sunil V. wrote: > > > Hello, > > When I do a ping broadcast ( ping -b 192.168.1.255 ) I get replies only > > from GNU/Linux systems > > some listen to the 0th host, so try 192.168.1.0 > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 01:58:58 2001 Received: from stewart.spectranet.com (unknown [203.122.63.155]) by www.aunet.org (Postfix) with ESMTP id E6B3D4A03E for ; Wed, 14 Mar 2001 01:58:52 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by stewart.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GA7F8200.DTT for ; Wed, 14 Mar 2001 15:21:38 -0500 Message-ID: <00d901c0ac6c$3abb9030$8900000a@aclindia.com> From: "Ambar Roy" To: References: Subject: Re: Ping broadcast Date: Wed, 14 Mar 2001 15:20:18 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/139 X-Sequence-Number: 1859 > > When I do a ping broadcast ( ping -b 192.168.1.255 ) I get replies only > > from GNU/Linux systems > some listen to the 0th host, so try 192.168.1.0 i tried this on my network. And i noticed this, doing a ping broadcast to the network id gets no replies.. and doing it to the broadcast id gets replies from linux, macintosh and hp printers!!!! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 02:12:22 2001 Received: from xyzsys.sci.tech (unknown [202.142.70.5]) by www.aunet.org (Postfix) with ESMTP id D982D4A186 for ; Wed, 14 Mar 2001 02:12:08 -0800 (PST) Received: from xyzsys ([127.0.0.1]) by xyzsys.sci.tech (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with SMTP id f2EAD7b01849 for ; Wed, 14 Mar 2001 15:43:07 +0530 X-Authentication-Warning: xyzsys.sci.tech: Host [127.0.0.1] claimed to be xyzsys Date: Wed, 14 Mar 2001 15:43:06 +0530 From: Deepak Joglekar To: linux-india-programmers@lists.linux-india.org Subject: Documentation of a software Project. Message-Id: <20010314154306.71a4d24a.joglekar@eth.net> In-Reply-To: References: <01021412495000.02462@hbiserver> Reply-To: joglekar@eth.net X-Mailer: Sylpheed version 0.4.9 (GTK+ 1.2.8; Linux 2.2.16; i686) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/140 X-Sequence-Number: 1860 Hi, I am looking for some references for how to document a software project for ease of future changes enhancements. Any books, URLs. TIA -- Deepak Joglekar joglekar@eth.net ---------------- @> /( )\ ^ ^ From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 02:22:15 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 89D2B49EFC for ; Wed, 14 Mar 2001 02:22:11 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f2EAKkl05341 for ; Wed, 14 Mar 2001 15:50:46 +0530 Message-ID: <3AAF451B.36C2DDC8@pspl.co.in> Date: Wed, 14 Mar 2001 15:46:59 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 Cc: linux-india-programmers@lists.linux-india.org Subject: Re: Documentation of a software Project. References: <01021412495000.02462@hbiserver> <20010314154306.71a4d24a.joglekar@eth.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/141 X-Sequence-Number: 1861 Use kdoc/doxygen to maintain API documentation. Write ERS/IRS i.e. design documents, change logs, release notes, requirements, dependencies, known bugs, todo list, platform dependent notes etc... Or take a look at any GNU program's source code.... :-)) HTH Shridhar Deepak Joglekar wrote: > I am looking for some references for how to document a software project for ease of future changes enhancements. From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 03:05:30 2001 Received: from wilco-int.com (intmailserv.wilco-int.com [212.36.174.165]) by www.aunet.org (Postfix) with ESMTP id 076114A197 for ; Wed, 14 Mar 2001 03:05:03 -0800 (PST) Received: from wilco-fw3.wilco-int.com (wilco-fwdmz.wilco-int.com [192.168.32.253]) by wilco-int.com (8.9.1b+Sun/8.9.1) with SMTP id KAA17216 for ; Wed, 14 Mar 2001 10:41:15 GMT Received: from mailsweeper.wilco-int.com ([194.62.147.25]) by wilco-fw3.wilco-int.com; Wed, 14 Mar 2001 10:41:46 +0000 (GMT) Received: from lonmail01.wilco-int.com (unverified) by mailsweeper.wilco-int.com (Content Technologies SMTPRS 4.1.2) with ESMTP id ; Wed, 14 Mar 2001 10:42:29 +0000 Received: by lonmail01 with Internet Mail Service (5.5.2650.21) id ; Wed, 14 Mar 2001 10:39:15 -0000 Received: from hydmail02.hyd.wilco-int.com (HYDMAIL02 [192.168.130.33]) by lonmail01.wilco-int.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id FSYV9HP5; Wed, 14 Mar 2001 10:14:53 -0000 Received: by hydmail02.hyd.wilco-int.com with Internet Mail Service (5.5.2650.21) id ; Wed, 14 Mar 2001 15:46:45 +0530 From: Prashant Ramachandra To: "'joglekar@eth.net'" Cc: linux-india-programmers@lists.linux-india.org Message-ID: <5BF60CD649EDD411A04600B0D049F53A09255A@hydmail02.hyd.wilco-int.com> Subject: RE: Documentation of a software Project. Date: Wed, 14 Mar 2001 15:46:43 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Archive-Number: 200103/142 X-Sequence-Number: 1862 On Wednesday, March 14, 2001 3:43 PM, Deepak Joglekar [SMTP:joglekar@eth.net] wrote: | | I am looking for some references for how to document a software | project for ease of future changes enhancements. Use either TeX, texinfo or SGML, preferably TeX. You can convert it to a variety of formats (HTML, dvi, ps, pdf, etc). I used texinfo (and TeX) to document my final year project when I did my BE. -- Prashant TR Web: http://www.midpec.com/ ---------------------------------------------------------------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ---------------------------------------------------------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 03:06:18 2001 Received: from wilco-int.com (intmailserv.wilco-int.com [212.36.174.165]) by www.aunet.org (Postfix) with ESMTP id B4EC04A12E for ; Wed, 14 Mar 2001 03:06:15 -0800 (PST) Received: from wilco-fw3.wilco-int.com (wilco-fwdmz.wilco-int.com [192.168.32.253]) by wilco-int.com (8.9.1b+Sun/8.9.1) with SMTP id KAA17470 for ; Wed, 14 Mar 2001 10:44:44 GMT Received: from mailsweeper.wilco-int.com ([194.62.147.25]) by wilco-fw3.wilco-int.com; Wed, 14 Mar 2001 10:45:14 +0000 (GMT) Received: from lonmail01.wilco-int.com (unverified) by mailsweeper.wilco-int.com (Content Technologies SMTPRS 4.1.2) with ESMTP id ; Wed, 14 Mar 2001 10:45:57 +0000 Received: by lonmail01 with Internet Mail Service (5.5.2650.21) id ; Wed, 14 Mar 2001 10:42:43 -0000 Received: from hydmail02.hyd.wilco-int.com (HYDMAIL02 [192.168.130.33]) by lonmail01.wilco-int.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id G8K37PJV; Wed, 14 Mar 2001 10:42:37 -0000 Received: by hydmail02.hyd.wilco-int.com with Internet Mail Service (5.5.2650.21) id ; Wed, 14 Mar 2001 15:50:39 +0530 From: Prashant Ramachandra To: "'joglekar@eth.net'" Cc: "'linux-india-programmers@lists.linux-india.org'" Message-ID: <5BF60CD649EDD411A04600B0D049F53A09255B@hydmail02.hyd.wilco-int.com> Subject: RE: Documentation of a software Project. Date: Wed, 14 Mar 2001 15:50:36 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Archive-Number: 200103/143 X-Sequence-Number: 1863 On Wednesday, March 14, 2001 3:47 PM, Prashant Ramachandra wrote: | On Wednesday, March 14, 2001 3:43 PM, Deepak Joglekar | [SMTP:joglekar@eth.net] wrote: | | | | I am looking for some references for how to document a software | | project for ease of future changes enhancements. | | Use either TeX, texinfo or SGML, preferably TeX. You can convert it | to a variety of formats (HTML, dvi, ps, pdf, etc). I used texinfo | (and TeX) to document my final year project when I did my BE. Forgot the most important part - the references. You could read the info docs (info latex or info texinfo). Most GNU packages use texinfo, so you can easily learn by having a look at one of them. I'm not aware of any tutorials for this, sorry. -- Prashant TR Web: http://www.midpec.com/ ---------------------------------------------------------------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ---------------------------------------------------------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 11:06:57 2001 Received: from tower.ti.com (tower.ti.com [192.94.94.5]) by www.aunet.org (Postfix) with ESMTP id A74144A0DF for ; Wed, 14 Mar 2001 11:06:52 -0800 (PST) Received: from dlep7.itg.ti.com ([157.170.134.103]) by tower.ti.com (8.11.1/8.11.1) with ESMTP id f2EIxur17805 for ; Wed, 14 Mar 2001 12:59:56 -0600 (CST) Received: from dlep7.itg.ti.com (localhost [127.0.0.1]) by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id MAA25751 for ; Wed, 14 Mar 2001 12:59:56 -0600 (CST) Received: from mailsvr.india.ti.com (mailsvr.india.ti.com [157.87.95.214]) by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id MAA25725 for ; Wed, 14 Mar 2001 12:59:54 -0600 (CST) Received: from india.ti.com (apdsparc089 [157.87.88.140]) by mailsvr.india.ti.com (8.8.8/8.8.8) with ESMTP id AAA13122 for ; Thu, 15 Mar 2001 00:28:49 +0530 (IST) Message-ID: <3AAFBFA8.D93ED34D@india.ti.com> Date: Thu, 15 Mar 2001 00:29:52 +0530 From: Sumit Rangwala Organization: Texas Instruments X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers Subject: concatenating .ps files Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/144 X-Sequence-Number: 1864 Hi all I think this is a bit offline but i require it badly. Is there any way i can concatenate a list of .ps file to a single file ( any format of output file ) TIA Regards Sumit From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 11:56:45 2001 Received: from www.aunet.org (localhost [127.0.0.1]) by www.aunet.org (Postfix) with SMTP id 8D9624A203 for ; Wed, 14 Mar 2001 11:56:43 -0800 (PST) Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 2F86A4A2F9 for ; Tue, 13 Mar 2001 23:43:05 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f2E7fdl00896 for ; Wed, 14 Mar 2001 13:11:39 +0530 Message-ID: <3AAF1FD0.2F3E9793@pspl.co.in> Date: Wed, 14 Mar 2001 13:07:52 +0530 From: Shridhar Daithankar Organization: Persistent Systems Pvt. Ltd. X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: C Documentation References: <01021412495000.02462@hbiserver> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/145 X-Sequence-Number: 1865 info libc Shridhar P.S. No Sirs.. PLEASE... Prasad H K wrote: > Where can I find C library functions documentation to download From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 19:52:52 2001 Received: from pimout3-int.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by www.aunet.org (Postfix) with ESMTP id 7CFD64A06D; Wed, 14 Mar 2001 19:52:42 -0800 (PST) Received: from aglaja.swmed.edu (nas-85-133.dallas.navipath.net [216.67.85.133]) by pimout3-int.prodigy.net (8.11.0/8.11.0) with ESMTP id f2F3jhx89934; Wed, 14 Mar 2001 22:45:43 -0500 Received: from localhost (lists@localhost) by aglaja.swmed.edu (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with ESMTP id f2F3g2L01691; Wed, 14 Mar 2001 21:42:02 -0600 X-Authentication-Warning: aglaja.swmed.edu: lists owned process doing -bs Date: Wed, 14 Mar 2001 21:42:02 -0600 (CST) From: Indraneel Majumdar To: linux-india-programmers Cc: linux-india-help@lists.linux-india.org Subject: Re: concatenating .ps files In-Reply-To: <3AAFBFA8.D93ED34D@india.ti.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/146 X-Sequence-Number: 1866 use psmerge, part of the psutils package On Thu, 15 Mar 2001, Sumit Rangwala wrote: > I think this is a bit offline but i require it badly. > Is there any way i can concatenate a list of .ps file to a single file > ( any format of output file ) -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Wed Mar 14 22:37:55 2001 Received: from accord-soft.com (unknown [164.164.69.252]) by www.aunet.org (Postfix) with ESMTP id 6C0E24A5A0 for ; Wed, 14 Mar 2001 22:28:06 -0800 (PST) Received: from accord-products.com (Vani [192.168.1.35]) by accord-soft.com (8.9.3/8.9.3) with ESMTP id LAA31491 for ; Thu, 15 Mar 2001 11:50:27 +0530 Message-ID: <3AB05EF8.B6F9BA71@accord-products.com> Date: Thu, 15 Mar 2001 11:49:36 +0530 From: "Vani R." Organization: Accord Software & Systems Pvt Ltd., X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: LIP Subject: sendmail configuration Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/147 X-Sequence-Number: 1867 Hi All, Can anybody tell me how do i configure sendmail such a way that i can send mail to any account from command prompt. Eg: if i want to send a mail to a person in the same company xyz-soft.com , how do i do that ??? TIA, --vani -- To make mistakes is human; to stumble is commonplace; to be able to laugh at yourself is maturity. - William Ward From linux-india-programmers-owner@lists.linux-india.org Thu Mar 15 00:28:09 2001 Received: from bluesky.imeme.net (imeme.net [216.17.170.123]) by www.aunet.org (Postfix) with ESMTP id 8949349FF0 for ; Thu, 15 Mar 2001 00:27:46 -0800 (PST) Received: from (jace.pobox.com) [210.212.160.139] by bluesky.imeme.net with esmtp (Exim 3.12 #1 (Debian)) id 14dT03-0006eV-00; Thu, 15 Mar 2001 01:20:48 -0700 X-Pgp-Dsskey: 0x735BC875 X-Pgp-Rsakey: 0xF85BA8E9 Message-Id: <5.0.2.1.0.20010315134856.00af5e78@wheresmymailserver.com> X-Sender: X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Thu, 15 Mar 2001 13:50:33 +0530 To: linux-india-programmers@lists.linux-india.org From: Kiran Jonnalagadda Subject: Re: sendmail configuration In-Reply-To: <3AB05EF8.B6F9BA71@accord-products.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200103/148 X-Sequence-Number: 1868 At 11:49 AM 3/15/2001 +0530, you wrote: >Hi All, > >Can anybody tell me how do i configure sendmail such a way that i can >send mail to any account from command prompt. Eg: if i want to send a >mail to a person in the same company xyz-soft.com , how do i do that ??? mail [-s ] [-c ] [-b ] Should do the job. Only hassle with mail is it doesn't do MIME. -- Kiran Jonnalagadda http://www.pobox.com/~jace From linux-india-programmers-owner@lists.linux-india.org Thu Mar 15 00:54:19 2001 Received: from cooper.spectranet.com (unknown [203.122.63.156]) by www.aunet.org (Postfix) with ESMTP id A4D2D4A057 for ; Thu, 15 Mar 2001 00:54:15 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by cooper.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GA92KQ00.DAK for ; Thu, 15 Mar 2001 12:43:38 -0500 Message-ID: <01b901c0ad1f$51192e10$8900000a@aclindia.com> From: "Ambar Roy" To: References: <3AB05EF8.B6F9BA71@accord-products.com> Subject: Re: sendmail configuration Date: Thu, 15 Mar 2001 12:42:24 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/149 X-Sequence-Number: 1869 > Can anybody tell me how do i configure sendmail such a way that i can > send mail to any account from command prompt. Eg: if i want to send a > mail to a person in the same company xyz-soft.com , how do i do that ??? follow this: bash$ mail Subjech: Now type the message To end the message, enter a line with only a "." . Cc: bash$ Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Thu Mar 15 03:28:36 2001 Received: from wiprom2mx1.wipro.com (wiprom2mx1.wipro.com [203.197.164.41]) by www.aunet.org (Postfix) with ESMTP id 00C5E4A1EA for ; Thu, 15 Mar 2001 03:27:55 -0800 (PST) Received: from m2vwall2.wipro.com (m2vwall2.wipro.com [164.164.27.52]) by wiprom2mx1.wipro.com (8.9.3+Sun/8.9.3) with SMTP id QAA21618 for ; Thu, 15 Mar 2001 16:58:44 GMT Received: from wipro.com ([192.107.143.16]) by sarovar.mail.wipro.com (Netscape Messaging Server 4.15) with ESMTP id GA8MQY00.HPQ for ; Thu, 15 Mar 2001 07:01:47 -0500 Message-ID: <3AB0A340.283819DE@wipro.com> Date: Thu, 15 Mar 2001 16:40:57 +0530 From: Pratap Chakravarthy X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: "linux-india-programmers@lists.linux-india.org" Subject: hot patching Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/150 X-Sequence-Number: 1870 hello all, Can you please tell me the feasibility of hot patching in an operating system like linux and if possible please provide me with any details or pointers on that. I saw in the sun's web site that they have provided hot patching in their solaris 8. How far it is reliable. thanks in advance pratap From linux-india-programmers-owner@lists.linux-india.org Thu Mar 15 03:29:30 2001 Received: from prodserver1.goatelecom.com (unknown [210.212.161.28]) by www.aunet.org (Postfix) with ESMTP id E8F794A132 for ; Thu, 15 Mar 2001 03:29:21 -0800 (PST) Received: by prodserver1.goatelecom.com (8.9.3/1.1.20.3/07Jul00-0916AM) id QAA0000017950; Thu, 15 Mar 2001 16:57:08 +0530 (IST) Date: Thu, 15 Mar 2001 16:57:08 +0530 (IST) From: Message-Id: <200103151127.QAA0000017950@prodserver1.goatelecom.com> X-Authentication-Warning: prodserver1.goatelecom.com: rfowkar set sender to postmaster@goatelecom.com using -f To: linux-india-programmers@lists.linux-india.org Subject: Re: hot patching References: <3AB0A340.283819DE@wipro.com> In-Reply-To: <3AB0A340.283819DE@wipro.com> Precedence: junk X-Loop: postmaster@goatelecom.com X-Archive-Number: 200103/151 X-Sequence-Number: 1871 Mail not delivered to rfowkar@goatelecom.com. The mailbox of the user has exceeded the allotted limit. Try sending later. From linux-india-programmers-owner@lists.linux-india.org Thu Mar 15 10:50:11 2001 Received: from web2106.mail.yahoo.com (web2106.mail.yahoo.com [128.11.68.250]) by www.aunet.org (Postfix) with SMTP id 0375F4A1AD for ; Thu, 15 Mar 2001 10:50:10 -0800 (PST) Received: (qmail 27173 invoked by uid 60001); 15 Mar 2001 18:43:09 -0000 Message-ID: <20010315184309.27172.qmail@web2106.mail.yahoo.com> Received: from [210.214.240.96] by web2106.mail.yahoo.com; Thu, 15 Mar 2001 10:43:09 PST Date: Thu, 15 Mar 2001 10:43:09 -0800 (PST) From: Rajeev Joseph Reply-To: rajeevjsv@yahoo.com Subject: Re: why goto ? To: linux-india-programmers@lists.linux-india.org In-Reply-To: <20010312091634.B62208@sharmas.dhs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200103/152 X-Sequence-Number: 1872 Only abusive Java code would ever use the try-catch-finally clauses as a control structure. Well behaving java code uses those statements only as a mechanism for error handling. rajeev j sebastian acid solutions --- Arun Sharma wrote: > On Fri, Mar 09, 2001 at 02:28:53PM +0530, > Harishankkar wrote: > > Hi Anurag, > > Goto is mainly used in functions where having > multiple return points is not > > possible. > > This is a valid use of goto, but should be replaced > by having a "name" for > it, so that it can be distinguished from a > completely abusive use of goto, > so that compilers can continue to do optimizations > in the presence of gotos. > > In java, the "name" is try-catch-finally. > > -Arun > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. __________________________________________________ Do You Yahoo!? Yahoo! Auctions - Buy the things you want at great prices. http://auctions.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Thu Mar 15 22:40:37 2001 Received: from satyaki.pacific.net.in (satyaki.pacific.net.in [203.123.128.85]) by www.aunet.org (Postfix) with ESMTP id 8A88C4A1F3 for ; Thu, 15 Mar 2001 22:40:11 -0800 (PST) Received: from ganga.sankya.com (ppp215.bangalore-188.pacific.net.in [203.123.188.215]) by satyaki.pacific.net.in with ESMTP id MAA24842 for ; Fri, 16 Mar 2001 12:03:03 +0530 (IST) Date: Fri, 16 Mar 2001 12:03:00 +0530 From: Babu Kalakrishnan To: linux-india-programmers@lists.linux-india.org Subject: Re: why goto ? Message-ID: <20010316120300.B2636@sankya.com> Mail-Followup-To: Babu Kalakrishnan , linux-india-programmers@lists.linux-india.org References: <20010312091634.B62208@sharmas.dhs.org> <20010315184309.27172.qmail@web2106.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20010315184309.27172.qmail@web2106.mail.yahoo.com>; from rajeevjsv@yahoo.com on Thu, Mar 15, 2001 at 10:43:09AM -0800 X-Operating-System: Red hat Linux 6.2 with Kernel 2.2.16-3 X-Kernel: Kernel 2.2.16-3 on an i686 Organization: Sankya Systems & Objects (P) Ltd., Bangalore, India X-Archive-Number: 200103/153 X-Sequence-Number: 1873 On Thu, Mar 15, 2001 at 10:43:09AM -0800, Rajeev Joseph typed: > Only abusive Java code would ever use the > try-catch-finally clauses as a control structure. Well > behaving java code uses those statements only as a > mechanism for error handling. Beg to differ. Would you say the following use of a try catch block is *abusive* ? int number; try { number= Integer.parseInt(someString); } catch (NumberFormatException e) { number=someDefaultNumber; } I'd say it is pretty well behaved Java code equivalent to the pseudo code if (someString is a valid number formatted as string) number = parsed Value of the string else number = default value Kala From linux-india-programmers-owner@lists.linux-india.org Thu Mar 15 22:58:54 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id D2E7B49FF1 for ; Thu, 15 Mar 2001 22:58:52 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2G6k9g71681; Thu, 15 Mar 2001 22:46:09 -0800 (PST) (envelope-from adsharma) Date: Thu, 15 Mar 2001 22:46:09 -0800 From: Arun Sharma To: Rajeev Joseph Cc: linux-india-programmers@lists.linux-india.org Subject: Re: why goto ? Message-ID: <20010315224609.A71666@sharmas.dhs.org> References: <20010312091634.B62208@sharmas.dhs.org> <20010315184309.27172.qmail@web2106.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010315184309.27172.qmail@web2106.mail.yahoo.com>; from rajeevjsv@yahoo.com on Thu, Mar 15, 2001 at 10:43:09AM -0800 X-Archive-Number: 200103/154 X-Sequence-Number: 1874 On Thu, Mar 15, 2001 at 10:43:09AM -0800, Rajeev Joseph wrote: > Only abusive Java code would ever use the > try-catch-finally clauses as a control structure. Well > behaving java code uses those statements only as a > mechanism for error handling. As Kala pointed out, there are valid uses of try-catch-finally, apart from error handling. However, the thread *was* about error handling using gotos and I was suggesting that try-catch-finally is a much cleaner way of doing error handling. -Arun From linux-india-programmers-owner@lists.linux-india.org Thu Mar 15 23:02:10 2001 Received: from brahma.roc.com (unknown [202.54.67.218]) by www.aunet.org (Postfix) with ESMTP id 7E5AB4A171 for ; Thu, 15 Mar 2001 23:01:59 -0800 (PST) Received: from suren.roc.com (5net74.roc.com [172.16.5.74]) by brahma.roc.com (8.8.5/8.8.5) with SMTP id MAA25524 for ; Fri, 16 Mar 2001 12:30:41 +0530 (IST) Message-Id: <3.0.1.32.20010316121628.006fda90@172.16.1.10> X-Sender: suren@172.16.1.10 X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Fri, 16 Mar 2001 12:16:28 +0500 To: linux-india-programmers@lists.linux-india.org From: Surendranath Subject: why multiple messages from kernel Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Archive-Number: 200103/155 X-Sequence-Number: 1875 Hi, Please clarify my doubt. I have created a RAW socket with domain PF_ROUTE and protocol NETLINK_ROUTE. I am doing select on this socket to listen any Route and Interface related messages from kernel. Then I modified my system IP address to 172.16.9.74 (subnet mask 255.255.255.0, bcast 172.16.9.255) from 172.16.8.74 ( subnet mask 255.255.255.0, bcast 172.16.8.255) using ifconfig command. I got messages from kernel like this. 1. Delete IF address 172.16.8.74 on eth0 2. New IF address 172.16.9.74 on eth0 3. New Route entry 172.16.9.70 4. New Route entry 172.16.255.255 (gateway 172.16.9.74) 5. New Route entry 172.16.0.0 (gateway 172.16.9.74) 6. New Route entry 172.16.0.0 (gateway 172.16.9.74) 7. Delete IF address 172.16.9.74 on eth0 (Note this : deletion of new address) 8. New IF address 172.16.9.74 on eth0 9. New Route entry 172.16.9.70 10. New Route entry 172.16.255.255 (gateway 172.16.9.74) 11. New Route entry 172.16.9.0 (gateway 172.16.9.74) 12. New Route entry 172.16.9.255 (gateway 172.16.9.74) 13. Delete IF address 172.16.9.74 on eth0 14. New IF address 172.16.9.74 on eth0 15. New Route entry 172.16.9.70 16. New Route entry 172.16.9.0 (gateway 172.16.9.74) 17. New Route entry 172.16.9.255 (gateway 172.16.9.74) I could not understand, Why These many messages(most of them duplicates) from kernel? Why IF address deletion for my new address 172.16.9.74, and again Reassignment? I didnot get any Route entry deletion for my old address 172.16.8.74. Why this is happening? I am using redhat kernel version 2.2.14. Thanks suren. From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 05:03:56 2001 Received: from matrix.mediasolv.com (unknown [203.115.19.131]) by www.aunet.org (Postfix) with ESMTP id 7D22F4A00F for ; Fri, 16 Mar 2001 05:03:52 -0800 (PST) Received: from kugan ([192.168.1.51]) by matrix.mediasolv.com (8.11.1/8.11.1) with SMTP id f2GCtQL17079 for ; Fri, 16 Mar 2001 18:55:26 +0600 From: "V.Kugan" To: Subject: Source code for TCP Dump Date: Fri, 16 Mar 2001 19:01:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal X-Archive-Number: 200103/156 X-Sequence-Number: 1876 Hello Everyone Can you please direct me to tcp dump source code or any other open source utility that can be used to analyze all the tcp/Ip traffic. Thanx in Advance Regards Kugan From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 08:19:40 2001 Received: from mailweb7.rediffmail.com (unknown [202.54.124.152]) by www.aunet.org (Postfix) with SMTP id 873F54A5A2 for ; Fri, 16 Mar 2001 08:19:37 -0800 (PST) Received: (qmail 6837 invoked by uid 510); 16 Mar 2001 16:04:57 -0000 Date: 16 Mar 2001 16:04:57 -0000 Message-ID: <20010316160457.6836.qmail@mailweb7.rediffmail.com> Received: from unknown (210.214.5.25) by rediffmail.com via HTTP; 16 Mar 2001 16:04:57 -0000 MIME-Version: 1.0 To: LIP Subject: Thanks (File creation time) From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/157 X-Sequence-Number: 1877 Hi! Thanks a lot for your interest and instant replies to my query on file creation time in Linux. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 08:20:49 2001 Received: from mailweb6.rediffmail.com (unknown [202.54.124.151]) by www.aunet.org (Postfix) with SMTP id 1889E4A39F for ; Fri, 16 Mar 2001 08:20:47 -0800 (PST) Received: (qmail 6406 invoked by uid 510); 16 Mar 2001 16:11:40 -0000 Date: 16 Mar 2001 16:11:40 -0000 Message-ID: <20010316161140.6405.qmail@mailweb6.rediffmail.com> Received: from unknown (210.214.5.25) by rediffmail.com via HTTP; 16 Mar 2001 16:11:40 -0000 MIME-Version: 1.0 To: LIP Subject: Terminal commands From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/158 X-Sequence-Number: 1878 Hello! I would like to know where the commands executed in any terminal are stored in Linux (in which file), to achieve the DOSKEY-like effect. Any information / suggestion about looking into that file is awaited. Thanks in advance. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 08:48:44 2001 Received: from wilco-int.com (intmailserv.wilco-int.com [212.36.174.165]) by www.aunet.org (Postfix) with ESMTP id 965D34A0FF for ; Fri, 16 Mar 2001 08:48:40 -0800 (PST) Received: from wilco-fw3.wilco-int.com (wilco-fwdmz.wilco-int.com [192.168.32.253]) by wilco-int.com (8.9.1b+Sun/8.9.1) with SMTP id QAA08872 for ; Fri, 16 Mar 2001 16:33:57 GMT Received: from mailsweeper.wilco-int.com ([194.62.147.25]) by wilco-fw3.wilco-int.com; Fri, 16 Mar 2001 16:34:31 +0000 (GMT) Received: from lonmail01.wilco-int.com (unverified) by mailsweeper.wilco-int.com (Content Technologies SMTPRS 4.1.2) with ESMTP id for ; Fri, 16 Mar 2001 16:35:01 +0000 Received: by lonmail01 with Internet Mail Service (5.5.2650.21) id ; Fri, 16 Mar 2001 16:34:45 -0000 Received: from hydmail02.hyd.wilco-int.com (HYDMAIL02 [192.168.130.33]) by lonmail01.wilco-int.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id G8K38X8T; Fri, 16 Mar 2001 16:34:41 -0000 Received: by hydmail02.hyd.wilco-int.com with Internet Mail Service (5.5.2650.21) id ; Fri, 16 Mar 2001 22:03:43 +0530 From: Prashant Ramachandra To: "'linux-india-programmers@lists.linux-india.org'" Message-ID: <5BF60CD649EDD411A04600B0D049F53A092576@hydmail02.hyd.wilco-int.com> Subject: RE: Terminal commands Date: Fri, 16 Mar 2001 22:03:36 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Archive-Number: 200103/159 X-Sequence-Number: 1879 On Friday, March 16, 2001 9:42 PM, Karthika Sivaramakrishnan [SMTP:karthika212@rediffmail.com] wrote: | I would like to know where the commands executed in any terminal are | stored in Linux (in which file), to achieve the DOSKEY-like effect. ~/.bash_history (assuming you're using bash). -- Prashant TR Web: http://www.midpec.com/ ---------------------------------------------------------------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ---------------------------------------------------------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 10:14:07 2001 Received: from gda-server (unknown [202.88.153.15]) by www.aunet.org (Postfix) with ESMTP id B88304A252 for ; Fri, 16 Mar 2001 10:14:02 -0800 (PST) Received: from [192.168.0.66] by gda-server (ArGoSoft Mail Server, Version 1.5 (1.5.0.8)); Fri, 16 Mar 2001 23:32:16 Message-ID: <00d601c0ae42$b65e93e0$4200a8c0@gdatr4> From: "Harishankkar" To: References: <20010316161140.6405.qmail@mailweb6.rediffmail.com> Subject: Re: Terminal commands Date: Fri, 16 Mar 2001 23:28:30 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200103/160 X-Sequence-Number: 1880 Hi, The command are stored in a file named .bash_history in case ur shell is bash. Just check there is a history file starting with a . in ur home directory . Thanx, hari ----- Original Message ----- From: Karthika Sivaramakrishnan To: LIP Sent: Friday, March 16, 2001 9:41 PM Subject: [LIP] Terminal commands > Hello! > I would like to know where the commands executed in any terminal are stored in Linux (in which file), to achieve the DOSKEY-like effect. Any information / suggestion about looking into that file is awaited. > > Thanks in advance. > - Karthika > > > _____________________________________________________ > Chat with your friends as soon as they come online. Get Rediff Bol at > http://bol.rediff.com > > > > > > --------------------------------------------- > An alpha version of a web based tool to manage > your subscription with this mailing list is at > http://lists.linux-india.org/cgi-bin/mj_wwwusr > From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 11:52:28 2001 Received: from web10813.mail.yahoo.com (web10813.mail.yahoo.com [216.136.173.81]) by www.aunet.org (Postfix) with SMTP id AD5164A222 for ; Fri, 16 Mar 2001 11:52:23 -0800 (PST) Message-ID: <20010316194514.48830.qmail@web10813.mail.yahoo.com> Received: from [202.86.174.162] by web10813.mail.yahoo.com; Fri, 16 Mar 2001 11:45:14 PST Date: Fri, 16 Mar 2001 11:45:14 -0800 (PST) From: Vishwas Bhari Subject: problems installing kernel 2.4.1 To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200103/161 X-Sequence-Number: 1881 hi all, I am having problems installing the kernel 2.4.1 got on mar 2001 pc-quest cd. I am using RH 7.0 on a pentium 100mhz machine. After extracting the new kernel.2.4.1.tar.bgz to ~/root/kernel/linux I did the following steps a)make menuconfig (saved and exited). b)make dep c)make bzImage. later I copied the image from ...../linux/arch/i386/boot/bzImage to /boot/bzImage. changed /etc/lilo.conf to reflect the new kernel. d) lilo But when i rebooted i get the following messeges kernel decompressed....(or the like) and followed by ...loading kernel the system hangs afterwards. Can anyone help me out ps:I even tried make zImage but get an error system too big! __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 12:13:27 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.86.152]) by www.aunet.org (Postfix) with ESMTP id CDB464A325 for ; Fri, 16 Mar 2001 12:13:13 -0800 (PST) Received: from jediland.home.retortsoft.com (jediland.home.retortsoft.com [192.168.111.33]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id BAA24573 for ; Sat, 17 Mar 2001 01:36:12 +0530 Received: (from binand@localhost) by jediland.home.retortsoft.com (8.9.3/8.9.3) id BAA03234 for linux-india-programmers@lists.linux-india.org; Sat, 17 Mar 2001 01:25:32 +0530 Date: Sat, 17 Mar 2001 01:25:32 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: problems installing kernel 2.4.1 Message-ID: <20010317012532.A3144@home.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20010316194514.48830.qmail@web10813.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <20010316194514.48830.qmail@web10813.mail.yahoo.com>; from vishwasbhari@yahoo.com on Fri, Mar 16, 2001 at 11:45:14AM -0800 X-Operating-System: Linux 2.2.16-1 X-Editor: VIM - Vi IMproved 5.7a BETA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/162 X-Sequence-Number: 1882 Vishwas Bhari forced the electrons to say: > I am having problems installing the kernel 2.4.1 > got on mar 2001 pc-quest cd. Please repost on linux-india-help. More on topic there. Binand From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 19:44:26 2001 Received: from bluesky.imeme.net (imeme.net [216.17.170.123]) by www.aunet.org (Postfix) with ESMTP id F22BA4A06E; Fri, 16 Mar 2001 19:44:20 -0800 (PST) Received: from (jace.pobox.com) [210.212.160.155] by bluesky.imeme.net with esmtp (Exim 3.12 #1 (Debian)) id 14e7Wi-0002Zx-00; Fri, 16 Mar 2001 20:37:15 -0700 X-Pgp-Dsskey: 0x735BC875 X-Pgp-Rsakey: 0xF85BA8E9 Message-Id: <5.0.2.1.0.20010317090529.03587708@wheresmymailserver.com> X-Sender: (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0.2 Date: Sat, 17 Mar 2001 09:06:40 +0530 To: linux-india-general@lists.linux-india.org, linux-india-programmers@lists.linux-india.org From: Kiran Jonnalagadda Subject: Going offline Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200103/163 X-Sequence-Number: 1883 Crunch time ahead. Goodbye list! Be back in a couple of months... -- Kiran Jonnalagadda http://www.pobox.com/~jace From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 19:46:10 2001 Received: from nirjuli.nerist.ernet.in (unknown [203.200.165.153]) by www.aunet.org (Postfix) with ESMTP id A41244A2E0 for ; Fri, 16 Mar 2001 19:45:53 -0800 (PST) Received: from yahoo.com (IDENT:naba@ws236.nerist.ernet.in [202.141.91.236]) by nirjuli.nerist.ernet.in (8.9.3/8.8.7) with ESMTP id JAA00801 for ; Sat, 17 Mar 2001 09:02:47 +0530 Message-ID: <3AB2DE74.D939151@yahoo.com> Date: Sat, 17 Mar 2001 09:18:04 +0530 From: Naba Kumar Reply-To: kh_naba@123india.com Organization: NERIST X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Terminal commands References: <20010316161140.6405.qmail@mailweb6.rediffmail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/164 X-Sequence-Number: 1884 Karthika Sivaramakrishnan wrote: > Hello! > I would like to know where the commands executed in any terminal are stored in Linux (in which file), to achieve the DOSKEY-like effect. Any information / suggestion about looking into that file is awaited. If you are using bash shell (the history is recorded by shell and not by the terminal), then please find the history log of commands in the file $(HOME)/.bash_history. This is a text file and a hidden file. To have a look. run $ ls .* (for dir listing) $ vi .bash_history (to edit ???) _____________________________________ If you are not using bash command shell, then it's man page should tell where the history is stored. Regards, -Naba From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 19:56:04 2001 Received: from brahma.roc.com (unknown [202.54.67.218]) by www.aunet.org (Postfix) with ESMTP id 562A74A225 for ; Fri, 16 Mar 2001 19:55:49 -0800 (PST) Received: from rkp.roc.com (rkp@5net88.roc.com [172.16.5.88]) by brahma.roc.com (8.8.5/8.8.5) with SMTP id JAA06093; Sat, 17 Mar 2001 09:25:08 +0530 (IST) From: Ch Rama Krishna Prasad Reply-To: rkp@intotoinc.com Organization: Intoto Inc To: linux-india-programmers@lists.linux-india.org, Vishwas Bhari , linux-india-programmers@lists.linux-india.org Subject: Re: problems installing kernel 2.4.1 Date: Sat, 17 Mar 2001 09:04:59 +0530 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <20010316194514.48830.qmail@web10813.mail.yahoo.com> In-Reply-To: <20010316194514.48830.qmail@web10813.mail.yahoo.com> MIME-Version: 1.0 Message-Id: <01031709105500.00677@rkp.roc.com> Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/165 X-Sequence-Number: 1885 Hi I think the kernel size (bzImage) is more than 800kb . If it is that then you will not able to boot with that Image. One more think in make menuconfig you will some supports which are not needed. try with the following make clean make mrproper make menuconfig make dep make bzImage make modules make modules_install then it is good and in make menuconfig you can remove the options like firewall_support ,amterure radio support,joy stick support, sound support like that some options you can remove and try . It will solve your problem. From Ch.R.k.Prasad On Sat, 17 Mar 2001, Vishwas Bhari wrote: > hi all, > I am having problems installing the kernel 2.4.1 > got on mar 2001 pc-quest cd. > I am using RH 7.0 on a pentium 100mhz machine. > After extracting the new kernel.2.4.1.tar.bgz to > ~/root/kernel/linux > I did the following steps > a)make menuconfig (saved and exited). > b)make dep > c)make bzImage. > later I copied the image from > ...../linux/arch/i386/boot/bzImage to /boot/bzImage. > cchanged /etc/lilo.conf to reflect the new kernel. > d) lilo > But when i rebooted i get the following messeges > kernel decompressed....(or the like) and followed by > ...loading kernel > the system hangs afterwards. > Can anyone help me out > ps:I even tried make zImage but get an error system > too big! > > __________________________________________________ > Do You Yahoo!? > Get email at your own domain with Yahoo! Mail. > http://personal.mail.yahoo.com/ > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. -- Ch.Rama Krishna prasad mailto: rkp@intotoinc.com -- From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 23:06:06 2001 Received: from pyr.uniflex.net (unknown [209.201.58.10]) by www.aunet.org (Postfix) with ESMTP id 3CC8D4A221 for ; Fri, 16 Mar 2001 23:05:01 -0800 (PST) Received: from USNJ01EX01.mindtree.com (mtreedsl.uniflex.net [209.201.58.149]) by pyr.uniflex.net (8.9.3/8.9.3) with ESMTP id BAA39586 for ; Sat, 17 Mar 2001 01:59:02 -0500 Received: from hqbng01ex01.mindtree.com ([172.20.20.4]) by USNJ01EX01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Sat, 17 Mar 2001 01:57:38 -0500 Received: from mtv01ex01.mindtree.com ([172.20.32.4]) by hqbng01ex01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Sat, 17 Mar 2001 12:27:29 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Source code for TCP Dump Date: Sat, 17 Mar 2001 12:27:29 +0530 Message-ID: <2330401A6FE03445ADA682F5EBB7502D7AC6DE@mtv01ex01.mindtree.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [LIP] Source code for TCP Dump Thread-Index: AcCuGKalcdQq6L+nRHyzdSlvjSSGEQAlsN4w From: "Mayank Sharma" To: X-OriginalArrivalTime: 17 Mar 2001 06:57:29.0920 (UTC) FILETIME=[88837400:01C0AEAF] X-Archive-Number: 200103/166 X-Sequence-Number: 1886 Hi, Did u try google search on TcpDump.... there are loads of pointers for the same... http://www.google.com/linux?site=3Dsearch&restrict=3Dlinux&hl=3Den&lr=3D&sa= fe=3Doff&q=3Dt cpdump Regards, Mayank > -----Original Message----- > From: V.Kugan [mailto:kugan@mediasolv.com] > Sent: Saturday, March 17, 2001 12:31 AM > To: linux-india-programmers@lists.linux-india.org > Subject: [LIP] Source code for TCP Dump >=20 >=20 > Hello Everyone > Can you please direct me to tcp dump source code or any other=20 > open source > utility that can be used to analyze all the tcp/Ip traffic. > Thanx in Advance > Regards > Kugan >=20 >=20 > --------------------------------------------- > An alpha version of a web based tool to manage > your subscription with this mailing list is at > http://lists.linux-india.org/cgi-bin/mj_wwwusr >=20 From linux-india-programmers-owner@lists.linux-india.org Fri Mar 16 23:07:18 2001 Received: from pyr.uniflex.net (unknown [209.201.58.10]) by www.aunet.org (Postfix) with ESMTP id 4B28C4A24E for ; Fri, 16 Mar 2001 23:07:16 -0800 (PST) Received: from USNJ01EX01.mindtree.com (mtreedsl.uniflex.net [209.201.58.149]) by pyr.uniflex.net (8.9.3/8.9.3) with ESMTP id CAA33740 for ; Sat, 17 Mar 2001 02:01:18 -0500 Received: from hqbng01ex01.mindtree.com ([172.20.20.4]) by USNJ01EX01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Sat, 17 Mar 2001 01:59:53 -0500 Received: from HQBNG01EXFE01.mindtree.com ([172.20.20.23]) by hqbng01ex01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Sat, 17 Mar 2001 12:29:45 +0530 Received: from mtv01ex01.mindtree.com ([172.20.32.4]) by HQBNG01EXFE01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Sat, 17 Mar 2001 12:29:45 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: problems installing kernel 2.4.1 Date: Sat, 17 Mar 2001 12:29:44 +0530 Message-ID: <2330401A6FE03445ADA682F5EBB7502D7AC6DF@mtv01ex01.mindtree.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [LIP] problems installing kernel 2.4.1 Thread-Index: AcCuUafz++pLV+vcQUuk1fgdh+jYKgAXgcwg From: "Mayank Sharma" To: X-OriginalArrivalTime: 17 Mar 2001 06:59:45.0271 (UTC) FILETIME=[D9306070:01C0AEAF] X-Archive-Number: 200103/167 X-Sequence-Number: 1887 Maybe you forgot the following step... > I did the following steps > a)make menuconfig (saved and exited). > b)make dep > c)make bzImage. d) make modules e) make modules_install see if this works... Regards, mayank From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 01:49:11 2001 Received: from mailweb31.rediffmail.com (unknown [203.199.83.151]) by www.aunet.org (Postfix) with SMTP id 14FDE4A1FB for ; Sat, 17 Mar 2001 01:49:06 -0800 (PST) Received: (qmail 21638 invoked by uid 510); 17 Mar 2001 09:42:16 -0000 Date: 17 Mar 2001 09:42:16 -0000 Message-ID: <20010317094216.21637.qmail@mailweb31.rediffmail.com> Received: from unknown (203.90.78.131) by rediffmail.com via HTTP; 17 Mar 2001 09:42:16 -0000 MIME-Version: 1.0 To: , <@rediffmail.com > Subject: process migration on linux From: "sameer atar" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/168 X-Sequence-Number: 1888 hi! we are a group of TE comp students wanting to do BE project on process migration on LINUX platform.can anybody give info(links,documents etc.)in this regard. we didn't find much info on net. also is it possible to implement process migration on linux and as a BE project(we don't know if we can do it as we are in TE and don't know much about OS and would like your opinions)and what specific improvements can we make to make our implementation better than present implementations(what are existing project's shortcomings?). waiting eagerly for reply. Sameer _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 06:07:27 2001 Received: from sce.ac.in (unknown [210.212.250.130]) by www.aunet.org (Postfix) with ESMTP id 7706B4A138 for ; Sat, 17 Mar 2001 06:07:17 -0800 (PST) Received: from [210.212.250.136] (account ) by sce.ac.in (CommuniGate Pro WebUser 3.1) with HTTP id 3315278 for ; Sat, 17 Mar 2001 19:29:35 +0530 From: "Linux List " Subject: reg jdk To: X-Mailer: CommuniGate Pro Web Mailer v.3.1 Date: Sat, 17 Mar 2001 19:29:35 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Archive-Number: 200103/169 X-Sequence-Number: 1889 hi I am using red hat linux 7.0 downloaded from net... The default jdk installed with this system is the kaffe java which is quite fast..but it doesnot have support for the java swing api..i checked the javac and java scripts in /usr/bin it points to kaffe with specific options.i want to know the difference in all this java jvm's.I have also heard of Blackdown's jdk. which one is the best jdk for linux.I also want to run my swing applications in linux. any links/pointers of jdk with swing api for linux r most welcome thanx in advance. bye vinu gvinu@it1.sce.ac.in From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 06:20:31 2001 Received: from matrix.mediasolv.com (unknown [203.115.19.131]) by www.aunet.org (Postfix) with ESMTP id DA6704A181 for ; Sat, 17 Mar 2001 06:20:24 -0800 (PST) Received: from kugan ([192.168.1.51]) by matrix.mediasolv.com (8.11.1/8.11.1) with SMTP id f2HEBxD07852 for ; Sat, 17 Mar 2001 20:11:59 +0600 From: "V.Kugan" To: Subject: RE: Source code for TCP Dump Date: Sat, 17 Mar 2001 20:17:39 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-Reply-To: <2330401A6FE03445ADA682F5EBB7502D7AC6DE@mtv01ex01.mindtree.com> Importance: Normal X-Archive-Number: 200103/170 X-Sequence-Number: 1890 I am sorry i didnt try Google, I just tried yahoo. Thank you very much Kugan -----Original Message----- From: linux-india-programmers-owner@lists.linux-india.org [mailto:linux-india-programmers-owner@lists.linux-india.org]On Behalf Of Mayank Sharma Sent: Saturday, March 17, 2001 6:57 AM To: linux-india-programmers@lists.linux-india.org Subject: RE: [LIP] Source code for TCP Dump Hi, Did u try google search on TcpDump.... there are loads of pointers for the same... http://www.google.com/linux?site=search&restrict=linux&hl=en&lr=&safe=off&q= t cpdump Regards, Mayank > -----Original Message----- > From: V.Kugan [mailto:kugan@mediasolv.com] > Sent: Saturday, March 17, 2001 12:31 AM > To: linux-india-programmers@lists.linux-india.org > Subject: [LIP] Source code for TCP Dump > > > Hello Everyone > Can you please direct me to tcp dump source code or any other > open source > utility that can be used to analyze all the tcp/Ip traffic. > Thanx in Advance > Regards > Kugan > > > --------------------------------------------- > An alpha version of a web based tool to manage > your subscription with this mailing list is at > http://lists.linux-india.org/cgi-bin/mj_wwwusr > --------------------------------------------- The mailing list archives are available at http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 06:34:17 2001 Received: from stewart.spectranet.com (unknown [203.122.63.155]) by www.aunet.org (Postfix) with ESMTP id B3B224A138 for ; Sat, 17 Mar 2001 06:34:08 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by stewart.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GADBYO00.5I0 for ; Sat, 17 Mar 2001 19:56:48 -0500 Message-ID: <015901c0aeee$49f9efe0$8900000a@aclindia.com> From: "Ambar Roy" To: References: Subject: Re: reg jdk Date: Sat, 17 Mar 2001 19:56:42 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/171 X-Sequence-Number: 1891 > I am using red hat linux 7.0 downloaded from net... > The default jdk installed with this system is the > kaffe java which is quite fast..but it doesnot have > support for the java swing api..i checked the javac > and java scripts in /usr/bin it points to kaffe with > specific options.i want to know the difference in all > this java jvm's.I have also heard of Blackdown's jdk. > which one is the best jdk for linux.I also want to > run my swing applications in linux. > any links/pointers of jdk with swing api for linux r get the ibm jdk 1.3 for linux. it is fast and it is very stable, and is from IBM!!!! I use it for some production servers, and i hav never had any problems.. Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 06:34:51 2001 Received: from stewart.spectranet.com (unknown [203.122.63.155]) by www.aunet.org (Postfix) with ESMTP id 69A0A4A161 for ; Sat, 17 Mar 2001 06:34:47 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by stewart.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GADBZP00.FJ6 for ; Sat, 17 Mar 2001 19:57:25 -0500 Message-ID: <015d01c0aeee$5ffa9100$8900000a@aclindia.com> From: "Ambar Roy" To: References: Subject: Re: Source code for TCP Dump Date: Sat, 17 Mar 2001 19:57:15 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/172 X-Sequence-Number: 1892 > I am sorry i didnt try Google, I just tried yahoo. always try yahoo, and then google.. google can fish out real obscure things that u won't expect it to!!! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 06:37:01 2001 Received: from satyaki.pacific.net.in (satyaki.pacific.net.in [203.123.128.85]) by www.aunet.org (Postfix) with ESMTP id CAF064A278 for ; Sat, 17 Mar 2001 06:36:56 -0800 (PST) Received: from ganga.sankya.com (ppp89.bangalore-188.pacific.net.in [203.123.188.89]) by satyaki.pacific.net.in with ESMTP id TAA23240 for ; Sat, 17 Mar 2001 19:59:45 +0530 (IST) Date: Sat, 17 Mar 2001 19:59:43 +0530 From: Babu Kalakrishnan To: linux-india-programmers@lists.linux-india.org Subject: Re: reg jdk Message-ID: <20010317195943.B2101@sankya.com> Mail-Followup-To: Babu Kalakrishnan , linux-india-programmers@lists.linux-india.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from linux-prog@sce.ac.in on Sat, Mar 17, 2001 at 07:29:35PM +0530 X-Operating-System: Red hat Linux 6.2 with Kernel 2.2.16-3 X-Kernel: Kernel 2.2.16-3 on an i686 Organization: Sankya Systems & Objects (P) Ltd., Bangalore, India X-Archive-Number: 200103/173 X-Sequence-Number: 1893 On Sat, Mar 17, 2001 at 07:29:35PM +0530, Linux List typed: > I am using red hat linux 7.0 downloaded from net... > The default jdk installed with this system is the > kaffe java which is quite fast..but it doesnot have > support for the java swing api..i checked the javac > and java scripts in /usr/bin it points to kaffe with > specific options.i want to know the difference in all > this java jvm's.I have also heard of Blackdown's jdk. > which one is the best jdk for linux.I also want to > run my swing applications in linux. > any links/pointers of jdk with swing api for linux r > most welcome I believe the kaffe JVM installed as default is Java 1.1.x compliant - and that's why doesn't support swing by default. Sun, Blackdown and IBM have released version 1.3 of the JDK. I found the IBM JVM to be quite a memory hog. Sun and Blackdown are reasonably better, but performance under Linux is worse than under WinXX. Also there are quite a few problems with Keyboard mappings, mouse behaviour and Windows behaviour (which again differ based on which Window Manager you've installed). It seems the 1.3.1 beta release from Sun has addresses some of these issues, but I haven't tried it out. By the way, from what I've heard, you need to also apply the numerous glibc patches that Red Hat has released since the 7.0 release to get the newer JDKs to work properly under RH7. (Second hand info - I'm still on RH6.2) Kala From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 07:44:31 2001 Received: from aukbc3.aukbc.org (unknown [203.197.142.200]) by www.aunet.org (Postfix) with ESMTP id 805B14A16C; Sat, 17 Mar 2001 07:44:19 -0800 (PST) Received: from hanuman.aukbc.org (IDENT:mksarav@[192.168.2.37]) by aukbc3.aukbc.org (8.9.3/8.9.3) with ESMTP id VAA11317; Sat, 17 Mar 2001 21:17:12 +0530 Date: Sat, 17 Mar 2001 21:18:06 +0530 (IST) From: M K Saravanan To: linux-india-general@lists.linux-india.org Cc: linux-india-programmers@lists.linux-india.org, Indian Linux User Group - Chennai Subject: got a mail with * Ur password has been stolen * as subject Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/174 X-Sequence-Number: 1894 hi, I got the following mail. Is it a hoax or some team is really trying to crack my system? -- mks -- ---------- Forwarded message ---------- Return-Path: Received: from localhost (IDENT:mksarav@localhost [127.0.0.1]) by hanuman.aukbc.org (8.9.3/8.9.3) with ESMTP id VAA01855 for ; Sat, 17 Mar 2001 21:07:54 +0530 From: mksarav@mitindia.edu Received: from mail.mitindia.edu by localhost with POP3 (fetchmail-5.3.1) for mksarav@localhost (single-drop); Sat, 17 Mar 2001 21:07:54 +0530 (IST) Received: from proximity.globalgold.co.uk [212.250.240.2] by mail.mitindia.edu with ESMTP (SMTPD32-6.04) id AAB4CB3B00E0; Sat, 17 Mar 2001 09:54:44 -0500 Received: (from nobody@localhost) by proximity.globalgold.co.uk (8.9.1/8.9.1) id OAA04107; Sat, 17 Mar 2001 14:58:33 GMT Date: Sat, 17 Mar 2001 14:58:33 GMT Message-Id: <200103171458.OAA04107@proximity.globalgold.co.uk> Received: from www.ManicMail.net (abuse@manicmail.net) Comments: email ManicMail with all instances of abuse Comments: enclosing a copy of the email and all header information To: mksarav@mitindia.edu Subject: Ur password has been stolen X-RCPT-TO: X-UIDL: 284475882 Hi! Ur password has been stolen by our team. U may be wondering what may be our aim .. .. without changing the password, we r just warning and leaving the password to the owner itself.. We r the team who keep on try to find loopholes. We hope u will maintain ur password so that u will not receive this kind of mail again. Ur password enemy, Password Crack Team From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 08:01:47 2001 Received: from wilco-int.com (intmailserv.wilco-int.com [212.36.174.165]) by www.aunet.org (Postfix) with ESMTP id 657DC4A13C; Sat, 17 Mar 2001 08:01:39 -0800 (PST) Received: from wilco-fw3.wilco-int.com (wilco-fwdmz.wilco-int.com [192.168.32.253]) by wilco-int.com (8.9.1b+Sun/8.9.1) with SMTP id PAA20574; Sat, 17 Mar 2001 15:46:11 GMT Received: from mailsweeper.wilco-int.com ([194.62.147.25]) by wilco-fw3.wilco-int.com; Sat, 17 Mar 2001 15:46:46 +0000 (GMT) Received: from lonmail01.wilco-int.com (unverified) by mailsweeper.wilco-int.com (Content Technologies SMTPRS 4.1.2) with ESMTP id ; Sat, 17 Mar 2001 15:47:11 +0000 Received: by lonmail01 with Internet Mail Service (5.5.2650.21) id ; Sat, 17 Mar 2001 15:46:57 -0000 Received: from hydmail02.hyd.wilco-int.com (HYDMAIL02 [192.168.130.33]) by lonmail01.wilco-int.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id HC16LT75; Sat, 17 Mar 2001 15:46:47 -0000 Received: by hydmail02.hyd.wilco-int.com with Internet Mail Service (5.5.2650.21) id ; Sat, 17 Mar 2001 21:15:50 +0530 From: Prashant Ramachandra To: "'linux-india-programmers@lists.linux-india.org'" , linux-india-general@lists.linux-india.org Cc: Indian Linux User Group - Chennai Message-ID: <5BF60CD649EDD411A04600B0D049F53A09258D@hydmail02.hyd.wilco-int.com> Subject: RE: got a mail with * Ur password has been stolen * as subj ect Date: Sat, 17 Mar 2001 21:15:49 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Archive-Number: 200103/175 X-Sequence-Number: 1895 On Saturday, March 17, 2001 9:18 PM, M K Saravanan [SMTP:mksarav@mail.mitindia.edu] wrote: | hi, | | I got the following mail. Is it a hoax or some team is really | trying to crack | my system? The headers look perfect. The reverse lookup on 212.250.240.2 gives the right domain name. But it's hard to say whether anyone's got your password or not. Just change the password, anyway... -- Prashant TR Web: http://www.midpec.com/ | ---------- Forwarded message ---------- | Return-Path: | Received: from localhost (IDENT:mksarav@localhost [127.0.0.1]) | by hanuman.aukbc.org (8.9.3/8.9.3) with ESMTP id VAA01855 | for ; Sat, 17 Mar 2001 21:07:54 +0530 | From: mksarav@mitindia.edu | Received: from mail.mitindia.edu | by localhost with POP3 (fetchmail-5.3.1) | for mksarav@localhost (single-drop); Sat, 17 Mar 2001 21:07:54 + | 0530 (IST) | Received: from proximity.globalgold.co.uk [212.250.240.2] by | mail.mitindia.edu with ESMTP | (SMTPD32-6.04) id AAB4CB3B00E0; Sat, 17 Mar 2001 09:54:44 -0500 | Received: (from nobody@localhost) | by proximity.globalgold.co.uk (8.9.1/8.9.1) id OAA04107; | Sat, 17 Mar 2001 14:58:33 GMT | Date: Sat, 17 Mar 2001 14:58:33 GMT | Message-Id: <200103171458.OAA04107@proximity.globalgold.co.uk> | Received: from www.ManicMail.net (abuse@manicmail.net) | Comments: email ManicMail with all instances of abuse | Comments: enclosing a copy of the email and all header information | To: mksarav@mitindia.edu | Subject: Ur password has been stolen | X-RCPT-TO: | X-UIDL: 284475882 ---------------------------------------------------------------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ---------------------------------------------------------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 08:15:08 2001 Received: from mailinx.nettlinx.com (unknown [202.53.64.197]) by www.aunet.org (Postfix) with ESMTP id BFABE4A29B; Sat, 17 Mar 2001 08:14:27 -0800 (PST) Received: from frodo.kcircle.com (UNKNOWN [202.131.129.134]) by mailinx.nettlinx.com (Netscape Messaging Server 4.01) with SMTP id GADGTA01.G9T; Sat, 17 Mar 2001 21:41:34 -0500 Received: (from sureshr@localhost) by frodo.kcircle.com (8.11.0/8.11.0/frodo-1.5) id f2HGBBT00343; Sat, 17 Mar 2001 21:41:11 +0530 Date: Sat, 17 Mar 2001 21:41:11 +0530 From: Suresh Ramasubramanian To: linux-india-general@lists.linux-india.org Cc: linux-india-programmers@lists.linux-india.org, Indian Linux User Group - Chennai Subject: Re: [LIG] got a mail with * Ur password has been stolen * as subject Message-ID: <20010317214111.A339@efn.org> Mail-Followup-To: linux-india-general@lists.linux-india.org, linux-india-programmers@lists.linux-india.org, Indian Linux User Group - Chennai References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from mksarav@mail.mitindia.edu on Sat, Mar 17, 2001 at 09:18:06PM +0530 Organization: Hopelessly Disorganized X-Files: Great Show X-Terminate: M$ X-Archive-Number: 200103/176 X-Sequence-Number: 1896 On 17/03/01 21:18 +0530, M K Saravanan spewed into the LI bitstream: > I got the following mail. Is it a hoax or some team is really trying to > crack my system? From the spelling, it sounds like this skript kiddie is based in India > Return-Path: > Received: from localhost (IDENT:mksarav@localhost [127.0.0.1]) > by hanuman.aukbc.org (8.9.3/8.9.3) with ESMTP id VAA01855 > for ; Sat, 17 Mar 2001 21:07:54 +0530 did someone set the return path and from that way? it is very easy to forge > Received: from mail.mitindia.edu > by localhost with POP3 (fetchmail-5.3.1) mitindia sends it to your localhost using fetchmail > Received: from proximity.globalgold.co.uk [212.250.240.2] by > mail.mitindia.edu with ESMTP > (SMTPD32-6.04) id AAB4CB3B00E0; Sat, 17 Mar 2001 09:54:44 -0500 proximity.globalgold.co.uk sends it to your server > Received: (from nobody@localhost) > by proximity.globalgold.co.uk (8.9.1/8.9.1) id OAA04107; > Sat, 17 Mar 2001 14:58:33 GMT > Date: Sat, 17 Mar 2001 14:58:33 GMT > Message-Id: <200103171458.OAA04107@proximity.globalgold.co.uk> this is a webmail app ... note the nobody@localhost (usually the sign of a cgi script) > Received: from www.ManicMail.net (abuse@manicmail.net) > Comments: email ManicMail with all instances of abuse > Comments: enclosing a copy of the email and all header information do this - contact abuse@manicmail.net > To: mksarav@mitindia.edu > Subject: Ur password has been stolen change your passwords (and use mkpasswd instead of your girlfriend's / dog's name or something similar) > Ur password has been stolen by our team. > U may be wondering what may be our aim .. .. without changing > the password, we r just warning and leaving the password to the owner itself.. > We r the team who keep on try to find loopholes. Spells like a script kiddie ... and an Indian script kiddie at that. Ask manicmail about this. -- Suresh Ramasubramanian <----> mallet efn dot org EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin X-rated movies are all alike ... the only thing they leave to the imagination is the plot. From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 08:18:22 2001 Received: from mailinx.nettlinx.com (unknown [202.53.64.197]) by www.aunet.org (Postfix) with ESMTP id C60154A16C; Sat, 17 Mar 2001 08:18:02 -0800 (PST) Received: from frodo.kcircle.com (UNKNOWN [202.131.129.134]) by mailinx.nettlinx.com (Netscape Messaging Server 4.01) with SMTP id GADGZB02.HBJ; Sat, 17 Mar 2001 21:45:11 -0500 Received: (from sureshr@localhost) by frodo.kcircle.com (8.11.0/8.11.0/frodo-1.5) id f2HGExA00390; Sat, 17 Mar 2001 21:44:59 +0530 Date: Sat, 17 Mar 2001 21:44:59 +0530 From: Suresh Ramasubramanian To: linux-india-general@lists.linux-india.org, linux-india-programmers@lists.linux-india.org Cc: Indian Linux User Group - Chennai Subject: Re: [LIG] got a mail with * Ur password has been stolen * as subject Message-ID: <20010317214459.A381@efn.org> Mail-Followup-To: linux-india-general@lists.linux-india.org, linux-india-programmers@lists.linux-india.org, Indian Linux User Group - Chennai References: <20010317214111.A339@efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <20010317214111.A339@efn.org>; from mallet@efn.org on Sat, Mar 17, 2001 at 09:41:11PM +0530 Organization: Hopelessly Disorganized X-Files: Great Show X-Terminate: M$ X-Archive-Number: 200103/177 X-Sequence-Number: 1897 On 17/03/01 21:41 +0530, Suresh Ramasubramanian spewed into the LI bitstream: > proximity.globalgold.co.uk sends it to your server > > Received: (from nobody@localhost) > > by proximity.globalgold.co.uk (8.9.1/8.9.1) id OAA04107; > > Sat, 17 Mar 2001 14:58:33 GMT > this is a webmail app ... note the nobody@localhost (usually the sign of a > cgi script) > > Received: from www.ManicMail.net (abuse@manicmail.net) ... and proximity.globalgold.co.uk hosts manicmail.net frodo:~ dig manicmail.net MX 8< ;; manicmail.net, type = MX, class = IN ;; ANSWER SECTION: manicmail.net. 16m32s IN MX 10 mail.globalgold.co.uk. ;; AUTHORITY SECTION: manicmail.net. 1d23h59m51s IN NS NS2.globalgold.co.uk. manicmail.net. 1d23h59m51s IN NS NS1.globalgold.co.uk. ;; ADDITIONAL SECTION: mail.globalgold.co.uk. 16m38s IN A 212.250.240.17 NS2.globalgold.co.uk. 58M IN A 209.40.116.14 NS1.globalgold.co.uk. 58M IN A 212.250.240.1 > > Comments: email ManicMail with all instances of abuse > > Comments: enclosing a copy of the email and all header information -- Suresh Ramasubramanian <----> mallet efn dot org EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin X-rated movies are all alike ... the only thing they leave to the imagination is the plot. From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 14:24:38 2001 Received: from eth.net (unknown [202.9.145.19]) by www.aunet.org (Postfix) with ESMTP id 8A6EA4A15F for ; Sat, 17 Mar 2001 14:24:29 -0800 (PST) Received: from Whitefield ([202.9.172.22]) by eth.net with Microsoft SMTPSVC(5.5.1877.537.53); Sun, 18 Mar 2001 03:41:47 +0530 Message-ID: <002101c0af30$862a8b40$db2136ca@Whitefield> From: "whitefieldcotton" To: Subject: non-linux partition on a linux harddrive. Date: Sun, 18 Mar 2001 03:50:49 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 Disposition-Notification-To: "whitefieldcotton" X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-Archive-Number: 200103/178 X-Sequence-Number: 1898 In a new harddrive, Suse Linux 7.1 has been installed without creating partitions. Three more partitions are to be created in this hard disk 46 GB for Windows and Solaris 8 for intel etc. Is there a partition utility in linux to create partitions for other operating systems? Can the group guide me as to how to handle this problem? ( I am not a programmer and I have virtually no exposure to linux.) shiva cotton@vsnl.com From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 18:50:41 2001 Received: from mailweb17.rediffmail.com (unknown [203.199.83.141]) by www.aunet.org (Postfix) with SMTP id 1AD9A4A0BD for ; Sat, 17 Mar 2001 18:50:39 -0800 (PST) Received: (qmail 32542 invoked by uid 510); 18 Mar 2001 02:35:56 -0000 Date: 18 Mar 2001 02:35:56 -0000 Message-ID: <20010318023556.32541.qmail@mailweb17.rediffmail.com> Received: from unknown (210.214.6.244) by rediffmail.com via HTTP; 18 Mar 2001 02:35:56 -0000 MIME-Version: 1.0 To: LIP Subject: Re: Terminal commands From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/179 X-Sequence-Number: 1899 Hello! Thanks for the location of the history file. I want to add more features to it. So, could you please tell where that shell script, responsible for logging the commands typed at the terminal, is available? Thnaks a lot. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 21:28:25 2001 Received: from wilco-int.com (intmailserv.wilco-int.com [212.36.174.165]) by www.aunet.org (Postfix) with ESMTP id C3D2E4A0B6 for ; Sat, 17 Mar 2001 21:28:20 -0800 (PST) Received: from wilco-fw3.wilco-int.com (wilco-fwdmz.wilco-int.com [192.168.32.253]) by wilco-int.com (8.9.1b+Sun/8.9.1) with SMTP id FAA22831 for ; Sun, 18 Mar 2001 05:19:14 GMT Received: from mailsweeper.wilco-int.com ([194.62.147.25]) by wilco-fw3.wilco-int.com; Sun, 18 Mar 2001 05:19:51 +0000 (GMT) Received: from lonmail01.wilco-int.com (unverified) by mailsweeper.wilco-int.com (Content Technologies SMTPRS 4.1.2) with ESMTP id for ; Sun, 18 Mar 2001 05:20:12 +0000 Received: by lonmail01 with Internet Mail Service (5.5.2650.21) id ; Sun, 18 Mar 2001 05:20:00 -0000 Received: from hydmail02.hyd.wilco-int.com (HYDMAIL02 [192.168.130.33]) by lonmail01.wilco-int.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id HC16LVBG; Sun, 18 Mar 2001 05:19:51 -0000 Received: by hydmail02.hyd.wilco-int.com with Internet Mail Service (5.5.2650.21) id ; Sun, 18 Mar 2001 10:48:56 +0530 From: Prashant Ramachandra To: "'linux-india-programmers@lists.linux-india.org'" Message-ID: <5BF60CD649EDD411A04600B0D049F53A09258F@hydmail02.hyd.wilco-int.com> Subject: RE: Re: Terminal commands Date: Sun, 18 Mar 2001 10:48:55 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Archive-Number: 200103/180 X-Sequence-Number: 1900 On Sunday, March 18, 2001 8:06 AM, Karthika Sivaramakrishnan [SMTP:karthika212@rediffmail.com] wrote: | Hello! | Thanks for the location of the history file. I want to add more | features to it. So, could you please tell where that shell script, | responsible for logging the commands typed at the terminal, is | available? It's not a shell script that does the job. It's the shell itself. And what are those extra features that you want to add? To modify any of this functionality, you need to get the bash sources and make the necessary changes (which I don't recommend unless you know what you're doing). Anyway, you can get that from ftp://ftp.gnu.org/gnu/bash/ -- Prashant TR Web: http://www.midpec.com/ ---------------------------------------------------------------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ---------------------------------------------------------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 21:28:29 2001 Received: from alice.bombay.retortsoft.com (unknown [203.199.86.31]) by www.aunet.org (Postfix) with ESMTP id 7D69C4A073 for ; Sat, 17 Mar 2001 21:28:06 -0800 (PST) Received: from jediland.home.retortsoft.com (jediland.home.retortsoft.com [192.168.111.33]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id KAA13257 for ; Sun, 18 Mar 2001 10:50:28 +0530 Received: (from binand@localhost) by jediland.home.retortsoft.com (8.9.3/8.9.3) id KAA10084 for linux-india-programmers@lists.linux-india.org; Sun, 18 Mar 2001 10:39:48 +0530 Date: Sun, 18 Mar 2001 10:39:48 +0530 From: "Binand Raj S." To: LIP Subject: Re: Re: Terminal commands Message-ID: <20010318103948.B5657@home.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: LIP References: <20010318023556.32541.qmail@mailweb17.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <20010318023556.32541.qmail@mailweb17.rediffmail.com>; from karthika212@rediffmail.com on Sun, Mar 18, 2001 at 02:35:56AM -0000 X-Operating-System: Linux 2.2.16-1 X-Editor: VIM - Vi IMproved 5.7a BETA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/181 X-Sequence-Number: 1901 Karthika Sivaramakrishnan forced the electrons to say: > Thanks for the location of the history file. I want to add more > features to it. So we have someone who wants to rewrite history here? Good! > So, could you please tell where that shell script, > responsible for logging the commands typed at the terminal, is > available? It is not a shell script - it is the shell itself. What do you want to do? If command line editing is your problem, then read up readline(3) - the library used by bash (and many other programs) to take input from the user. The library has too many features that it is hard to find something that you need, but is not implemented. Especially read about the reverse-i-search and '!' and its modifiers. Also, setting HISTFILESIZE and HISTSIZE in your environment will help. Binand From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 21:28:38 2001 Received: from wilco-int.com (intmailserv.wilco-int.com [212.36.174.165]) by www.aunet.org (Postfix) with ESMTP id E18744A073 for ; Sat, 17 Mar 2001 21:28:18 -0800 (PST) Received: from wilco-fw3.wilco-int.com (wilco-fwdmz.wilco-int.com [192.168.32.253]) by wilco-int.com (8.9.1b+Sun/8.9.1) with SMTP id FAA22816 for ; Sun, 18 Mar 2001 05:15:44 GMT Received: from mailsweeper.wilco-int.com ([194.62.147.25]) by wilco-fw3.wilco-int.com; Sun, 18 Mar 2001 05:16:21 +0000 (GMT) Received: from lonmail01.wilco-int.com (unverified) by mailsweeper.wilco-int.com (Content Technologies SMTPRS 4.1.2) with ESMTP id for ; Sun, 18 Mar 2001 05:16:42 +0000 Received: by lonmail01 with Internet Mail Service (5.5.2650.21) id ; Sun, 18 Mar 2001 05:16:30 -0000 Received: from hydmail02.hyd.wilco-int.com (HYDMAIL02 [192.168.130.33]) by lonmail01.wilco-int.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id HC16LVBB; Sun, 18 Mar 2001 05:16:22 -0000 Received: by hydmail02.hyd.wilco-int.com with Internet Mail Service (5.5.2650.21) id ; Sun, 18 Mar 2001 10:45:26 +0530 From: Prashant Ramachandra To: "'linux-india-programmers@lists.linux-india.org'" Message-ID: <5BF60CD649EDD411A04600B0D049F53A09258E@hydmail02.hyd.wilco-int.com> Subject: RE: non-linux partition on a linux harddrive. Date: Sun, 18 Mar 2001 10:45:25 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Archive-Number: 200103/181 X-Sequence-Number: 1902 On Sunday, March 18, 2001 3:51 AM, whitefieldcotton [SMTP:whitefieldcotton@eth.net] wrote: | | Is there a partition utility in linux to create partitions for | other | operating systems? fdisk | Can the group guide me as to how to handle this | problem? The help in fdisk should be good enough to guide you. -- Prashant TR Web: http://www.midpec.com/ ---------------------------------------------------------------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ---------------------------------------------------------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Sat Mar 17 21:55:35 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 3A1924A073 for ; Sat, 17 Mar 2001 21:53:36 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id LAA17661; Sun, 18 Mar 2001 11:05:53 +0530 Date: Sun, 18 Mar 2001 11:05:53 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: Karthika Sivaramakrishnan Cc: LIP Subject: Re: Re: Terminal commands In-Reply-To: <20010318023556.32541.qmail@mailweb17.rediffmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/182 X-Sequence-Number: 1903 hi Karthika what i think so this is a inbult feature of shell , what i have observed is when u logout from the shell then only the .bash_history file is updated so u can put some commands in yr .profile trapping the appropriate signals that will make a y'r own verson of .bash_history, the signals to be traped is ( i dont remeber exactly refer k-pike) 15 in yr verson of history incorporate as many as functionalities possible regards shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- On 18 Mar 2001, Karthika Sivaramakrishnan wrote: > Hello! > Thanks for the location of the history file. I want to add more features to it. So, could you please tell where that shell script, responsible for logging the commands typed at the terminal, is available? > Thnaks a lot. > - Karthika > > _____________________________________________________ > Chat with your friends as soon as they come online. Get Rediff Bol at > http://bol.rediff.com > > > > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ > From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 03:13:16 2001 Received: from pyr.uniflex.net (unknown [209.201.58.10]) by www.aunet.org (Postfix) with ESMTP id E75CD4A3E9 for ; Sun, 18 Mar 2001 03:13:13 -0800 (PST) Received: from USNJ01EX01.mindtree.com (mtreedsl.uniflex.net [209.201.58.149]) by pyr.uniflex.net (8.9.3/8.9.3) with ESMTP id GAA28314 for ; Sun, 18 Mar 2001 06:07:10 -0500 Received: from hqbng01ex01.mindtree.com ([172.20.20.4]) by USNJ01EX01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Sun, 18 Mar 2001 06:05:42 -0500 Received: from HQBNG01EXFE01.mindtree.com ([172.20.20.23]) by hqbng01ex01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Sun, 18 Mar 2001 16:35:37 +0530 Received: from mtv01ex01.mindtree.com ([172.20.32.4]) by HQBNG01EXFE01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Sun, 18 Mar 2001 16:35:36 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Source code for TCP Dump Date: Sun, 18 Mar 2001 16:35:36 +0530 Message-ID: <2330401A6FE03445ADA682F5EBB7502D7AC6E1@mtv01ex01.mindtree.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [LIP] Source code for TCP Dump Thread-Index: AcCu7obctlQEzs6zTzKsLjGkHowt0QArIU5A From: "Mayank Sharma" To: X-OriginalArrivalTime: 18 Mar 2001 11:05:37.0060 (UTC) FILETIME=[5C5A7E40:01C0AF9B] X-Archive-Number: 200103/183 X-Sequence-Number: 1904 > > I am sorry i didnt try Google, I just tried yahoo. > always try yahoo, and then google.. google can fish out real=20 > obscure things that u won't expect it to!!! and waste your valuable time figuring out the site u need in the search results.. I used to use yahoo myself until i came to know of google, and thereafter yahoo has'nt gained a hit from me.. Regards, Mayank From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 04:35:18 2001 Received: from prodserver1.goatelecom.com (unknown [210.212.161.28]) by www.aunet.org (Postfix) with ESMTP id DFAB24A275 for ; Sun, 18 Mar 2001 04:35:10 -0800 (PST) Received: from localhost.localdomain by prodserver1.goatelecom.com (8.9.3/1.1.20.3/07Jul00-0916AM) id SAA0000014693; Sun, 18 Mar 2001 18:02:46 +0530 (IST) Received: (from gaurav@localhost) by localhost.localdomain (8.9.3/8.9.3) id SAA00677 for linux-india-programmers@lists.linux-india.org; Sun, 18 Mar 2001 18:00:38 +0530 X-Authentication-Warning: localhost.localdomain: gaurav set sender to gauravp@im.eth.net using -f Date: Sun, 18 Mar 2001 18:00:38 +0530 From: Gaurav Priyolkar To: Linux India Programmers List Subject: G[TD]K Message-ID: <20010318180038.A634@goatelecom.com> Mail-Followup-To: Linux India Programmers List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Archive-Number: 200103/184 X-Sequence-Number: 1905 Hi all, I just started learning GTK programming. The tutorial at www.gtk.org is excellent and I am having no problems with that. GDK however is another story all together. All they have is a manual which only gives prototypes of the various functions but with no code examples. Searches on Google drew up a blank (for the first time) as well. Can someone direct me to some decent GDK documentation or some code? TIA -Gaurav -- Sleep: A completely inadequate substitute for caffeine. From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 06:10:00 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 2638D4A180 for ; Sun, 18 Mar 2001 06:09:49 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id TAA29946 for ; Sun, 18 Mar 2001 19:27:54 +0530 Date: Sun, 18 Mar 2001 19:27:54 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: Linux India Programmers List Subject: java manual pages In-Reply-To: <20010318180038.A634@goatelecom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/185 X-Sequence-Number: 1906 hi friends is there is some source for java manual pages availlable on web, what i need is something like unix programing manuals regards shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 06:14:42 2001 Received: from cooper.spectranet.com (unknown [203.122.63.156]) by www.aunet.org (Postfix) with ESMTP id E88324A2ED for ; Sun, 18 Mar 2001 06:14:30 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by cooper.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GAF5RH00.I1S for ; Sun, 18 Mar 2001 19:38:05 -0500 Message-ID: <01ec01c0afb4$d5ddf080$8900000a@aclindia.com> From: "Ambar Roy" To: References: <2330401A6FE03445ADA682F5EBB7502D7AC6E1@mtv01ex01.mindtree.com> Subject: Re: Source code for TCP Dump Date: Sun, 18 Mar 2001 19:37:57 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/186 X-Sequence-Number: 1907 > > > I am sorry i didnt try Google, I just tried yahoo. > > always try yahoo, and then google.. google can fish out real > > obscure things that u won't expect it to!!! > > and waste your valuable time figuring out the site u need in the search > results.. I used to use yahoo myself until i came to know of google, and > thereafter yahoo has'nt gained a hit from me.. yahoo is good only for certain kinds of searches (especially finding sites for some organisation/company/univ etc.) for my kind of search needs yahoo is out almost always.. google rocks!!! Also sometimes it makes sense to use something like webferret or metacrawler if u r searching for something really obscure, and if u can get something like 2-3 matches on sites like google and altavista! After having used search engines for some time now, i feel that this is something that u hav to spend some time learning! u will hav to know which search engine to use and when, and with what kind of querry. for sites like yahoo, u search for real names, etc. on google u will search for keywords that u think wud be on the page u r searching for (and this is the imp part!) and which wud only be on those pages!!! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 06:23:58 2001 Received: from delcluster1.vsnl.net.in (del3.vsnl.net.in [202.54.96.4]) by www.aunet.org (Postfix) with ESMTP id 41F284A0FA for ; Sun, 18 Mar 2001 06:23:52 -0800 (PST) Received: from tuxspace.com ([203.197.204.104]) by delcluster1.vsnl.net.in (8.9.2/8.9.2) with ESMTP id TAA21503 for ; Sun, 18 Mar 2001 19:45:11 -0500 (GMT) Message-ID: <3AB4B614.ADEBFD8F@tuxspace.com> Date: Sun, 18 Mar 2001 18:50:20 +0530 From: Manish Kathuria Organization: Tux Technologies X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: non-linux partition on a linux harddrive. References: <002101c0af30$862a8b40$db2136ca@Whitefield> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/187 X-Sequence-Number: 1908 Use fdisk, but carefully after going through its man pages. -Manish http://www.tuxspace.com/ whitefieldcotton wrote: > > In a new harddrive, Suse Linux 7.1 has been installed without creating > partitions. Three more partitions are to be created in this hard disk 46 GB > for Windows and Solaris 8 for intel etc. > > Is there a partition utility in linux to create partitions for other > operating systems? Can the group guide me as to how to handle this problem? > ( I am not a programmer and I have virtually no exposure to linux.) > > shiva > cotton@vsnl.com > From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 06:24:34 2001 Received: from delcluster1.vsnl.net.in (delcluster1.vsnl.net.in [202.54.96.1]) by www.aunet.org (Postfix) with ESMTP id 4D0644A111 for ; Sun, 18 Mar 2001 06:24:02 -0800 (PST) Received: from tuxspace.com ([203.197.204.104]) by delcluster1.vsnl.net.in (8.9.2/8.9.2) with ESMTP id TAA21619 for ; Sun, 18 Mar 2001 19:45:22 -0500 (GMT) Message-ID: <3AB4C320.521DF2B1@tuxspace.com> Date: Sun, 18 Mar 2001 19:46:00 +0530 From: Manish Kathuria Organization: Tux Technologies X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Source code for TCP Dump References: <2330401A6FE03445ADA682F5EBB7502D7AC6E1@mtv01ex01.mindtree.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/188 X-Sequence-Number: 1909 AFAIK, Yahoo uses the Google search engine and the database (besides its own directory) - so it shouldn't make much of a difference. Manish http://www.tuxspace.com/ Mayank Sharma wrote: > > > > I am sorry i didnt try Google, I just tried yahoo. > > always try yahoo, and then google.. google can fish out real > > obscure things that u won't expect it to!!! > > and waste your valuable time figuring out the site u need in the search > results.. I used to use yahoo myself until i came to know of google, and > thereafter yahoo has'nt gained a hit from me.. > > Regards, > Mayank > From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 07:06:24 2001 Received: from blue.csa.iisc.ernet.in (blue.csa.iisc.ernet.in [144.16.67.191]) by www.aunet.org (Postfix) with ESMTP id D5CFA4A4EA; Sun, 18 Mar 2001 07:06:11 -0800 (PST) Received: from localhost (alex@localhost) by blue.csa.iisc.ernet.in (8.9.3/8.9.3) with ESMTP id UAA28066; Sun, 18 Mar 2001 20:36:50 +0530 Date: Sun, 18 Mar 2001 20:36:50 +0530 (IST) From: Alex M Alex To: "Linux-India-General (E-mail)" Cc: linux-india-programmers@lists.linux-india.org Subject: [LIG]Manjara In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/189 X-Sequence-Number: 1910 TRY this meta search engine http://cluster.cs.yale.edu/ alex From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 07:54:19 2001 Received: from smtp018.mail.yahoo.com (smtp018.mail.yahoo.com [216.136.174.115]) by www.aunet.org (Postfix) with SMTP id 699A94A50C for ; Sun, 18 Mar 2001 07:54:18 -0800 (PST) Received: from unknown (HELO K) (210.214.105.132) by smtp.mail.vip.sc5.yahoo.com with SMTP; 18 Mar 2001 15:47:04 -0000 X-Apparently-From: Message-ID: <000201c0afc3$24644b10$8469d6d2@K> From: "fileof" To: References: <2330401A6FE03445ADA682F5EBB7502D7AC6E1@mtv01ex01.mindtree.com> <01ec01c0afb4$d5ddf080$8900000a@aclindia.com> Subject: Re: Source code for TCP Dump Date: Sun, 18 Mar 2001 20:30:37 +0530 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/190 X-Sequence-Number: 1911 > > and waste your valuable time figuring out the site u need in the search > > results.. I used to use yahoo myself until i came to know of google, and > > thereafter yahoo has'nt gained a hit from me.. Hey guys, Please read all the material at the following link and following it. The site contains a good tutorial about web searching and the technology involved in it.. The info is very interesting.. and useful.. http://www.completeplanet.com/Tutorials/Search/index.asp#Section1 suri^^vizag _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 08:41:06 2001 Received: from mailweb22.rediffmail.com (unknown [203.199.83.146]) by www.aunet.org (Postfix) with SMTP id C59B14A2CC for ; Sun, 18 Mar 2001 08:41:01 -0800 (PST) Received: (qmail 7398 invoked by uid 510); 18 Mar 2001 16:25:54 -0000 Date: 18 Mar 2001 16:25:54 -0000 Message-ID: <20010318162554.7397.qmail@mailweb22.rediffmail.com> Received: from unknown (210.214.5.54) by rediffmail.com via HTTP; 18 Mar 2001 16:25:54 -0000 MIME-Version: 1.0 To: LIP Subject: Re: Terminal commands From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/191 X-Sequence-Number: 1912 Hi! Thanks again for your replies! I want to log the time of execution of the command, and perhaps, the particular console name ("Konsole", or the GNOME console, or whichever terminal), in the history file, along with the command name. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 08:42:05 2001 Received: from mailweb24.rediffmail.com (unknown [203.199.83.148]) by www.aunet.org (Postfix) with SMTP id D1A3E4A2CC for ; Sun, 18 Mar 2001 08:42:02 -0800 (PST) Received: (qmail 17640 invoked by uid 510); 18 Mar 2001 16:27:07 -0000 Date: 18 Mar 2001 16:27:07 -0000 Message-ID: <20010318162707.17639.qmail@mailweb24.rediffmail.com> Received: from unknown (210.214.5.54) by rediffmail.com via HTTP; 18 Mar 2001 16:27:07 -0000 MIME-Version: 1.0 To: LIP Subject: Xproto.h From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/192 X-Sequence-Number: 1913 Hi! This is a question about the X protocol. In the header file /usr/include/X11/Xproto.h what does the member "u.u.detail" of struct _xEvent (line 1000 in that file) stand for? For the KeyPress, KeyRelease, ButtonPress & ButtonRelease events, what exact detail does this member give? I assumed it to be the KeyCode (for KeyPress) and used the function XKeycodeToKeysym to convert it to KeySym, but was not successful, perhaps because I had to give my own values for the 'index' variable. int x, index; KeySym sym; sym = XKeycodeToKeysym(dpy, (KeyCode) x, index); How can I obtain the character pressed from the member 'detail'? Thanks in advance. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 09:42:59 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 5EFF24A121 for ; Sun, 18 Mar 2001 09:42:50 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2IHV5V80419 for linux-india-programmers@lists.linux-india.org; Sun, 18 Mar 2001 09:31:05 -0800 (PST) (envelope-from adsharma) Date: Sun, 18 Mar 2001 09:31:05 -0800 From: Arun Sharma To: Linux India Programmers List Subject: Re: G[TD]K Message-ID: <20010318093104.A80404@sharmas.dhs.org> References: <20010318180038.A634@goatelecom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010318180038.A634@goatelecom.com>; from gauravp@im.eth.net on Sun, Mar 18, 2001 at 06:00:38PM +0530 X-Archive-Number: 200103/193 X-Sequence-Number: 1914 On Sun, Mar 18, 2001 at 06:00:38PM +0530, Gaurav Priyolkar wrote: > Hi all, > > I just started learning GTK programming. The tutorial at www.gtk.org > is excellent and I am having no problems with that. > > GDK however is another story all together. All they have is a manual > which only gives prototypes of the various functions but with no code > examples. Searches on Google drew up a blank (for the first time) as > well. > > Can someone direct me to some decent GDK documentation or some code? I think the intention is that you write code mostly using GTK. GDK is a lower level layer on which GTK is based and hence the sloppier documentation. Haven't used GTK in the last few years - writing from memory. -Arun From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 09:43:31 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id C6DE24A182 for ; Sun, 18 Mar 2001 09:43:28 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2IHVgs80434 for linux-india-programmers@lists.linux-india.org; Sun, 18 Mar 2001 09:31:42 -0800 (PST) (envelope-from adsharma) Date: Sun, 18 Mar 2001 09:31:42 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: java manual pages Message-ID: <20010318093141.B80404@sharmas.dhs.org> References: <20010318180038.A634@goatelecom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from 97co266@svrec.ernet.in on Sun, Mar 18, 2001 at 07:27:54PM +0530 X-Archive-Number: 200103/194 X-Sequence-Number: 1915 On Sun, Mar 18, 2001 at 07:27:54PM +0530, shubhendu wrote: > > hi friends > > is there is some source for java manual pages availlable on web, > what i need is something like unix programing manuals Look at javadoc at http://java.sun.com/products/jdk -Arun From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 09:53:44 2001 Received: from cooper.spectranet.com (unknown [203.122.63.156]) by www.aunet.org (Postfix) with ESMTP id D6A2E4A183 for ; Sun, 18 Mar 2001 09:53:40 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by cooper.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GAFFV300.F22 for ; Sun, 18 Mar 2001 23:16:15 -0500 Message-ID: <022f01c0afd3$4fe93e20$8900000a@aclindia.com> From: "Ambar Roy" To: References: <2330401A6FE03445ADA682F5EBB7502D7AC6E1@mtv01ex01.mindtree.com> <3AB4C320.521DF2B1@tuxspace.com> Subject: Re: Source code for TCP Dump Date: Sun, 18 Mar 2001 23:16:07 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/195 X-Sequence-Number: 1916 > AFAIK, Yahoo uses the Google search engine and the database (besides its > own directory) - so it shouldn't make much of a difference. it does, for the kind of search where google wud be preffered, u just get junk at yahoo's directory!!! And this happens mostly with me!!! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 10:12:07 2001 Received: from mailweb24.rediffmail.com (unknown [203.199.83.148]) by www.aunet.org (Postfix) with SMTP id C03E64A182 for ; Sun, 18 Mar 2001 10:12:03 -0800 (PST) Received: (qmail 31172 invoked by uid 510); 18 Mar 2001 17:57:09 -0000 Date: 18 Mar 2001 17:57:09 -0000 Message-ID: <20010318175709.31171.qmail@mailweb24.rediffmail.com> Received: from unknown (203.90.78.131) by rediffmail.com via HTTP; 18 Mar 2001 17:57:09 -0000 MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: process migration From: "sameer atar" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/196 X-Sequence-Number: 1917 hi! we are a group of TE comp students wanting to do BE project on process migration on LINUX platform.can anybody give info(links,documents etc.)in this regard. we didn't find much info on net. also is it possible to implement process migration on linux and as a BE project(we don't know if we can do it as we are in TE and don't know much about OS and would like your opinions)and what specific improvements can we make to make our implementation better than present implementations(what are existing project's shortcomings?). waiting eagerly for reply. Sameer _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 14:54:51 2001 Received: from mulga.cs.mu.OZ.AU (mulga.cs.mu.OZ.AU [128.250.1.22]) by www.aunet.org (Postfix) with ESMTP id 2E1E24A268 for ; Sun, 18 Mar 2001 14:54:45 -0800 (PST) Received: from queeg.cs.mu.OZ.AU (queeg.cs.mu.OZ.AU [128.250.26.136]) by mulga.cs.mu.OZ.AU with ESMTP id JAA22916 for ; Mon, 19 Mar 2001 09:47:30 +1100 (EST) Received: (from rsubr@localhost) by queeg.cs.mu.OZ.AU (8.9.3+Sun/8.9.3) id JAA18767 for linux-india-programmers@lists.linux-india.org; Mon, 19 Mar 2001 09:47:29 +1100 (EST) Date: Mon, 19 Mar 2001 09:47:29 +1100 From: Raja Subramanian To: linux-india-programmers@lists.linux-india.org Subject: Re: process migration on linux Message-ID: <20010319094729.B18467@students.cs.mu.oz.au> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20010317094216.21637.qmail@mailweb31.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010317094216.21637.qmail@mailweb31.rediffmail.com>; from sameeratar@rediffmail.com on Sat, Mar 17, 2001 at 09:42:16AM -0000 X-Archive-Number: 200103/197 X-Sequence-Number: 1918 sameer atar wrote (sameeratar@rediffmail.com): > we are a group of TE comp students wanting to do BE project on process > migration on LINUX platform.can anybody give info(links,documents etc.)in > this regard. > we didn't find much info on net. Have a look at www.mosix.org for exactly that. The high-availability projects may also be of some interest. They also try to create a single system image from several independent machines. http://www.LinuxVirtualServer.org http://linux-ha.org Migrating all processes may sometimes be infeasible... transparently migrating network connections, shared memory btwn other processes and other IPC resources will be quiet a challenge. Process migration with some coperation (checkpointing) from the target processes would be comparably easier. The University of Wisconsin team employ checkpointing in their 'Condor' project at www.cs.wisc.edu/condor/. Good Luck! - Raja From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 20:15:33 2001 Received: from nirjuli.nerist.ernet.in (unknown [203.200.165.184]) by www.aunet.org (Postfix) with ESMTP id A90FF4A38E for ; Sun, 18 Mar 2001 20:15:17 -0800 (PST) Received: from yahoo.com (IDENT:naba@ws236.nerist.ernet.in [202.141.91.236]) by nirjuli.nerist.ernet.in (8.9.3/8.8.7) with ESMTP id JAA01693 for ; Mon, 19 Mar 2001 09:27:35 +0530 Message-ID: <3AB5874B.DE4D21C4@yahoo.com> Date: Mon, 19 Mar 2001 09:42:59 +0530 From: Naba Kumar Reply-To: kh_naba@123india.com Organization: NERIST X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: G[TD]K References: <20010318180038.A634@goatelecom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/198 X-Sequence-Number: 1919 Gaurav Priyolkar wrote: > Hi all, > > I just started learning GTK programming. The tutorial at www.gtk.org > is excellent and I am having no problems with that. > > GDK however is another story all together. All they have is a manual > which only gives prototypes of the various functions but with no code > examples. Searches on Google drew up a blank (for the first time) as > well. > > Can someone direct me to some decent GDK documentation or some code? > There doesn't seem to have any documentation for GDK that describes it's usage in detail (as far as I know). If you are using gtk, then you perhaps wouldn't need GDK except for some low level manupulation such as pixmaps, accelerators, styles, colors etc. But I can garantee you that once you become comfortable with GTK, you wouldn't find much difficulty in working with GDK. Well, IMHO, GDK/GTK header files are the best tutorials (the gtk tutorial you mentioned is a bit out of sync with the current state of gtk development, especially when you are concerned with bleeding-edge techs :-)). Another good advice is to subscribe to their mailing list (www.gtk.org). You will get the answers to all kind of gdk/gtk questions. If you still want something in written form, there is a book written for glib/gdk/gtk. I don't have the title/author right now, but if you insist, then I can tell you tomorrow. This book is really a good piece of cake and you can easily get it from any book stall that sells linux books. But, in this case also, it is not upto date, as gtk is a fast developing project. -- Regards, -Naba ------------------------------------------------------------- Miguel Cervantes wrote Donkey Hote. Milton wrote Paradise Lost, then his wife died and he wrote Paradise Regained. ------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Sun Mar 18 23:28:57 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 82C794A27C for ; Sun, 18 Mar 2001 23:28:54 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f2J7Qol18400 for ; Mon, 19 Mar 2001 12:56:51 +0530 Message-ID: <3AB5B3EC.93655745@pspl.co.in> Date: Mon, 19 Mar 2001 12:53:24 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Source code for TCP Dump References: <015d01c0aeee$5ffa9100$8900000a@aclindia.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/199 X-Sequence-Number: 1920 Ambar Roy wrote: > > > I am sorry i didnt try Google, I just tried yahoo. > always try yahoo, and then google.. google can fish out real obscure things > that u won't expect it to!!! IIRC yahoo uses google. They dumped inktomi in favour of google. Google is real great.... Shridhar From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 01:32:59 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id EFFDE4A273 for ; Mon, 19 Mar 2001 01:32:45 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id PAA17036 for ; Mon, 19 Mar 2001 15:01:02 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA21770 for ; Mon, 19 Mar 2001 14:47:40 +0530 Date: Mon, 19 Mar 2001 14:47:40 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: icmp/ping implementation in linux In-Reply-To: <20010317214111.A339@efn.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/200 X-Sequence-Number: 1921 Hi, I need to send ICMP echo requests with the IP's "no_defrag" bit set and use large (upto 1500) packet sizes. I could get the NetBsd version at http://cvs.netbsd.org. Going through the code, I find on netbsd, ping has the appropriate i.e the -D flag which sets the no_defrag bit. The MAXPACKET size is also 6568 bytes which is more than adquate for my purpose. Linux's ping also has the -s flag to set an userdefined packet size, but just to confirm I looked up the /usr/src/linux/net/ipv4/icmp.c. Here in the icmp_send() function I find there's a check in which if the packet size is greater than 576, the extrabits are silently dropped. Or so it seems. So I think the -s option is not much useful after that value. Can anyone confirm this. On the other hand the function icmp_echo() and icmp_reply() doesnt seem to have this 576 limitation. So will I be able to recieve such big pings. However I am more interested in sending the pings with that size, I dont mind if the replies are curtailed. Also if one knows of an online version of linux's ping.c ( in iputils ), i would love that link. ( Idont want to download the entire iputils right now ). -- sreangsu p.s. is there any sysctl feature which sets the no defrag bit on outgoing ip packets, or is it possible through ipchains etc From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 03:45:59 2001 Received: from tes1a623.OneMail.com.sg (unknown [203.127.89.129]) by www.aunet.org (Postfix) with ESMTP id 498414A603; Mon, 19 Mar 2001 03:45:53 -0800 (PST) Received: from WEZ7DYB2A (IIM1608 [203.127.89.138]) by tes1a623.OneMail.com.sg with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id FNTVR03V; Mon, 19 Mar 2001 19:11:22 +0800 DATE: 19 Mar 01 3:18:03 AM From: lk89lk99@yahoo.com Message-ID: SUBJECT: . X-Archive-Number: 200103/201 X-Sequence-Number: 1922 FREE SAMPLE DESIGN!!! BY AN AWARD WINNING REPUTABLE DESIGN FIRM! No Obligation, or Gimmicks! We simply mean business! Call Now for your free Sample in these services: -Web Site -Brochures -Annual Report Serious Inquires Only! Call Now, 604.623.4883! Operators are standing by! @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ This mailing is done by an independent marketing co. We apologize if this message has reached you in error. Save the Planet, Save the Trees! Advertise via E mail. No wasted paper! Delete with one simple keystroke! Less refuse in our Dumps! This is the new way of the new millennium To be removed please email g14toy@yahoo.com with the word "remove" in the subject line. @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 06:16:51 2001 Received: from gda-server (unknown [202.88.153.15]) by www.aunet.org (Postfix) with ESMTP id 87B704A24D for ; Mon, 19 Mar 2001 06:15:47 -0800 (PST) Received: from [192.168.0.66] by gda-server (ArGoSoft Mail Server, Version 1.5 (1.5.0.8)); Mon, 19 Mar 2001 19:33:29 Message-ID: <005501c0b07c$ddb16e40$4200a8c0@gdatr4> From: "Harishankkar" To: References: <20010317094216.21637.qmail@mailweb31.rediffmail.com> <20010319094729.B18467@students.cs.mu.oz.au> Subject: Re: process migration on linux Date: Mon, 19 Mar 2001 19:29:49 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200103/202 X-Sequence-Number: 1923 Hi raja, Could u please tell me abt what this Process migration is? Thanx, Hari ----- Original Message ----- From: Raja Subramanian To: Sent: Monday, March 19, 2001 4:17 AM Subject: Re: [LIP] process migration on linux > sameer atar wrote (sameeratar@rediffmail.com): > > > we are a group of TE comp students wanting to do BE project on process > > migration on LINUX platform.can anybody give info(links,documents etc.)in > > this regard. > > > we didn't find much info on net. > > Have a look at www.mosix.org for exactly that. > > The high-availability projects may also be of some interest. They also try to > create a single system image from several independent machines. > http://www.LinuxVirtualServer.org > http://linux-ha.org > > Migrating all processes may sometimes be infeasible... transparently migrating > network connections, shared memory btwn other processes and other IPC > resources will be quiet a challenge. > > Process migration with some coperation (checkpointing) from the target > processes would be comparably easier. The University of Wisconsin team employ > checkpointing in their 'Condor' project at www.cs.wisc.edu/condor/. > > Good Luck! > > - Raja > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers > From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 07:49:14 2001 Received: from dadel1.now-india.net.in (del1.now-india.net.in [203.195.128.65]) by www.aunet.org (Postfix) with ESMTP id D82BC4A13D for ; Mon, 19 Mar 2001 07:49:09 -0800 (PST) Received: from bigfoot.com ([203.195.135.222]) by dadel1.now-india.net.in (Netscape Messaging Server 4.1) with SMTP id GAGBJO06.50E for ; Mon, 19 Mar 2001 21:10:36 +0530 Received: (qmail 1284 invoked by uid 500); 18 Mar 2001 17:06:55 -0000 Date: Sun, 18 Mar 2001 22:36:55 +0530 From: Sandip Bhattacharya To: linux-india-programmers@lists.linux-india.org Subject: Re: Xproto.h Message-ID: <20010318223655.A958@bigfoot.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20010318162707.17639.qmail@mailweb24.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <20010318162707.17639.qmail@mailweb24.rediffmail.com>; from karthika212@rediffmail.com on Sun, Mar 18, 2001 at 04:27:07PM -0000 X-HomePage: http://www.sandipb.net X-OS: Linux kajaal.home 2.4.2 i586 unknown X-Archive-Number: 200103/203 X-Sequence-Number: 1924 Speaking of X protocol, where can I get the official specs for the network protocol for X? - Sandip -- ------------------------------------- Sandip Bhattacharya sandipb @ bigfoot.com http://www.sandipb.net ------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 07:50:41 2001 Received: from dakiya.controlnet.co.in (unknown [202.54.116.69]) by www.aunet.org (Postfix) with ESMTP id 81A374A16C for ; Mon, 19 Mar 2001 07:50:35 -0800 (PST) Received: from controlnet.co.in ([202.54.116.65]) by dakiya.controlnet.co.in (Netscape Messaging Server 4.15) with ESMTP id GAGBSU00.FA1 for ; Mon, 19 Mar 2001 21:16:06 +0530 Message-ID: <3AB628EA.C65BA945@controlnet.co.in> Date: Mon, 19 Mar 2001 21:12:34 +0530 From: "Mario da Costa" Organization: ControlNet (India) Pvt. Ltd. X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en,pdf MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: parallel CRC References: <20010317094216.21637.qmail@mailweb31.rediffmail.com> <20010319094729.B18467@students.cs.mu.oz.au> <005501c0b07c$ddb16e40$4200a8c0@gdatr4> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/204 X-Sequence-Number: 1925 Hello friends, I have to implement parallel CRC. If anyone can give me some pointers to understanding parallel CRC, it would be a great help. Links, articles, anything. Algorithms if any would really make my day. TIA, Regards, mario From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 19:38:30 2001 Received: from surya.bom.freeos.com (unknown [202.54.93.2]) by www.aunet.org (Postfix) with SMTP id 9AEC34A296 for ; Mon, 19 Mar 2001 19:38:25 -0800 (PST) Received: (qmail 23147 invoked by uid 2633); 20 Mar 2001 03:31:05 -0000 Received: from cartoon.bom.freeos.com (root@192.168.0.10) by surya.bom.freeos.com with SMTP; 20 Mar 2001 03:31:05 -0000 Date: Tue, 20 Mar 2001 09:12:34 +0530 From: G Karunakar To: linux-india-programmers@lists.linux-india.org Subject: Re: Xproto.h Message-Id: <20010320091234.70e131c9.karunakar@freeos.com> In-Reply-To: <20010318223655.A958@bigfoot.com> References: <20010318162707.17639.qmail@mailweb24.rediffmail.com> <20010318223655.A958@bigfoot.com> Reply-To: karunakar@freeos.com X-Mailer: Sylpheed version 0.4.62 (GTK+ 1.2.8; i586-pc-linux-gnu) Organization: FreeOS.com Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/205 X-Sequence-Number: 1926 Sandip Bhattacharya wrote: > Speaking of X protocol, where can I get the official specs for the > network protocol for X? > > - Sandip In the XFree86 docs, /usr/share/doc/XFree86-doc-4.0.1/XProtocol or /usr/doc/XFree86-doc-X.X.X Karunakar From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 20:53:19 2001 Received: from prodserver1.goatelecom.com (unknown [210.212.161.28]) by www.aunet.org (Postfix) with ESMTP id C3CA44A13A for ; Mon, 19 Mar 2001 20:53:14 -0800 (PST) Received: from localhost.localdomain by prodserver1.goatelecom.com (8.9.3/1.1.20.3/07Jul00-0916AM) id KAA0000029993; Tue, 20 Mar 2001 10:20:45 +0530 (IST) Received: (from gaurav@localhost) by localhost.localdomain (8.9.3/8.9.3) id WAA01311 for linux-india-programmers@lists.linux-india.org; Mon, 19 Mar 2001 22:23:33 +0530 X-Authentication-Warning: localhost.localdomain: gaurav set sender to gauravp@im.eth.net using -f Date: Mon, 19 Mar 2001 22:23:33 +0530 From: Gaurav Priyolkar To: linux-india-programmers@lists.linux-india.org Subject: Re: icmp/ping implementation in linux Message-ID: <20010319222333.A1282@goatelecom.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20010317214111.A339@efn.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from sreangsua@geometricsoftware.com on Mon, Mar 19, 2001 at 02:47:40PM +0530 X-Archive-Number: 200103/206 X-Sequence-Number: 1927 On Mon, Mar 19, 2001 at 02:47:40PM +0530, sreangsu acharyya wrote: > > Also if one knows of an online version of linux's ping.c ( in iputils ), > i would love that link. ( Idont want to download the entire iputils right > now ). UNP Vol.1, Richard Stevens has an implementation of ping. Section 25.5 - Ping program. HTH -Gaurav. -- Sleep: A completely inadequate substitute for caffeine. From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 20:53:32 2001 Received: from prodserver1.goatelecom.com (unknown [210.212.161.28]) by www.aunet.org (Postfix) with ESMTP id 3ABB04A206 for ; Mon, 19 Mar 2001 20:53:21 -0800 (PST) Received: from localhost.localdomain by prodserver1.goatelecom.com (8.9.3/1.1.20.3/07Jul00-0916AM) id KAA0000015101; Tue, 20 Mar 2001 10:20:52 +0530 (IST) Received: (from gaurav@localhost) by localhost.localdomain (8.9.3/8.9.3) id JAA01073 for linux-india-programmers@lists.linux-india.org; Mon, 19 Mar 2001 09:58:57 +0530 X-Authentication-Warning: localhost.localdomain: gaurav set sender to gauravp@im.eth.net using -f Date: Mon, 19 Mar 2001 09:58:56 +0530 From: Gaurav Priyolkar To: Linux India Programmers List Subject: Re: G[TD]K Message-ID: <20010319095856.A966@goatelecom.com> Mail-Followup-To: Linux India Programmers List References: <20010318180038.A634@goatelecom.com> <20010318093104.A80404@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010318093104.A80404@sharmas.dhs.org>; from arun@sharmas.dhs.org on Sun, Mar 18, 2001 at 09:31:05AM -0800 X-Archive-Number: 200103/207 X-Sequence-Number: 1928 On Sun, Mar 18, 2001 at 09:31:05AM -0800, Arun Sharma wrote: > On Sun, Mar 18, 2001 at 06:00:38PM +0530, Gaurav Priyolkar wrote: uu> > > > I think the intention is that you write code mostly using GTK. GDK is > a lower level layer on which GTK is based and hence the sloppier documentation. That's true, and while searching through gtk mailing list archives I found numerous references to the absence of good gdk documentation. However, for my current requirement, image processing (elective in BE), I must use gdk as gtk does not provide enough control over images and pixmaps, allowing only inclusion of the same in containers. What I am looking for is some simple code to understand how to put gdk drawables, once they are prepared, into gtk containers. I found a book, GTK+ / GNOME Application Development at http://developer.gnome.org/doc/GGAD/GGAD.tar.gz that has a chapter on gdk, and although it does not have much code it is better than the manual at the gtk website. -Gaurav -- Sleep: A completely inadequate substitute for caffeine. From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 21:11:35 2001 Received: from nirjuli.nerist.ernet.in (unknown [203.200.165.132]) by www.aunet.org (Postfix) with ESMTP id 6006D4A6DF; Mon, 19 Mar 2001 21:10:55 -0800 (PST) Received: from yahoo.com (IDENT:naba@ws236.nerist.ernet.in [202.141.91.236]) by nirjuli.nerist.ernet.in (8.9.3/8.8.7) with ESMTP id KAA01965; Tue, 20 Mar 2001 10:25:04 +0530 Message-ID: <3AB6E648.BD26395A@yahoo.com> Date: Tue, 20 Mar 2001 10:40:32 +0530 From: Naba Kumar Reply-To: kh_naba@123india.com Organization: NERIST X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Cc: linux-india-general@lists.linux-india.org Subject: Re: [LIG] Seeking a Linux or Unix programming guru for CTO position References: <5.0.0.25.0.20010309151141.02bd7ff0@mail.earthlink.net> <20010319135027.B7761@aunet.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/208 X-Sequence-Number: 1929 liadmin@lists.linux-india.org wrote: > On Fri, Mar 09, 2001 at 03:13:20PM -0500, did David Bodnick write: > > We've had a tough time finding someone with the right credentials to be our > > Chief Technology Officer in India, so I'm hoping that someone on this list > > would either be qualified for this position or know someone who is. It is a > > fantastic opportunity for the right candidate, with a great base salary and > > enormous upside potential. > > David, > > You sent the above email to the Linux India General mailing list. > According to the rules of this mailing list posts of a commercial nature > (such as yours) have to be prefixed on the subject line with the > 'COMMERCIAL' tag. You have broken this rule. > > This is a warning email to let you know that if this offense is repeated, > you will be banned from the mailing list. > > > List Admin Isn't that too much of an Insult. He wasn't selling or advertizing anything. In fact he was trying to help people who may need jobs. So where is the question of _COMMERCIAL_ in it. As far as offending the lists rule is concerned, I am wondering how many people have read it when they subscribed to the list (Won't it be better if the rules were made a bit smaller, so that ppl can read them when they subscribe: - Only a matter of ergonomics). BTW, Mr. David you can consider me. I am a Gnome developer and the author of Anjuta IDE (http://anjuta.sourceforge.net/). Currently, doing my final year B.Tech (EC). I may need a job after B.Tech. Don't I? :). I don't know what sort of skills you need, but I'am pretty well equiped with gdk/gtk/gnome hacking. -- Regards, -Naba ------------------------------------------------------------- The egg cream is psychologically the opposite of circumcision -- it *pleasurably* reaffirms your Jewishness. -- Mel Brooks ------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 22:01:54 2001 Received: from mjollnir.rocklines.oyeindia.com (unknown [202.169.133.50]) by www.aunet.org (Postfix) with ESMTP id CE3214A7FB; Mon, 19 Mar 2001 21:56:46 -0800 (PST) Received: (from suresh@localhost) by mjollnir.rocklines.oyeindia.com (8.12.0.Beta5/8.12.0.Beta5/mjollnir-2.0) id f2K5lo2o024987; Tue, 20 Mar 2001 11:17:50 +0530 Date: Tue, 20 Mar 2001 11:17:50 +0530 From: Suresh Ramasubramanian To: linux-india-programmers@lists.linux-india.org, linux-india-general@lists.linux-india.org Subject: Re: [LIG] Seeking a Linux or Unix programming guru for CTO position Message-ID: <20010320111750.A24966@oyeindia.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org, linux-india-general@lists.linux-india.org References: <5.0.0.25.0.20010309151141.02bd7ff0@mail.earthlink.net> <20010319135027.B7761@aunet.org> <3AB6E648.BD26395A@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB6E648.BD26395A@yahoo.com>; from kh_naba@yahoo.com on Tue, Mar 20, 2001 at 10:40:32AM +0530 Organization: Hopelessly Disorganized X-OS: Linux mjollnir.rocklines.oyeindia.com 2.4.2 X-Editor: Vim-600 http://www.vim.org/ X-Archive-Number: 200103/209 X-Sequence-Number: 1930 Naba Kumar rearranged electrons thusly: > Isn't that too much of an Insult. He wasn't selling or advertizing anything. > In fact he was trying to help people who may need jobs. > So where is the question of _COMMERCIAL_ in it. Thaths is right - anything re recruitment, advertising of a commercial product etc requires a commercial tag. > As far as offending the lists rule is concerned, > I am wondering how many people have read it when > they subscribed to the list (Won't it be better if Does ignorance of a rule excuse breaking the rule? > BTW, Mr. David you can consider me. I am a Gnome developer > and the author of Anjuta IDE (http://anjuta.sourceforge.net/). > Currently, doing my final year B.Tech (EC). I may need a job > after B.Tech. Don't I? :). so do we all - but mail him offlist with your resume, if you dont mind -s -- Suresh Ramasubramanian <--> mallet efn org EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 23:02:55 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 3F0804A111 for ; Mon, 19 Mar 2001 22:51:33 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id MAA01327 for ; Tue, 20 Mar 2001 12:19:47 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id MAA05999 for ; Tue, 20 Mar 2001 12:06:28 +0530 Date: Tue, 20 Mar 2001 12:06:28 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: icmp/ping implementation in linux In-Reply-To: <20010319222333.A1282@goatelecom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/210 X-Sequence-Number: 1931 On Mon, 19 Mar 2001, Gaurav Priyolkar wrote: > UNP Vol.1, Richard Stevens has an implementation of ping. > Section 25.5 - Ping program. yeah but that's bsd code I guess. What I basically want is i) set the DF bit ( dont defrag ) ii) send large packets currently linux's ping doesnot have the DF bit setting option, however it has the (ii)nd. What I am keen to know is, I find the kernel's icmp_send() curtails any bit in excess of 576. So even if i do a ping -s 1000 some_one the outgoing packet size may not be what I want. Can anyone help me in resolving this. I am also uncertain whether kernel's icmp_send() is used for sending packets generated by user level code. If it is not then I can just write my own ping for that.( i.e add a couple of lines to an existing ping code ). Any help .... --sreangsu p.s if anyone has linux's iputils code, can i get the ping.c off list From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 23:16:01 2001 Received: from web6405.mail.yahoo.com (web6405.mail.yahoo.com [128.11.22.153]) by www.aunet.org (Postfix) with SMTP id EB5234A602 for ; Mon, 19 Mar 2001 22:58:28 -0800 (PST) Message-ID: <20010320065109.29677.qmail@web6405.mail.yahoo.com> Received: from [203.200.165.132] by web6405.mail.yahoo.com; Mon, 19 Mar 2001 22:51:09 PST Date: Mon, 19 Mar 2001 22:51:09 -0800 (PST) From: Naba Kumar Subject: Re: [LIG] Seeking a Linux or Unix programming guru for CTO position To: Mario da Costa Cc: linux-india-help@lists.linux-india.org, linux-india-programmers@lists.linux-india.org In-Reply-To: <3AB6F68A.3BB799C4@controlnet.co.in> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200103/211 X-Sequence-Number: 1932 --- Mario da Costa wrote: > Naba Kumar wrote: > > > Isn't that too much of an Insult. He wasn't selling or advertizing anything. > ^^^^^^^^^^^ > > In fact he was trying to help people who may need jobs. > > So where is the question of _COMMERCIAL_ in it. > > > No Insult at all. Just stating the rules. And if you can't see the > COMMERCIAL aspect of Davids mail, then either you are too eager bending > over backwards (presumably to please Mr. David), or just plain stupid. > > +mario I wasn't trying to please anybody. I just wanted to state that people have feelings. And when we work for community such as open source, we are suppose to have that in mind. Flames, such as _stupid_, _warning_, etc etc, often don't bring much good. I think we should better think in more positive ways. And that has always been good to the community. When people work in team, the best strategy is to discuss the topic and not to blame or do something that may hurt the people concerned when something goes wrong. Spirit of team breaks if we do. Regards, -Naba __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Mon Mar 19 23:16:07 2001 Received: from mail.linux-delhi.org (unknown [203.94.254.217]) by www.aunet.org (Postfix) with ESMTP id 7518F4A97C; Mon, 19 Mar 2001 22:57:48 -0800 (PST) Received: (from raju@localhost) by mail.linux-delhi.org (8.9.3/8.9.3) id MAA01435; Tue, 20 Mar 2001 12:20:04 +0530 From: Raju Mathur Message-ID: <15030.64924.316521.129534@mail.linux-delhi.org> Date: Tue, 20 Mar 2001 12:20:04 +0530 (IST) To: linux-india-programmers@lists.linux-india.org, linux-india-general@lists.linux-india.org Subject: Re: [LIG] Seeking a Linux or Unix programming guru for CTO position In-Reply-To: <3AB6E648.BD26395A@yahoo.com> References: <5.0.0.25.0.20010309151141.02bd7ff0@mail.earthlink.net> <20010319135027.B7761@aunet.org> <3AB6E648.BD26395A@yahoo.com> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid Reply-To: raju@linux-delhi.org Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200103/212 X-Sequence-Number: 1933 Hi Naba, Please understand that rules are rules. If you don't like them, protest logically or leave. Please don't disparage the rules just because you happen not to agree with them. The List Admin did not insult anyone with his post. If anything, the original message was an insult, making it quite apparent that the author was only interested in using the medium without bothering to find out the thoughts and feelings of the community which subscribes to the medium. Short rules are available at: http://linux-delhi.org/index.phtml?curpage=lists.inc&pgtitle=Helo These are not exactly Linux-India mailing list rules, but the general idea is the same. Please pay special attention to the following (which applies to Linux-India too): -- Commercial posts, job offerings etc. for anything having to do anything with Linux are acceptable. Please prefix [Commercial] in the subject line. Remember, no one is getting paid to run the list or the web site, or to contribute anything to the list -- it's all volunteer effort. Is it so terrible if these same volunteers make up some guidelines to help them achieve their purposes more effectively? Regards, -- Raju >>>>> "Naba" == Naba Kumar writes: Naba> liadmin@lists.linux-india.org wrote: >> On Fri, Mar 09, 2001 at 03:13:20PM -0500, did David Bodnick >> write: > We've had a tough time finding someone with the right >> credentials to be our > Chief Technology Officer in India, so >> I'm hoping that someone on this list > would either be >> qualified for this position or know someone who is. It is a > >> fantastic opportunity for the right candidate, with a great >> base salary and > enormous upside potential. >> >> David, >> >> You sent the above email to the Linux India General mailing >> list. According to the rules of this mailing list posts of a >> commercial nature (such as yours) have to be prefixed on the >> subject line with the 'COMMERCIAL' tag. You have broken this >> rule. >> >> This is a warning email to let you know that if this offense is >> repeated, you will be banned from the mailing list. >> >> >> List Admin Naba> Isn't that too much of an Insult. He wasn't selling or Naba> advertizing anything. In fact he was trying to help people Naba> who may need jobs. So where is the question of _COMMERCIAL_ Naba> in it. Naba> As far as offending the lists rule is concerned, Naba> I am wondering how many people have read it when Naba> they subscribed to the list (Won't it be better if Naba> the rules were made a bit smaller, so that ppl can Naba> read them when they subscribe: - Only a matter of Naba> ergonomics). Naba> [snip] -- Raju Mathur raju@kandalaya.org http://kandalaya.org/ From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 00:23:08 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 1E6AF4AA90 for ; Tue, 20 Mar 2001 00:01:53 -0800 (PST) Received: from Basel (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with SMTP id f2K7nAl14376 for ; Tue, 20 Mar 2001 13:19:10 +0530 Content-Type: text/plain; charset="iso-8859-1" From: Nandu To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: icmp/ping implementation in linux Date: Tue, 20 Mar 2001 13:15:49 +0530 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01032013154901.00820@Basel> Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/213 X-Sequence-Number: 1934 On Tuesday 20 March 2001 12:06, sreangsu acharyya wrote: > > currently linux's ping doesnot have the DF bit setting option, however it > has the (ii)nd. What I am keen to know is, I find the kernel's icmp_send() > curtails any bit in excess of 576. So even if i do a > > ping -s 1000 > > some_one the outgoing packet size may not be what I want. Well I tried that once on dialup with -s 1500 and I could see a huge burst of outgoing traffic on kpppload. But I can't talk interms of packets. Never thought of that... Shridhar From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 01:14:23 2001 Received: from hotmail.com (f119.law7.hotmail.com [216.33.237.119]) by www.aunet.org (Postfix) with ESMTP id 78E604A44B; Tue, 20 Mar 2001 01:10:33 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 20 Mar 2001 01:03:10 -0800 Received: from 205.188.196.41 by lw7fd.law7.hotmail.msn.com with HTTP; Tue, 20 Mar 2001 09:03:10 GMT X-Originating-IP: [205.188.196.41] Reply-To: ruchir@acm.org From: "Ruchir Tewari" To: raju@linux-delhi.org, linux-india-programmers@lists.linux-india.org, linux-india-general@lists.linux-india.org Subject: Re: [LIG] Seeking a Linux or Unix programming guru for CTO position Date: Tue, 20 Mar 2001 09:03:10 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 Mar 2001 09:03:10.0979 (UTC) FILETIME=[9692FD30:01C0B11C] X-Archive-Number: 200103/214 X-Sequence-Number: 1935 I agree with Naban. The clause to put a Commercial tag is just a request with a 'please', not even a rule. Calling it an offense and giving a warning and a threat to boot, is what crossed the bounds of politeness, rather than the mail of the original poster. The original post is quite on-topic and relevant IM-not-so-HO, compared to all the other nonsense that is discussed here. If it had to be said, it should have been in a more polite manner and in a private mail. regards, - Ruchir >From: Raju Mathur Reply-To: raju@linux-delhi.org To: >linux-india-programmers@lists.linux-india.org, linux-india- > >Hi Naba, > >Please understand that rules are rules. If you don't like them, protest >logically or leave. Please don't disparage the rules just because you >happen not to agree with them. > >The List Admin did not insult anyone with his post. If anything, the >original message was an insult, making it quite apparent that the author >was only interested in using the medium without bothering to find out the >thoughts and feelings of the community which subscribes to the medium. > >Short rules are available at: > >http://linux-delhi.org/index.phtml?curpage=lists.inc&pgtitle=Helo > >These are not exactly Linux-India mailing list rules, but the general idea >is the same. Please pay special attention to the following (which applies >to Linux-India too): > >-- Commercial posts, job offerings etc. for anything having to do anything >with Linux are acceptable. Please prefix [Commercial] in the subject line. > >Remember, no one is getting paid to run the list or the web site, or to >contribute anything to the list -- it's all volunteer effort. Is it so >terrible if these same volunteers make up some guidelines to help them >achieve their purposes more effectively? > >Regards, > >-- Raju > > >>>>> "Naba" == Naba Kumar writes: > >Naba> liadmin@lists.linux-india.org wrote: >> On Fri, Mar 09, 2001 at >03:13:20PM -0500, did David Bodnick >> write: > We've had a tough time >finding someone with the right >> credentials to be our > Chief Technology >Officer in India, so >> I'm hoping that someone on this list > would either >be >> qualified for this position or know someone who is. It is a > >> >fantastic opportunity for the right candidate, with a great >> base salary >and > enormous upside potential. >> >> David, >> >> You sent the above >email to the Linux India General mailing >> list. According to the rules of >this mailing list posts of a >> commercial nature (such as yours) have to >be prefixed on the >> subject line with the 'COMMERCIAL' tag. You have >broken this >> rule. >> >> This is a warning email to let you know that if >this offense is >> repeated, you will be banned from the mailing list. >> > >> >> List Admin > >Naba> Isn't that too much of an Insult. He wasn't selling or Naba> >advertizing anything. In fact he was trying to help people Naba> who may >need jobs. So where is the question of _COMMERCIAL_ Naba> in it. > >Naba> As far as offending the lists rule is concerned, Naba> I am wondering >how many people have read it when Naba> they subscribed to the list (Won't >it be better if Naba> the rules were made a bit smaller, so that ppl can >Naba> read them when they subscribe: - Only a matter of Naba> ergonomics). > >Naba> [snip] > >-- >Raju Mathur raju@kandalaya.org http://kandalaya.org/ > >---------------------------------------------- The mailing list archives >are available at >http://lists.linux-india.org/cgi-bin/wilma/linux-india-general _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 01:29:24 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 4E2F34A655 for ; Tue, 20 Mar 2001 01:24:41 -0800 (PST) Received: from Basel (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with SMTP id f2K9MUl16720 for ; Tue, 20 Mar 2001 14:52:30 +0530 Content-Type: text/plain; charset="iso-8859-1" From: Shridhar Daithankar To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: [LIG] Seeking a Linux or Unix programming guru for CTO position Date: Tue, 20 Mar 2001 14:49:08 +0530 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01032014490800.30095@Basel> Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/215 X-Sequence-Number: 1936 Guys.... Dump this thread. I can see it moving to LIG. But move it bit faster. LIP is supposedly workplace.. We have got work to do right... Shridhar On Tuesday 20 March 2001 14:33, Ruchir Tewari wrote: > I agree with Naban. The clause to put a Commercial tag > is just a request with a 'please', not even a rule. > Calling it an offense and giving a warning and a threat to boot, > is what crossed the bounds of politeness, rather than > the mail of the original poster. The original post is quite on-topic > and relevant IM-not-so-HO, compared to all the other nonsense that is > discussed here. If it had to be said, it should have been in > a more polite manner and in a private mail. From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 01:30:42 2001 Received: from matrix.mediasolv.com (unknown [203.115.19.131]) by www.aunet.org (Postfix) with ESMTP id 7DB2A4ABB5 for ; Tue, 20 Mar 2001 01:15:01 -0800 (PST) Received: from kugan ([192.168.1.51]) by matrix.mediasolv.com (8.11.1/8.11.1) with SMTP id f2K96D309986 for ; Tue, 20 Mar 2001 15:06:19 +0600 From: "V.Kugan" To: Subject: TIOCSETD ioctl Date: Tue, 20 Mar 2001 15:11:57 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Archive-Number: 200103/216 X-Sequence-Number: 1937 Hi Everyone I have a doubt in serial ioctl ,I am not able to get the purpose of TIOCSETD ioctl in serial driver , I have gone through lots of documenst but no use, Can anyone plese explain this. Thank you very much for your time. Regards V.Kugan From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 02:01:24 2001 Received: from mjollnir.rocklines.oyeindia.com (unknown [202.169.133.50]) by www.aunet.org (Postfix) with ESMTP id 08A244A1A1; Tue, 20 Mar 2001 01:40:32 -0800 (PST) Received: (from suresh@localhost) by mjollnir.rocklines.oyeindia.com (8.12.0.Beta5/8.12.0.Beta5/mjollnir-2.0) id f2K9OoGc027070; Tue, 20 Mar 2001 14:54:50 +0530 Date: Tue, 20 Mar 2001 14:54:50 +0530 From: Suresh Ramasubramanian To: linux-india-programmers@lists.linux-india.org, linux-india-general@lists.linux-india.org Subject: Re: [LIG] Seeking a Linux or Unix programming guru for CTO position Message-ID: <20010320145450.A27049@oyeindia.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org, linux-india-general@lists.linux-india.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from ruchir_tewari@hotmail.com on Tue, Mar 20, 2001 at 09:03:10AM +0000 Organization: Hopelessly Disorganized X-OS: Linux mjollnir.rocklines.oyeindia.com 2.4.2 X-Editor: Vim-600 http://www.vim.org/ X-Archive-Number: 200103/217 X-Sequence-Number: 1938 Ruchir Tewari rearranged electrons thusly: > I agree with Naban. The clause to put a Commercial tag > is just a request with a 'please', not even a rule. > Calling it an offense and giving a warning and a threat to boot, However, Ruchir - other people who posted "help wanted" posts without the commercial prefix have also been warned - and this has been the case over the past two years or so that I've been on this list. -s -- Suresh Ramasubramanian <--> mallet efn org EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 02:01:39 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 5FC4D4ABA5 for ; Tue, 20 Mar 2001 01:42:14 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id PAA07450 for ; Tue, 20 Mar 2001 15:10:26 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA13890 for ; Tue, 20 Mar 2001 14:57:07 +0530 Date: Tue, 20 Mar 2001 14:57:07 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: icmp/ping implementation in linux In-Reply-To: <01032013154901.00820@Basel> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/218 X-Sequence-Number: 1939 On Tue, 20 Mar 2001, Nandu wrote: > Well I tried that once on dialup with -s 1500 and I could see a huge burst of > outgoing traffic on kpppload. But I can't talk interms of packets. Never exactly the point. Maybe the kernel is fragmenting the packets to a size of 576. If that is whats happening, the quick and dirty script below will not be giving interpretable results. ( The intent is to calculate the throughput at different mtu values ... the starting mtu should be higher than 1500) host= mtu=300 while [ $mtu -le 1500 ] do num=`ping -s $mtu -c 15 $host|grep round|cut -f 4 -d " "|cut -f 2 -d "/"` mtu=`expr $mtu + 50` tput=`echo "scale=3;$num/$mtu" | bc` echo " $mtu $tput">output.txt done From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 02:57:15 2001 Received: from mail.linux-delhi.org (unknown [203.94.254.12]) by www.aunet.org (Postfix) with ESMTP id 5292C4A7BF; Tue, 20 Mar 2001 02:39:58 -0800 (PST) Received: (from raju@localhost) by mail.linux-delhi.org (8.9.3/8.9.3) id QAA02158; Tue, 20 Mar 2001 16:01:51 +0530 From: Raju Mathur Message-ID: <15031.12695.192159.410619@mail.linux-delhi.org> Date: Tue, 20 Mar 2001 16:01:51 +0530 (IST) To: linux-india-programmers@lists.linux-india.org, linux-india-general@lists.linux-india.org Subject: Re: [LIG] Seeking a Linux or Unix programming guru for CTO position In-Reply-To: References: X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid Reply-To: raju@linux-delhi.org Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII X-Archive-Number: 200103/219 X-Sequence-Number: 1940 OK, here's the new revised rule for Linux-Delhi at least: If you or anyone else is directly going to make money from the results of your posting, you d*mn well better put a [COMMERCIAL] tag in the godd*mn subject line or I'll be over to your house to break both your kneecaps and bloody your nose in the bargain, you total loser. I will also cancel your subscription to the mailing list and put your name, e-mail address and home page on a prominent ``List of Top Netiquette-Impaired People Whom I Have Met'' on the Linux-Delhi site and all other sites I control. Hope that looks more like a rule, Ruchir. Thank you for letting us know that politeness doesn't work with some people... oops, I said ``thank you''! :-) Regards, -- Raju >>>>> "Ruchir" == Ruchir Tewari writes: Ruchir> I agree with Naban. The clause to put a Commercial tag is Ruchir> just a request with a 'please', not even a rule. Calling Ruchir> it an offense and giving a warning and a threat to boot, Ruchir> is what crossed the bounds of politeness, rather than the Ruchir> mail of the original poster. The original post is quite Ruchir> on-topic and relevant IM-not-so-HO, compared to all the Ruchir> other nonsense that is discussed here. If it had to be Ruchir> said, it should have been in a more polite manner and in a Ruchir> private mail. Ruchir> regards, - Ruchir -- Raju Mathur raju@kandalaya.org http://kandalaya.org/ From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 07:07:05 2001 Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com [216.136.173.58]) by www.aunet.org (Postfix) with SMTP id 773594A646 for ; Tue, 20 Mar 2001 07:04:12 -0800 (PST) Received: from unknown (HELO K) (210.214.105.160) by smtp.mail.vip.sc5.yahoo.com with SMTP; 20 Mar 2001 14:56:50 -0000 X-Apparently-From: Message-ID: <003801c0b14e$75bfbf80$bc69d6d2@K> From: "fileof" To: Cc: References: <5.0.0.25.0.20010309151141.02bd7ff0@mail.earthlink.net> <20010319135027.B7761@aunet.org> <3AB6E648.BD26395A@yahoo.com> Subject: Re: Re: [LIG] Seeking a Linux or Unix programming guru for CTO position Date: Tue, 20 Mar 2001 20:20:49 +0530 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/220 X-Sequence-Number: 1941 > Isn't that too much of an Insult. He wasn't selling or advertizing anything. > In fact he was trying to help people who may need jobs. > So where is the question of _COMMERCIAL_ in it. Maybe because he was trying to sell his organisation indirectly.. After all if he gets a good CEO his org can improve a lot.. Ofcourse it is another matter that there is nothing wrong in it..!!! > As far as offending the lists rule is concerned, > I am wondering how many people have read it when > they subscribed to the list (Won't it be better if > the rules were made a bit smaller, so that ppl can > read them when they subscribe: - Only a matter of ergonomics). I agree on this point .. I too feel List admin is too curt in his reply.. I felt sorry for Mr. David... But any way rules are rules .. are'nt they??? Mr. David , by the way what are your requirements for that Job.....??? Suri^^vizag _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 09:37:36 2001 Received: from hotmail.com (f29.law7.hotmail.com [216.33.237.29]) by www.aunet.org (Postfix) with ESMTP id 4D7534A191; Tue, 20 Mar 2001 09:37:28 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 20 Mar 2001 09:30:07 -0800 Received: from 152.163.213.191 by lw7fd.law7.hotmail.msn.com with HTTP; Tue, 20 Mar 2001 17:30:06 GMT X-Originating-IP: [152.163.213.191] Reply-To: ruchir@acm.org From: "Ruchir Tewari" To: raju@linux-delhi.org, linux-india-programmers@lists.linux-india.org, linux-india-general@lists.linux-india.org Subject: Re: [LIG] Seeking a Linux or Unix programming guru for CTO position Date: Tue, 20 Mar 2001 17:30:06 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 Mar 2001 17:30:07.0077 (UTC) FILETIME=[67FB3950:01C0B163] X-Archive-Number: 200103/221 X-Sequence-Number: 1942 well, look who's talking about netiquette :D cheers, - ruchir >From: Raju Mathur >Reply-To: raju@linux-delhi.org >To: linux-india-programmers@lists.linux-india.org, >linux-india-general@lists.linux-india.org >Subject: Re: [LIG] Seeking a Linux or Unix programming guru for CTO >position > >OK, here's the new revised rule for Linux-Delhi at least: > >If you or anyone else is directly going to make money from the results >of your posting, you d*mn well better put a [COMMERCIAL] tag in the >godd*mn subject line or I'll be over to your house to break both your >kneecaps and bloody your nose in the bargain, you total loser. I will >also cancel your subscription to the mailing list and put your name, >e-mail address and home page on a prominent ``List of Top >Netiquette-Impaired People Whom I Have Met'' on the Linux-Delhi site >and all other sites I control. > >Hope that looks more like a rule, Ruchir. Thank you for letting us >know that politeness doesn't work with some people... oops, I said >``thank you''! :-) > >Regards, > >-- Raju > > >>>>> "Ruchir" == Ruchir Tewari writes: > > Ruchir> I agree with Naban. The clause to put a Commercial tag is > Ruchir> just a request with a 'please', not even a rule. Calling > Ruchir> it an offense and giving a warning and a threat to boot, > Ruchir> is what crossed the bounds of politeness, rather than the > Ruchir> mail of the original poster. The original post is quite > Ruchir> on-topic and relevant IM-not-so-HO, compared to all the > Ruchir> other nonsense that is discussed here. If it had to be > Ruchir> said, it should have been in a more polite manner and in a > Ruchir> private mail. > > Ruchir> regards, - Ruchir > >-- >Raju Mathur raju@kandalaya.org http://kandalaya.org/ > > >---------------------------------------------- >LIG is all for free speech. But it was created >for a purpose. Violations of the rules of >this list will result in stern action. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 17:59:11 2001 Received: from mailweb17.rediffmail.com (unknown [203.199.83.141]) by www.aunet.org (Postfix) with SMTP id D90434A1BC for ; Tue, 20 Mar 2001 17:59:08 -0800 (PST) Received: (qmail 25248 invoked by uid 510); 21 Mar 2001 01:43:39 -0000 Date: 21 Mar 2001 01:43:39 -0000 Message-ID: <20010321014339.25247.qmail@mailweb17.rediffmail.com> Received: from unknown (210.214.6.216) by rediffmail.com via HTTP; 21 Mar 2001 01:43:39 -0000 MIME-Version: 1.0 To: LIP Subject: Re: Xproto.h From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/222 X-Sequence-Number: 1943 Hi! A closer look at the X lib manual and some juggling with the functions provided what I was looking for. The member "u.u.detail" of struct _xEvent (line 1000 in Xproto.h) is the keycode for KeyPress & KeyRelease events, while for ButtonPress & ButtonRelease events, it is the number of the mouse button (1 to 5). Display *dpy; KeySym *sym, *temp; KeyCode firstkeycode; int min, max, num, count; 1. XDisplayKeycodes(dpy, &min,&max); - Gives the range of valid keycodes. 2. sym = XGetKeyboardMapping(dpy, firstkeycode, count, &num); - Returns a list of keysyms for the given range of keycodes. 3. XKeysymToString(*temp); - Gives the name (or character) corresponding to the keysym 'temp'. Thanks. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 21:27:41 2001 Received: from harrier.prod.itd.earthlink.net (harrier.prod.itd.earthlink.net [207.217.121.12]) by www.aunet.org (Postfix) with ESMTP id 51ADC4A177; Tue, 20 Mar 2001 21:27:35 -0800 (PST) Received: from DAVID-TP.belzabar.com (dialup-209.246.85.244.NewYork1.Level3.net [209.246.85.244]) by harrier.prod.itd.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id VAB24887; Tue, 20 Mar 2001 21:20:10 -0800 (PST) Message-Id: <5.0.0.25.0.20010320225401.025d3dc0@pop3.idt.net> X-Sender: dbodnick@mail.earthlink.net (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 5.0 Date: Wed, 21 Mar 2001 00:20:31 -0500 To: linux-india-programmers@lists.linux-india.org, linux-india-general@lists.linux-india.org From: David Bodnick Subject: Re: Seeking a Linux or Unix programming guru for CTO position [Commercial] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Archive-Number: 200103/223 X-Sequence-Number: 1944 > by the way what are your requirements for that job...? Both the CTO and developer positions offer higher salaries and much more upside potential than top multinationals in India offer for similar positions ... we're building a small "dream team" and need to find incredible developers who love creating technology. CTO qualifications: - Excellent C++ and OOPS experience; - Extensive Unix/C (systems programming) knowledge (e.g. IPC, networking); - SQL experience; - (Optional) Perl experience; - Extensive and successful project management experience working at or with multinational companies; - Creative and very intelligent; - A natural leader who can motivate and support a team of software developers under deadline pressure; - Honesty and integrity; Developer qualifications: - Guru in either C++, Linux, databases, systems programming, or Perl; - Very intelligent. CS degree from a top school and top academic record are preferred; - Exceptional past achievements (either technically or academically); - Team player, hard worker; - Honesty and integrity; If you are a remarkable candidate for either the CTO or developer positions, please apply. Absolute confidentiality is assured, and we will make compelling offers to the right candidates. If you know someone exceptional who would be truly outstanding for either of these positions, please email me about them (CTO@belzabar.com). We are offering a finder's fee (and my gratitude) to the person initially responsible for introducing us to a candidate that we hire -- Rs. 50000 for the CTO position and Rs. 25000 for any other position. I'm placing details of this offer at http://belzabar.com/apply/finder.html. A copy of the original post follows. Many thanks. Sincerely, David Bodnick ------ original post ------ Subject: Seeking a Linux or Unix programming guru for CTO position We've had a tough time finding someone with the right credentials to be our Chief Technology Officer in India, so I'm hoping that someone on this list would either be qualified for this position or know someone who is. It is a fantastic opportunity for the right candidate, with a great base salary and enormous upside potential. Our company, Belzabar Software Development LLC, is an innovative New York-based startup that will be opening an office in India in one of the high-tech cities. We are working on a number of interesting Internet and non-Internet software development projects that are both server-based and client-based. We love Linux for server-side and database-backed apps, and usually create client-based front ends for Windows. Although we are developing server- and client- based applications and not OS software, we are looking for someone who is knowledgeable and comfortable with systems-level programming (IPC, networking, etc via C/Unix) as well as application-level programming in C++. Database experience would be nice too. The reason is that high volume systems can benefit from a real performance advantage when the capabilities of the O/S are leveraged. We want candidates for the CTO position to have experience managing software projects and motivating developers, although we will also be hiring developers who do not need to have management experience. (The developer positions are also very well paid and offer great upside potential, and can be applied for online.) If you have the qualifications for this position or know someone who has, or if you have ideas for where we should look to find candidates with these qualifications, please send a letter or CV to us at CTO@belzabar.com. We will maintain complete confidentiality. Thanks and very best regards. Sincerely, David Bodnick From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 21:48:14 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id C77CC49F45 for ; Tue, 20 Mar 2001 21:48:06 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id LAA18000 for ; Wed, 21 Mar 2001 11:16:17 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id LAA25043 for ; Wed, 21 Mar 2001 11:02:58 +0530 Date: Wed, 21 Mar 2001 11:02:58 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: [Commercial] CTO's cheap trick In-Reply-To: <5.0.0.25.0.20010320225401.025d3dc0@pop3.idt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/224 X-Sequence-Number: 1945 On Wed, 21 Mar 2001, David Bodnick wrote: > Both the CTO and developer positions offer higher salaries and much more > upside potential than top multinationals in India offer for similar and yet resort to el-cheapo spamming ..... tell you something, learn some basic reading/comprehension, you can try the subscription message for starters, after you have mastered the alphabets -- sreangsu p.s. sorry folks, since yesterday I have been restraining myself, but this is starting to suck big time From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 21:53:43 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id C9D424AA0C for ; Tue, 20 Mar 2001 21:53:38 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id LAA18279 for ; Wed, 21 Mar 2001 11:21:47 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id LAA25171 for ; Wed, 21 Mar 2001 11:08:29 +0530 Date: Wed, 21 Mar 2001 11:08:29 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: icmp/ping implementation in linux In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/225 X-Sequence-Number: 1946 On Tue, 20 Mar 2001, sreangsu acharyya wrote: > exactly the point. Maybe the kernel is fragmenting the packets to a size > of 576. If that is whats happening, the quick and dirty script below will Following up on my own query: I got this confirmed from comp.os.linux.development.system, the icmp_send()'s 576 bytes limitation, that I was apprehensive about applies only to ICMP error messages sent by the kernel. So one will be able to bing with larger packetsize. Now I have to handle the DF bit, but thats just a setsockopt() thanks to all -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Tue Mar 20 22:27:55 2001 Received: from infbosvw.inf.com (unknown [216.52.49.35]) by www.aunet.org (Postfix) with SMTP id 6A4D24A01D for ; Tue, 20 Mar 2001 22:27:44 -0800 (PST) Received: from 204.4.54.41 by infbosvw.inf.com (InterScan E-Mail VirusWall NT); Wed, 21 Mar 2001 01:17:04 -0500 (Eastern Standard Time) Received: by kec-01-msg.ad.infosys.com with Internet Mail Service (5.5.2653.19) id ; Wed, 21 Mar 2001 11:49:27 +0530 Message-ID: <426C1E9EBA27D411839000D0B74752F8013E188D@punmsg02.ad.infosys.com> From: joydeep das To: "'linux-india-programmers@lists.linux-india.org'" Subject: Request for subscription to your mailing list. Date: Wed, 21 Mar 2001 11:49:20 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200103/226 X-Sequence-Number: 1947 Hi I would request you to kindly put my e-mail ID on your mailing list.. Thanks and Regards, Joydeep From linux-india-programmers-owner@lists.linux-india.org Wed Mar 21 05:25:46 2001 Received: from nirjuli.nerist.ernet.in (gw167-108.pppcal.vsnl.net.in [206.101.167.108]) by www.aunet.org (Postfix) with ESMTP id 3D2374A301 for ; Wed, 21 Mar 2001 05:25:39 -0800 (PST) Received: from yahoo.com (IDENT:naba@ws236.nerist.ernet.in [202.141.91.236]) by nirjuli.nerist.ernet.in (8.9.3/8.8.7) with ESMTP id SAA05245 for ; Wed, 21 Mar 2001 18:40:56 +0530 Message-ID: <3AB8AC04.1B33DC5@yahoo.com> Date: Wed, 21 Mar 2001 18:56:28 +0530 From: Naba Kumar Reply-To: kh_naba@123india.com Organization: NERIST X-Mailer: Mozilla 4.73 [en] (X11; U; Linux 2.2.16-3 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: [Commercial] CTO's cheap trick References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/227 X-Sequence-Number: 1948 sreangsu acharyya wrote: > > Both the CTO and developer positions offer higher salaries and much more > > upside potential than top multinationals in India offer for similar > > and yet resort to el-cheapo spamming > > ..... tell you something, learn some basic reading/comprehension, you can > try the subscription message for starters, after you have mastered the > alphabets > > -- sreangsu > p.s. > > sorry folks, since yesterday I have been restraining myself, but this is > starting to suck big time > I think, you should cool down now. It's over. Sorry, it all started with me. But I am wishing it ends here. -- Regards, -Naba ------------------------------------------------------------- Don't let people drive you crazy when you know it's in walking distance. ------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Thu Mar 22 00:45:51 2001 Received: from web3802.mail.yahoo.com (web3802.mail.yahoo.com [204.71.203.173]) by www.aunet.org (Postfix) with SMTP id B190F4A4DD for ; Thu, 22 Mar 2001 00:45:46 -0800 (PST) Message-ID: <20010322083819.18545.qmail@web3802.mail.yahoo.com> Received: from [164.99.143.100] by web3802.mail.yahoo.com; Thu, 22 Mar 2001 00:38:19 PST Date: Thu, 22 Mar 2001 00:38:19 -0800 (PST) From: Balakrishnan Kalidas Subject: Println - reg To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200103/228 X-Sequence-Number: 1949 Hi, My problem, i use java in Linux. When I print a error using println(system.error.println), the error is not displayed. But if i use the same println twice, then i get the error printed once. I don't know what the problem is. Thanks in advance. Regards Kalidas Balakrishnan __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Thu Mar 22 03:53:06 2001 Received: from cooper.spectranet.com (unknown [203.122.63.156]) by www.aunet.org (Postfix) with ESMTP id F25034A1A8 for ; Thu, 22 Mar 2001 03:53:02 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by cooper.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GAMDTM00.RJE for ; Thu, 22 Mar 2001 17:15:22 -0500 Message-ID: <025e01c0b2c5$8f5f1ad0$8900000a@aclindia.com> From: "Ambar Roy" To: References: <20010322083819.18545.qmail@web3802.mail.yahoo.com> Subject: Re: Println - reg Date: Thu, 22 Mar 2001 17:15:14 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/229 X-Sequence-Number: 1950 > My problem, i use java in Linux. When I print a error > using println(system.error.println), the error is not > displayed. But if i use the same println twice, then i > get the error printed once. u r using the System.err.println function i guess... can u tell what jvm are u using, because i hav not faced this problem with IBM jdk 1.3 or sun jdk 1.2.2 or the blackdown 1.2.2 jdk under linux (red hat 6.1/6.2) Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 00:57:56 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 988144A446 for ; Fri, 23 Mar 2001 00:57:49 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA17187 for ; Fri, 23 Mar 2001 14:25:52 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA15989 for ; Fri, 23 Mar 2001 14:12:34 +0530 Date: Fri, 23 Mar 2001 14:12:31 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: matching "]" in tcl Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/230 X-Sequence-Number: 1951 This is terribly silly, but I just cant get tcl to do glob matching for the closing square brace. I am using a scan set i.e [...] in the pattern as % string match $pattern $string Normally in globbing, putting the "]" last works ok, but inside tcl it isnt. Regexp is working fine though, no problem there. there must be a way out of here ( said the.... -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 04:39:24 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 9AA534A119 for ; Fri, 23 Mar 2001 04:39:11 -0800 (PST) Received: from rahul ([61.11.246.157]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f2NCYGQ18389 for ; Fri, 23 Mar 2001 18:04:16 +0530 Message-ID: <023e01c0b394$fc9db6e0$c9f60b3d@rahul> From: "Disillusioned" To: References: <20010318162707.17639.qmail@mailweb24.rediffmail.com> <20010318223655.A958@bigfoot.com> Subject: Re: Xproto.h Date: Fri, 23 Mar 2001 17:42:55 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/231 X-Sequence-Number: 1952 > Speaking of X protocol, where can I get the official specs for the > network protocol for X? > rfc 1013, rfc 1198 ~~~~~~~~~~~~~~~~~~~ In a world without fences... who needs gates? ~~~~~~~~~~~~~~~~~~~ From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 04:39:36 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id D45AE49F42 for ; Fri, 23 Mar 2001 04:39:02 -0800 (PST) Received: from rahul ([61.11.246.157]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f2NCYFQ18377 for ; Fri, 23 Mar 2001 18:04:15 +0530 Message-ID: <023d01c0b394$fc0fcec0$c9f60b3d@rahul> From: "Disillusioned" To: References: <015d01c0aeee$5ffa9100$8900000a@aclindia.com> <3AB5B3EC.93655745@pspl.co.in> Subject: [OT} Why google ( Was ... Re: Source code for TCP Dump) Date: Fri, 23 Mar 2001 17:41:07 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/232 X-Sequence-Number: 1953 > Google is real great.... I've been wondering what makes google so fast. reminds me of the speed of slocate db access. Any comments ? ~~~~~~~~~~~~~~~~~~~ In a world without fences... who needs gates? ~~~~~~~~~~~~~~~~~~~ From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 04:46:35 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 339304A38F for ; Fri, 23 Mar 2001 04:46:32 -0800 (PST) Received: from Basel (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with SMTP id f2NChul08793 for ; Fri, 23 Mar 2001 18:13:56 +0530 Content-Type: text/plain; charset="iso-8859-1" From: Shridhar Daithankar To: linux-india-programmers@lists.linux-india.org Subject: Re: [OT} Why google ( Was ... Re: Source code for TCP Dump) Date: Fri, 23 Mar 2001 18:10:47 +0530 X-Mailer: KMail [version 1.2] References: <3AB5B3EC.93655745@pspl.co.in> <023d01c0b394$fc0fcec0$c9f60b3d@rahul> In-Reply-To: <023d01c0b394$fc0fcec0$c9f60b3d@rahul> MIME-Version: 1.0 Message-Id: <01032318104701.00733@Basel> Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/233 X-Sequence-Number: 1954 On Friday 23 March 2001 17:41, Disillusioned wrote: > I've been wondering what makes google so fast. reminds me of the speed of > slocate db access. Clustering+indexing+caching. Google run on 6000 RHL machines clustered. Neat answer to microsoft who calls it crummy and toy... Google caches are huge. I have yet to come across a subject, on which google doesn't have a cache. If web fails and google stays up, we can survive a day.. Shridhar From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 05:56:12 2001 Received: from exchange.satyam.net.in (unknown [202.144.12.32]) by www.aunet.org (Postfix) with ESMTP id 2C3E44AC1E for ; Fri, 23 Mar 2001 05:56:05 -0800 (PST) Received: from HQBNG01EXFE01.mindtree.com (lan-202-144-95-250.maa.sify.net [202.144.95.250] (may be forged)) by exchange.satyam.net.in (8.9.3/8.9.3) with ESMTP id TAA24721 for ; Fri, 23 Mar 2001 19:19:05 +0530 Received: from mtv01ex01.mindtree.com ([172.20.32.4]) by HQBNG01EXFE01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Fri, 23 Mar 2001 19:17:44 +0530 Received: from mindtree.com ([172.20.33.180]) by mtv01ex01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Fri, 23 Mar 2001 19:17:44 +0530 Message-ID: <3ABB5379.1090207@mindtree.com> Date: Fri, 23 Mar 2001 19:15:29 +0530 From: Moyukh Goswami Reply-To: moyukh_goswami@mindtree.com Organization: Mindtree Consulting Pvt Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; m18) Gecko/20001107 Netscape6/6.0 X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: Seeking a Linux or Unix programming guru for CTO position [Commercial] References: <5.0.0.25.0.20010320225401.025d3dc0@pop3.idt.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 Mar 2001 13:47:44.0227 (UTC) FILETIME=[D6432330:01C0B39F] X-Archive-Number: 200103/234 X-Sequence-Number: 1955 Very intelligent. CS degree from a top school and top academic record are preferred; ^^^^^^^^^^ by the way whats your defination for the top school, and how does you judge knowledge from ones institution, ... /Moyukh *ps :sorry for posting it to LIP From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 06:08:41 2001 Received: from hwembmn2621.honeywell.com (hwembmn2621.honeywell.com [129.30.244.34]) by www.aunet.org (Postfix) with ESMTP id 750514A365 for ; Fri, 23 Mar 2001 06:08:09 -0800 (PST) Received: from hwembmnvw001.honeywell.com (hwembmnvw001 [129.30.244.31]) by hwembmn2621.honeywell.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id GFMK3641; Fri, 23 Mar 2001 08:07:48 -0600 Received: from 129.30.244.21 by hwembmnvw001.honeywell.com (InterScan E-Mail VirusWall NT); Fri, 23 Mar 2001 07:56:52 -0600 (Central Standard Time) Received: by HWEMNMN2601 with Internet Mail Service (5.5.2650.21) id ; Fri, 23 Mar 2001 08:00:38 -0600 Message-ID: From: "Kondaiah (IE10)" To: linux-india-programmers@lists.linux-india.org Subject: HI please tell what could be the problem Date: Fri, 23 Mar 2001 07:43:21 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain X-Archive-Number: 200103/235 X-Sequence-Number: 1956 the following code simple "C" code giving correct result on Windows(Microsoft c compiler). Where as in the case of Linux I am not getting first string. Please can any one explain me the problem?? Thanks void main() { char **p=NULL; p=(char**)malloc(sizeof(char*)); doublealloc(p); for(int i=0; i<5; i++) { printf("%s\n",p[i]); } } void doublealloc(char **p) { int i=0; for(i=0;i<5; i++) { p[i]=(char*)malloc(64); strcpy(p[i],"Kondaiah"); } } ________________________________Honeywell Kondaiah Dasari Honeywell India Software Operation Pvt Ltd 19/4, Venkataswamy Naidu Road Tasker Town, Bangalore - 560051, INDIA Ph : 91-80-2860357 Fax : 91-80-2860356 Email :kondaiah@honeywell.com From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 06:22:17 2001 Received: from debian.telocity.com (dsl-64-194-89-201.telocity.com [64.194.89.201]) by www.aunet.org (Postfix) with ESMTP id A79994A396 for ; Fri, 23 Mar 2001 06:22:05 -0800 (PST) Received: from lists by debian.telocity.com with local (Exim 3.22 #1 (Debian)) id 14gSKZ-0000eu-00 for ; Fri, 23 Mar 2001 08:14:19 -0600 Date: Fri, 23 Mar 2001 08:14:19 -0600 To: linux-india-programmers@lists.linux-india.org Subject: Re: [OT} Why google ( Was ... Re: Source code for TCP Dump) Message-ID: <20010323081419.A2479@123india.com> References: <015d01c0aeee$5ffa9100$8900000a@aclindia.com> <3AB5B3EC.93655745@pspl.co.in> <023d01c0b394$fc0fcec0$c9f60b3d@rahul> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: <023d01c0b394$fc0fcec0$c9f60b3d@rahul>; from rahulj@glide.net.in on Fri, Mar 23, 2001 at 05:41:07PM +0530 From: lists@123india.com X-Archive-Number: 200103/236 X-Sequence-Number: 1957 On Fri, Mar 23, 2001 at 05:41:07PM +0530, Disillusioned wrote: > > I've been wondering what makes google so fast. reminds me of the speed of 6K+ machines running RedHat? \Indraneel From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 06:25:06 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id A2D904AA9C for ; Fri, 23 Mar 2001 06:25:02 -0800 (PST) Received: from Basel (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with SMTP id f2NEMQl11682 for ; Fri, 23 Mar 2001 19:52:26 +0530 Content-Type: text/plain; charset="iso-8859-1" From: Shridhar Daithankar To: linux-india-programmers@lists.linux-india.org Subject: Re: HI please tell what could be the problem Date: Fri, 23 Mar 2001 19:49:18 +0530 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01032319491803.00733@Basel> Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/237 X-Sequence-Number: 1958 Hi BTW, are you sure of your malloc? I think you should put 5*sizeof(char*) because you will be allocating 5 strings there. So prototype the function, remove int from for statement(not allowed in C), and put 5*sizeof(char*) and it will work. I tried and it worked.... As Binand said in other mail, anything that talks 'void main(){}' is not C, it's dos... Shridhar P.S. Seriously consider to get two mail ids from company. One for office and other for personal mails. This signature business on list mail, is a ever growing pain.... On Friday 23 March 2001 19:13, Kondaiah (IE10) wrote: > void main() > { > char **p=NULL; > > > p=(char**)malloc(sizeof(char*)); > doublealloc(p); > for(int i=0; i<5; i++) > { > printf("%s\n",p[i]); > } > } > > void doublealloc(char **p) > { > int i=0; > for(i=0;i<5; i++) > { > p[i]=(char*)malloc(64); > strcpy(p[i],"Kondaiah"); > } > } From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 06:27:47 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 336B34AEC5 for ; Fri, 23 Mar 2001 06:27:43 -0800 (PST) Received: from Basel (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with SMTP id f2NEP7l11754 for ; Fri, 23 Mar 2001 19:55:07 +0530 Content-Type: text/plain; charset="iso-8859-1" From: Shridhar Daithankar To: linux-india-programmers@lists.linux-india.org Subject: Re: HI please tell what could be the problem Date: Fri, 23 Mar 2001 19:51:58 +0530 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01032319515804.00733@Basel> Content-Transfer-Encoding: 8bit X-Archive-Number: 200103/238 X-Sequence-Number: 1959 Hi I have already put the answer for the problem but I forgot to add a line. IIRC, this is what is called as memory leak... Shridhar On Friday 23 March 2001 19:13, Kondaiah (IE10) wrote: > the following code simple "C" code giving correct result on > Windows(Microsoft c compiler). > Where as in the case of Linux I am not getting first string. > Please can any one explain me the problem?? > Thanks From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 07:04:46 2001 Received: from gatekeep.ti.com (gatekeep.ti.com [192.94.94.61]) by www.aunet.org (Postfix) with ESMTP id 0DA734ADE7 for ; Fri, 23 Mar 2001 07:04:44 -0800 (PST) Received: from dlep7.itg.ti.com ([157.170.134.103]) by gatekeep.ti.com (8.11.1/8.11.1) with ESMTP id f2NEv8r02074 for ; Fri, 23 Mar 2001 08:57:08 -0600 (CST) Received: from dlep7.itg.ti.com (localhost [127.0.0.1]) by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id IAA24331 for ; Fri, 23 Mar 2001 08:57:07 -0600 (CST) Received: from mailsvr.india.ti.com (mailsvr.india.ti.com [157.87.95.214]) by dlep7.itg.ti.com (8.9.3/8.9.3) with ESMTP id IAA24321 for ; Fri, 23 Mar 2001 08:57:06 -0600 (CST) Received: from india.ti.com (apdsparc089 [157.87.88.140]) by mailsvr.india.ti.com (8.8.8/8.8.8) with ESMTP id UAA17479 for ; Fri, 23 Mar 2001 20:25:55 +0530 (IST) Message-ID: <3ABB643F.68B41112@india.ti.com> Date: Fri, 23 Mar 2001 20:27:03 +0530 From: Sumit Rangwala Organization: Texas Instruments X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers Subject: Debugging vimrc and vim syntax file Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/239 X-Sequence-Number: 1960 Hi Is there any way to debug a .gvimrc file. this file sometime behave differrently for different users or to say in a way i never understand. is there any way i can find out why the rc file behaves the way it behaves. TIA Regards Sumit From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 07:56:16 2001 Received: from mailweb20.rediffmail.com (unknown [203.199.83.144]) by www.aunet.org (Postfix) with SMTP id BB2EF4ABF1 for ; Fri, 23 Mar 2001 07:56:09 -0800 (PST) Received: (qmail 19878 invoked by uid 510); 23 Mar 2001 15:42:17 -0000 Date: 23 Mar 2001 15:42:17 -0000 Message-ID: <20010323154217.19877.qmail@mailweb20.rediffmail.com> Received: from unknown (210.214.6.146) by rediffmail.com via HTTP; 23 Mar 2001 15:42:17 -0000 MIME-Version: 1.0 To: LIP Subject: Re: Println - reg From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/240 X-Sequence-Number: 1961 Hi! As far as C is concerned, the last line output will be overwritten with the error message "Segmentation fault" in case an error occurs. Hence, the last line seems to be missing. To avoid this, I always use printf(" ... \n", ...); or "puts"! Hope something similar occurs as a result of the 'println' in Java. - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 08:12:51 2001 Received: by www.aunet.org (Postfix, from userid 1000) id 970E64A1A1; Fri, 23 Mar 2001 08:12:49 -0800 (PST) Date: Fri, 23 Mar 2001 08:12:49 -0800 To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: file creation time Message-ID: <20010323081249.A26560@aunet.org> References: <20010312134230.10490.qmail@mailweb16.rediffmail.com> <20010312091252.A62208@sharmas.dhs.org> <002101c0ab5a$a45034a0$0100000a@pasokan.cibsnet.net> <20010312215811.C63519@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010312215811.C63519@sharmas.dhs.org>; from arun@sharmas.dhs.org on Mon, Mar 12, 2001 at 09:58:11PM -0800 From: thaths@aunet.org (Sudhakar Chandra) X-Archive-Number: 200103/241 X-Sequence-Number: 1962 On Mon, Mar 12, 2001 at 09:58:11PM -0800, did Arun Sharma write: > I thought so too, much to my surprise a couple of years ago. I had to > read "UNIX haters handbook" to be educated :) A wonderful book. Sadly, out of print. Thaths -- pub 1024R/9B7FE6BD 1998-03-25 Sudhakar Chandrasekharan Key fingerprint = 8A 84 2E 67 10 9A 64 03 24 38 B6 AB 1B 6E 8C E4 uid Sudhakar Chandrasekharan From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 13:07:03 2001 Received: from aukbc3.aukbc.org (unknown [203.197.142.200]) by www.aunet.org (Postfix) with ESMTP id 8E91C4AF5C for ; Fri, 23 Mar 2001 13:06:58 -0800 (PST) Received: from hanuman.aukbc.org (IDENT:mksarav@[192.168.2.37]) by aukbc3.aukbc.org (8.9.3/8.9.3) with ESMTP id CAA11503 for ; Sat, 24 Mar 2001 02:39:48 +0530 Date: Sat, 24 Mar 2001 02:39:51 +0530 (IST) From: M K Saravanan To: linux-india-programmers@lists.linux-india.org Subject: diff. bet sockaddr & sockaddr_in ? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/242 X-Sequence-Number: 1963 hi, In which header file "struct sockaddr" defined? since sockaddr_in is already there, what is the purpose of sockaddr structure? -- mks -- From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 15:21:37 2001 Received: from aukbc3.aukbc.org (unknown [203.197.142.200]) by www.aunet.org (Postfix) with ESMTP id 5BE684A407; Fri, 23 Mar 2001 15:21:16 -0800 (PST) Received: from hanuman.aukbc.org (IDENT:mksarav@[192.168.2.37]) by aukbc3.aukbc.org (8.9.3/8.9.3) with ESMTP id EAA11896; Sat, 24 Mar 2001 04:54:06 +0530 Date: Sat, 24 Mar 2001 04:54:51 +0530 (IST) From: M K Saravanan To: linux-india-general@lists.linux-india.org Cc: linux-india-programmers@lists.linux-india.org Subject: [nylug-talk] ALERT - A DANGEROUS NEW WORM IS SPREADING ON THE INTERNET (fwd) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/243 X-Sequence-Number: 1964 ---------- Forwarded message ---------- Date: Fri, 23 Mar 2001 14:49:50 -0500 (EST) From: Oommen Thomas ---------- Forwarded message ---------- Date: Fri, 23 Mar 2001 14:20:08 -0500 (EST) From: Jim Gleason To: nylug-talk@nylug.org, nylug-announce@nylug.org Subject: [nylug-talk] ALERT - A DANGEROUS NEW WORM IS SPREADING ON THE INTERNET (fwd) We are updating the nylug server with the bind patch as we speak. - Jim ALERT! A DANGEROUS NEW WORM IS SPREADING ON THE INTERNET March 23, 2001 7:00 AM Late last night, the SANS Institute (through its Global Incident Analysis Center) uncovered a dangerous new worm that appears to be spreading rapidly across the Internet. It scans the Internet looking for Linux computers with a known vulnerability. It infects the vulnerable machines, steals the password file (sending it to a China.com site), installs other hacking tools, and forces the newly infected machine to begin scanning the Internet looking for other victims. Several experts from the security community worked through the night to decompose the worm's code and engineer a utility to help you discover if the Lion worm has affected your organization. Updates to this announcement will be posted at the SANS web site, http://www.sans.org DESCRIPTION The Lion worm is similar to the Ramen worm. However, this worm is significantly more dangerous and should be taken very seriously. It infects Linux machines running the BIND DNS server. It is known to infect bind version(s) 8.2, 8.2-P1, 8.2.1, 8.2.2-Px, and all 8.2.3-betas. The specific vulnerability used by the worm to exploit machines is the TSIG vulnerability that was reported on January 29, 2001. The Lion worm spreads via an application called "randb". Randb scans random class B networks probing TCP port 53. Once it hits a system, it checks to see if it is vulnerable. If so, Lion exploits the system using an exploit called "name". It then installs the t0rn rootkit. Once Lion has compromised a system, it: - - Sends the contents of /etc/passwd, /etc/shadow, as well as some network settings to an address in the china.com domain. - - Deletes /etc/hosts.deny, eliminating the host-based perimeter protection afforded by tcp wrappers. - - Installs backdoor root shells on ports 60008/tcp and 33567/tcp (via inetd, see /etc/inetd.conf) - - Installs a trojaned version of ssh that listens on 33568/tcp - - Kills Syslogd , so the logging on the system can't be trusted - - Installs a trojaned version of login - - Looks for a hashed password in /etc/ttyhash - - /usr/sbin/nscd (the optional Name Service Caching daemon) is overwritten with a trojaned version of ssh. The t0rn rootkit replaces several binaries on the system in order to stealth itself. Here are the binaries that it replaces: du, find, ifconfig, in.telnetd, in.fingerd, login, ls, mjy, netstat, ps, pstree, top - - "Mjy" is a utility for cleaning out log entries, and is placed in /bin and /usr/man/man1/man1/lib/.lib/. - - in.telnetd is also placed in these directories; its use is not known at this time. - - A setuid shell is placed in /usr/man/man1/man1/lib/.lib/.x DETECTION AND REMOVAL We have developed a utility called Lionfind that will detect the Lion files on an infected system. Simply download it, uncompress it, and run lionfind. This utility will list which of the suspect files is on the system. At this time, Lionfind is not able to remove the virus from the system. If and when an updated version becomes available (and we expect to provide one), an announcement will be made at this site. Download Lionfind at http://www.sans.org/y2k/lionfind-0.1.tar.gz REFERENCES Further information can be found at: http://www.sans.org/current.htm http://www.cert.org/advisories/CA-2001-02.html, CERT Advisory CA-2001-02, Multiple Vulnerabilities in BIND http://www.kb.cert.org/vuls/id/196945 ISC BIND 8 contains buffer overflow in transaction signature (TSIG) handling code http://www.sans.org/y2k/t0rn.htm Information about the t0rn rootkit. The following vendor update pages may help you in fixing the original BIND vulnerability: Redhat Linux RHSA-2001:007-03 - Bind remote exploit http://www.redhat.com/support/errata/RHSA-2001-007.html Debian GNU/Linux DSA-026-1 BIND http://www.debian.org/security/2001/dsa-026 SuSE Linux SuSE-SA:2001:03 - Bind 8 remote root compromise. http://www.suse.com/de/support/security/2001_003_bind8_ txt.txt Caldera Linux CSSA-2001-008.0 Bind buffer overflow http://www.caldera.com/support/security/advisories/CSSA-2001-008.0.txt http://www.caldera.com/support/security/advisories/CSSA-2001-008.1.txt This security advisory was prepared by Matt Fearnow of the SANS Institute and William Stearns of the Dartmouth Institute for Security Technology Studies. The Lionfind utility was written by William Stearns. William is an Open-Source developer, enthusiast, and advocate from Vermont, USA. His day job at the Institute for Security Technology Studies at Dartmouth College pays him to work on network security and Linux projects. Also contributing efforts go to Dave Dittrich from the University of Washington, and Greg Shipley of Neohapsis Matt Fearnow SANS GIAC Incident Handler If you have additional data on this worm or a critical quetsion please email lionworm@sans.org From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 20:23:26 2001 Received: from accord-soft.com (unknown [164.164.69.252]) by www.aunet.org (Postfix) with ESMTP id 2C30A4A53E for ; Fri, 23 Mar 2001 20:23:04 -0800 (PST) Received: from sunilv. (IDENT:sunilv@Sunilv [192.168.1.41]) by accord-soft.com (8.9.3/8.9.3) with SMTP id JAA02717 for ; Sat, 24 Mar 2001 09:44:13 +0530 From: Sunil V Date: Sat, 24 Mar 2001 04:14:12 GMT Message-ID: <20010324.4141200@sunilv.> Subject: Re: diff. bet sockaddr & sockaddr_in ? To: linux-india-programmers@lists.linux-india.org In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Linux) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200103/244 X-Sequence-Number: 1965 Hello, The definition of 'struct sockaddr' is in . This structure has a 14-byte protocol specific address which is=20 interpreted based on type of address. For intenet family it is=20 'struct sockaddr_in' defined in In simple words, 'struct sockaddr' is a generic socket structure and=20 'struct sockaddr_in' is Internet socket address structure. If this has confused you more, refer the book 'Unix Network Programming' by W. Richard Stevens. --sunil-- >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 3/24/01, 2:39:51 AM, M K Saravanan wrote=20 regarding [LIP] diff. bet sockaddr & sockaddr_in ?: > hi, > In which header file "struct sockaddr" defined? since sockaddr_in is=20 already > there, what is the purpose of sockaddr structure? > -- mks -- > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ From linux-india-programmers-owner@lists.linux-india.org Fri Mar 23 21:38:12 2001 Received: from alice.bombay.retortsoft.com (unknown [203.197.42.205]) by www.aunet.org (Postfix) with ESMTP id 1450D4A8F0 for ; Fri, 23 Mar 2001 21:37:49 -0800 (PST) Received: (from binand@localhost) by alice.bombay.retortsoft.com (8.9.3/8.9.3) id LAA28897 for linux-india-programmers@lists.linux-india.org; Sat, 24 Mar 2001 11:00:20 +0530 Date: Sat, 24 Mar 2001 11:00:20 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: diff. bet sockaddr & sockaddr_in ? Message-ID: <20010324110020.B6228@alice.bombay.retortsoft.com> References: <20010324.4141200@sunilv.> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010324.4141200@sunilv.>; from sunilv@accord-soft.com on Sat, Mar 24, 2001 at 04:14:12AM +0000 X-Archive-Number: 200103/245 X-Sequence-Number: 1966 On Sat, Mar 24, 2001 at 04:14:12AM +0000, Sunil V wrote: > The definition of 'struct sockaddr' is in . > This structure has a 14-byte protocol specific address which is > interpreted based on type of address. For intenet family it is > 'struct sockaddr_in' defined in And this sort of a thing was used in the BSD sockets API because it was designed before the void * generic pointer was introduced into C. The interface would have been much cleaner had the bind() syscall were prototyped like: int bind (int fd, void *addr, socklen_t *len); Binand From linux-india-programmers-owner@lists.linux-india.org Sat Mar 24 00:22:19 2001 Received: from aukbc3.aukbc.org (unknown [203.197.142.200]) by www.aunet.org (Postfix) with ESMTP id 613E64A66C for ; Sat, 24 Mar 2001 00:22:15 -0800 (PST) Received: from hanuman.aukbc.org (IDENT:mksarav@[192.168.2.37]) by aukbc3.aukbc.org (8.9.3/8.9.3) with ESMTP id NAA12711 for ; Sat, 24 Mar 2001 13:55:03 +0530 Date: Sat, 24 Mar 2001 13:55:44 +0530 (IST) From: M K Saravanan To: linux-india-programmers@lists.linux-india.org Subject: Re: diff. bet sockaddr & sockaddr_in ? In-Reply-To: <20010324.4141200@sunilv.> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/246 X-Sequence-Number: 1967 On Sat, 24 Mar 2001, Sunil V wrote: > The definition of 'struct sockaddr' is in . I posted to the list after reading stevens only. But unfortunately Iam not able to find the definition of "struct sockaddr" in sys/socket.h. Instead it contains something like this: ================================================ #ifdef __USE_BSD /* This is the 4.3 BSD `struct sockaddr' format, which is used as wire format in the grotty old 4.3 `talk' protocol. */ struct osockaddr { unsigned short int sa_family; unsigned char sa_data[14]; }; #endif ====================================================== I finally found that "struct sockaddr" in with the following defn: ====================================================== /* Structure describing a generic socket address. */ struct sockaddr { __SOCKADDR_COMMON (sa_); /* Common data: address family and length. */ char sa_data[14]; /* Address data. */ }; ========================================================= anyway thanks sunil for the info. >From: Binand Raj S. >>And this sort of a thing was used in the BSD sockets API because it was >designed before the void * generic pointer was introduced into C. The Now, the thing is clear. thanks binand. -- mks -- From linux-india-programmers-owner@lists.linux-india.org Sat Mar 24 01:17:56 2001 Received: from aukbc3.aukbc.org (unknown [203.197.142.200]) by www.aunet.org (Postfix) with ESMTP id 2FCD74A1C9 for ; Sat, 24 Mar 2001 01:17:53 -0800 (PST) Received: from hanuman.aukbc.org (IDENT:mksarav@[192.168.2.37]) by aukbc3.aukbc.org (8.9.3/8.9.3) with ESMTP id OAA12796 for ; Sat, 24 Mar 2001 14:50:41 +0530 Date: Sat, 24 Mar 2001 14:51:22 +0530 (IST) From: M K Saravanan To: linux-india-programmers@lists.linux-india.org Subject: Is the data part also send in Network Byte Order? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/247 X-Sequence-Number: 1968 hi, While sending integers in the header like IP addr, etc.., we are sending it in Network Byte Order. What about data? Do we have to send data - also in NBO? If not, how the other end will know whether it is small/big endian? -- mks -- From linux-india-programmers-owner@lists.linux-india.org Sat Mar 24 02:20:12 2001 Received: from matrix.mediasolv.com (unknown [203.115.19.131]) by www.aunet.org (Postfix) with ESMTP id B75B04A243 for ; Sat, 24 Mar 2001 02:20:08 -0800 (PST) Received: from kugan ([192.168.1.51]) by matrix.mediasolv.com (8.11.1/8.11.1) with SMTP id f2OAB5804793 for ; Sat, 24 Mar 2001 16:11:05 +0600 From: "V.Kugan" To: Subject: device driver Date: Sat, 24 Mar 2001 16:16:55 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Importance: Normal X-Archive-Number: 200103/248 X-Sequence-Number: 1969 I am very new device drivrer. I asked few questiobs earlier as well but no answer :(, may be they are too trival. Now i have seen some char diver deining file_operation structer and some tty_driver, how do i no what to select?? can anyone pls answer this. And also is there any news group for discussing general device driver related questions for linux , may be i should see that archive. Thank you very much. V.Kugan From linux-india-programmers-owner@lists.linux-india.org Sat Mar 24 06:12:25 2001 Received: from jester.ti.com (jester.ti.com [192.94.94.1]) by www.aunet.org (Postfix) with ESMTP id 2594A4A1F6 for ; Sat, 24 Mar 2001 06:12:22 -0800 (PST) Received: from dlep6.itg.ti.com ([157.170.188.9]) by jester.ti.com (8.11.1/8.11.1) with ESMTP id f2OE4iD07626 for ; Sat, 24 Mar 2001 08:04:45 -0600 (CST) Received: from dlep6.itg.ti.com (localhost [127.0.0.1]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id IAA14558 for ; Sat, 24 Mar 2001 08:04:44 -0600 (CST) Received: from mailsvr.india.ti.com (mailsvr.india.ti.com [157.87.95.214]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id IAA14540 for ; Sat, 24 Mar 2001 08:04:42 -0600 (CST) Received: from india.ti.com (apdsparc089 [157.87.88.140]) by mailsvr.india.ti.com (8.8.8/8.8.8) with ESMTP id TAA11863 for ; Sat, 24 Mar 2001 19:33:30 +0530 (IST) Message-ID: <3ABCA978.A038AFB2@india.ti.com> Date: Sat, 24 Mar 2001 19:34:40 +0530 From: Sumit Rangwala Organization: Texas Instruments X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.7 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers Subject: Help on autocmd Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/249 X-Sequence-Number: 1970 Hi all I am using the following line in my .vimrc but some how its not working autocmd BufNewFile *.c,*.h,*.cpp,*.pl let headerFlag = confirm("Want Header?","&Yes\n&No\n",1,"Question") Whenever i open a new file of the above kind confirm function is not getting called and headerFlag does not get set. However if i write the same during the command mode ( let headerFlag = confirm("Want Header?","&Yes\n&No\n",1,"Question") ) headerFlag get set properly. Any help would be of great help ..... Regards Sumit From linux-india-programmers-owner@lists.linux-india.org Sat Mar 24 11:45:33 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id C8F214A2DE for ; Sat, 24 Mar 2001 11:45:23 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2OJVm315535 for linux-india-programmers@lists.linux-india.org; Sat, 24 Mar 2001 11:31:48 -0800 (PST) (envelope-from adsharma) Date: Sat, 24 Mar 2001 11:31:47 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Is the data part also send in Network Byte Order? Message-ID: <20010324113147.A15500@sharmas.dhs.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mksarav@mail.mitindia.edu on Sat, Mar 24, 2001 at 02:51:22PM +0530 X-Archive-Number: 200103/250 X-Sequence-Number: 1971 On Sat, Mar 24, 2001 at 02:51:22PM +0530, M K Saravanan wrote: > hi, > > While sending integers in the header like IP addr, etc.., we are sending it in > Network Byte Order. What about data? Do we have to send data - also in NBO? > If not, how the other end will know whether it is small/big endian? > An application level protocol built on top of TCP/IP defines the byte order. -Arun From linux-india-programmers-owner@lists.linux-india.org Sat Mar 24 12:36:04 2001 Received: from stewart.spectranet.com (unknown [203.122.63.155]) by www.aunet.org (Postfix) with ESMTP id B53E74A426 for ; Sat, 24 Mar 2001 12:35:59 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by stewart.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GAQRCV00.5FM for ; Sun, 25 Mar 2001 01:58:07 -0500 Message-ID: <013901c0b4a0$e8fbd880$8900000a@aclindia.com> From: "Ambar Roy" To: References: <20010324113147.A15500@sharmas.dhs.org> Subject: Re: Is the data part also send in Network Byte Order? Date: Sun, 25 Mar 2001 01:57:53 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/251 X-Sequence-Number: 1972 > > While sending integers in the header like IP addr, etc.., we are sending it in > > Network Byte Order. What about data? Do we have to send data - also in NBO? > > If not, how the other end will know whether it is small/big endian? > An application level protocol built on top of TCP/IP defines the byte order. isn't this obvious....... Basically the data is sent as a byte stream, leaving it to the application level protocol to intrepret/code as per needs. The beauty of most of the common protocols like ftp, smtp,http,pop3, etc is that the basic protocol is implemented using human readable data, so things like byte order for integers are not touched!!!! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Sat Mar 24 23:27:23 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 1C8FA4A3A2 for ; Sat, 24 Mar 2001 23:26:50 -0800 (PST) Received: from rahul ([61.11.246.68]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f2P7LVQ29733 for ; Sun, 25 Mar 2001 12:51:32 +0530 Message-ID: <000f01c0b4fb$abaff3c0$44f60b3d@rahul> From: "Disillusioned" To: Subject: getc() and fgetc() Date: Sun, 25 Mar 2001 12:47:36 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/252 X-Sequence-Number: 1973 Hi there, I could not understand the difference between getc() and fgetc(). Similarily the difference between putc() and fputc(). the text says that the former can be implemented as a macro, now what does that mean? Waiting for a reply TIA rahul ~~~~~~~~~~~~~~~~~~~ In a world without fences... who needs gates? ~~~~~~~~~~~~~~~~~~~ From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 00:11:47 2001 Received: from alice.bombay.retortsoft.com (unknown [203.197.49.159]) by www.aunet.org (Postfix) with ESMTP id A0A594A73D for ; Sun, 25 Mar 2001 00:11:35 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id NAA14871 for ; Sun, 25 Mar 2001 13:32:46 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id NAA11695 for linux-india-programmers@lists.linux-india.org; Sun, 25 Mar 2001 13:42:11 +0530 Date: Sun, 25 Mar 2001 13:42:10 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: getc() and fgetc() Message-ID: <20010325134210.E4586@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <000f01c0b4fb$abaff3c0$44f60b3d@rahul> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <000f01c0b4fb$abaff3c0$44f60b3d@rahul>; from rahulj@glide.net.in on Sun, Mar 25, 2001 at 12:47:36PM +0530 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/253 X-Sequence-Number: 1974 Disillusioned forced the electrons to say: > I could not understand the difference between getc() and fgetc(). Similarily > the difference between putc() and fputc(). getc() and fgetc() are equivalent in usage. Similar for putc() and fputc(). > the text says that the former can be implemented as a macro, now what does > that mean? That is the essential difference. This means that stdio.h might implement getc() as a macro, so taking its address is not portable. If you need a pointer to a function that takes one argument of type FILE * and returns an int (;-), then you cannot portably use getc(), you will have to use fgetc() which is guaranteed to be a function. So, this is not portable: int (*func)(FILE *) = getc; whereas this is: int (*func)(FILE *) = fgetc; [Note: This difference also comes in if you dlopen() libc and try to locate getc() and fgetc() in there via dlsym()]. Another difference is that getc() might evaluate its argument multiple times, so if you have an array of FILE * pointers, then code like this to read one character from each of them is bad: FILE **arr; /* array [10] of FILE * pointers */ int i = 0, c[10]; while (i < 10) { c[i++] = getc(*arr++); } (Horrible, but you get the idea) Whereas it is perfectly alright to use fgetc() in the above. Here is an implementation of getc() (from /usr/lib/bcc/include/stdio.h) that exhibits all the above points: #define getc(stream) \ (((stream)->bufpos >= (stream)->bufread) ? fgetc(stream): \ (*(stream)->bufpos++)) This evaluates stream thrice. Binand From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 07:28:04 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id A26974A139 for ; Sun, 25 Mar 2001 07:27:56 -0800 (PST) Received: from rahul ([61.11.246.237]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f2PFDCQ24118 for ; Sun, 25 Mar 2001 20:43:13 +0530 Message-ID: <006001c0b53d$9235b640$52f60b3d@rahul> From: "Disillusioned" To: References: <000f01c0b4fb$abaff3c0$44f60b3d@rahul> <20010325134210.E4586@bombay.retortsoft.com> Subject: Re: getc() and fgetc() Date: Sun, 25 Mar 2001 20:29:40 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200103/254 X-Sequence-Number: 1975 Thats quite elaborate a reply. thanks a lot. one more thing. 1) we all have seen, at least me for the past 3 years, that if we give a character input where an integer was expected, the prog goes for an infinite joy ride. 2) i also read that scanf can skip white spaces, tabs, line feeds and others if you want it to and thus can go into "an infinite loop" if it cannot scan what it was asked to (char for an integer, for instance). how do i make sense of 1) and 2). Binand definitely has a nice reply, even though hez not a help desk for linux ;-) Regards Rahul ~~~~~~~~~~~~~~~~~~~ In a world without fences... who needs gates? ~~~~~~~~~~~~~~~~~~~ ----- Original Message ----- From: "Binand Raj S." To: Sent: Sunday, March 25, 2001 1:42 PM Subject: Re: [LIP] getc() and fgetc() > That is the essential difference. This means that stdio.h might implement > getc() as a macro, so taking its address is not portable. If you need a > pointer to a function that takes one argument of type FILE * and returns > an int (;-), then you cannot portably use getc(), you will have to use > fgetc() which is guaranteed to be a function. > > So, this is not portable: > > int (*func)(FILE *) = getc; > > whereas this is: > > int (*func)(FILE *) = fgetc; > > [Note: This difference also comes in if you dlopen() libc and try to > locate getc() and fgetc() in there via dlsym()]. > > Another difference is that getc() might evaluate its argument multiple > times, so if you have an array of FILE * pointers, then code like this > to read one character from each of them is bad: > > FILE **arr; /* array [10] of FILE * pointers */ > int i = 0, c[10]; > while (i < 10) { > c[i++] = getc(*arr++); > } > > (Horrible, but you get the idea) > > Whereas it is perfectly alright to use fgetc() in the above. > > Here is an implementation of getc() (from /usr/lib/bcc/include/stdio.h) that > exhibits all the above points: > > #define getc(stream) \ > (((stream)->bufpos >= (stream)->bufread) ? fgetc(stream): \ > (*(stream)->bufpos++)) > > This evaluates stream thrice. > > Binand From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 14:09:07 2001 Received: from alice.bombay.retortsoft.com (unknown [203.197.43.39]) by www.aunet.org (Postfix) with ESMTP id DAD364A191 for ; Sun, 25 Mar 2001 14:08:59 -0800 (PST) Received: from aragorn.home.retortsoft.com (aragorn.home.retortsoft.com [192.168.111.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id DAA31468 for ; Mon, 26 Mar 2001 03:31:32 +0530 Received: (from binand@localhost) by aragorn.home.retortsoft.com (8.9.3/8.9.3) id DAA12624 for linux-india-programmers@lists.linux-india.org; Mon, 26 Mar 2001 03:40:11 +0530 Date: Mon, 26 Mar 2001 03:40:11 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: getc() and fgetc() Message-ID: <20010326034011.G4586@bombay.retortsoft.com> Reply-To: binand@bombay.retortsoft.com Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <000f01c0b4fb$abaff3c0$44f60b3d@rahul> <20010325134210.E4586@bombay.retortsoft.com> <006001c0b53d$9235b640$52f60b3d@rahul> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <006001c0b53d$9235b640$52f60b3d@rahul>; from rahulj@glide.net.in on Sun, Mar 25, 2001 at 08:29:40PM +0530 X-Operating-System: Linux 2.2.16-3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-Organization: Retort Software Pvt. Ltd. X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200103/255 X-Sequence-Number: 1976 Disillusioned forced the electrons to say: > Binand definitely has a nice reply, even though hez not a help desk for > linux ;-) Rahul, Would you mind reposting your question? Helpdesk or not, I couldn't make head or tail out of your mail. Use more precise terms rather than 'program goes for an infinite joyride' or such. Also, "hez" is not an acceptable shor form for "he's". Some code that illustrates the problem you face would be nice. Binand From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 21:14:43 2001 Received: from hotmail.com (oe61.law14.hotmail.com [64.4.20.196]) by www.aunet.org (Postfix) with ESMTP id D573F4A58C for ; Sun, 25 Mar 2001 21:14:26 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 25 Mar 2001 21:06:22 -0800 X-Originating-IP: [203.197.150.234] From: "Mohamed Ghouse" To: References: Subject: Re: Source code for TCP Dump Date: Mon, 26 Mar 2001 10:37:30 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Message-ID: X-OriginalArrivalTime: 26 Mar 2001 05:06:22.0931 (UTC) FILETIME=[80656A30:01C0B5B2] X-Archive-Number: 200103/256 X-Sequence-Number: 1977 Hello Kugan Hope u r fine. I think u can try out for linux.org U will get the needed stuff. Bye ----- Original Message ----- From: "V.Kugan" To: Sent: Saturday, March 17, 2001 12:31 AM Subject: [LIP] Source code for TCP Dump > Hello Everyone > Can you please direct me to tcp dump source code or any other open source > utility that can be used to analyze all the tcp/Ip traffic. > Thanx in Advance > Regards > Kugan > > > --------------------------------------------- > An alpha version of a web based tool to manage > your subscription with this mailing list is at > http://lists.linux-india.org/cgi-bin/mj_wwwusr > From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 21:21:17 2001 Received: from multimediastudio.com (unknown [202.9.179.51]) by www.aunet.org (Postfix) with SMTP id C67774A0C2 for ; Sun, 25 Mar 2001 21:21:08 -0800 (PST) Message-ID: <000801c0b625$1483a1b0$0d01a8c0@krishna> From: "Krishna Srinivasan" To: References: <000f01c0b4fb$abaff3c0$44f60b3d@rahul> Subject: Perl + MySQL Date: Mon, 26 Mar 2001 10:46:33 -0800 Organization: Multimedia Studio Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/257 X-Sequence-Number: 1978 Hi All, Got MySQL and Perl installed on the RedHat Linux 6.2 box. But unable to get them to communicate to each other. Need help ASAP. Thanks in advance. Regards, Krishna. http://www.virtualbangalore.com/krishna From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 21:51:35 2001 Received: from mail.aptplexus.com (unknown [202.142.69.74]) by www.aunet.org (Postfix) with ESMTP id 691B34A308 for ; Sun, 25 Mar 2001 21:50:00 -0800 (PST) Received: from yahoo.com ([192.168.10.14]) by mail.aptplexus.com (8.11.0/8.8.7) with ESMTP id f2Q5l4i01252 for ; Mon, 26 Mar 2001 11:17:05 +0530 Message-ID: <3ABC3490.C7F9C33@yahoo.com> Date: Sat, 24 Mar 2001 11:15:52 +0530 From: Vijayan Sampath X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en,pdf MIME-Version: 1.0 To: LIP Subject: Problem when compiling the 2.3.9 kernel Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/258 X-Sequence-Number: 1979 Hi, I am trying to compile the 2.3.9 kernel on RH 6.2 box but it fails when compiling the fs modules with errors. I get undefined references to update_vm_cache and get_cached_pages. What might be the reason for this error ? Vijayan -- "Never argue with a stupid person. First they'll drag you down to their level, then they will beat you with experience" -- seen on Linux India lists From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 21:54:36 2001 Received: from gminfotech.gminfotech.com (unknown [203.197.158.34]) by www.aunet.org (Postfix) with ESMTP id A05D84A143 for ; Sun, 25 Mar 2001 21:54:30 -0800 (PST) Received: from localhost (sambaiah@localhost) by gminfotech.gminfotech.com (8.9.3/8.9.3) with ESMTP id LAA20417 for ; Mon, 26 Mar 2001 11:18:26 +0530 Date: Mon, 26 Mar 2001 11:18:26 +0530 (IST) From: Kilaru Sambaiah To: linux-india-programmers@lists.linux-india.org Subject: Re: Perl + MySQL In-Reply-To: <000801c0b625$1483a1b0$0d01a8c0@krishna> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200103/259 X-Sequence-Number: 1980 On Mon, 26 Mar 2001, Krishna Srinivasan wrote: > Hi All, > > Got MySQL and Perl installed on the RedHat Linux 6.2 box. > But unable to get them to communicate to each other. Need > help ASAP. Thanks in advance. > You need to install DBI module to talk each other. You can get them at www.cpan.org. regards, Sambaiah Kilaru. From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 22:00:52 2001 Received: from valium.lu.com (unknown [203.122.32.98]) by www.aunet.org (Postfix) with SMTP id 397054A423 for ; Sun, 25 Mar 2001 22:00:48 -0800 (PST) Received: (qmail 16984 invoked by alias); 26 Mar 2001 05:53:02 -0000 Received: from mithun.internal.egurucool.com (HELO egurucool.com) (10.40.2.25) by valium.internal.egurucool.com with SMTP; 26 Mar 2001 05:53:02 -0000 Message-ID: <3ABED93D.4AA8589@egurucool.com> Date: Mon, 26 Mar 2001 11:23:01 +0530 From: Mithun Bhattacharya Organization: Learning Universe [http://www.egurucool.com] X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Perl + MySQL References: <000f01c0b4fb$abaff3c0$44f60b3d@rahul> <000801c0b625$1483a1b0$0d01a8c0@krishna> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/260 X-Sequence-Number: 1981 Install Bundle::MySQL From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 22:06:18 2001 Received: from wiprom2mx1.wipro.com (wiprom2mx1.wipro.com [203.197.164.41]) by www.aunet.org (Postfix) with ESMTP id E47C94A12E for ; Sun, 25 Mar 2001 22:06:13 -0800 (PST) Received: from m2vwall2.wipro.com (m2vwall2.wipro.com [164.164.27.52]) by wiprom2mx1.wipro.com (8.9.3+Sun/8.9.3) with SMTP id LAA29118 for ; Mon, 26 Mar 2001 11:36:25 GMT Received: from wipro.com ([192.107.143.16]) by sarovar.mail.wipro.com (Netscape Messaging Server 4.15) with ESMTP id GASJIX00.6TJ for ; Mon, 26 Mar 2001 11:34:09 +0530 Message-ID: <3ABEDB0F.45B9800E@wipro.com> Date: Mon, 26 Mar 2001 11:30:47 +0530 From: Pratap Chakravarthy X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: "linux-india-programmers@lists.linux-india.org" Subject: hot patching Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/261 X-Sequence-Number: 1982 hello all, Can you please tell me the feasibility of hot patching in an operating system like linux and if possible please provide me with any details or pointers on that. I saw in the sun's web site that they have provided hot patching in their solaris 8. How far it is reliable. what is hot patching ? It is nothing but replacing a function present in the memory "on fly".In usual cases suppose there is a bug in the kernel code, that bug has to be removed and then compiled and linked to get the image [kernel image],which is then booted. Here in hot patching the debuged function has to be compiled. Then it is linked with the kernel without rebooting the system, on the fly. I dont know whether this facility is really required for linux. But for any OS developer, this tool is a required one. To some extent i succeed in doing a hot patch for a proprietary OS. I wanted to do that in linux also. Your help is very much needed. thanks in advance pratap From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 22:12:22 2001 Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by www.aunet.org (Postfix) with ESMTP id 26A304A013 for ; Sun, 25 Mar 2001 22:12:21 -0800 (PST) Received: from fakir.india.hp.com (fakir.india.hp.com [15.10.40.3]) by palrel1.hp.com (Postfix) with ESMTP id 757D5102B for ; Sun, 25 Mar 2001 22:04:35 -0800 (PST) Received: from india.hp.com (nt4257.india.hp.com [15.10.42.57]) by fakir.india.hp.com with ESMTP (8.8.6 (PHNE_17135)/8.8.6 SMKit7.02) id LAA23599 for ; Mon, 26 Mar 2001 11:35:48 +0530 (IST) Message-ID: <3ABEDBED.3A4EAAF1@india.hp.com> Date: Mon, 26 Mar 2001 11:34:29 +0530 From: "G.L.Suresh" Organization: Hewlett Packard X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: CAPI's for MySQL References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/262 X-Sequence-Number: 1983 Hi Did any body know where I can get the C -API's for mysql. thanks, GL Kilaru Sambaiah wrote: > On Mon, 26 Mar 2001, Krishna Srinivasan wrote: > > > Hi All, > > > > Got MySQL and Perl installed on the RedHat Linux 6.2 box. > > But unable to get them to communicate to each other. Need > > help ASAP. Thanks in advance. > > > > You need to install DBI module to talk each other. You can > get them at www.cpan.org. > > regards, > Sambaiah Kilaru. > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 22:29:21 2001 Received: from sharmasnew.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 351754A23C for ; Sun, 25 Mar 2001 22:29:19 -0800 (PST) Received: (from adsharma@localhost) by sharmasnew.dhs.org (8.11.1/8.11.1) id f2Q6Fg918736 for linux-india-programmers@lists.linux-india.org; Sun, 25 Mar 2001 22:15:42 -0800 (PST) (envelope-from adsharma) Date: Sun, 25 Mar 2001 22:15:42 -0800 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: hot patching Message-ID: <20010325221542.A18721@sharmas.dhs.org> References: <3ABEDB0F.45B9800E@wipro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ABEDB0F.45B9800E@wipro.com>; from pratap.chakravarthy@wipro.com on Mon, Mar 26, 2001 at 11:30:47AM +0530 X-Archive-Number: 200103/263 X-Sequence-Number: 1984 How about # rmmod foo # insmod foo.o -Arun From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 22:30:26 2001 Received: from multimediastudio.com (unknown [202.9.179.51]) by www.aunet.org (Postfix) with SMTP id AF6454A2B1 for ; Sun, 25 Mar 2001 22:30:17 -0800 (PST) Message-ID: <006601c0b62e$c2163500$0d01a8c0@krishna> From: "Krishna Srinivasan" To: References: <000f01c0b4fb$abaff3c0$44f60b3d@rahul> <000801c0b625$1483a1b0$0d01a8c0@krishna> <3ABED93D.4AA8589@egurucool.com> Subject: Re: Perl + MySQL Date: Mon, 26 Mar 2001 11:55:50 -0800 Organization: Multimedia Studio Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/264 X-Sequence-Number: 1985 Where can I get this? Krishna > Install Bundle::MySQL > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 22:51:39 2001 Received: from mulga.cs.mu.OZ.AU (mulga.cs.mu.OZ.AU [128.250.1.22]) by www.aunet.org (Postfix) with ESMTP id ECD4349F44 for ; Sun, 25 Mar 2001 22:51:35 -0800 (PST) Received: from queeg.cs.mu.OZ.AU (queeg.cs.mu.OZ.AU [128.250.26.136]) by mulga.cs.mu.OZ.AU with ESMTP id QAA04575 for ; Mon, 26 Mar 2001 16:43:50 +1000 (EST) Received: (from rsubr@localhost) by queeg.cs.mu.OZ.AU (8.9.3+Sun/8.9.3) id QAA19553 for linux-india-programmers@lists.linux-india.org; Mon, 26 Mar 2001 16:43:45 +1000 (EST) Date: Mon, 26 Mar 2001 16:43:45 +1000 From: Raja Subramanian To: linux-india-programmers@lists.linux-india.org Subject: Re: hot patching Message-ID: <20010326164345.A3159@students.cs.mu.oz.au> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <3ABEDB0F.45B9800E@wipro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3ABEDB0F.45B9800E@wipro.com>; from pratap.chakravarthy@wipro.com on Mon, Mar 26, 2001 at 11:30:47AM +0530 X-Archive-Number: 200103/265 X-Sequence-Number: 1986 Pratap Chakravarthy wrote (pratap.chakravarthy@wipro.com): > Can you please tell me the feasibility of hot patching in an operating > system like linux and if possible please provide me with any details or > pointers on that. I saw in the sun's web site that they have provided > hot patching in their solaris 8. How far it is reliable. Reliability of hot patching is questionable. I've seen solaris "panic" after a hotpatch. I would not hotfix a busy running system, planned downtime sounds safer. But that does not mean that hot patching is a bad idea anyway. > what is hot patching ? > It is nothing but replacing a function present in the memory "on fly".In > usual cases suppose there is a bug in the kernel code, that bug has to be > removed and then compiled and linked to get the image [kernel image],which > is then booted. Here in hot patching the debuged function has to be > compiled. Then it is linked with the kernel without rebooting the system, > on the fly. > I dont know whether this facility is really required for linux. But for any > OS developer, this tool is a required one. Possible solutions for an OS developer who does not want to reboot - * Whenever possible, compile your code as a kernel module. You can load/unload your code without rebooting. * Run/debug the kernel you're developing in user mode. See "use mode linux". * Rewrite the linux kernel in erlang (just kidding...) The closest linux ever came to restarting without rebooting (in the Ctrl+Alt+Del sense) was with the "two kernel monte". This invloves restarting with a new kernel without rebooting the machine. Note: You will kill all processes as a result, so this is probably not what you want. Due to its modular design, hotpatching is easier with micro-kernel implementations like the Hurd. Even then, there may be seveal bugs which cannot be hotpatched. - Raja From linux-india-programmers-owner@lists.linux-india.org Sun Mar 25 23:23:28 2001 Received: from valium.lu.com (unknown [203.122.32.98]) by www.aunet.org (Postfix) with SMTP id E35984A16F for ; Sun, 25 Mar 2001 23:23:18 -0800 (PST) Received: (qmail 12780 invoked by alias); 26 Mar 2001 07:15:33 -0000 Received: from mithun.internal.egurucool.com (HELO egurucool.com) (10.40.2.25) by valium.internal.egurucool.com with SMTP; 26 Mar 2001 07:15:33 -0000 Message-ID: <3ABEEC94.1CCC9BC3@egurucool.com> Date: Mon, 26 Mar 2001 12:45:32 +0530 From: Mithun Bhattacharya Organization: Learning Universe [http://www.egurucool.com] X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Perl + MySQL References: <000f01c0b4fb$abaff3c0$44f60b3d@rahul> <000801c0b625$1483a1b0$0d01a8c0@krishna> <3ABED93D.4AA8589@egurucool.com> <006601c0b62e$c2163500$0d01a8c0@krishna> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/266 X-Sequence-Number: 1987 su - perl -MCPAN -e shell go through the configuration if it asks for one (needed for the first run of CPAN) then at the CPAN prompt enter install Bundle::Mysql it will make sure all the dependencies are also installed. Mithun From linux-india-programmers-owner@lists.linux-india.org Mon Mar 26 00:01:31 2001 Received: from wiprom2mx1.wipro.com (wiprom2mx1.wipro.com [203.197.164.41]) by www.aunet.org (Postfix) with ESMTP id 600FF4A0AA for ; Mon, 26 Mar 2001 00:01:27 -0800 (PST) Received: from m2vwall2.wipro.com (m2vwall2.wipro.com [164.164.27.52]) by wiprom2mx1.wipro.com (8.9.3+Sun/8.9.3) with SMTP id NAA23800 for ; Mon, 26 Mar 2001 13:31:38 GMT Received: from wipro.com ([192.107.143.16]) by sarovar.mail.wipro.com (Netscape Messaging Server 4.15) with ESMTP id GASMA500.USB for ; Mon, 26 Mar 2001 12:33:41 +0530 Message-ID: <3ABEE903.63F25513@wipro.com> Date: Mon, 26 Mar 2001 12:30:19 +0530 From: Pratap Chakravarthy X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: hot patching References: <3ABEDB0F.45B9800E@wipro.com> <20010325221542.A18721@sharmas.dhs.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/267 X-Sequence-Number: 1988 Oh i am really sorry to confuse you. What i meant is as follows the point is not to add or remove a module. It mainly is used for kernel. I will explain with an example. Suppose we have implemeneted a functionality using some algorithm, unfortunately we see that the algorithm [or simply the code] contains some bug, or some performance penalty so we want to replace that function with a debuged version. Previously what we used to do is to compile and link the function to get a new kernel image which is then used for booting. Here what i am suggesting is to link that function with the kernel which is already booted. There is no need to bring the machine down. why i said it is useful for OS developers is because, everytime we used to find bugs in the code which we have written and each time we would rebuild the entire kernel and reboot with it. But this hot patching technique could avoid that. By this method its enough to complie the function. Then we can write some utility similar to insmod which will patch the old function with the new one. hope this time i have cleared u. Arun Sharma wrote: > How about > > # rmmod foo > # insmod foo.o > > -Arun > From linux-india-programmers-owner@lists.linux-india.org Mon Mar 26 00:02:13 2001 Received: from wiprom2mx1.wipro.com (wiprom2mx1.wipro.com [203.197.164.41]) by www.aunet.org (Postfix) with ESMTP id 6A2084A365 for ; Mon, 26 Mar 2001 00:02:09 -0800 (PST) Received: from m2vwall2.wipro.com (m2vwall2.wipro.com [164.164.27.52]) by wiprom2mx1.wipro.com (8.9.3+Sun/8.9.3) with SMTP id NAA24034 for ; Mon, 26 Mar 2001 13:32:20 GMT Received: from wipro.com ([192.107.143.16]) by sarovar.mail.wipro.com (Netscape Messaging Server 4.15) with ESMTP id GASMLD00.RU9 for ; Mon, 26 Mar 2001 12:40:25 +0530 Message-ID: <3ABEEA98.9F7B1FFB@wipro.com> Date: Mon, 26 Mar 2001 12:37:04 +0530 From: Pratap Chakravarthy X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: hot patching References: <3ABEDB0F.45B9800E@wipro.com> <20010326164345.A3159@students.cs.mu.oz.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200103/268 X-Sequence-Number: 1989 Thanks a lot. U have painted exactly what i am thinking of. I agree the points. But the line >> * Whenever possible, compile your code as a kernel module. You can load/unload >> your code without rebooting. confuses me. I havnt understood the micro kernel architechture in full. How far the kernel part can be modularised ?!!! any way i will have a study on that. Once again thanks. pratap Raja Subramanian wrote: > Pratap Chakravarthy wrote (pratap.chakravarthy@wipro.com): > > > Can you please tell me the feasibility of hot patching in an operating > > system like linux and if possible please provide me with any details or > > pointers on that. I saw in the sun's web site that they have provided > > hot patching in their solaris 8. How far it is reliable. > > Reliability of hot patching is questionable. I've seen solaris "panic" after a > hotpatch. I would not hotfix a busy running system, planned downtime sounds > safer. But that does not mean that hot patching is a bad idea anyway. > > > what is hot patching ? > > It is nothing but replacing a function present in the memory "on fly".In > > usual cases suppose there is a bug in the kernel code, that bug has to be > > removed and then compiled and linked to get the image [kernel image],which > > is then booted. Here in hot patching the debuged function has to be > > compiled. Then it is linked with the kernel without rebooting the system, > > on the fly. > > > I dont know whether this facility is really required for linux. But for any > > OS developer, this tool is a required one. > > Possible solutions for an OS developer who does not want to reboot - > > * Whenever possible, compile your code as a kernel module. You can load/unload > your code without rebooting. > * Run/debug the kernel you're developing in user mode. See "use mode linux". > * Rewrite the linux kernel in erlang (just kidding...) > > The closest linux ever came to restarting without rebooting (in the > Ctrl+Alt+Del sense) was with the "two kernel monte". This invloves restarting > with a new kernel without rebooting the machine. > Note: You will kill all processes as a result, so this is probably not what > you want. > > Due to its modular design, hotpatching is easier with micro-kernel > implementations like the Hurd. Even then, there may be seveal bugs which > cannot be hotpatched. > > - Raja > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. From linux-india-programmers-owner@lists.linux-india.org Mon Mar 26 00:59:57 2001 Received: from mulga.cs.mu.OZ.AU (mulga.cs.mu.OZ.AU [128.250.1.22]) by www.aunet.org (Postfix) with ESMTP id 76E0D4A0F9 for ; Mon, 26 Mar 2001 00:56:39 -0800 (PST) Received: from queeg.cs.mu.OZ.AU (queeg.cs.mu.OZ.AU [128.250.22.136]) by mulga.cs.mu.OZ.AU with ESMTP id SAA10234 for ; Mon, 26 Mar 2001 18:48:54 +1000 (EST) Received: (from rsubr@localhost) by queeg.cs.mu.OZ.AU (8.9.3+Sun/8.9.3) id SAA09969 for linux-india-programmers@lists.linux-india.org; Mon, 26 Mar 2001 18:48:48 +1000 (EST) Date: Mon, 26 Mar 2001 18:48:48 +1000 From: Raja Subramanian To: linux-india-programmers@lists.linux-india.org Subject: Re: hot patching Message-ID: <20010326184848.A7437@students.cs.mu.oz.au> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <3ABEDB0F.45B9800E@wipro.com> <20010326164345.A3159@students.cs.mu.oz.au> <3ABEEA98.9F7B1FFB@wipro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <3ABEEA98.9F7B1FFB@wipro.com>; from pratap.chakravarthy@wipro.com on Mon, Mar 26, 2001 at 12:37:04PM +0530 X-Archive-Number: 200103/269 X-Sequence-Number: 1990 Re: hotpatching linux kernels: Sorry for not posting this link last time. I had to do some digging. Have a look at this URL - http://packetstorm.securify.com/groups/thc/LKM_HACKING.html#IV.2 It explains a ~very~dangerous~ way of runtime patching/modifying any linux kernel (with or without kernel module support). It explains how to inspect and modify the kernel image through /dev/kmem. - Raja From linux-india-programmers-owner@lists.linux-india.org Mon Mar 26 01:38:21 2001 Received: from stewart.spectranet.com (unknown [203.122.63.155]) by www.aunet.org (Postfix) with ESMTP id 369964A200 for ; Mon, 26 Mar 2001 01:38:17 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by stewart.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GATM4600.HKE for ; Mon, 26 Mar 2001 14:57:42 -0500 Message-ID: <008f01c0b5d6$f92ba5f0$8900000a@aclindia.com> From: "Ambar Roy" To: References: <3ABEDBED.3A4EAAF1@india.hp.com> Subject: Re: CAPI's for MySQL Date: Mon, 26 Mar 2001 14:57:24 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200103/270 X-Sequence-Number: 1991 > Did any body know where I can get the C -API's for mysql. see the mysql manual. Normally the C api is installed with mysql! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Mon Mar 26 05:13:12 2001 Received: from web5301.mail.yahoo.com (web5301.mail.yahoo.com [216.115.106.110]) by www.aunet.org (Postfix) with SMTP id 479D64A071 for ; Mon, 26 Mar 2001 05:13:07 -0800 (PST) Message-ID: <20010326130522.22678.qmail@web5301.mail.yahoo.com> Received: from [202.54.79.115] by web5301.mail.yahoo.com; Mon, 26 Mar 2001 05:05:22 PST Date: Mon, 26 Mar 2001 05:05:22 -0800 (PST) From: Santosh Singh Subject: Re: device driver To: linux-india-programmers@lists.linux-india.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200103/271 X-Sequence-Number: 1992 Hi Kugan Probably you are compiling your code on some older kernel version. while compilation use gcc option -Wall to see all WARNINGS. It is better to go thru Alessandro Rubini's books on Device Driver. You c