From linux-india-programmers-owner@lists.linux-india.org Fri Sep 1 02:14:22 2000 Received: from web2106.mail.yahoo.com (web2106.mail.yahoo.com [128.11.68.250]) by www.aunet.org (Postfix) with SMTP id 5527F4A032 for ; Fri, 1 Sep 2000 02:14:16 -0700 (PDT) Received: (qmail 11599 invoked by uid 60001); 1 Sep 2000 09:12:23 -0000 Message-ID: <20000901091223.11598.qmail@web2106.mail.yahoo.com> Received: from [210.214.240.37] by web2106.mail.yahoo.com; Fri, 01 Sep 2000 02:12:23 PDT Date: Fri, 1 Sep 2000 02:12:23 -0700 (PDT) From: Rajeev Joseph Reply-To: rajeevjsv@yahoo.com Subject: free software licenses - arun sharma To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200009/1 of course i do, i personally only use the PAL. ;) rajeevjsv PS: my mistake ... --- Arun Sharma wrote: > On Mon, Aug 28, 2000 at 01:18:55AM -0700, Rajeev > Joseph wrote: > > As for the java.security.*, the reason (i believe) > > that u dont have the classes, is because of US > Export > > restrictions. if u want to use security, try the > > cryptix libs, which are free (GNU). > > Cryptix libs are free, but they are not GPL'ed. > I wish people realized that there are free software > philosophies and tons of software outside of GNU :) > > -Arun > > http://sharmas.dhs.org/~adsharma/opinions/gpl-is-unrealistic.html > > --------------------------------------------- > 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! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Sat Sep 2 00:44:08 2000 Received: from alice.bombay.retortsoft.com (unknown [203.199.65.139]) by www.aunet.org (Postfix) with ESMTP id D03AA4A02E for ; Sat, 2 Sep 2000 00:44:03 -0700 (PDT) Received: from zaphod.bombay.retortsoft.com (IDENT:root@zaphod.bombay.retortsoft.com [192.168.100.3]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id NAA02537 for ; Sat, 2 Sep 2000 13:21:27 +0530 From: shishir@bombay.retortsoft.com Received: from localhost (shishir@localhost) by zaphod.bombay.retortsoft.com (8.10.0/8.10.0) with ESMTP id e828xLi21167 for ; Sat, 2 Sep 2000 14:29:21 +0530 Date: Sat, 2 Sep 2000 14:29:21 +0530 (IST) To: linux-india-programmers@lists.linux-india.org Subject: shared memory Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/2 Hi guys, This is my first mail to the list so pardon me my lack of manners. I want to know what is the difference between associative memory and cache is both use page tables Thankx Shishir From linux-india-programmers-owner@lists.linux-india.org Sat Sep 2 11:31:33 2000 Received: from glitch.crosswinds.net (glitch.crosswinds.net [209.208.163.35]) by www.aunet.org (Postfix) with ESMTP id A16804A0FC for ; Sat, 2 Sep 2000 11:31:31 -0700 (PDT) Received: from crosswinds.net (IDENT:ajay@PPP49-89.ahd.vsnl.net.in [202.54.49.89]) by glitch.crosswinds.net (8.9.3/8.9.3) with ESMTP id OAA77720; Sat, 2 Sep 2000 14:29:09 -0400 (EDT) (envelope-from ajay@crosswinds.net) Message-ID: <39B07F88.33FA99CA@crosswinds.net> Date: Sat, 02 Sep 2000 00:18:16 -0400 From: Ajay Dudani X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12 i586) X-Accept-Language: en MIME-Version: 1.0 To: list@luga.org, linux-india-programmers@lists.linux-india.org Subject: GTK help... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/3 Hi ppl, Does GTK have any components providing a help system, something that I can just drag and drop on the canvas to get a complete halp system that could give indexing and searching....I know that asking too much, but GTK components that even partially satisfy this would be great rather than coding it from scratch. -- .+'''+. a j a y @crosswinds.net `+.,.+' Ajay Dudani From linux-india-programmers-owner@lists.linux-india.org Sat Sep 2 14:31:55 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id E311C4A036 for ; Sat, 2 Sep 2000 14:31:53 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id OAA07393 for linux-india-programmers@lists.linux-india.org; Sat, 2 Sep 2000 14:29:41 -0700 Date: Sat, 2 Sep 2000 14:29:41 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: shared memory Message-ID: <20000902142941.A7376@sharmas.dhs.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 shishir@bombay.retortsoft.com on Sat, Sep 02, 2000 at 02:29:21PM +0530 X-Archive-Number: 200009/4 On Sat, Sep 02, 2000 at 02:29:21PM +0530, shishir@bombay.retortsoft.com wrote: > Hi guys, > This is my first mail to the list so pardon me my lack of manners. > I want to know what is the difference between associative memory and cache (Set associative) caches are one application of associative memory. > is both use page tables Neither of them use a page table. Get a basic OS book to read about page tables and a basic architecture book to read about the rest. And what does this have to do with shared memory ? -Arun From linux-india-programmers-owner@lists.linux-india.org Sat Sep 2 14:44:47 2000 Received: from mobile.nikhilwiz.net (unknown [202.65.130.71]) by www.aunet.org (Postfix) with ESMTP id 3EA434A0E6 for ; Sat, 2 Sep 2000 14:44:38 -0700 (PDT) Received: (from nikhil@localhost) by mobile.nikhilwiz.net (8.9.3/8.9.3) id DAA00937 for linux-india-programmers@lists.linux-india.org; Sun, 3 Sep 2000 03:05:18 +0530 X-Authentication-Warning: mobile.nikhilwiz.net: nikhil set sender to nikhilwiz@yahoo.com using -f Date: Sun, 3 Sep 2000 03:05:18 +0530 From: Nick Hill To: linux-india-programmers@lists.linux-india.org Subject: Re: GTK help... Message-ID: <20000903030518.A925@mobile.nikhilwiz.net> References: <39B07F88.33FA99CA@crosswinds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <39B07F88.33FA99CA@crosswinds.net>; from ajay@crosswinds.net on Sat, Sep 02, 2000 at 12:18:16AM -0400 X-Operating-System: Linux mobile 2.4.0-test2-ac2 X-Archive-Number: 200009/5 GNOME has a help mechanism, but its nowhere near drag and drop. the help is in HTML. of course u can use a wysiwyg editor for that. the gnome-help viewer has searching tho... Nikhil. On Sat, Sep 02, 2000 at 12:18:16AM -0400, Ajay Dudani wrote: > Does GTK have any components providing a help system, something that I > can just drag and drop on the canvas to get a complete halp system that > could give indexing and searching....I know that asking too much, but > GTK components that even partially satisfy this would be great rather > than coding it from scratch. From linux-india-programmers-owner@lists.linux-india.org Sun Sep 3 10:39:50 2000 Received: from bom6.vsnl.net.in (bom6.vsnl.net.in [202.54.4.38]) by www.aunet.org (Postfix) with ESMTP id C9DC64A026 for ; Sun, 3 Sep 2000 10:39:41 -0700 (PDT) Received: from default (unknown [203.197.34.166]) by bom6.vsnl.net.in (Postfix) with ESMTP id BD7185605B for ; Sun, 3 Sep 2000 23:10:51 +0500 (IST) Message-ID: <000101c015cd$f7413a60$a622c5cb@default> From: "Vikrant Dhawale" To: References: <20000830134905.18187.qmail@nwcst278.netaddress.usa.net> Subject: Re: mentor required Date: Sat, 2 Sep 2000 20:32:45 +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: 200009/6 hi ashish, you can get good info on this site called http://www.linuxprogramming.com Also you could get some good tips from http://portico.org There are also good articles on programming in the Linux Gazette. vikrant >Can any body please tell a good book for LINUX PROGRAMMING.. From linux-india-programmers-owner@lists.linux-india.org Sun Sep 3 11:12:48 2000 Received: from md4.vsnl.net.in (md4.vsnl.net.in [202.54.6.60]) by www.aunet.org (Postfix) with ESMTP id 71FA14A03A for ; Sun, 3 Sep 2000 11:12:43 -0700 (PDT) Received: from localhost.localdomain ([203.197.152.20]) by md4.vsnl.net.in (8.9.3/8.9.3) with ESMTP id XAB15491 for ; Sun, 3 Sep 2000 23:45:47 +0530 (IST) Date: Sun, 3 Sep 2000 21:07:44 +0530 From: Atul Mehta To: linux-india-programmers@lists.linux-india.org Subject: Re: shared memory Message-ID: <20000903210744.A861@anand> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20000902142941.A7376@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000902142941.A7376@sharmas.dhs.org>; from adsharma@sharmas.dhs.org on Sat, Sep 02, 2000 at 02:29:41PM -0700 X-Archive-Number: 200009/7 > Neither of them use a page table. Get a basic OS book to read about > page tables and a basic architecture book to read about the rest. Hi, Let me recommend the document "The Linux Kernel" by David Rusling. It can be downloaded from http://sunsite.unc.edu. It covers basic OS concepts + Linux data structures very well. -- Atul Mehta | atulm@md4.vsnl.net.in | GPG: 1DB8946A Dreams are free, but you get soaked on the connect time. From linux-india-programmers-owner@lists.linux-india.org Sun Sep 3 20:31:24 2000 Received: from c1mailgw04.prontomail.com (unknown [216.163.184.10]) by www.aunet.org (Postfix) with ESMTP id 568364A025 for ; Sun, 3 Sep 2000 20:31:20 -0700 (PDT) Received: from c1web01 (208.178.29.201) by c1mailgw04.prontomail.com (NPlex 5.1.039) id 39AE8A9B0007F391 for linux-india-programmers@lists.linux-india.org; Sun, 3 Sep 2000 20:28:53 -0700 X-Version: indya 6.2.3 .2329.0 From: linus@indya.com Message-Id: <52660B9E6D184D1178930005B823A263@linus.indya.com> Date: Mon, 4 Sep 2000 09:02:08 +0530 X-Priority: Normal Content-Type: text/plain; charset=iso-8859-1 To: linux-india-programmers@lists.linux-india.org Subject: Registry X-Mailer: Web Based Pronto Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/8 Hi all, In Win NT to manipulate the registry contents we have REGEDIT. What is command for it under LINUX. Also I would like to know the difference b/w Priviledged User Mode, priviledged System mode and non-priviledged system mode. TIA Regds Mani. Enter your default signature here Sent by Indya Messaging Service From linux-india-programmers-owner@lists.linux-india.org Sun Sep 3 20:58:17 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id B76514A013 for ; Sun, 3 Sep 2000 20:58:10 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id JAA15541 for ; Mon, 4 Sep 2000 09:21:17 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id JAA27757 for ; Mon, 4 Sep 2000 09:24:12 +0500 (GMT) Received: from soflt.alc.wipinfo.soft.net ([192.168.220.205]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAAF24 for ; Mon, 4 Sep 2000 09:24:59 +0530 Date: Mon, 4 Sep 2000 09:30:53 +0530 (IST) From: "chetan kumar s" X-Sender: chetansk@soflt.alc.wipinfo.soft.net Reply-To: chetan.kumar@wipro.com To: linux-india-programmers@lists.linux-india.org Subject: Re: Registry In-Reply-To: <52660B9E6D184D1178930005B823A263@linus.indya.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/9 > > Hi all, > In Win NT to manipulate the registry contents we have REGEDIT. > What is command for it under LINUX. There is nothing like registry in Linux. Let me know what excatly U want to do Thanks chetan S > > Also I would like to know the difference b/w Priviledged User Mode, > priviledged System mode and non-priviledged system mode. > > TIA > > Regds > > Mani. > > > > Enter your default signature here > Sent by Indya Messaging Service > > --------------------------------------------- > 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 Sun Sep 3 21:00:02 2000 Received: from rmx194-mta.mail.com (rmx194-mta.mail.com [165.251.48.41]) by www.aunet.org (Postfix) with ESMTP id 86FB64A02B for ; Sun, 3 Sep 2000 21:00:00 -0700 (PDT) Received: from web168-ec.mail.com (web168-ec.mail.com [165.251.32.98]) by rmx194-mta.mail.com (8.9.3/8.9.3) with SMTP id XAA08999 for ; Sun, 3 Sep 2000 23:57:55 -0400 (EDT) Message-ID: <384457944.968039874988.JavaMail.root@web168-ec.mail.com> Date: Sun, 3 Sep 2000 23:57:54 -0400 (EDT) From: Ashish Bansal To: linux-india-programmers@lists.linux-india.org Subject: configuring sound card Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: mail.com X-Originating-IP: 203.197.220.27 X-Archive-Number: 200009/10 hi Everybody i my last mail i asked u abt the linux programming books. thanx for that..... now i want to know how to configure my sound card in linux... actually, i copied the same settings as present in the windows for the sound (IRQs, DMA etc..) but still it is showing errors while configuring the sound card..Also my sound card is listed in the sound card library. i m not able to find out hte problem ..WHY? i also referred to HOW TO... but no solution is given.. So please help me .. bye Ashish ----------------------------------------------- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com From linux-india-programmers-owner@lists.linux-india.org Sun Sep 3 22:08:03 2000 Received: from nwd2dns5.analog.com (nwd2gtw1.analog.com [137.71.23.34]) by www.aunet.org (Postfix) with ESMTP id 2496E4A0A7 for ; Sun, 3 Sep 2000 22:07:59 -0700 (PDT) Received: from nwd2gtw1 (root@nwd2gtw1dmz1 [137.71.25.98]) by nwd2dns5.analog.com (8.9.3 (PHNE_18979)/8.9.3) with SMTP id BAA28529 for ; Mon, 4 Sep 2000 01:05:53 -0400 (EDT) Received: from ipdc_tokyo.spd.analog.com (root@ipdc_tokyo.spd.analog.com [137.71.79.135]) by zeus.spd.analog.com (8.8.6/8.8.6) with ESMTP id BAA18291 for ; Mon, 4 Sep 2000 01:05:46 -0400 (EDT) Received: from analog.com (IDENT:kouzik@ipdc_tokyo.spd.analog.com [137.71.79.135]) by ipdc_tokyo.spd.analog.com (8.9.3/8.8.7) with ESMTP id KAA09433 for ; Mon, 4 Sep 2000 10:40:59 +0530 Message-ID: <39B32EE2.D99419A1@analog.com> Date: Mon, 04 Sep 2000 10:40:58 +0530 From: Kousik Nandy Organization: Analog Devices Inc. X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: recording sound (was: "") References: <20000826081421.23351.qmail@web4505.mail.yahoo.com> <39AE318F.2E86AB6E@yahoo.com> <20000831170836.A24976@india.com> <39AF1C35.1FE8562B@yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/11 Ashish kumar wrote: > > Actually I am trying to write a program. so any functions > or headers to look to. int soundcard = open("/dev/dsp", O_RDONLY); // fcntl(soundcard, F_SETFL, O_NONBLOCK); /* If you require */ int dataread = read(soundcard, somebuffer, sizeof(somebuffer)); if( dataread < 0 ) { ... /* care if you've set NONBLOCKING I/O */ } Hope this helps, (just make sure /dev/dsp works, else try /dev/audio) Kousik. From linux-india-programmers-owner@lists.linux-india.org Sun Sep 3 22:32:14 2000 Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6]) by www.aunet.org (Postfix) with ESMTP id 4EF794A036 for ; Sun, 3 Sep 2000 22:32:08 -0700 (PDT) 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 LAA21493 for ; Mon, 4 Sep 2000 11:08:59 GMT Received: from wipro.com ([192.168.178.17]) by ecmail.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA4438 for ; Mon, 4 Sep 2000 10:52:13 +0530 Message-ID: <39B33471.56885B2F@wipro.com> Date: Mon, 04 Sep 2000 11:04:41 +0530 From: "Vibhu Rishi" X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: configuring sound card References: <384457944.968039874988.JavaMail.root@web168-ec.mail.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/12 try running sndconfig as root. Ashish Bansal wrote: > now i want to know how to configure my sound card in linux... > actually, i copied the same settings as present in the windows for the sound > (IRQs, DMA etc..) but still it is showing errors while configuring the sound > card..Also my sound card is listed in the sound card library. i m not able > to find out hte problem ..WHY? i also referred to HOW TO... but no solution > is given.. > > So please help me .. > > bye > Ashish From linux-india-programmers-owner@lists.linux-india.org Sun Sep 3 23:27:12 2000 Received: from web5305.mail.yahoo.com (web5305.mail.yahoo.com [216.115.106.114]) by www.aunet.org (Postfix) with SMTP id 22F394A0A8 for ; Sun, 3 Sep 2000 23:27:11 -0700 (PDT) Message-ID: <20000904062506.11460.qmail@web5305.mail.yahoo.com> Received: from [202.54.79.88] by web5305.mail.yahoo.com; Sun, 03 Sep 2000 23:25:06 PDT Date: Sun, 3 Sep 2000 23:25:06 -0700 (PDT) From: Santosh Singh Subject: :ISR and Device driver To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200009/13 --- Santosh Singh wrote: Hi, I have developed a parallel port device driver and based on external interrupt i want to execute some system call or rather to invoke some program from within the Interrupt Service Routine(ISR). Can anybody suggest me waiting eagerly. Thanks in advance. ----Santosh __________________________________________________ __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Sun Sep 3 23:40:58 2000 Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210]) by www.aunet.org (Postfix) with ESMTP id 55C504A0A1 for ; Sun, 3 Sep 2000 23:40:57 -0700 (PDT) Received: from redsea.india.hp.com (redsea.india.hp.com [15.76.97.3]) by atlrel1.hp.com (Postfix) with ESMTP id 4378116FD for ; Mon, 4 Sep 2000 02:38:50 -0400 (EDT) Received: from india.hp.com (ebnt161.india.hp.com [15.76.97.161]) by redsea.india.hp.com with ESMTP (8.7.1/8.7.3 SMKit7.02) id MAA23687 for ; Mon, 4 Sep 2000 12:10:40 +0530 (IST) Message-ID: <39B34370.F1EB9656@india.hp.com> Date: Mon, 04 Sep 2000 12:08:40 +0530 From: Vivekananda Ponnaiyan Organization: Hewlett Packard X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: :ISR and Device driver References: <20000904062506.11460.qmail@web5305.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/14 Hi, you have to firstly define what you mean by a "program". If its a user space program then you can't ... else If you mean a piece of your own code then it depends on how small or what its functionality is. In an ISR you should only execute the most necessary functions of your handler. This should be very small and compact. Now if you need to process some information after your interrupt then you should use a Bottom Hafl Handler. A bottom half handler is used so that processing of an interrupt can be done outside the ISR. This allows the OS to again recieve interrupts and carry on execution. Look at the linux kernel document for an explanation of bottom half handlers. http://www.linuxdoc.org/LDP/tlk/tlk.html Santosh Singh wrote: > > --- Santosh Singh wrote: > Hi, > I have developed a parallel port device driver and > based on external interrupt i want to execute some > system call or rather to invoke some program from > within the Interrupt Service Routine(ISR). > Can anybody suggest me waiting eagerly. > Thanks in advance. > ----Santosh > > __________________________________________________ > > __________________________________________________ > Do You Yahoo!? > Yahoo! Mail - Free email you can access from anywhere! > http://mail.yahoo.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 Mon Sep 4 07:58:23 2000 Received: from web2101.mail.yahoo.com (web2101.mail.yahoo.com [128.11.68.245]) by www.aunet.org (Postfix) with SMTP id 477904A1A6 for ; Mon, 4 Sep 2000 07:58:20 -0700 (PDT) Received: (qmail 10034 invoked by uid 60001); 4 Sep 2000 14:56:13 -0000 Message-ID: <20000904145613.10033.qmail@web2101.mail.yahoo.com> Received: from [210.214.240.213] by web2101.mail.yahoo.com; Mon, 04 Sep 2000 07:56:13 PDT Date: Mon, 4 Sep 2000 07:56:13 -0700 (PDT) From: Rajeev Joseph Reply-To: rajeevjsv@yahoo.com Subject: Re: configuring sound card To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200009/15 sndconfig is only provided by redhat ... and derived distros ... which card do u have ? also, try the alsa drivers ... mrmojorisin --- Vibhu Rishi wrote: > try running sndconfig as root. > > > Ashish Bansal wrote: > > > now i want to know how to configure my sound card > in linux... > > actually, i copied the same settings as present in > the windows for the sound > > (IRQs, DMA etc..) but still it is showing errors > while configuring the sound > > card..Also my sound card is listed in the sound > card library. i m not able > > to find out hte problem ..WHY? i also referred to > HOW TO... but no solution > > is given.. > > > > So please help me .. > > > > bye > > Ashish > > > --------------------------------------------- > 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! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Mon Sep 4 09:08:04 2000 Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by www.aunet.org (Postfix) with ESMTP id D455C49F61 for ; Sun, 3 Sep 2000 22:52:31 -0700 (PDT) Received: from redsea.india.hp.com (redsea.india.hp.com [15.76.97.3]) by palrel3.hp.com (Postfix) with ESMTP id 09A1255A for ; Sun, 3 Sep 2000 22:50:14 -0700 (PDT) Received: from india.hp.com (ebnt161.india.hp.com [15.76.97.161]) by redsea.india.hp.com with ESMTP (8.7.1/8.7.3 SMKit7.02) id LAA21877 for ; Mon, 4 Sep 2000 11:22:07 +0530 (IST) Message-ID: <39B3380F.9C80E58B@india.hp.com> Date: Mon, 04 Sep 2000 11:20:07 +0530 From: Vivekananda Ponnaiyan Organization: Hewlett Packard X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Registry References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/16 Hi, The registry in NT takes the place of all the files in /etc in a Linux filesystem ie, the configuration files. Now the difference between Linux and NT is that Linux does not give a kernel interface to read the config files whereas NT does. And after you've gone through the Registry ... you'll find what a stupid idea it was in the first place :-). If you want to edit a config file ... just use vi! Regards Vivek Unix was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things. chetan kumar s wrote: > > > > > Hi all, > > In Win NT to manipulate the registry contents we have REGEDIT. > > What is command for it under LINUX. > > There is nothing like registry in Linux. Let me know what excatly U want > to do > > Thanks > chetan S > > > > > Also I would like to know the difference b/w Priviledged User Mode, > > priviledged System mode and non-priviledged system mode. > > > > TIA > > > > Regds > > > > Mani. > > > > > > > > Enter your default signature here > > Sent by Indya Messaging Service > > > > --------------------------------------------- > > 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. > > > > --------------------------------------------- > 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 Sep 4 10:27:21 2000 Received: from deephome.sci.tech (unknown [202.9.170.94]) by www.aunet.org (Postfix) with ESMTP id BDC824A0F8 for ; Mon, 4 Sep 2000 10:27:14 -0700 (PDT) Received: from deephome.sci.tech (IDENT:dj@localhost.localdomain [127.0.0.1]) by deephome.sci.tech (8.9.3/8.8.7) with SMTP id PAA01213 for ; Mon, 4 Sep 2000 15:32:34 +0530 Message-Id: <200009041002.PAA01213@deephome.sci.tech> Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary Mime-Version: 1.0 From: "Joglekar@eth.net" To: linux-india-programmers@lists.linux-india.org Reply-To: "Joglekar@eth.net" Subject: Re: Registry X-Mailer: CSCMail v1.6.0 Date: 04 Sep 2000 15:32:32 IST X-Archive-Number: 200009/17 On Mon, 4 Sep 2000 09:30:53 +0530 (IST), chetan kumar s said: Most of the programms store config files in /etc directory. It can be considered as Linux registry. Any file can be edited with text editor > > > > > Hi all, > > In Win NT to manipulate the registry contents we have REGEDIT. > > What is command for it under LINUX. > > There is nothing like registry in Linux. Let me know what excatly U > want > to do > > Thanks > chetan S > > > > > Also I would like to know the difference b/w Priviledged User Mode, > > priviledged System mode and non-priviledged system mode. > > > > TIA > > > > Regds > > > > Mani. > > > > > > > > Enter your default signature here > > Sent by Indya Messaging Service > > > > --------------------------------------------- > > 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. > > > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ > -- Deepak Joglekar deepak@indiamail.com From linux-india-programmers-owner@lists.linux-india.org Mon Sep 4 12:07:03 2000 Received: from md4.vsnl.net.in (md4.vsnl.net.in [202.54.6.60]) by www.aunet.org (Postfix) with ESMTP id 085894A1F6 for ; Mon, 4 Sep 2000 12:06:35 -0700 (PDT) Received: from localhost.localdomain ([203.197.152.34]) by md4.vsnl.net.in (8.9.3/8.9.3) with ESMTP id AAA25575 for ; Tue, 5 Sep 2000 00:39:37 +0530 (IST) Date: Mon, 4 Sep 2000 22:08:44 +0530 From: Atul Mehta To: linux-india-programmers@lists.linux-india.org Subject: Re: Reg. Problem loading SWING Applet using Netscape Navigator 4.6 Message-ID: <20000904220844.A1208@anand> 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.2i In-Reply-To: ; from velayutham@rajahsoft.com on Fri, Sep 01, 2000 at 09:33:25AM +0530 X-Archive-Number: 200009/18 > I think the problem might be with the classpath. How can I fix the problem? > By the way I want to know, where the swing classes would reside. One of my > friend says that, java 1.2 ships without swing classes. Is it true. I am > totally frustrated am in need of it Quickly. Anyone please help me. Hi, I think that the prob. lies with Netscape. If u are using the JDK provided by PCQ (back in Nov. '99) then Swing classes are _definitely_ included in the distro. Just try running ur applet using appletviewer. This way u can know if there are any bugs in ur app. btw Netscape sucks.. sucks real hard :-( -- Atul Mehta | atulm@md4.vsnl.net.in | GPG: 1DB8946A Shame is an improper emotion invented by pietists to oppress the human race. -- Robert Preston, Toddy, "Victor/Victoria" From linux-india-programmers-owner@lists.linux-india.org Tue Sep 5 02:25:49 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 8DBE04A354 for ; Tue, 5 Sep 2000 02:25:23 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id OAA27093 for ; Tue, 5 Sep 2000 14:48:25 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id OAA19431 for ; Tue, 5 Sep 2000 14:51:21 +0500 (GMT) Received: from soflt.alc.wipinfo.soft.net ([192.168.220.205]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA372C for ; Tue, 5 Sep 2000 14:52:05 +0530 Date: Tue, 5 Sep 2000 14:57:59 +0530 (IST) From: "chetan kumar s" X-Sender: chetansk@soflt.alc.wipinfo.soft.net Reply-To: chetan.kumar@wipro.com To: linux-india-programmers@lists.linux-india.org Subject: How does strace -p work.. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/19 Hello, I just wanted to know how will the stace attach to a process when I do starce -p Thanks Chetan S ___________ The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man. -- George Bernard Shaw From linux-india-programmers-owner@lists.linux-india.org Tue Sep 5 04:09:50 2000 Received: from web4505.mail.yahoo.com (web4505.mail.yahoo.com [216.115.105.66]) by www.aunet.org (Postfix) with SMTP id 7649E4A09E for ; Tue, 5 Sep 2000 04:09:45 -0700 (PDT) Message-ID: <20000905110735.26196.qmail@web4505.mail.yahoo.com> Received: from [203.197.142.200] by web4505.mail.yahoo.com; Tue, 05 Sep 2000 12:07:35 BST Date: Tue, 5 Sep 2000 12:07:35 +0100 (BST) From: =?iso-8859-1?q?Gayathri=20Krishnan?= Subject: accessing user space from kernel space To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Archive-Number: 200009/20 Hi all, when i use __get_user() for accessing user space memory from kernel space, I get the following error: bad_user_access_length - unresolved symbol. Why do i get this error? What should I do to eliminate this? Thanks B.Gayathri ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie From linux-india-programmers-owner@lists.linux-india.org Tue Sep 5 06:47:07 2000 Received: from mailhost.iitb.ac.in (mailhost.iitb.ac.in [203.197.74.142]) by www.aunet.org (Postfix) with SMTP id 2611E4A71B for ; Tue, 5 Sep 2000 06:29:55 -0700 (PDT) Received: (qmail 10533 invoked from network); 5 Sep 2000 13:34:41 -0000 Received: from akash.it.iitb.ernet.in.116.16.144.in-addr.arpa (HELO akash.it.iitb.ernet.in) (144.16.116.2) by mailhost.iitb.ac.in with SMTP; 5 Sep 2000 13:34:41 -0000 Received: from akash.it.iitb.ernet.in (akash.it.iitb.ernet.in [144.16.116.2]) by akash.it.iitb.ernet.in (8.9.3/8.8.8) with ESMTP id SAA16474 for ; Tue, 5 Sep 2000 18:57:11 +0530 Date: Tue, 5 Sep 2000 18:57:11 +0530 (IST) From: Ravindra Jaju To: linux-india-programmers@lists.linux-india.org Subject: Some doubts Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/21 Hi. I had some funny (?) problems. First: My Java code (GUI stuff {arrgh! course assignments!}) shows up completely differently (to the extent of nothing showing up on the screen beyond a blank window) in kernels 2.2.. and 2.4.(test) The only variant is the kernel. So, could this be a kernel issue? (2.2 - shows up more like the expected thing. 2.4 - blank! .. sometimes, after shuffling some lines around, I get something on the screen) Secondly, I save a file from that application of mine. When I say "cat filename", it does not show the __new__ saved file, but the one previous to the saved one, but "{vim|pico} filename" shows the new saved file!!! How's that? Of course, if I ":w" (i.e., save) from vim, and then "cat", it's back to normal. But this is quite wierd! What's going on? Is "cat" faulty? Or is this again some kernel issue?? Thanx!! regards, jaju From linux-india-programmers-owner@lists.linux-india.org Tue Sep 5 08:29:53 2000 Received: from mobile.nikhilwiz.net (unknown [202.160.239.99]) by www.aunet.org (Postfix) with ESMTP id DD1CF4A00A for ; Tue, 5 Sep 2000 08:29:46 -0700 (PDT) Received: (from nikhil@localhost) by mobile.nikhilwiz.net (8.9.3/8.9.3) id UAA00410 for linux-india-programmers@lists.linux-india.org; Tue, 5 Sep 2000 20:50:11 +0530 X-Authentication-Warning: mobile.nikhilwiz.net: nikhil set sender to nikhilwiz@yahoo.com using -f Date: Tue, 5 Sep 2000 20:50:10 +0530 From: Nick Hill To: linux-india-programmers@lists.linux-india.org Subject: Re: Some doubts Message-ID: <20000905205010.C325@mobile.nikhilwiz.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: ; from jaju@it.iitb.ernet.in on Tue, Sep 05, 2000 at 06:57:11PM +0530 X-Operating-System: Linux mobile 2.4.0-test2-ac2 X-Archive-Number: 200009/22 There are some ext2fs bugs in the 2.4-test series... u're problem might be due to one of those... Nikhil. On Tue, Sep 05, 2000 at 06:57:11PM +0530, Ravindra Jaju wrote: > Is "cat" faulty? Or is this again some kernel issue?? From linux-india-programmers-owner@lists.linux-india.org Tue Sep 5 22:32:29 2000 Received: from alabama.innomedia.soft.net (ns.innomedia.soft.net [164.164.79.130]) by www.aunet.org (Postfix) with ESMTP id 85E594A2A2 for ; Tue, 5 Sep 2000 22:32:22 -0700 (PDT) Received: from MUTHU ([192.168.1.155]) by alabama.innomedia.soft.net (8.9.3/8.8.7) with SMTP id LAA25317 for ; Wed, 6 Sep 2000 11:01:57 +0530 Message-ID: <001f01c017c4$c8e05db0$9b01a8c0@MUTHU> From: "Muthu" To: References: <20000905205010.C325@mobile.nikhilwiz.net> Subject: Installation Date: Wed, 6 Sep 2000 11:09:10 +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: 200009/23 Hi to all, i have a 486Dx2 system and i am trying to install Linux in my 20GB hard disk. But the bios is not detecting my hard disk. Then i disabled the on board IDE drive. But i received an signal 11 , and my installation got failed.i am looking for a good suggestion thanx in advance with regards pearl From linux-india-programmers-owner@lists.linux-india.org Tue Sep 5 22:53:25 2000 Received: from delcluster1.vsnl.net.in (del3.vsnl.net.in [202.54.96.3]) by www.aunet.org (Postfix) with ESMTP id 41C054A0E4 for ; Tue, 5 Sep 2000 22:53:21 -0700 (PDT) Received: from AMBAR (xyz@d2552.pppdel.vsnl.net.in [203.197.192.197]) by delcluster1.vsnl.net.in (8.9.2/8.9.2) with SMTP id LAA07157 for ; Wed, 6 Sep 2000 11:20:40 -0500 (GMT) Message-ID: <002101c017c5$aa5cab90$8200000a@aclindia.com> From: "Ambar Roy" To: References: <20000905205010.C325@mobile.nikhilwiz.net> <001f01c017c4$c8e05db0$9b01a8c0@MUTHU> Subject: Re: Installation Date: Wed, 6 Sep 2000 11:15: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.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200009/24 in most cases a 20gb hdd wud run as a 2.1gb hdd on yr 486dx2.. install linux in this 2gb hdd, and then try and use fdisk to reclaim the remaining hdd space, though in most cases u can't use more than 2.1gb on these old computers!! > i have a 486Dx2 system and i am trying to install Linux in my 20GB > hard disk. > But the bios is not detecting my hard disk. Then i disabled the on board IDE > drive. But i received an signal 11 , and my installation got failed.i am > looking for a good suggestion > > thanx in advance > > with regards > pearl > > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP > From linux-india-programmers-owner@lists.linux-india.org Tue Sep 5 23:35:34 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 8EAAA4A20F for ; Tue, 5 Sep 2000 23:35:25 -0700 (PDT) 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 e866chf13658 for ; Wed, 6 Sep 2000 12:08:43 +0530 Message-ID: <39B5E596.17CCB119@pspl.co.in> Date: Wed, 06 Sep 2000 12:05:02 +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: Installation References: <20000905205010.C325@mobile.nikhilwiz.net> <001f01c017c4$c8e05db0$9b01a8c0@MUTHU> <002101c017c5$aa5cab90$8200000a@aclindia.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/25 Hi I don't think so. I am runnig 4.3 GB HDD on a 486DX4. Although not to rpove you incorrect, but exact limit may vary from BIOS to BIOs and I don't know it for my machine... Bye Shridhar Ambar Roy wrote: > in most cases a 20gb hdd wud run as a 2.1gb hdd on yr 486dx2.. install linux > in this 2gb hdd, and then try and use fdisk to reclaim the remaining hdd > space, though in most cases u can't use more than 2.1gb on these old > computers!! From linux-india-programmers-owner@lists.linux-india.org Wed Sep 6 00:05:18 2000 Received: from delcluster1.vsnl.net.in (delcluster1.vsnl.net.in [202.54.96.1]) by www.aunet.org (Postfix) with ESMTP id 43C964A1E0 for ; Wed, 6 Sep 2000 00:05:12 -0700 (PDT) Received: from AMBAR (xyz@d2552.pppdel.vsnl.net.in [203.197.192.197]) by delcluster1.vsnl.net.in (8.9.2/8.9.2) with SMTP id MAA03504 for ; Wed, 6 Sep 2000 12:32:31 -0500 (GMT) Message-ID: <009101c017cf$b44cb910$8200000a@aclindia.com> From: "Ambar Roy" To: References: <20000905205010.C325@mobile.nikhilwiz.net> <001f01c017c4$c8e05db0$9b01a8c0@MUTHU> <002101c017c5$aa5cab90$8200000a@aclindia.com> <39B5E596.17CCB119@pspl.co.in> Subject: Re: Installation Date: Wed, 6 Sep 2000 12:27: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: 200009/26 i was partially wrong... almost all 486 dx2/4 boards will not detect hdds above 8gb and most don't detect hdds > 2 gb... and one dx2 board that i had cud not use hdds > 540MB!!!! > I don't think so. I am runnig 4.3 GB HDD on a 486DX4. Although not to rpove you > incorrect, but exact limit may vary from BIOS to BIOs and I don't know it for my > machine... > > in most cases a 20gb hdd wud run as a 2.1gb hdd on yr 486dx2.. install linux > > in this 2gb hdd, and then try and use fdisk to reclaim the remaining hdd > > space, though in most cases u can't use more than 2.1gb on these old > > computers!! From linux-india-programmers-owner@lists.linux-india.org Wed Sep 6 00:17:20 2000 Received: from alabama.innomedia.soft.net (ns.innomedia.soft.net [164.164.79.130]) by www.aunet.org (Postfix) with ESMTP id AF1FD4A25E for ; Wed, 6 Sep 2000 00:17:14 -0700 (PDT) Received: from krishnapriya.innomedia.soft.net (IDENT:root@[192.168.1.155]) by alabama.innomedia.soft.net (8.9.3/8.8.7) with SMTP id MAA26589 for ; Wed, 6 Sep 2000 12:46:50 +0530 From: muthu Organization: innomedia To: linux-india-programmers@lists.linux-india.org Subject: looking for solution Date: Wed, 6 Sep 2000 12:53:32 +0530 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain References: <20000905205010.C325@mobile.nikhilwiz.net> <001f01c017c4$c8e05db0$9b01a8c0@MUTHU> In-Reply-To: <001f01c017c4$c8e05db0$9b01a8c0@MUTHU> MIME-Version: 1.0 Message-Id: <00090612540300.01499@krishnapriya.innomedia.soft.net> Content-Transfer-Encoding: 8bit X-Archive-Number: 200009/27 On Wed, 06 Sep 2000, you wrote: > Hi to all, > > i have a 486Dx2 system and i am trying to install Linux in my 20GB > hard disk. > But the bios is not detecting my hard disk. Then i disabled the on board IDE > drive. But i received an signal 11 , and my installation got failed.i am > looking for a good suggestion > > thanx in advance > > with regards > pearl > > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP From linux-india-programmers-owner@lists.linux-india.org Wed Sep 6 05:56:28 2000 Received: from vikram.svrec.ernet.in (unknown [202.164.106.77]) by www.aunet.org (Postfix) with ESMTP id 45E634A20B for ; Wed, 6 Sep 2000 05:55:09 -0700 (PDT) Received: from localhost (98co025@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id RAA21037 for ; Wed, 6 Sep 2000 17:15:58 +0530 Date: Wed, 6 Sep 2000 17:15:58 +0530 (IST) From: "Neelam R. Gaikwad" <98co025@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: Re: Installation In-Reply-To: <001f01c017c4$c8e05db0$9b01a8c0@MUTHU> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/28 I think that you should install linux in primary partition because when installation go beyond 1024 cylinders lilo can't detect your partition and you can't boot directly then you have to use loadlin... And about signal 11.... I found this during installing RedHat 6.2 PC Quest but when i tried second time i succed.. So try it once more I found that it was media error. -Neelam On Wed, 6 Sep 2000, Muthu wrote: > Hi to all, > > i have a 486Dx2 system and i am trying to install Linux in my 20GB > hard disk. > But the bios is not detecting my hard disk. Then i disabled the on board IDE > drive. But i received an signal 11 , and my installation got failed.i am > looking for a good suggestion > > thanx in advance > > with regards > pearl > > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP > From linux-india-programmers-owner@lists.linux-india.org Wed Sep 6 07:22:37 2000 Received: from brahma.roc.com (unknown [202.54.67.219]) by www.aunet.org (Postfix) with ESMTP id B6C5B4A1C3 for ; Wed, 6 Sep 2000 07:21:06 -0700 (PDT) Received: from praveenb.roc.com ([172.16.1.182]) by brahma.roc.com (8.8.5/8.8.5) with SMTP id TAA03740 for ; Wed, 6 Sep 2000 19:53:27 +0530 (IST) Message-ID: <01d401c01875$a5179400$b60110ac@roc.com> Reply-To: "Praveen" From: "Praveen" To: References: <20000905110735.26196.qmail@web4505.mail.yahoo.com> Subject: Re: accessing user space from kernel space Date: Wed, 6 Sep 2000 19:45:11 -0700 Organization: Intoto software 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.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Archive-Number: 200009/29 ----- Original Message ----- From: "Gayathri Krishnan" To: Sent: Tuesday, September 05, 2000 4:07 AM Subject: [LIP] accessing user space from kernel space > Hi all, > > when i use __get_user() for accessing user space > memory from kernel space, I get the following error: > > bad_user_access_length - unresolved symbol. > > Why do i get this error? Have u compiled with -o option >What should I do to eliminate this? May be bad_user_access_length symbol may not be be exported. Make an entry in ksyms.c and recompile kernel. > Thanks > > B.Gayathri > > > ____________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk > or your free @yahoo.ie address at http://mail.yahoo.ie > > --------------------------------------------- > 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 Wed Sep 6 20:26:00 2000 Received: from c1mailgw04.prontomail.com (unknown [216.163.184.10]) by www.aunet.org (Postfix) with ESMTP id 566C54A188 for ; Wed, 6 Sep 2000 20:25:59 -0700 (PDT) Received: from c1web01 (208.178.29.201) by c1mailgw04.prontomail.com (NPlex 5.1.039) id 39B68EB900014771 for linux-india-programmers@lists.linux-india.org; Wed, 6 Sep 2000 20:23:17 -0700 X-Version: indya 6.2.3 .2329.0 From: linus@indya.com Message-Id: <54F51D3783484D1178A30005B823A263@linus.indya.com> Date: Thu, 7 Sep 2000 08:56:10 +0530 X-Priority: Normal Content-Type: text/plain; charset=iso-8859-1 To: linux-india-programmers@lists.linux-india.org Subject: Client-Server X-Mailer: Web Based Pronto Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/30 Hello all, I have got small problem. I have two programs , one is a client and the other is a server. All that i need to do i send a word from the client to the server. Now the server program which is listening at the socket, reads that word. Till this point the execution is perfect. Next the server will have to open a file check if that word exists, if so send its meaning back to the client.But when the control comes to the open statement in the server program it skips everything in that and control goes back to the client. Initially I am running the server in the background. and then running the client program. Could anyone out there help me out with this problem. TIA Regards, Mani note : Is it bcos of the timeslice. Enter your default signature here Sent by Indya Messaging Service From linux-india-programmers-owner@lists.linux-india.org Wed Sep 6 22:48:39 2000 Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6]) by www.aunet.org (Postfix) with ESMTP id C5ED34A12A for ; Wed, 6 Sep 2000 22:48:33 -0700 (PDT) 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 LAA16840 for ; Thu, 7 Sep 2000 11:25:06 GMT Received: from wipro.com ([192.168.178.17]) by ecmail.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA6622 for ; Thu, 7 Sep 2000 11:08:15 +0530 Message-ID: <39B72CB1.E4C62308@wipro.com> Date: Thu, 07 Sep 2000 11:20:41 +0530 From: "Vibhu Rishi" X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Client-Server References: <54F51D3783484D1178A30005B823A263@linus.indya.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/31 Hi, I don't think that this has anything to do with the timeslicing. I would like to know more about how you are handling the request from the client at the server ? are you creating another thread for servicing the client request ? or are you servicing all threads from within the server ? vibhu.. linus@indya.com wrote: > Hello all, > I have got small problem. I have two programs , one is a client > and the other is a server. All that i need to do i send a word from > the client to the server. Now the server program which is listening > at the socket, reads that word. Till this point the execution is > perfect. Next the server will have to open a file check if that word > exists, if so send its meaning back to the client.But when the > control comes to the open statement in the server program it skips > everything in that and control goes back to the client. > Initially I am running the server in the background. and then running > the client program. Could anyone out there help me out with this > problem. > > TIA > Regards, > Mani > > note : Is it bcos of the timeslice. > > Enter your default signature here > Sent by Indya Messaging Service > > --------------------------------------------- > 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 know the road ahead, ask those coming back. -Chinese Proverb -------------------------------------------------------------------------- Vibhu Rishi e@ vibhu.rishi@wipro.com Sr. Systems Engineer ring@ 8520408/416/419/420/424/425 WIPRO ext.: 2109 Electronic City - Bangalore -------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Wed Sep 6 23:40:58 2000 Received: from delhi1.mtnl.net.in (delhi1.mtnl.net.in [203.94.243.51]) by www.aunet.org (Postfix) with ESMTP id A5AA64A34C for ; Wed, 6 Sep 2000 23:16:40 -0700 (PDT) Received: from wnt06 by delhi1.mtnl.net.in (8.9.1/1.1.20.3/07Jul00-0916AM) id LAA0000012992; Thu, 7 Sep 2000 11:42:37 +0530 (IST) From: "anuj" To: Subject: RE: Installation Date: Thu, 7 Sep 2000 11:17:58 +0530 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 V4.72.3110.3 In-reply-To: <009101c017cf$b44cb910$8200000a@aclindia.com> Importance: Normal X-Archive-Number: 200009/32 Hi Try to update your BIOS. Go to the related website and download the new version of related BIOS. This is easy. Cheers Anuj *~!@#$%^&* I Love error and debug is my hobby. ======== -----Original Message----- From: linux-india-programmers-owner@lists.linux-india.org [mailto:linux-india-programmers-owner@lists.linux-india.org]On Behalf Of Ambar Roy Sent: Wednesday, September 06, 2000 12:27 PM To: linux-india-programmers@lists.linux-india.org Subject: Re: [LIP] Installation i was partially wrong... almost all 486 dx2/4 boards will not detect hdds above 8gb and most don't detect hdds > 2 gb... and one dx2 board that i had cud not use hdds > 540MB!!!! > I don't think so. I am runnig 4.3 GB HDD on a 486DX4. Although not to rpove you > incorrect, but exact limit may vary from BIOS to BIOs and I don't know it for my > machine... > > in most cases a 20gb hdd wud run as a 2.1gb hdd on yr 486dx2.. install linux > > in this 2gb hdd, and then try and use fdisk to reclaim the remaining hdd > > space, though in most cases u can't use more than 2.1gb on these old > > computers!! --------------------------------------------- The mailing list archives are available at http://lists.linux-india.org/cgi-bin/wilma/LIP From linux-india-programmers-owner@lists.linux-india.org Thu Sep 7 06:40:52 2000 Received: from hanuman.aukbc.org (unknown [203.197.142.200]) by www.aunet.org (Postfix) with ESMTP id F21AD4A16B for ; Thu, 7 Sep 2000 06:40:42 -0700 (PDT) Received: from localhost (IDENT:mksarav@localhost [127.0.0.1]) by hanuman.aukbc.org (8.9.3/8.9.3) with ESMTP id TAA15321 for ; Thu, 7 Sep 2000 19:13:30 +0530 Date: Thu, 7 Sep 2000 19:13:30 +0530 (IST) From: M K Saravanan To: linux-india-programmers@lists.linux-india.org Subject: ARP modify the cache? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/33 Should ARP (Addr. Resolution Protocol) Modify the cache even when it receives informtion without specifically requesting it? ** mks ** -- ******************************************************************** M K Saravanan, Member Research Staff, The AU-KBC Centre for Internet & Telecom Technologies, Madras Institute of Technology, Anna University, Chromepet, Chennai 600 044. Tamilnadu, INDIA Tel (O): 91 44 2417885 Email: mksarav@mitindia.edu Telefax (O): 91 44 2402711 URL : http://mksarav.tripod.com ******************************************************************* From linux-india-programmers-owner@lists.linux-india.org Thu Sep 7 06:45:43 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id C3BE84A142 for ; Thu, 7 Sep 2000 06:45:37 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id TAA13081 for ; Thu, 7 Sep 2000 19:08:24 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id TAA02227 for ; Thu, 7 Sep 2000 19:11:20 +0500 (GMT) Received: from soflt.alc.wipinfo.soft.net ([192.168.220.205]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA3F6B; Thu, 7 Sep 2000 19:12:05 +0530 Date: Thu, 7 Sep 2000 19:18:30 +0530 (IST) From: "chetan kumar s" X-Sender: chetansk@soflt.alc.wipinfo.soft.net Reply-To: chetan.kumar@wipro.com To: M K Saravanan Cc: linux-india-programmers@lists.linux-india.org Subject: Re: ARP modify the cache? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/34 On Thu, 7 Sep 2000, M K Saravanan wrote: > Should ARP (Addr. Resolution Protocol) Modify the cache even when it > receives informtion without specifically requesting it? Yes, it has to. RFC say so... Thanks Chetan S > > ** mks ** > > -- > ******************************************************************** > M K Saravanan, > Member Research Staff, > The AU-KBC Centre for Internet & Telecom Technologies, > Madras Institute of Technology, Anna University, > Chromepet, Chennai 600 044. > Tamilnadu, INDIA > > Tel (O): 91 44 2417885 Email: mksarav@mitindia.edu > Telefax (O): 91 44 2402711 URL : http://mksarav.tripod.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 Thu Sep 7 10:20:21 2000 Received: from glitch.crosswinds.net (glitch.crosswinds.net [209.208.163.35]) by www.aunet.org (Postfix) with ESMTP id CB24C4A0B4 for ; Thu, 7 Sep 2000 10:20:17 -0700 (PDT) Received: from crosswinds.net (IDENT:ajay@PPP49-76.ahd.vsnl.net.in [202.54.49.76]) by glitch.crosswinds.net (8.9.3/8.9.3) with ESMTP id NAA39644; Thu, 7 Sep 2000 13:17:49 -0400 (EDT) (envelope-from ajay@crosswinds.net) Message-ID: <39A7D824.B6DBC06A@crosswinds.net> Date: Sat, 26 Aug 2000 10:45:56 -0400 From: Ajay Dudani X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12 i586) X-Accept-Language: en MIME-Version: 1.0 To: list@luga.org, linux-india-programmers@lists.linux-india.org Subject: fork() problems... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/35 Hi junta, I am using the fork() for the first time in my HTTP tunnel.... A new process is forked each time a new request comes in from the client (browser) Now the problem is that my HTTP tunnel accepts on the first request and does not see other requests, though it is still in running state. I think this could also be a problem of some socket remaining open, and used tcpdump for the same but could not figure out... the source is available at http://imart.sourceforge.net/proxy.c Besides....once the work of the process is over, it still hangs around...I want to kill it...what signals do i have to use.... -- .+'''+. a j a y @crosswinds.net `+.,.+' Ajay Dudani From linux-india-programmers-owner@lists.linux-india.org Thu Sep 7 22:35:29 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 19E914A1A1 for ; Thu, 7 Sep 2000 22:33:33 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id WAA23776; Thu, 7 Sep 2000 22:30:58 -0700 Date: Thu, 7 Sep 2000 22:30:58 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Cc: list@luga.org Subject: Re: fork() problems... Message-ID: <20000907223058.A23711@sharmas.dhs.org> References: <39A7D824.B6DBC06A@crosswinds.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39A7D824.B6DBC06A@crosswinds.net>; from ajay@crosswinds.net on Sat, Aug 26, 2000 at 10:45:56AM -0400 X-Archive-Number: 200009/36 On Sat, Aug 26, 2000 at 10:45:56AM -0400, Ajay Dudani wrote: > the source is available at http://imart.sourceforge.net/proxy.c > > Besides....once the work of the process is over, it still hangs > around...I want to kill it...what signals do i have to use.... You should do a exit(2) after you've finished the work in the child. strace is a good tool to figure out what's going on your program at a system call level. -Arun From linux-india-programmers-owner@lists.linux-india.org Sat Sep 9 07:22:37 2000 Received: from mailweb4.rediffmail.com (unknown [202.54.124.149]) by www.aunet.org (Postfix) with SMTP id 71B644A0F9 for ; Sat, 9 Sep 2000 07:21:37 -0700 (PDT) Received: (qmail 2090 invoked by uid 510); 9 Sep 2000 13:12:47 -0000 Date: 9 Sep 2000 13:12:47 -0000 Message-ID: <20000909131247.2089.qmail@mailweb4.rediffmail.com> MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: SuSE 6.4 From: "Anand Singh Bisen" Content-ID: Content-type: text/plain Content-Description: Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/37 Hello i know this is not the right place but.... I have a SuSE 6.4 Orignal with manual which i want to sell because i am buying SuSE 7.0... If any one interested.. Mail me at bisen@rediffmail.com Thanks Anand _________________________________________________ Get Your Free Email At, http://www.rediffmail.com For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index.html From linux-india-programmers-owner@lists.linux-india.org Sun Sep 10 04:58:20 2000 Received: from www.cdfd.org.in (unknown [202.54.67.145]) by www.aunet.org (Postfix) with ESMTP id 610704A04D for ; Sun, 10 Sep 2000 04:57:58 -0700 (PDT) Received: from localhost (indraneel@localhost) by www.cdfd.org.in (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id RAA81903 for ; Sun, 10 Sep 2000 17:30:55 -0700 (PDT) Date: Sun, 10 Sep 2000 17:30:55 -0700 (PDT) From: Indraneel Majumdar To: "linux-india-programmers@lists.linux-india.org" Subject: Re: SuSE 6.4 In-Reply-To: <20000909131247.2089.qmail@mailweb4.rediffmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Archive-Number: 200009/38 Are you sure selling the 5th CD (and part of the 4th) is legally allowed? On 9 Sep 2000, Anand Singh Bisen wrote: > Hello >=20 > i know this is not the right place but....=20 >=20 > I have a SuSE 6.4 Orignal with manual which i want to sell because i am b= uying SuSE 7.0... If any one interested.. >=20 > Mail me at bisen@rediffmail.com >=20 > Thanks >=20 >=20 > Anand >=20 >=20 > _________________________________________________ > Get Your Free Email At, http://www.rediffmail.com >=20 > For fabulous shopping deals visit: http://www.rediff.co.in/shopping/index= .html >=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 /************************************************************************. # Indraneel Majumdar =A1 E-mail: indraneel@123india.com # # Bioinformatics Unit (EMBNET node), =A1 URL: http://scorpius.iwarp.com # # Centre for DNA Fingerprinting and Diagnostics, # # Hyderabad, India - 500076 # `************************************************************************/ From linux-india-programmers-owner@lists.linux-india.org Sun Sep 10 19:50:35 2000 Received: from smtp2.mail.yahoo.com (smtp2.mail.yahoo.com [128.11.68.32]) by www.aunet.org (Postfix) with SMTP id 828004A0DF for ; Sun, 10 Sep 2000 19:50:34 -0700 (PDT) Received: from unknown (HELO yahoo.com) (203.197.194.42) by smtp2.mail.yahoo.com with SMTP; 11 Sep 2000 02:47:59 -0000 X-Apparently-From: Message-ID: <39BC47FF.5DFD3F32@yahoo.com> Date: Mon, 11 Sep 2000 08:18:31 +0530 From: Ashish kumar X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: /usr/include/linux/soundcard.h References: <20000905205010.C325@mobile.nikhilwiz.net> <001f01c017c4$c8e05db0$9b01a8c0@MUTHU> <002101c017c5$aa5cab90$8200000a@aclindia.com> <39B5E596.17CCB119@pspl.co.in> <009101c017cf$b44cb910$8200000a@aclindia.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/39 Hi There. Can neone explain to me the conetnts of /usr/inlcude/linux/soundcard.h file I want to know everything about all the #defines in the dsp section . Thanx Ashish __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Sun Sep 10 22:35:24 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 34E6D4A159 for ; Sun, 10 Sep 2000 22:35:18 -0700 (PDT) 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 e8B5bq211422 for ; Mon, 11 Sep 2000 11:07:52 +0530 Message-ID: <39BC6EEF.42CBDD84@pspl.co.in> Date: Mon, 11 Sep 2000 11:04:39 +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: How to link templates? References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/40 Hi all I have a template class in C++, which is split in .h/.cpp format. Now I want to create a shared library for it. So that '#include " .h" ' should suffice. However, when I create a shared library with normal procedure of creating shared library, linking of programs fails saying 'unresolved symbol myobject::method() not found.' What's the difference in linking normal code and template code? I mean how can I tell linker that this is a template code? My steps are $ g++ -c myobject.cpp; ld -shared -soname Libname myobject.o $ g++ -o myprog -L. -lLibname myprog.cpp. TIA... Bye Shridhar From linux-india-programmers-owner@lists.linux-india.org Sun Sep 10 22:51:11 2000 Received: from natsemi-bh.nsc.com (natsemi-bh.nsc.com [204.163.202.66]) by www.aunet.org (Postfix) with ESMTP id 4C2D94A032 for ; Sun, 10 Sep 2000 22:51:07 -0700 (PDT) Received: (from uucp@localhost) by natsemi-bh.nsc.com (8.8.8/8.6.11) id WAA07274 for ; Sun, 10 Sep 2000 22:48:26 -0700 (PDT) Received: from nsc.nsc.com(139.187.81.1) by natsemi-bh.nsc.com via smap (4.1) id xma007243; Sun, 10 Sep 00 22:47:57 -0700 Received: from malkauns.malkauns.nsc.com (malkauns.nsc.com [139.187.83.131]) by nsc.nsc.com (8.9.3+Sun/8.9.3) with SMTP id WAA07280 for ; Sun, 10 Sep 2000 22:47:40 -0700 (PDT) Received: from software1.nsc.com by malkauns.malkauns.nsc.com (SMI-8.6/SMI-SVR4) id FAA25967; Mon, 11 Sep 2000 05:50:36 GMT Date: Mon, 11 Sep 2000 11:27:13 +0500 (GMT-5) From: Sojan James X-Sender: sojan@software1.nsc.com To: linux-india-programmers@lists.linux-india.org Subject: Re: How to link templates? In-Reply-To: <39BC6EEF.42CBDD84@pspl.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/41 Hi, The last time I looked, gcc didn't support this feature...ie. you cannot have a separate implementation and interface files for templates. Haven't used c++ in some time, so I dunno if this feature has been added in the latest versions....anyone? Regards Soj. On Mon, 11 Sep 2000, Shridhar Daithankar wrote: > Hi all > > I have a template class in C++, which is split in .h/.cpp format. Now I want to create a shared library for it. So that > '#include " .h" ' should suffice. -- Sojan James Consultant, National Semi. India Designs Ltd. 7/6 Brunton Road, Bangalore 560025. India. Ph: 5587918/919/920 ext. 308 From linux-india-programmers-owner@lists.linux-india.org Sun Sep 10 23:44:47 2000 Received: from brahma.roc.com (unknown [210.212.215.34]) by www.aunet.org (Postfix) with ESMTP id B187F4A03D for ; Sun, 10 Sep 2000 23:43:20 -0700 (PDT) Received: from SCORPIO (root@[172.16.1.144]) by brahma.roc.com (8.8.5/8.8.5) with SMTP id MAA01038 for ; Mon, 11 Sep 2000 12:15:30 +0530 (IST) From: Rajesh Bhattacharya Reply-To: rajub@trinc.com Organization: Intoto Software(I) Pvt. Ltd. To: linux-india-programmers@lists.linux-india.org Subject: GUI frontend for diff Date: Mon, 11 Sep 2000 12:07:19 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00091112091200.00684@SCORPIO> Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200009/42 Hi All, Is there any good GUI frontend for diff like tkdiff ? Any link will help. Also what is the latest version of tkdiff? Regards-- Rajesh B. --=20 Rajesh Bhattacharya Software Engineer, Intoto Software (I) Pvt. Ltd. Voice : 040 - 7742606 URL : www.intotoinc.com **************************************************************** No person who is enthusiastic about his work has anything to fear from life. = -- Samuel Goldwin From linux-india-programmers-owner@lists.linux-india.org Mon Sep 11 03:52:04 2000 Received: from md3.vsnl.net.in (md3.vsnl.net.in [202.54.6.35]) by www.aunet.org (Postfix) with ESMTP id 9FC644A01D for ; Mon, 11 Sep 2000 03:51:55 -0700 (PDT) Received: from tux.intra.mspvcs.com (IDENT:root@[210.212.251.34]) by md3.vsnl.net.in (8.9.3/8.9.3) with ESMTP id QAA27521 for ; Mon, 11 Sep 2000 16:12:28 +0530 (IST) Received: from trisul (trisul.intra.mspvcs.com [192.168.1.7]) by tux.intra.mspvcs.com (8.9.3/8.8.7) with SMTP id KAA03335 for ; Mon, 11 Sep 2000 10:04:26 +0530 From: "Lakshmi Anand K" To: Subject: CNC Simulation Package Date: Mon, 11 Sep 2000 10:04:25 +0530 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.2314.1300 X-Archive-Number: 200009/43 Hi, Am interested in creating a opensource CNC simulation package. Any one on the same boat? From linux-india-programmers-owner@lists.linux-india.org Mon Sep 11 03:53:48 2000 Received: from md3.vsnl.net.in (md3.vsnl.net.in [202.54.6.35]) by www.aunet.org (Postfix) with ESMTP id 7EF9A49FF0 for ; Mon, 11 Sep 2000 03:53:43 -0700 (PDT) Received: from tux.intra.mspvcs.com (IDENT:root@[210.212.251.34]) by md3.vsnl.net.in (8.9.3/8.9.3) with ESMTP id QAA28918 for ; Mon, 11 Sep 2000 16:15:06 +0530 (IST) Received: from trisul ([192.168.1.7]) by tux.intra.mspvcs.com (8.9.3/8.8.7) with SMTP id KAA03492 for ; Mon, 11 Sep 2000 10:11:39 +0530 From: "Lakshmi Anand K" To: Subject: Portable Python GUI Date: Mon, 11 Sep 2000 10:11:38 +0530 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.2314.1300 In-Reply-To: <00083116304200.01197@Basel> X-Archive-Number: 200009/44 I want to write some win32 portable code in python. I know that python interpreters for Win32 exists. Is it possible to have its GUI too portable? For that, what should I use? Gtk/Qt/... ? From linux-india-programmers-owner@lists.linux-india.org Mon Sep 11 04:58:48 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 06BD94A020 for ; Mon, 11 Sep 2000 04:58:15 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id RAA11932 for ; Mon, 11 Sep 2000 17:20:34 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id RAA00072 for ; Mon, 11 Sep 2000 17:23:31 +0500 (GMT) Received: from soflt.alc.wipinfo.soft.net ([192.168.220.205]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA33B7; Mon, 11 Sep 2000 17:24:10 +0530 Date: Mon, 11 Sep 2000 17:30:32 +0530 (IST) From: "chetan kumar s" X-Sender: chetansk@soflt.alc.wipinfo.soft.net Reply-To: chetan.kumar@wipro.com To: Lakshmi Anand K Cc: linux-india-programmers@lists.linux-india.org Subject: Re: Portable Python GUI In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/45 On Mon, 11 Sep 2000, Lakshmi Anand K wrote: > I want to write some win32 portable code in python. I know that python > interpreters for Win32 exists. Is it possible to have its GUI too portable? > For that, what should I use? Gtk/Qt/... ? tk -Chetan S > > > --------------------------------------------- > 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 Sep 11 07:30:48 2000 Received: from bom8.vsnl.net.in (bom8.vsnl.net.in [202.54.4.125]) by www.aunet.org (Postfix) with ESMTP id 399D14A033 for ; Mon, 11 Sep 2000 07:30:39 -0700 (PDT) Received: from noname (PPP-203-197-3-85.bom.vsnl.net.in [203.197.3.85]) by bom8.vsnl.net.in (8.9.2/8.9.2) with SMTP id TAA22876 for ; Mon, 11 Sep 2000 19:53:30 +0500 (GMT+0500) Message-ID: <003e01c01bfc$a502b320$5503c5cb@noname> From: "Arsalan Zaidi" To: References: Subject: Re: Portable Python GUI Date: Mon, 11 Sep 2000 19:51: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.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200009/46 TK looks like Donal Duck designed it. :-) GTK. Supposedly cross platform right? But I don't think the windows port is all that functional. QT. Windows port is very functional, but you have to pay for it. Anything else around that's also cross platform? I don't like any of the above... Just my 0.2 paisa. --Arsalan. > > I want to write some win32 portable code in python. I know that python > > interpreters for Win32 exists. Is it possible to have its GUI too portable? > > For that, what should I use? Gtk/Qt/... ? > > tk > > -Chetan S From linux-india-programmers-owner@lists.linux-india.org Mon Sep 11 10:35:28 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 8F84649F62 for ; Mon, 11 Sep 2000 10:35:22 -0700 (PDT) Received: from pspl.co.in (singrauli.intranet.pspl.co.in [192.168.2.220]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id e8BHbx225151 for ; Mon, 11 Sep 2000 23:07:59 +0530 Message-ID: <39BD181B.351F31C3@pspl.co.in> Date: Mon, 11 Sep 2000 23:06:27 +0530 From: Jaidev Karanth X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Portable Python GUI References: <003e01c01bfc$a502b320$5503c5cb@noname> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/47 Try wxWindows/wxPython http://www.wxwindows.org http://wxpython.org Pretty good for cross-platform GUI dev. Jaidev Arsalan Zaidi wrote: > TK looks like Donal Duck designed it. :-) > > GTK. Supposedly cross platform right? But I don't think the windows port is > all that functional. > > QT. Windows port is very functional, but you have to pay for it. > > Anything else around that's also cross platform? > > I don't like any of the above... > > Just my 0.2 paisa. > > --Arsalan. > From linux-india-programmers-owner@lists.linux-india.org Mon Sep 11 21:57:04 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 56B4449F60 for ; Mon, 11 Sep 2000 21:57:00 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id VAA32740 for linux-india-programmers@lists.linux-india.org; Mon, 11 Sep 2000 21:54:12 -0700 Date: Mon, 11 Sep 2000 21:54:12 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Portable Python GUI Message-ID: <20000911215412.A32725@sharmas.dhs.org> References: <00083116304200.01197@Basel> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from lakshmianand@vsnl.com on Mon, Sep 11, 2000 at 10:11:38AM +0530 X-Archive-Number: 200009/48 On Mon, Sep 11, 2000 at 10:11:38AM +0530, Lakshmi Anand K wrote: > I want to write some win32 portable code in python. I know that python > interpreters for Win32 exists. Is it possible to have its GUI too portable? > For that, what should I use? Gtk/Qt/... ? Tkinter is the "official" python GUI that comes with the python distro. The advantage is that it's portable, well documented and stable. The disadvantage is that it needs Tcl, another scripting language to run. Once upon a time, when I was green and foolish, I spent a few days trying to make python talk directly to Tk, without Tcl before giving up. Unless you're working on something that _really_ needs to be portable, I'd suggest using one that you like the most. I normally use the excellent KDE/Qt bindings by Phil Thomson. It has been ported to QT 2.2, but not KDE 2.x. Troll Tech has donated a windows box and a QT license to Phil to port it to Windows. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Sep 11 23:11:03 2000 Received: from web9207.mail.yahoo.com (web9207.mail.yahoo.com [216.136.129.40]) by www.aunet.org (Postfix) with SMTP id 2B1334A287 for ; Mon, 11 Sep 2000 23:10:56 -0700 (PDT) Message-ID: <20000912055623.13517.qmail@web9207.mail.yahoo.com> Received: from [202.9.170.127] by web9207.mail.yahoo.com; Mon, 11 Sep 2000 22:56:23 PDT Date: Mon, 11 Sep 2000 22:56:23 -0700 (PDT) From: john slater Subject: Re: SuSE 6.4 To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200009/49 hello could u please say what is the cost of SuSe 6.4, and what is the key differnce between the RedHat ans Suse thanks John --- Anand Singh Bisen wrote: > Hello > > i know this is not the right place but.... > > I have a SuSE 6.4 Orignal with manual which i want > to sell because i am buying SuSE 7.0... If any one > interested.. > > Mail me at bisen@rediffmail.com > > Thanks > > > Anand > > > _________________________________________________ > Get Your Free Email At, http://www.rediffmail.com > > For fabulous shopping deals visit: > http://www.rediff.co.in/shopping/index.html > > > > > --------------------------------------------- > 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. ===== John Slater #123, Hooly Wood LA, CA 34523 __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 00:09:03 2000 Received: from bom8.vsnl.net.in (bom8.vsnl.net.in [202.54.4.125]) by www.aunet.org (Postfix) with ESMTP id BAA664A27D for ; Wed, 13 Sep 2000 00:08:40 -0700 (PDT) Received: from noname (PPP-203-197-3-183.bom.vsnl.net.in [203.197.3.183]) by bom8.vsnl.net.in (8.9.2/8.9.2) with SMTP id MAA18121 for ; Wed, 13 Sep 2000 12:31:28 +0500 (GMT+0500) Message-ID: <007e01c01d51$3b1bad80$da06c5cb@noname> From: "Arsalan Zaidi" To: Subject: designing a brand new NFS. Date: Wed, 13 Sep 2000 12:35:37 +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: 200009/50 I've decided to take up a project implementing a simple version of NFS for my course at NCST. Though the requirements are simple and the time limited, I want to have a good design. Who knows, I might work on extending and impementing it in full later. If you guys have any suggestion on how NFS may be improved, or any pointer/tips whatever, send them over... I've looked arounf for info on NFS and I've found some papers and stuff. Nothing too extensive. Lessee what comes of this... --Arsalan. From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 03:20:37 2000 Received: from linux1 (unknown [203.199.194.1]) by www.aunet.org (Postfix) with SMTP id 3AB554A2CF for ; Wed, 13 Sep 2000 03:20:17 -0700 (PDT) Received: from sun104 (sun104 [192.9.200.15]) by linux1 (8.6.12/8.6.9) with ESMTP id PAA08612 for ; Wed, 13 Sep 2000 15:50:13 +0530 Date: Wed, 13 Sep 2000 15:50:09 +0530 (IST) From: Nitin Kumar Gupta X-Sender: nitin@sun104 To: linux-india-programmers@lists.linux-india.org Subject: Re: designing a brand new NFS. In-Reply-To: <007e01c01d51$3b1bad80$da06c5cb@noname> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/51 Hi Arsalan, Check this out for the nfs server sources: http://www.rpmfind.net/linux/RPM/NByName.html (grep for nfs on that page) The best way would be to get the sources and modify them to create your own version of NFS. This software has a lot of security flaws, and if someone comes out with a more secure software with similar functionality, it would be really appreciated. I can help you to a certain extent, though it's been long since I worked with NFS sources. Regards Nitin PS: What is NCST?? On Wed, 13 Sep 2000, Arsalan Zaidi wrote: > I've decided to take up a project implementing a simple version of NFS for > my course at NCST. Though the requirements are simple and the time limited, > I want to have a good design. Who knows, I might work on extending and > impementing it in full later. > > If you guys have any suggestion on how NFS may be improved, or any > pointer/tips whatever, send them over... > > I've looked arounf for info on NFS and I've found some papers and stuff. > Nothing too extensive. Lessee what comes of this... > > --Arsalan. > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP > _____/~-=##=-~\_____ -=+0+=-< Nitin Kumar Gupta >-=+0+=- ~~~~~\_-=##=-_/~~~~~ From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 03:26:32 2000 Received: from web9203.mail.yahoo.com (web9203.mail.yahoo.com [216.136.129.26]) by www.aunet.org (Postfix) with SMTP id CA55E4A16A for ; Wed, 13 Sep 2000 03:26:28 -0700 (PDT) Message-ID: <20000913102344.75471.qmail@web9203.mail.yahoo.com> Received: from [202.9.170.96] by web9203.mail.yahoo.com; Wed, 13 Sep 2000 03:23:44 PDT Date: Wed, 13 Sep 2000 03:23:44 -0700 (PDT) From: john slater Subject: Re: designing a brand new NFS. To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200009/52 hello i have project were i have to remove the LILO promt, so that linux boots directly after the bios, can some tell me how to go about thank you jhon --- Arsalan Zaidi wrote: > I've decided to take up a project implementing a > simple version of NFS for > my course at NCST. Though the requirements are > simple and the time limited, > I want to have a good design. Who knows, I might > work on extending and > impementing it in full later. > > If you guys have any suggestion on how NFS may be > improved, or any > pointer/tips whatever, send them over... > > I've looked arounf for info on NFS and I've found > some papers and stuff. > Nothing too extensive. Lessee what comes of this... > > --Arsalan. > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP ===== John Slater #123, Hooly Wood LA, CA 34523 __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 03:40:58 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 255B94A052 for ; Wed, 13 Sep 2000 03:40:46 -0700 (PDT) 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 e8DAh0231371 for ; Wed, 13 Sep 2000 16:13:00 +0530 Message-ID: <39BF597B.1248654D@pspl.co.in> Date: Wed, 13 Sep 2000 16:09:55 +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: designing a brand new NFS. References: <20000913102344.75471.qmail@web9203.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/53 Set delay of lilo zero or very small. You might see lilo prompt. But forget that. Cloase your eyes for couple of moments when PC is booting. :-))) Bye Shridhar john slater wrote: > hello > i have project were i have to remove the LILO > promt, so that linux boots directly after the bios, > can some tell me how to go about > thank you > jhon From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 03:41:39 2000 Received: from alice.bombay.retortsoft.com (unknown [203.199.65.139]) by www.aunet.org (Postfix) with ESMTP id AC28E4A052 for ; Wed, 13 Sep 2000 03:41:23 -0700 (PDT) Received: (from amarg@localhost) by alice.bombay.retortsoft.com (8.9.3/8.9.3) id QAA05350 for linux-india-programmers@lists.linux-india.org; Wed, 13 Sep 2000 16:19:05 +0530 Date: Wed, 13 Sep 2000 16:19:05 +0530 From: amarg To: linux-india-programmers@lists.linux-india.org Subject: Re: designing a brand new NFS. Message-ID: <20000913161905.A5259@alice.bombay.retortsoft.com> References: <007e01c01d51$3b1bad80$da06c5cb@noname> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: X-Quote: "Linux Rules !" X-Friends: Shailesh, Shantanu, Sameer, Prachi, Dinesh. X-Home: amar.gnu-linux.net X-Archive-Number: 200009/54 On Wed, Sep 13, 2000 at 03:50:09PM +0530, the greycells of Nitin Kumar Gupta expressed: [snipped] > > PS: What is NCST?? > [snipped] ############################################################# Hi Nitin, NCST is National Center for Software Technology. Check them out at http://www.ncst.ernet.in Regards, Amar :) P.S. : Do you reside in India ? -- $=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=$ My Home : http://www.crosswinds.net/~amargod http://amar.gnu-linux.net (for my Public Key) Preferred web mail : amargod@yahoo.com $=-=-=-=-=-=- L I N U X R U L E S ! -=-=-=-=-=-=-=$ Result! Why, man, I have gotten a lot of results. I know several thousand things that won't work. --Thomas Edison /\ |\/| /\ r From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 04:28:52 2000 Received: from linux1 (unknown [203.199.194.1]) by www.aunet.org (Postfix) with SMTP id 2DBD24A223 for ; Wed, 13 Sep 2000 04:28:27 -0700 (PDT) Received: from sun104 (sun104 [192.9.200.15]) by linux1 (8.6.12/8.6.9) with ESMTP id QAA09752 for ; Wed, 13 Sep 2000 16:58:29 +0530 Date: Wed, 13 Sep 2000 16:58:25 +0530 (IST) From: Nitin Kumar Gupta X-Sender: nitin@sun104 To: linux-india-programmers@lists.linux-india.org Subject: Re: designing a brand new NFS. In-Reply-To: <20000913102344.75471.qmail@web9203.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/55 Hi john Can you provide explicit details. I mean, will just modifying the LILO sources not to show that prompt, and a near 0 delay be enough? If yes, you have your answer. If that is not the case, I think you can write a small assembly code to do what LILO does and then call the boot.S (I think that was the name, check /usr/src/linux/i386/arch). I have not tried this, so if I am wrong, could some guru correct me :-) Regards Nitin PS: Amar, I do live in India, that acronym just slipped from my mind, thanks for reminding. AND yes, HI! I have been a mamber of this list for some time but started mailing only today. On Wed, 13 Sep 2000, john slater wrote: > hello > i have project were i have to remove the LILO > promt, so that linux boots directly after the bios, > can some tell me how to go about > thank you > jhon > --- Arsalan Zaidi wrote: > > I've decided to take up a project implementing a > > simple version of NFS for > > my course at NCST. Though the requirements are > > simple and the time limited, > > I want to have a good design. Who knows, I might > > work on extending and > > impementing it in full later. > > > > If you guys have any suggestion on how NFS may be > > improved, or any > > pointer/tips whatever, send them over... > > > > I've looked arounf for info on NFS and I've found > > some papers and stuff. > > Nothing too extensive. Lessee what comes of this... > > > > --Arsalan. > > > > > > --------------------------------------------- > > The mailing list archives are available at > > http://lists.linux-india.org/cgi-bin/wilma/LIP > > > ===== > John Slater > #123, Hooly Wood > LA, CA 34523 > > __________________________________________________ > Do You Yahoo!? > Yahoo! Mail - Free email you can access from anywhere! > http://mail.yahoo.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 > _____/~-=##=-~\_____ -=+0+=-< Nitin Kumar Gupta >-=+0+=- ~~~~~\_-=##=-_/~~~~~ From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 04:32:20 2000 Received: from linux1 (unknown [203.199.194.1]) by www.aunet.org (Postfix) with SMTP id BBB914A0BC for ; Wed, 13 Sep 2000 04:32:13 -0700 (PDT) Received: from sun104 (sun104 [192.9.200.15]) by linux1 (8.6.12/8.6.9) with ESMTP id RAA09783 for ; Wed, 13 Sep 2000 17:02:16 +0530 Date: Wed, 13 Sep 2000 17:02:12 +0530 (IST) From: Nitin Kumar Gupta X-Sender: nitin@sun104 To: linux-india-programmers@lists.linux-india.org Subject: Re: designing a brand new NFS. In-Reply-To: <39BF597B.1248654D@pspl.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/56 Hi Shridhar, Setting delay to zero means infinite delay, so the least he can set is 1. John, please take care, you may end up corrupting your MBR in this project, so use a temporary test HDD for it. Regards Nitin On Wed, 13 Sep 2000, Shridhar Daithankar wrote: > Set delay of lilo zero or very small. You might see lilo prompt. But forget > that. Cloase your eyes for couple of moments when PC is booting. :-))) > > Bye > Shridhar > > john slater wrote: > > > hello > > i have project were i have to remove the LILO > > promt, so that linux boots directly after the bios, > > can some tell me how to go about > > thank you > > jhon > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP > _____/~-=##=-~\_____ -=+0+=-< Nitin Kumar Gupta >-=+0+=- ~~~~~\_-=##=-_/~~~~~ From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 05:43:33 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 4748D4A368 for ; Wed, 13 Sep 2000 05:43:07 -0700 (PDT) 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 e8DCjQ201304 for ; Wed, 13 Sep 2000 18:15:26 +0530 Message-ID: <39BF762D.B1AB1AF6@pspl.co.in> Date: Wed, 13 Sep 2000 18:12:21 +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: designing a brand new NFS. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/57 I thought so. As I am not in linux, I could not confirm it. That's wy I say small delay. Anyway delay of LILO is in deciseconds so delay=1 means 0.1 seconds. Pretty small to notice. Should do the trick. Bye Shridhar Nitin Kumar Gupta wrote: From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 06:04:29 2000 Received: from nwd2dns5.analog.com (nwd2gtw1.analog.com [137.71.23.34]) by www.aunet.org (Postfix) with ESMTP id 0DC1B4A1F7 for ; Wed, 13 Sep 2000 06:04:24 -0700 (PDT) Received: from nwd2gtw2 (root@nwd2gtw1dmz1 [137.71.25.98]) by nwd2dns5.analog.com (8.9.3 (PHNE_18979)/8.9.3) with SMTP id JAA02462 for ; Wed, 13 Sep 2000 09:01:37 -0400 (EDT) Received: from ipdc_tokyo.spd.analog.com (root@ipdc_tokyo.spd.analog.com [137.71.79.135]) by zeus.spd.analog.com (8.8.6/8.8.6) with ESMTP id JAA21293 for ; Wed, 13 Sep 2000 09:01:29 -0400 (EDT) Received: from analog.com (IDENT:kouzik@ipdc_tokyo.spd.analog.com [137.71.79.135]) by ipdc_tokyo.spd.analog.com (8.9.3/8.8.7) with ESMTP id SAA01716 for ; Wed, 13 Sep 2000 18:36:53 +0530 Message-ID: <39BF7BED.F04B8E8C@analog.com> Date: Wed, 13 Sep 2000 18:36:53 +0530 From: Kousik Nandy Organization: Analog Devices Inc. X-Mailer: Mozilla 4.75 [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: designing a brand new NFS. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/58 Nitin Kumar Gupta wrote: > Setting delay to zero means infinite delay, so the least he can set is > 1. Ah, not exactly, I guess. From `man lilo.conf' I find that ... delay=tsecs Specifies the number of tenths of a second the boot loader should wait before booting the first image. This is useful on systems that immediately boot from the hard disk after enabling the keyboard. The boot loader doesn't wait if `delay' is omitted or is set to zero. So just a `dd' might do the trick (but it'll show the message LILO loading Linux ..... ) HTH, Kousik. From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 06:13:29 2000 Received: from web9205.mail.yahoo.com (web9205.mail.yahoo.com [216.136.129.38]) by www.aunet.org (Postfix) with SMTP id 4BDF64A26E for ; Wed, 13 Sep 2000 06:13:21 -0700 (PDT) Message-ID: <20000913131036.17988.qmail@web9205.mail.yahoo.com> Received: from [202.9.170.96] by web9205.mail.yahoo.com; Wed, 13 Sep 2000 06:10:36 PDT Date: Wed, 13 Sep 2000 06:10:36 -0700 (PDT) From: john slater Subject: Re: designing a brand new NFS. To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200009/59 hello i would like to thank for all of them who have responsed to my query, i was think of removing the boot loader and replaces with an ILP(inital program loader) code. i do not have any knowledge wheather linux supports IPL. bascilly i am working on embedded systems, i am supposed to embedded a gui in 8 mb, can some help me, Once more thanks for all the support ThankX with Regards Jhon --- Shridhar Daithankar wrote: > I thought so. As I am not in linux, I could not > confirm it. That's wy I say small > delay. Anyway delay of LILO is in deciseconds so > delay=1 means 0.1 seconds. > Pretty small to notice. Should do the trick. > > Bye > Shridhar > > Nitin Kumar Gupta wrote: > > > > --------------------------------------------- > 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 ===== John Slater #123, Hooly Wood LA, CA 34523 __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 06:13:34 2000 Received: from kuku.excite.com (kuku-rwcmta.excite.com [198.3.99.63]) by www.aunet.org (Postfix) with ESMTP id E95054A26E for ; Wed, 13 Sep 2000 06:13:26 -0700 (PDT) Received: from bessie.excite.com ([199.172.152.102]) by kuku.excite.com (InterMail vM.4.01.02.39 201-229-119-122) with ESMTP id <20000913131040.CJV21991.kuku.excite.com@bessie.excite.com> for ; Wed, 13 Sep 2000 06:10:40 -0700 Message-ID: <3505179.968850640391.JavaMail.imail@bessie.excite.com> Date: Wed, 13 Sep 2000 06:10:40 -0700 (PDT) From: ramesh subhash To: linux-india-programmers@lists.linux-india.org Subject: VIP Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Excite Inbox X-Sender-Ip: 203.197.176.216 X-Archive-Number: 200009/60 Hello everybody... I have one small doubt. Presently i am writing a driver for a data aquisition card on LINUX ker ver 2.0.31. Are the physical interrupt lines directly mapped to irq numbers(cat /proc/interrupts). 1> If so how are they mapped?. 2> If more than one device can share a irq line , how is it implemented. 3> Whether the kernel takes care of more than one device if the irq line is shared or whether the driver writer has to take care about that. From Sreeprakash. _______________________________________________________ Say Bye to Slow Internet! http://www.home.com/xinbox/signup.html From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 07:21:02 2000 Received: from linux1 (unknown [203.199.194.1]) by www.aunet.org (Postfix) with SMTP id 4AAB84A18F for ; Wed, 13 Sep 2000 07:20:53 -0700 (PDT) Received: from sun104 (sun104 [192.9.200.15]) by linux1 (8.6.12/8.6.9) with ESMTP id TAA11839 for ; Wed, 13 Sep 2000 19:50:54 +0530 Date: Wed, 13 Sep 2000 19:50:49 +0530 (IST) From: Nitin Kumar Gupta X-Sender: nitin@sun104 To: linux-india-programmers@lists.linux-india.org Subject: Re: designing a brand new NFS. In-Reply-To: <20000913131036.17988.qmail@web9205.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/61 Try u-linux (read 'u' as 'mu') it has a GUI and can run from 1-2 floppies. It was distributed by PCQuest sometime back. Regards Nitin On Wed, 13 Sep 2000, john slater wrote: > hello > i would like to thank for all of them who have > responsed to my query, i was think of removing the > boot loader and replaces with an ILP(inital program > loader) code. i do not have any knowledge wheather > linux supports IPL. bascilly i am working on embedded > systems, i am supposed to embedded a gui in 8 mb, can > some help me, Once more thanks for all the support > ThankX > with Regards > Jhon > > --- Shridhar Daithankar wrote: > > I thought so. As I am not in linux, I could not > > confirm it. That's wy I say small > > delay. Anyway delay of LILO is in deciseconds so > > delay=1 means 0.1 seconds. > > Pretty small to notice. Should do the trick. > > > > Bye > > Shridhar > > > > Nitin Kumar Gupta wrote: > > > > > > > > --------------------------------------------- > > 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 > > > ===== > John Slater > #123, Hooly Wood > LA, CA 34523 > > __________________________________________________ > Do You Yahoo!? > Yahoo! Mail - Free email you can access from anywhere! > http://mail.yahoo.com/ > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP > _____/~-=##=-~\_____ -=+0+=-< Nitin Kumar Gupta >-=+0+=- ~~~~~\_-=##=-_/~~~~~ From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 07:23:14 2000 Received: from linux1 (unknown [203.199.194.1]) by www.aunet.org (Postfix) with SMTP id 900AB4A277 for ; Wed, 13 Sep 2000 07:23:09 -0700 (PDT) Received: from sun104 (sun104 [192.9.200.15]) by linux1 (8.6.12/8.6.9) with ESMTP id TAA11849 for ; Wed, 13 Sep 2000 19:53:11 +0530 Date: Wed, 13 Sep 2000 19:53:06 +0530 (IST) From: Nitin Kumar Gupta X-Sender: nitin@sun104 To: linux-india-programmers@lists.linux-india.org Subject: Re: designing a brand new NFS. In-Reply-To: <39BF7BED.F04B8E8C@analog.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/62 Hi Kousik You are right, actually, I was working with an OS, where 0 means infinite timeout. Regards Nitin On Wed, 13 Sep 2000, Kousik Nandy wrote: > Nitin Kumar Gupta wrote: > > > Setting delay to zero means infinite delay, so the least he can set is > > 1. > > Ah, not exactly, I guess. From `man lilo.conf' I find that ... > > delay=tsecs > Specifies the number of tenths of a second the boot > loader should wait before booting the first image. > This is useful on systems that immediately boot > from the hard disk after enabling the keyboard. > The boot loader doesn't wait if `delay' is omitted > or is set to zero. > > So just a `dd' might do the trick (but it'll show the message > LILO loading Linux ..... ) > > HTH, > Kousik. > > --------------------------------------------- > 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 > _____/~-=##=-~\_____ -=+0+=-< Nitin Kumar Gupta >-=+0+=- ~~~~~\_-=##=-_/~~~~~ From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 08:47:57 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id C85CE4A031 for ; Wed, 13 Sep 2000 08:47:55 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id IAA03778 for linux-india-programmers@lists.linux-india.org; Wed, 13 Sep 2000 08:45:03 -0700 Date: Wed, 13 Sep 2000 08:45:03 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: designing a brand new NFS. Message-ID: <20000913084502.A3735@sharmas.dhs.org> References: <007e01c01d51$3b1bad80$da06c5cb@noname> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <007e01c01d51$3b1bad80$da06c5cb@noname>; from arsalan_zaidi@flashmail.com on Wed, Sep 13, 2000 at 12:35:37PM +0530 X-Archive-Number: 200009/63 On Wed, Sep 13, 2000 at 12:35:37PM +0530, Arsalan Zaidi wrote: > I've decided to take up a project implementing a simple version of NFS for > my course at NCST. Though the requirements are simple and the time limited, > I want to have a good design. Who knows, I might work on extending and > impementing it in full later. The main problem with NFS is the protocol itself. Not the implementation. You might consider reading about work from CMU - afs, coda etc. IBM, which owns the code now is releasing it open source. The primary problems with NFS (in no particular order): - No client side caching - Non scalability (due to 30 sec notification rule) - No disconnected operation - Lack of server replication Some of these are fixed in NFS v3 and v4. You might want to read up more. See: http://www.coda.cs.cmu.edu/ http://www.extremelinux.org/activities/usenix99/docs/braam/braam.html http://www.netapp.com/tech_library/nfsbook.html BTW, reimplementing NFS is not that hard. I did a Java implementation of the protocol for a class project in a matter of weeks. It was good enough for a demo ;) -Arun From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 10:22:11 2000 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id 46CFB4A1F7 for ; Wed, 13 Sep 2000 10:22:05 -0700 (PDT) Received: from qasid.cc.iitk.ac.in (qasid.cc.iitk.ac.in [172.31.1.16]) by mail.iitk.ac.in (8.9.2/8.9.2) with ESMTP id WAA08064 for ; Wed, 13 Sep 2000 22:51:28 +0530 (IST) Received: from ajayd.hall.iitk.ac.in (IDENT:root@[172.31.111.1]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id WAA24066 for ; Wed, 13 Sep 2000 22:43:13 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.hall.iitk.ac.in (8.10.1/8.10.1) with ESMTP id e8DHHJe00900 for ; Wed, 13 Sep 2000 22:47:19 +0530 X-Authentication-Warning: ajayd.hall.iitk.ac.in: ajayd owned process doing -bs Date: Wed, 13 Sep 2000 22:47:19 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-programmers@lists.linux-india.org Subject: Re: designing a brand new NFS. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/64 On Wed, 13 Sep 2000, Nitin Kumar Gupta wrote: > > Setting delay to zero means infinite delay, so the least he can set is 1. > Hopefully not !! delay=tsecs Specifies the number of tenths of a second the boot loader should wait before booting the first image. This is useful on systems that immediately boot from the hard disk after enabling the keyboard. The boot loader doesn't wait if `delay' is omitted or is set to zero. Simply don't specify a delay, neither a prompt nor timeout. From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 10:42:29 2000 Received: from md4.vsnl.net.in (md4.vsnl.net.in [202.54.6.60]) by www.aunet.org (Postfix) with ESMTP id 376414A0AA for ; Wed, 13 Sep 2000 10:42:23 -0700 (PDT) Received: from localhost.localdomain ([203.197.152.126]) by md4.vsnl.net.in (8.9.3/8.9.3) with ESMTP id XAA12142 for ; Wed, 13 Sep 2000 23:14:45 +0530 (IST) Date: Wed, 13 Sep 2000 20:40:41 +0530 From: Atul Mehta To: linux-india-programmers@lists.linux-india.org Subject: Re: VIP Message-ID: <20000913204041.A1116@anand> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <3505179.968850640391.JavaMail.imail@bessie.excite.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3505179.968850640391.JavaMail.imail@bessie.excite.com>; from rameshk_mlore@excite.com on Wed, Sep 13, 2000 at 06:10:40AM -0700 X-Archive-Number: 200009/65 > Presently i am writing a driver for a data aquisition card > on LINUX ker ver 2.0.31. Are the physical interrupt lines directly > mapped to irq numbers(cat /proc/interrupts). AFAIK, Some of the interrupts are hardwired. For example RTC is always connected to IRQ 3 while the FDD is mapped to 6. (remanants of the IBM-PC architecture). For other cards it depends on which type of bus it sits on? If it is on a PCI bus, then PCI slot 0 is mapped to IRQ 4, and so on. Perhaps ur BIOS may give u some more details. On the other hand if ur device is on ISA bus, then u can set the jumpers on the device so as to use a particular interrupt. In ur device driver u can program it to use the interrupt which u have fixed. hth, -- Atul Mehta | atulm@md4.vsnl.net.in | GPG: 1DB8946A What soon grows old? Gratitude. -- Aristotle From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 10:54:17 2000 Received: from bom8.vsnl.net.in (bom8.vsnl.net.in [202.54.4.125]) by www.aunet.org (Postfix) with ESMTP id 60CB24A18F for ; Wed, 13 Sep 2000 10:54:04 -0700 (PDT) Received: from noname (PPP-203-197-7-61.bom.vsnl.net.in [203.197.7.61]) by bom8.vsnl.net.in (8.9.2/8.9.2) with SMTP id XAA18169 for ; Wed, 13 Sep 2000 23:16:49 +0500 (GMT+0500) Message-ID: <000b01c01dab$62a70520$3d07c5cb@noname> From: "Arsalan Zaidi" To: References: Subject: Re: designing a brand new NFS. Date: Wed, 13 Sep 2000 22:15:45 +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: 200009/66 Yup I have the sources, though I'm not allowed to use them directly. Neither am I allowed any outside coding help. I'm allowed to take suggestions and stuff, but no real code. I don't even think I'm allowed to use anything beyond the standard libraries ! Would really like to have you on board, but at this point, it's not possible. Damned rules! --Arsalan. ----- Original Message ----- From: Nitin Kumar Gupta To: Sent: Wednesday, September 13, 2000 3:50 PM Subject: Re: [LIP] designing a brand new NFS. > Hi Arsalan, > > Check this out for the nfs server sources: > http://www.rpmfind.net/linux/RPM/NByName.html > (grep for nfs on that page) > > The best way would be to get the sources and modify them to create your > own version of NFS. This software has a lot of security flaws, and if > someone comes out with a more secure software with similar functionality, > it would be really appreciated. > > I can help you to a certain extent, though it's been long since I worked > with NFS sources. > > Regards > Nitin > > PS: What is NCST?? > > On Wed, 13 Sep 2000, Arsalan Zaidi wrote: > > > I've decided to take up a project implementing a simple version of NFS for > > my course at NCST. Though the requirements are simple and the time limited, > > I want to have a good design. Who knows, I might work on extending and > > impementing it in full later. > > > > If you guys have any suggestion on how NFS may be improved, or any > > pointer/tips whatever, send them over... > > > > I've looked arounf for info on NFS and I've found some papers and stuff. > > Nothing too extensive. Lessee what comes of this... > > > > --Arsalan. > > > > > > --------------------------------------------- > > The mailing list archives are available at > > http://lists.linux-india.org/cgi-bin/wilma/LIP > > > > _____/~-=##=-~\_____ > -=+0+=-< Nitin Kumar Gupta >-=+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 Sep 13 10:54:22 2000 Received: from bom8.vsnl.net.in (bom8.vsnl.net.in [202.54.4.125]) by www.aunet.org (Postfix) with ESMTP id 551BA4A288 for ; Wed, 13 Sep 2000 10:54:05 -0700 (PDT) Received: from noname (PPP-203-197-7-61.bom.vsnl.net.in [203.197.7.61]) by bom8.vsnl.net.in (8.9.2/8.9.2) with SMTP id XAA20139 for ; Wed, 13 Sep 2000 23:16:45 +0500 (GMT+0500) Message-ID: <000a01c01dab$60af7ae0$3d07c5cb@noname> From: "Arsalan Zaidi" To: References: <007e01c01d51$3b1bad80$da06c5cb@noname> <20000913084502.A3735@sharmas.dhs.org> Subject: Re: designing a brand new NFS. Date: Wed, 13 Sep 2000 22:13: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.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200009/67 Will read up on those specs... I have no intention of reimplementing NFS exactly. The stuff I'll churn out (not given it a name yet) will not be compatible with the original NFS in anyway. I should have written 'a' NFS in my mail; my bad. I chose NFS (the app this time :-) as a starting point cause it's the most popular and well known. BTW, for some strange reason this thread has been hijacked by a discussion on LILO. Please guys, next time think up a new subject line. Less confusion all around. --Arsalan. ----- Original Message ----- From: Arun Sharma To: Sent: Wednesday, September 13, 2000 9:15 PM Subject: Re: [LIP] designing a brand new NFS. > On Wed, Sep 13, 2000 at 12:35:37PM +0530, Arsalan Zaidi wrote: > > I've decided to take up a project implementing a simple version of NFS for > > my course at NCST. Though the requirements are simple and the time limited, > > I want to have a good design. Who knows, I might work on extending and > > impementing it in full later. > > The main problem with NFS is the protocol itself. Not the implementation. > You might consider reading about work from CMU - afs, coda etc. IBM, > which owns the code now is releasing it open source. > > The primary problems with NFS (in no particular order): > > - No client side caching > - Non scalability (due to 30 sec notification rule) > - No disconnected operation > - Lack of server replication > > Some of these are fixed in NFS v3 and v4. You might want to read up more. > > See: > > http://www.coda.cs.cmu.edu/ > http://www.extremelinux.org/activities/usenix99/docs/braam/braam.html > http://www.netapp.com/tech_library/nfsbook.html > > BTW, reimplementing NFS is not that hard. I did a Java implementation > of the protocol for a class project in a matter of weeks. It was > good enough for a demo ;) > > -Arun > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP > From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 12:00:23 2000 Received: from bom8.vsnl.net.in (bom8.vsnl.net.in [202.54.4.125]) by www.aunet.org (Postfix) with ESMTP id EE8374A052 for ; Wed, 13 Sep 2000 12:00:12 -0700 (PDT) Received: from noname (PPP-203-197-6-12.bom.vsnl.net.in [203.197.6.12]) by bom8.vsnl.net.in (8.9.2/8.9.2) with SMTP id AAA24939 for ; Thu, 14 Sep 2000 00:22:58 +0500 (GMT+0500) Message-ID: <000d01c01db4$a142c400$0c06c5cb@noname> From: "Arsalan Zaidi" To: References: <007e01c01d51$3b1bad80$da06c5cb@noname> <20000913084502.A3735@sharmas.dhs.org> Subject: Re: designing a brand new NFS. Date: Thu, 14 Sep 2000 00:27: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: 200009/68 CODA is Absolutely *fantastic*! I've heard people talk about it on Slashdot, but I never really got around to clicking on the links. Really nice system... I'm not going to clone it or aything, but I'll certain ..er.. draw inspiration from it! ;-) BTW, although I'm not supposed to do that for the project, I'm looking ahead a little and thinking about writing the driver for this so the entire fs is transparently available. FOr the projet all I'm supposed to do is provide a working API and test it. I've written a few baby drivers (which didn't do much). Anyone know which would be the simplest driver to be found either in the kernel source or anywhere else? Something that covers all the bases, but isn't too complicated... And a well documented driver would be nice too. :-) I'm not being lazy; I'll start looking through the source myself, but any help would be appreciated. All for now and thanks for all the fish... --Arsalan. > You might consider reading about work from CMU - afs, coda etc. IBM, > which owns the code now is releasing it open source. > > http://www.coda.cs.cmu.edu/ From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 17:20:28 2000 Received: from netscape.com (h-205-217-237-47.netscape.com [205.217.237.47]) by www.aunet.org (Postfix) with ESMTP id 9A0484A288 for ; Wed, 13 Sep 2000 17:20:23 -0700 (PDT) Received: from judge.mcom.com (judge.mcom.com [205.217.237.53]) by netscape.com (8.10.0/8.10.0) with ESMTP id e8E0BOu00864 for ; Wed, 13 Sep 2000 17:11:24 -0700 (PDT) Received: from netscape.com ([208.12.45.34]) by judge.mcom.com (Netscape Messaging Server 4.15) with ESMTP id G0UOTD00.8KD for ; Wed, 13 Sep 2000 17:17:37 -0700 Message-ID: <39C01920.4EB9B644@netscape.com> Date: Wed, 13 Sep 2000 17:17:36 -0700 From: Sudhakar Chandra Organization: A Doubleplusgood Mega Corporation X-Mailer: Mozilla 4.75b1 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en, fr MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: designing a brand new NFS. References: <007e01c01d51$3b1bad80$da06c5cb@noname> <20000913084502.A3735@sharmas.dhs.org> <000a01c01dab$60af7ae0$3d07c5cb@noname> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/69 Arsalan Zaidi proclaimed: > BTW, for some strange reason this thread has been hijacked by a discussion > on LILO. Please guys, next time think up a new subject line. Less confusion > all around. Not only that. If you want help with installing and configuring some piece of software, please post that stuff to linux-india-help and not this list. LIP is for discussing technical, programming related issues / questions. Thaths -- Bart: I don't want to take drugs. Homer: Sure you do. All your favorite stars abuse drugs. Brett Butler, Tim Allen ... Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 20:47:54 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id D3FFE4A27C for ; Wed, 13 Sep 2000 20:47:49 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id UAA05225 for linux-india-programmers@lists.linux-india.org; Wed, 13 Sep 2000 20:44:55 -0700 Date: Wed, 13 Sep 2000 20:44:55 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: VIP Message-ID: <20000913204455.A5206@sharmas.dhs.org> References: <3505179.968850640391.JavaMail.imail@bessie.excite.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3505179.968850640391.JavaMail.imail@bessie.excite.com>; from rameshk_mlore@excite.com on Wed, Sep 13, 2000 at 06:10:40AM -0700 X-Archive-Number: 200009/70 On Wed, Sep 13, 2000 at 06:10:40AM -0700, ramesh subhash wrote: > Presently i am writing a driver for a data aquisition card > on LINUX ker ver 2.0.31. Are the physical interrupt lines directly > mapped to irq numbers(cat /proc/interrupts). > 1> If so how are they mapped?. > 2> If more than one device can share a irq line , how is it > implemented. > 3> Whether the kernel takes care of more than one device if the irq line is > shared or whether the driver writer has to take care about that. > >From Sreeprakash. You need to get hold of a PC hardware book - my recommendation is the "indispensable PC hardware book" and read up about PIC (programmable interrupt controller) and APIC (Advanced PIC). Basically, the processor has a single interrupt pin. The controller has registers corresponding to each IRQ. The registers can be programmed to remap different physical interrupt lines to different IRQs. In the case of PCI, the software does the mapping. About shared interrupts, the OS provides certain infrastructure to implement shared interrupts. When the interrupt is asserted on a shared interrupt line, each device driver sharing that IRQ is polled to see if the interrupt happened on that device. -Arun From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 20:55:08 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 45C4D4A2AE for ; Wed, 13 Sep 2000 20:55:07 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id UAA05272; Wed, 13 Sep 2000 20:52:12 -0700 Date: Wed, 13 Sep 2000 20:52:12 -0700 From: Arun Sharma To: Rajesh Bhattacharya Cc: linux-india-programmers@lists.linux-india.org Subject: Re: GUI frontend for diff Message-ID: <20000913205212.B5206@sharmas.dhs.org> References: <00091112091200.00684@SCORPIO> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <00091112091200.00684@SCORPIO>; from rajub@trinc.com on Mon, Sep 11, 2000 at 12:07:19PM -0500 X-Archive-Number: 200009/71 On Mon, Sep 11, 2000 at 12:07:19PM -0500, Rajesh Bhattacharya wrote: > Hi All, > Is there any good GUI frontend for diff like tkdiff ? > Any link will help. Also what is the latest version of tkdiff? http://www.softpanorama.org/Tools/diff_tools.shtml -Arun From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 22:15:36 2000 Received: from md4.vsnl.net.in (md4.vsnl.net.in [202.54.6.60]) by www.aunet.org (Postfix) with ESMTP id 268B44A27C for ; Wed, 13 Sep 2000 22:15:31 -0700 (PDT) Received: from pagladashu.lateralsoftware.com ([203.199.224.70]) by md4.vsnl.net.in (8.9.3/8.9.3) with SMTP id KAA21773; Thu, 14 Sep 2000 10:47:33 +0530 (IST) From: Archan Paul Reply-To: kernelcoder@yahoo.com To: linux-india-programmers@lists.linux-india.org Subject: Re: designing a brand new NFS. Date: Wed, 13 Sep 2000 18:35:02 +0530 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain References: <007e01c01d51$3b1bad80$da06c5cb@noname> In-Reply-To: <007e01c01d51$3b1bad80$da06c5cb@noname> Cc: saugatac@vsnl.com MIME-Version: 1.0 Message-Id: <00091318353000.00824@pagladashu.lateralsoftware.com> Content-Transfer-Encoding: 8bit X-Archive-Number: 200009/72 On Wed, 13 Sep 2000, you wrote: > I've decided to take up a project implementing a simple version of NFS for > my course at NCST. Though the requirements are simple and the time limited, > I want to have a good design. Who knows, I might work on extending and > impementing it in full later. > > If you guys have any suggestion on how NFS may be improved, or any > pointer/tips whatever, send them over... > > I've looked arounf for info on NFS and I've found some papers and stuff. > Nothing too extensive. Lessee what comes of this... > > --Arsalan. > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 22:29:14 2000 Received: from pronet.net.in (unknown [203.197.148.35]) by www.aunet.org (Postfix) with ESMTP id B0D574A2EB for ; Wed, 13 Sep 2000 22:29:09 -0700 (PDT) Received: from rsoft1 ([203.197.148.30]) by pronet.net.in (8.9.0/8.9.0) with SMTP id LAA24707 for ; Thu, 14 Sep 2000 11:03:01 +0530 From: velayutham@rajahsoft.com To: Subject: Date: Thu, 14 Sep 2000 10:48:51 +0530 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.2314.1300 X-Archive-Number: 200009/73 I wrote a Applet program for connecting to Sybase Database residing on a linux macine. The program works fine, when it is loaded from the same host ie. in the linux machine. But when I tried to load it from a Windows 95 machine, it failed leaving the following error ClassNotFoundException: com.sybase.jdbc2.jdbc.SybDriver What would be the problem? I was trying to connect the database thru Apache Web Server. My JDBC home directory was in /usr/local. I tried to solve the problem by putting the jconn2.jar file under /home/httpd/html/base, but again it failed. How could I solve the problem?. I just want to have touch with anyone who is using Sybase ASE on linux. From linux-india-programmers-owner@lists.linux-india.org Wed Sep 13 23:15:49 2000 Received: from svrsdfbldg.tcscal.co.in (unknown [206.103.11.137]) by www.aunet.org (Postfix) with SMTP id 615134A178 for ; Wed, 13 Sep 2000 23:15:32 -0700 (PDT) Received: from iname.com ([172.18.10.102]) by svrsdfbldg.tcscal.co.in (Lotus SMTP MTA v4.6.6 (890.1 7-16-1999)) with SMTP id 6525695A.002209BB; Thu, 14 Sep 2000 11:41:47 +0530 Message-ID: <39C06BF4.FF01F376@iname.com> Date: Thu, 14 Sep 2000 11:41:00 +0530 From: Robin Chatterjee Organization: Tata Consultancy Services 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: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/74 I think what you need is a servelet not an applet ...correct me if I am wrong.. Cheerio Robin velayutham@rajahsoft.com wrote: > > I wrote a Applet program for connecting to Sybase Database residing on a > linux macine. The program works fine, when it is loaded from the same host > ie. in the linux machine. But when I tried to load it from a Windows 95 > machine, it failed leaving the following error > > ClassNotFoundException: com.sybase.jdbc2.jdbc.SybDriver > > What would be the problem? I was trying to connect the database thru Apache > Web Server. My JDBC home directory was in /usr/local. I tried to solve the > problem by putting the jconn2.jar file under /home/httpd/html/base, but > again it failed. How could I solve the problem?. > > I just want to have touch with anyone who is using Sybase ASE on linux. > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP -- _END_ Robin S Chatterjee Yahoo pager ID -Robinchatterjee mailto:robinsc@iname.com mailto:robins_chatterjee@tcscal.co.in FAX 1-(815)550-6171 Robin's Poetry Pages http://www.geocities.com/singerosongs Robin's Perl Pages http://www.geocities.com/robinchatterjee From linux-india-programmers-owner@lists.linux-india.org Thu Sep 14 00:31:04 2000 Received: from md3.vsnl.net.in (md3.vsnl.net.in [202.54.6.35]) by www.aunet.org (Postfix) with ESMTP id 796E14A0A2 for ; Thu, 14 Sep 2000 00:30:56 -0700 (PDT) Received: from tux.intra.mspvcs.com (IDENT:root@[210.212.251.21]) by md3.vsnl.net.in (8.9.3/8.9.3) with ESMTP id MAA10704 for ; Thu, 14 Sep 2000 12:51:25 +0530 (IST) Received: from localhost (anand@localhost) by tux.intra.mspvcs.com (8.9.3/8.8.7) with ESMTP id MAA01593 for ; Thu, 14 Sep 2000 12:38:31 +0530 Date: Thu, 14 Sep 2000 12:37:16 +0530 (IST) From: Lakshmi Anand K To: linux-india-programmers@lists.linux-india.org Subject: Portable UI for Windows Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/75 Err... What I need now is a portable ui for Win32, for a mu-P 8085 simulation program (*too* low bandwidth to check if one exists already). Can I use ncurses in Windows? --------------- Lakshmi Anand K. MSPV Group Pavoorchatram From linux-india-programmers-owner@lists.linux-india.org Thu Sep 14 08:58:07 2000 Received: from netscape.com (h-205-217-237-46.netscape.com [205.217.237.46]) by www.aunet.org (Postfix) with ESMTP id 6DFC34A0AD for ; Thu, 14 Sep 2000 08:58:02 -0700 (PDT) Received: from judge.mcom.com (judge.mcom.com [205.217.237.53]) by netscape.com (8.10.0/8.10.0) with ESMTP id e8EFimV12061 for ; Thu, 14 Sep 2000 08:44:48 -0700 (PDT) Received: from netscape.com ([208.12.45.34]) by judge.mcom.com (Netscape Messaging Server 4.15) with ESMTP id G0VW8002.46O; Thu, 14 Sep 2000 08:55:12 -0700 Message-ID: <39C0F4E0.87E98E0D@netscape.com> Date: Thu, 14 Sep 2000 08:55:12 -0700 From: Sudhakar Chandra Organization: A Doubleplusgood Mega Corporation X-Mailer: Mozilla 4.75b1 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en, fr MIME-Version: 1.0 To: smpsahd@vsnl.com Cc: linux-india-programmers@lists.linux-india.org Subject: Re: [LIG] Problem regarding JDBC Driver References: <39C0758A.674DF778@icenet.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/76 SMPS proclaimed: > I've succesfully installed PostgreSQL7.0 and the database is > just upright. Well, Now I've been trying to install the JDBC Driver. > Well, I've been facing some problem while putting up the > "make" command from the location '/usr/src/pgsql/src/interfaces/jdbc' > but it was giving me the following error. > > (echo "package org.postgresql;" ;\ > echo "public class DriverClass {" ;\ > echo "public static String > connectClass=\"org.postgresql.jdbc2.Connection\";" ;\ > echo "}" \ > ) >usr/src/pgsql/src/interfaces/jdbc/org/postgresql/DriverClass.java > /bin/sh:usr/src/pgsql/src/interfaces/jdbc/org/postgresql/DriverClass.java: > > No such file or directory. > make:*** [jdbc2] Error 1 Hi, You have posted your message to a mailing list that is not the appropriate forum for such questions. You will have better sucess posting your question to linux-india-programmers@lists.linux-india.org Please take a moment to familiarize yourself with the various mailing lists and their purpose by going to http://lists.linux-india.org/ -- Bart: I don't want to take drugs. Homer: Sure you do. All your favorite stars abuse drugs. Brett Butler, Tim Allen ... Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave From linux-india-programmers-owner@lists.linux-india.org Thu Sep 14 09:16:57 2000 Received: from rmx452-mta.mail.com (rmx452-mta.mail.com [165.251.48.46]) by www.aunet.org (Postfix) with ESMTP id 8A29F4A037 for ; Thu, 14 Sep 2000 02:45:48 -0700 (PDT) Received: from web444-ec.mail.com (web444-ec.mail.com [165.251.32.99]) by rmx452-mta.mail.com (8.9.3/8.9.3) with SMTP id FAA27900 for ; Thu, 14 Sep 2000 05:41:50 -0400 (EDT) Message-ID: <385211311.968924509861.JavaMail.root@web444-ec.mail.com> Date: Thu, 14 Sep 2000 05:41:49 -0400 (EDT) From: Ashish Bansal To: linux-india-programmers@lists.linux-india.org Subject: help: configuring jsp on apache webserver Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: mail.com X-Originating-IP: 203.197.220.25 X-Archive-Number: 200009/77 hello friends.. i need ur help. actually i m installing gnujsp on my system.. but i m not able to configure it with apache web server..the server makes the class files but during interpreting them it gives the exceptions..it says org....httpreturn class not found.. where i will find this class.. can u plz tell me .its urgent.. bye ashish ----------------------------------------------- FREE! The World's Best Email Address @email.com Reserve your name now at http://www.email.com From linux-india-programmers-owner@lists.linux-india.org Thu Sep 14 11:50:02 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 549DE4A196 for ; Thu, 14 Sep 2000 11:49:45 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id LAA06806 for linux-india-programmers@lists.linux-india.org; Thu, 14 Sep 2000 11:46:48 -0700 Date: Thu, 14 Sep 2000 11:46:48 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: help: configuring jsp on apache webserver Message-ID: <20000914114647.A6798@sharmas.dhs.org> References: <385211311.968924509861.JavaMail.root@web444-ec.mail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <385211311.968924509861.JavaMail.root@web444-ec.mail.com>; from i_love_linux@email.com on Thu, Sep 14, 2000 at 05:41:49AM -0400 X-Archive-Number: 200009/78 On Thu, Sep 14, 2000 at 05:41:49AM -0400, Ashish Bansal wrote: > hello friends.. > > i need ur help. actually i m installing gnujsp on my system.. Sorry, can't help you on that. But I'd suggest looking at: http://jakarta.apache.org/ -Arun From linux-india-programmers-owner@lists.linux-india.org Thu Sep 14 21:14:24 2000 Received: from debian.lateralsoftware.com (unknown [203.199.224.71]) by www.aunet.org (Postfix) with ESMTP id 7FCC14A2B2 for ; Thu, 14 Sep 2000 21:14:14 -0700 (PDT) Received: from ilugkernel by debian.lateralsoftware.com with local (Exim 3.12 #1 (Debian)) id 13ZrzD-0000Kt-00 for ; Fri, 15 Sep 2000 15:10:47 +0530 Date: Fri, 15 Sep 2000 15:10:46 +0530 From: ILUGKernel To: linux-india-programmers@lists.linux-india.org Subject: Re: Portable UI for Windows Message-ID: <20000915151046.A1094@debian.lateralsoftware.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i In-Reply-To: ; from anand@mspvcs.com on Thu, Sep 14, 2000 at 12:37:16PM +0530 X-Archive-Number: 200009/79 On Thu, Sep 14, 2000 at 12:37:16PM +0530, Lakshmi Anand K wrote: > Err... What I need now is a portable ui for Win32, for a mu-P 8085 > simulation program (*too* low bandwidth to check if one exists already). > Can I use ncurses in Windows? QT Toolkit is pretty lightweight...But I think the windows licences costs a bombshell I think TCL/TK will be a good choice. Its pretty light and Free :-). http://www.scriptics.com . 'You want your program to run in windows/Linux/any other platform..... TCl?TK should be the coice for you Vanakkam and Salamz > > --------------- > Lakshmi Anand K. > MSPV Group > Pavoorchatram > > > --------------------------------------------- > 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 Sep 14 21:48:10 2000 Received: from web9210.mail.yahoo.com (web9210.mail.yahoo.com [216.136.129.43]) by www.aunet.org (Postfix) with SMTP id 8C36F4A375 for ; Thu, 14 Sep 2000 21:48:04 -0700 (PDT) Message-ID: <20000915044513.15996.qmail@web9210.mail.yahoo.com> Received: from [202.9.170.33] by web9210.mail.yahoo.com; Thu, 14 Sep 2000 21:45:13 PDT Date: Thu, 14 Sep 2000 21:45:13 -0700 (PDT) From: john slater Subject: Re: Portable UI for Windows To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200009/80 hello i have problem in instalation of linux, when i boot from the CD-ROM driver, i get the wel come screen,at the boot prompt it gets struck boot: loading initrd.img......... loading vmlinuz......... and get struck. i am using cyrix GXM processor 233 mhz, with in build cyrix vga card, and cyrix sound card. Can some tell me how to go ahead. thanks x John --- ILUGKernel wrote: > On Thu, Sep 14, 2000 at 12:37:16PM +0530, Lakshmi > Anand K wrote: > > Err... What I need now is a portable ui for Win32, > for a mu-P 8085 > > simulation program (*too* low bandwidth to check > if one exists already). > > Can I use ncurses in Windows? > QT Toolkit is pretty lightweight...But I think the > windows licences costs a bombshell > > I think TCL/TK will be a good choice. Its pretty > light and Free :-). http://www.scriptics.com . > > 'You want your program to run in windows/Linux/any > other platform..... > TCl?TK should be the coice for you > > Vanakkam and Salamz > > > > > > > > --------------- > > Lakshmi Anand K. > > MSPV Group > > Pavoorchatram > > > > > > --------------------------------------------- > > 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 > > --------------------------------------------- > 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 ===== John Slater #123, Hooly Wood LA, CA 34523 __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Thu Sep 14 23:04:43 2000 Received: from delfile.trust.del.estart.com (unknown [203.144.96.135]) by www.aunet.org (Postfix) with ESMTP id C4D924A019 for ; Thu, 14 Sep 2000 23:04:36 -0700 (PDT) Received: from delmail.del.estart.com (delmail.del.estart.com [10.200.1.4]) by delfile.trust.del.estart.com (8.9.3/8.9.3) with SMTP id LAA25637 for ; Fri, 15 Sep 2000 11:31:37 +0530 Received: from AMBAR (dsdel-97-66.del.estart.com [203.144.97.66]) by delmail.del.estart.com (8.9.3/8.9.3) with SMTP id LAA19432 for ; Fri, 15 Sep 2000 11:31:33 +0530 Message-ID: <003901c01ed9$9f391a30$8200000a@aclindia.com> From: "Ambar Roy" To: References: <385211311.968924509861.JavaMail.root@web444-ec.mail.com> Subject: Re: help: configuring jsp on apache webserver Date: Fri, 15 Sep 2000 11:25:54 +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: 200009/81 > i need ur help. actually i m installing gnujsp on my system.. > but i m not able to configure it with apache web server..the server makes > the class files but during interpreting them it gives the exceptions..it > says org....httpreturn class not found.. > where i will find this class.. > can u plz tell me .its urgent.. why don't u try installing tomcat instead!!, i agree that this is not the answer you are looking for, but tomcat is much better if u wan't to run jsps. It is the official reference implementation of JSP 1.1. Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Thu Sep 14 23:12:08 2000 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id D2F8A4A113 for ; Thu, 14 Sep 2000 23:11:20 -0700 (PDT) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id LAA31113 for ; Fri, 15 Sep 2000 11:36:59 +0530 Date: Fri, 15 Sep 2000 11:36:59 +0530 (IST) From: Shubhendu <97co266@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/82 dear friends i have just started unix n/w programming , i want to do something on sockets implementation presently i m referring Rechard steven's n/w programming book and advance unix programming book by the same author if some other sources are available for it please send me pointers to them thanks in advance ..... regards shubh From linux-india-programmers-owner@lists.linux-india.org Thu Sep 14 23:20:43 2000 Received: from inet-smtp4.us.oracle.com (inet-smtp4.oracle.com [209.246.15.58]) by www.aunet.org (Postfix) with ESMTP id 6D8E34A567 for ; Thu, 14 Sep 2000 23:19:37 -0700 (PDT) Received: from gmgw01.us.oracle.com (gmgw01.us.oracle.com [130.35.61.190]) by inet-smtp4.us.oracle.com (8.9.3/8.9.3) with ESMTP id XAA06338 for ; Thu, 14 Sep 2000 23:18:02 -0700 (PDT) Received: from INCQ249A.idc.oracle.com (incq249a.idc.oracle.com [152.69.168.249]) by gmgw01.us.oracle.com (8.8.8+Sun/8.8.8) with SMTP id XAA12902 for ; Thu, 14 Sep 2000 23:16:41 -0700 (PDT) From: Arvind Devarajan Date: Fri, 15 Sep 2000 06:14:13 GMT Message-ID: <20000915.6141300@INCQ249A.idc.oracle.com> Subject: Re: 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: 200009/83 hi shubh, i guess you've started with the right book. every starter, in fact does=20 the same. arvind. >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 9/15/00, 11:36:59 AM, Shubhendu <97co266@svrec.ernet.in> wrote regarding= =20 [LIP]: > dear friends > i have just started unix n/w programming , i want to do something on > sockets implementation presently i m referring Rechard steven's n/w > programming book and advance unix programming book by the same author > if some other sources are available for it please send me pointers to=20 them > thanks in advance ..... > regards > shubh > --------------------------------------------- > 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 Sep 14 23:38:47 2000 Received: from mail.cysphere.com (unknown [203.197.248.131]) by www.aunet.org (Postfix) with ESMTP id 945EB4A12B for ; Thu, 14 Sep 2000 23:38:30 -0700 (PDT) Received: from ralhan ([203.197.248.133]) by mail.cysphere.com (Post.Office MTA v3.5.3 release 223 ID# 0-63969U100L2S100V35) with SMTP id com for ; Fri, 15 Sep 2000 12:05:33 +0530 From: ralhan@cysphere.com (ralhan) To: Subject: RE: help: configuring jsp on apache webserver Date: Fri, 15 Sep 2000 12:04:37 +0530 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 In-Reply-To: <385211311.968924509861.JavaMail.root@web444-ec.mail.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Archive-Number: 200009/84 can u send the three config files to me. and i can check but there is one another issue that apache jserv doesnto support latest servlet specfication as well as i think gnu jsp also are not latest jsp specification( not sure) .so if you ahve no apprehensions then go for tomcat or resin( www.caucho.com ) or orion server.they are far better in terms of functionality and as well as performance. if you wnat to support virtual hostign then please go for resin as tomcat doesnot support till now Reagrds Ralhan > -----Original Message----- > From: linux-india-programmers-owner@lists.linux-india.org > [mailto:linux-india-programmers-owner@lists.linux-india.org]On Behalf Of > Ashish Bansal > Sent: Thursday, September 14, 2000 3:12 PM > To: linux-india-programmers@lists.linux-india.org > Subject: [LIP] help: configuring jsp on apache webserver > > > hello friends.. > > i need ur help. actually i m installing gnujsp on my system.. > but i m not able to configure it with apache web server..the server makes > the class files but during interpreting them it gives the exceptions..it > says org....httpreturn class not found.. > where i will find this class.. > can u plz tell me .its urgent.. > > bye > ashish > > > ----------------------------------------------- > FREE! The World's Best Email Address @email.com > Reserve your name now at http://www.email.com > > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP > From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 00:18:13 2000 Received: from bom8.vsnl.net.in (bom8.vsnl.net.in [202.54.4.125]) by www.aunet.org (Postfix) with ESMTP id 75D204A031 for ; Fri, 15 Sep 2000 00:16:08 -0700 (PDT) Received: from noname (PPP-203-197-6-204.bom.vsnl.net.in [203.197.6.204]) by bom8.vsnl.net.in (8.9.2/8.9.2) with SMTP id MAA23043 for ; Fri, 15 Sep 2000 12:38:44 +0500 (GMT+0500) Message-ID: <001e01c01ee4$9594af20$cc06c5cb@noname> From: "Arsalan Zaidi" To: Subject: RPC or TCP/IP? Date: Fri, 15 Sep 2000 12:39: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: 200009/85 Hi. Is there any compelling reason to use RPC's instead of TCP/IP directly? Both NFS and CODA use RPCs. Instead of calling an RPC function directly, why can't I sent the command over as plain text and have it interpreteded and executed on the server? e.g. FTP offers us the ability to move around a remote file system, open and close files, mk dirs etc withiout RPC... --Arsalan. From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 00:31:00 2000 Received: from nwd2dns5.analog.com (nwd2gtw1.analog.com [137.71.23.34]) by www.aunet.org (Postfix) with ESMTP id 726A24A2A4 for ; Fri, 15 Sep 2000 00:30:58 -0700 (PDT) Received: from nwd2gtw1 (nwd2gtw1dmz1 [137.71.25.98]) by nwd2dns5.analog.com (8.9.3 (PHNE_18979)/8.9.3) with SMTP id DAA13841 for ; Fri, 15 Sep 2000 03:28:05 -0400 (EDT) Received: from ipdc_tokyo.spd.analog.com (root@ipdc_tokyo.spd.analog.com [137.71.79.135]) by zeus.spd.analog.com (8.8.6/8.8.6) with ESMTP id DAA17508 for ; Fri, 15 Sep 2000 03:27:58 -0400 (EDT) Received: from analog.com (IDENT:kouzik@ipdc_tokyo.spd.analog.com [137.71.79.135]) by ipdc_tokyo.spd.analog.com (8.9.3/8.8.7) with ESMTP id NAA22030 for ; Fri, 15 Sep 2000 13:03:26 +0530 Message-ID: <39C1D0C5.C2D68940@analog.com> Date: Fri, 15 Sep 2000 13:03:25 +0530 From: Kousik Nandy Organization: Analog Devices Inc. X-Mailer: Mozilla 4.75 [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: RPC or TCP/IP? References: <001e01c01ee4$9594af20$cc06c5cb@noname> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/86 Arsalan Zaidi wrote: > Is there any compelling reason to use RPC's instead of TCP/IP > directly? Both NFS and CODA use RPCs. > > ... why can't I sent the command over as plain text and have it > interpreteded and executed on the server? e.g. FTP ... Maybe transparency maintenance is the issue. Say when you've mounted a NFS volume, you just chdir to that directory and say "ls". It really doesn't matter what listing you see is on local machine or on a remote one. But in case of FTP (as in your example) you have to be aware of the fact `I am now on a remote machine'. From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 04:09:30 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id 5E96749F6E for ; Fri, 15 Sep 2000 04:09:26 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id HAA02505 for ; Fri, 15 Sep 2000 07:06:34 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id HAA19960 for ; Fri, 15 Sep 2000 07:06:32 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Fri, 15 Sep 2000 16:44:37 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E01F19F07@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: profiler Date: Fri, 15 Sep 2000 16:44:41 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/87 anybody can give me some poineters to material of the working of profilers ? Are there any good public domain/GNU linux-based profilers ? Shourya.Sarcar@geind.ge.com ___________________________________________________________________________ Global Software Platforms GE Medical Systems A1 Golden Enclave, Airport Road, Bangalore, India 560 017 Tel : +91-80-526 3121|3496 Ext 362 Surf : www.ge.com| www.gemedicalsystems.com | www.wiproge.com |www.shourya.com From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 04:12:05 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id 1E7D749F6E for ; Fri, 15 Sep 2000 04:12:04 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id HAA03556 for ; Fri, 15 Sep 2000 07:09:12 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id HAA21063 for ; Fri, 15 Sep 2000 07:09:10 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Fri, 15 Sep 2000 16:47:16 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E01F19F26@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: profiler Date: Fri, 15 Sep 2000 16:47:19 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/88 anyway, her are some links for those who might be interested (and are as lazy as me to shoot of mails before checking p thoroughly:) http://www.gnu.org/manual/gprof-2.9.1/html_mono/gprof.html [o]-----Original Message----- [o]From: Sarcar, Shourya (MED) [mailto:Shourya.Sarcar@geind.ge.com] [o]Sent: Friday, September 15, 2000 4:45 PM [o]To: linux-india-programmers@lists.linux-india.org [o]Subject: [LIP] profiler [o] [o] [o]anybody can give me some poineters to material of the [o]working of profilers ? [o]Are there any good public domain/GNU linux-based profilers ? [o] From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 04:12:38 2000 Received: from vecmail.inet (madan-vsnl.chn.vsnl.net.in [202.54.63.237]) by www.aunet.org (Postfix) with ESMTP id B83804A167 for ; Fri, 15 Sep 2000 04:12:33 -0700 (PDT) Received: from ga-26 ([192.168.19.13]) by vecmail.inet (Netscape Messaging Server 3.01) with SMTP id 221 for ; Fri, 15 Sep 2000 16:42:49 +0530 Message-ID: <007701c01f06$007b2870$0d13a8c0@ga-26.inet> From: "BIJU THANKACHAN" To: Subject: Re: Date: Fri, 15 Sep 2000 16:43:39 +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 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Archive-Number: 200009/89 u r choice is absulately right, i also started couple of days back and finding it very nice( easy to understand) u can supplement it that with vijay mukhi's C odessey ( i think vol 3) -----Original Message----- From: Shubhendu <97co266@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Date: Friday, September 15, 2000 11:45 AM Subject: [LIP] >dear friends > >i have just started unix n/w programming , i want to do something on >sockets implementation presently i m referring Rechard steven's n/w >programming book and advance unix programming book by the same author > >if some other sources are available for it please send me pointers to them > >thanks in advance ..... > >regards > >shubh > > >--------------------------------------------- >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 Sep 15 04:38:08 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id 4023B49F4B for ; Fri, 15 Sep 2000 04:38:06 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id HAA14440 for ; Fri, 15 Sep 2000 07:35:14 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id HAA04512 for ; Fri, 15 Sep 2000 07:35:12 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Fri, 15 Sep 2000 17:13:18 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E01F19FA6@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: Date: Fri, 15 Sep 2000 17:13:16 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/90 you cold also check out the book(s) on TCP/IP by Comer and the volumes by Stevens himself (separate from the N/W prog book). i think that is called TCP Illustrated or something. Shourya [o]-----Original Message----- [o]From: BIJU THANKACHAN [mailto:bt@vecmail.inet.vec.ac.in] [o]Sent: Friday, September 15, 2000 4:44 PM [o]To: linux-india-programmers@lists.linux-india.org [o]Subject: Re: [LIP] [o] [o] [o]u r choice is absulately right, i also started couple of [o]days back and [o]finding it very nice( easy to understand) [o]u can supplement it that with vijay mukhi's C odessey ( i [o]think vol 3) [o]-----Original Message----- [o]From: Shubhendu <97co266@vikram.svrec.ernet.in> [o]To: linux-india-programmers@lists.linux-india.org [o] [o]Date: Friday, September 15, 2000 11:45 AM [o]Subject: [LIP] [o] [o] [o]>dear friends [o]> [o]>i have just started unix n/w programming , i want to do [o]something on [o]>sockets implementation presently i m referring Rechard steven's n/w [o]>programming book and advance unix programming book by the [o]same author [o]> [o]>if some other sources are available for it please send me [o]pointers to them [o]> [o]>thanks in advance ..... [o]> [o]>regards [o]> [o]>shubh [o]> [o]> [o]>--------------------------------------------- [o]>LIP is all for free speech. But it was created [o]>for a purpose. Violations of the rules of [o]>this list will result in stern action. [o]> [o] [o] [o]--------------------------------------------- [o]LIP is all for free speech. But it was created [o]for a purpose. Violations of the rules of [o]this list will result in stern action. [o] From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 05:27:49 2000 Received: from bom8.vsnl.net.in (bom8.vsnl.net.in [202.54.4.125]) by www.aunet.org (Postfix) with ESMTP id D18014A163 for ; Fri, 15 Sep 2000 05:27:45 -0700 (PDT) Received: from noname (PPP-203-197-4-74.bom.vsnl.net.in [203.197.4.74]) by bom8.vsnl.net.in (8.9.2/8.9.2) with SMTP id RAA07814 for ; Fri, 15 Sep 2000 17:50:24 +0500 (GMT+0500) Message-ID: <002201c01f10$1f047ee0$4a04c5cb@noname> From: "Arsalan Zaidi" To: References: <001e01c01ee4$9594af20$cc06c5cb@noname> <39C1D0C5.C2D68940@analog.com> Subject: Re: RPC or TCP/IP? Date: Fri, 15 Sep 2000 17:55:56 +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: 200009/91 Could be, but even FTP can be made transparent. For. e.g. in Emacs, you can transparently open up a file using ftp, edit it and then save it... Any other possible reasons? Anyone? --Arsalan. > Arsalan Zaidi wrote: > > > Is there any compelling reason to use RPC's instead of TCP/IP > > directly? Both NFS and CODA use RPCs. > > > > ... why can't I sent the command over as plain text and have it > > interpreteded and executed on the server? e.g. FTP ... > > Maybe transparency maintenance is the issue. Say when you've mounted > a NFS volume, you just chdir to that directory and say "ls". It > really doesn't matter what listing you see is on local machine or on > a remote one. But in case of FTP (as in your example) you have to > be aware of the fact `I am now on a remote machine'. > > --------------------------------------------- > 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 Sep 15 06:31:03 2000 Received: from web2103.mail.yahoo.com (web2103.mail.yahoo.com [128.11.68.247]) by www.aunet.org (Postfix) with SMTP id 36B1D4A15D for ; Fri, 15 Sep 2000 06:31:02 -0700 (PDT) Received: (qmail 9319 invoked by uid 60001); 15 Sep 2000 13:28:09 -0000 Message-ID: <20000915132809.9318.qmail@web2103.mail.yahoo.com> Received: from [210.214.240.235] by web2103.mail.yahoo.com; Fri, 15 Sep 2000 06:28:09 PDT Date: Fri, 15 Sep 2000 06:28:09 -0700 (PDT) From: Rajeev Joseph Reply-To: rajeevjsv@yahoo.com Subject: RE: To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200009/92 u can also try the following link for pretty basic sockets programming http://www.ecst.csuchico.edu/~beej/guide/net rajeevjsv --- "Sarcar, Shourya (MED)" wrote: > you cold also check out the book(s) on TCP/IP by > Comer and the volumes by > Stevens himself (separate from the N/W prog book). i > think that is called > TCP Illustrated or something. > > Shourya > > > [o]-----Original Message----- > [o]From: BIJU THANKACHAN > [mailto:bt@vecmail.inet.vec.ac.in] > [o]Sent: Friday, September 15, 2000 4:44 PM > [o]To: linux-india-programmers@lists.linux-india.org > [o]Subject: Re: [LIP] > [o] > [o] > [o]u r choice is absulately right, i also started > couple of > [o]days back and > [o]finding it very nice( easy to understand) > [o]u can supplement it that with vijay mukhi's C > odessey ( i > [o]think vol 3) > [o]-----Original Message----- > [o]From: Shubhendu <97co266@vikram.svrec.ernet.in> > [o]To: linux-india-programmers@lists.linux-india.org > [o] > [o]Date: Friday, September 15, 2000 11:45 AM > [o]Subject: [LIP] > [o] > [o] > [o]>dear friends > [o]> > [o]>i have just started unix n/w programming , i > want to do > [o]something on > [o]>sockets implementation presently i m referring > Rechard steven's n/w > [o]>programming book and advance unix programming > book by the > [o]same author > [o]> > [o]>if some other sources are available for it > please send me > [o]pointers to them > [o]> > [o]>thanks in advance ..... > [o]> > [o]>regards > [o]> > [o]>shubh > [o]> > [o]> > [o]>--------------------------------------------- > [o]>LIP is all for free speech. But it was created > [o]>for a purpose. Violations of the rules of > [o]>this list will result in stern action. > [o]> > [o] > [o] > [o]--------------------------------------------- > [o]LIP is all for free speech. But it was created > [o]for a purpose. Violations of the rules of > [o]this list will result in stern action. > [o] > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP __________________________________________________ Do You Yahoo!? Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 08:37:23 2000 Received: by www.aunet.org (Postfix, from userid 1001) id 7B3334A12F; Fri, 15 Sep 2000 08:37:22 -0700 (PDT) Date: Fri, 15 Sep 2000 08:37:22 -0700 From: List Admin To: linux-india-programmers@lists.linux-india.org Subject: [reghunathpd@usa.net: A Linux help ...please] Message-ID: <20000915083722.B30829@aunet.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="lrZ03NoBR/3+SXJZ" User-Agent: Mutt/1.0.1i X-Archive-Number: 200009/93 --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii --lrZ03NoBR/3+SXJZ Content-Type: message/rfc822 Return-Path: Delivered-To: listadmin@lists.linux-india.org Received: from www.aunet.org (localhost [127.0.0.1]) by www.aunet.org (Postfix) with SMTP id B528E4A1E8 for ; Thu, 14 Sep 2000 22:31:00 -0700 (PDT) Delivered-To: linux-india-help-lists.linux-india.org-owner@aunet.org Received: from nw178.netaddress.usa.net (nw178.netaddress.usa.net [204.68.24.78]) by www.aunet.org (Postfix) with SMTP id 424004A3C9 for ; Thu, 14 Sep 2000 22:12:13 -0700 (PDT) Received: (qmail 1712 invoked by uid 60001); 15 Sep 2000 05:09:21 -0000 Message-ID: <20000915050921.1711.qmail@nw178.netaddress.usa.net> Received: from 204.68.24.78 by nw178 for [203.197.150.68] via web-mailer(34FM.0700.4.03) on Fri Sep 15 05:09:21 GMT 2000 Date: 15 Sep 00 10:39:21 IST From: Reghunath P D To: linux-india-help-owner@lists.linux-india.org Subject: A Linux help ...please X-Mailer: USANET web-mailer (34FM.0700.4.03) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: majordomo2-owner@lists.linux-india.org Dear Sir, Here is my problem, Sub:InterProcess Communication in Linux There are two neverending, concurrent, independent process..P1 and P2 P1 is capable of generating some data.. and p2 is capable of consuming some data. P1 is a C Process. P2 is a Java Process. Q::No 1 ******* Is there exists any way to redirect the output of p1 , to p2 without disturbing p1 or p2..? ( With the use of pipes p2 has to wait for the completion of p1. = Any other way ?) Q::No 2 ******* if I have the rights to modify p2 (Java), How can I consume or use the o/p of p1. Q::No 3 ******* if i have the rights to modify p1 & p2,i think that sockets are usefull. = Any other way ? I 'll be very helpful if these problems are solved. Reghunath PD, MCA Student, Cochin University, South India. ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 --lrZ03NoBR/3+SXJZ-- From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 09:24:28 2000 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 864014A15D for ; Fri, 15 Sep 2000 09:23:22 -0700 (PDT) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id MAA00205 for ; Fri, 15 Sep 2000 12:18:58 +0530 Date: Fri, 15 Sep 2000 12:18:58 +0530 (IST) From: Shubhendu <97co266@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: socket implementation.. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/94 /* sorry for resenending this mail as last time i have forgot to put subject in the mail */ dear friends i have just started unix n/w programming , i want to do something on sockets implementation presently i m referring Rechard steven's n/w programming book and advance unix programming book by the same author if some other sources are available for it please send me pointers to them thanks in advance ..... regards shubh From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 10:31:18 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id CDD6D4A1C9 for ; Fri, 15 Sep 2000 10:31:16 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id KAA09585 for linux-india-programmers@lists.linux-india.org; Fri, 15 Sep 2000 10:28:16 -0700 Date: Fri, 15 Sep 2000 10:28:16 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: RPC or TCP/IP? Message-ID: <20000915102816.A9569@sharmas.dhs.org> References: <001e01c01ee4$9594af20$cc06c5cb@noname> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <001e01c01ee4$9594af20$cc06c5cb@noname>; from arsalan_zaidi@flashmail.com on Fri, Sep 15, 2000 at 12:39:43PM +0530 X-Archive-Number: 200009/95 On Fri, Sep 15, 2000 at 12:39:43PM +0530, Arsalan Zaidi wrote: > Hi. > > Is there any compelling reason to use RPC's instead of TCP/IP directly? Both > NFS and CODA use RPCs. You'll end up writing your own marshalling and unmarshalling routines. If you use RPC, you get that for free. -Arun From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 10:43:43 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id D7B0A4A1CB for ; Fri, 15 Sep 2000 10:38:08 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id KAA09642 for linux-india-programmers@lists.linux-india.org; Fri, 15 Sep 2000 10:35:08 -0700 Date: Fri, 15 Sep 2000 10:35:08 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: profiler Message-ID: <20000915103508.B9569@sharmas.dhs.org> References: <1196B5CB33DED311A73700508B6FEB1E01F19F26@ban03xbindge.geind.ge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <1196B5CB33DED311A73700508B6FEB1E01F19F26@ban03xbindge.geind.ge.com>; from Shourya.Sarcar@geind.ge.com on Fri, Sep 15, 2000 at 04:47:19PM +0530 X-Archive-Number: 200009/96 On Fri, Sep 15, 2000 at 04:47:19PM +0530, Sarcar, Shourya (MED) wrote: > anyway, her are some links for those who might be interested (and are as > lazy as me to shoot of mails before checking p thoroughly:) > > http://www.gnu.org/manual/gprof-2.9.1/html_mono/gprof.html Linux doesn't have some profiling mechanisms, thanks to Linus' insistence on keeping them out. FreeBSD has profil(2) referred to below. -Arun From the above URL: Profiling also involves watching your program as it runs, and keeping a histogram of where the program counter happens to be every now and then. Typically the program counter is looked at around 100 times per second of run time, but the exact frequency may vary from system to system. This is done is one of two ways. Most UNIX-like operating systems provide a profil() system call, which registers a memory array with the kernel, along with a scale factor that determines how the program's address space maps into the array. Typical scaling values cause every 2 to 8 bytes of address space to map into a single array slot. On every tick of the system clock (assuming the profiled program is running), the value of the program counter is examined and the corresponding slot in the memory array is incremented. Since this is done in the kernel, which had to interrupt the process anyway to handle the clock interrupt, very little additional system overhead is required. However, some operating systems, most notably Linux 2.0 (and earlier), do not provide a profil() system call. On such a system, arrangements are made for the kernel to periodically deliver a signal to the process (typically via setitimer()), which then performs the same operation of examining the program counter and incrementing a slot in the memory array. Since this method requires a signal to be delivered to user space every time a sample is taken, it uses considerably more overhead than kernel-based profiling. Also, due to the added delay required to deliver the signal, this method is less accurate as well. From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 10:43:48 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 1A71C4A1B5 for ; Fri, 15 Sep 2000 10:43:40 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id KAA09666; Fri, 15 Sep 2000 10:40:36 -0700 Date: Fri, 15 Sep 2000 10:40:36 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Cc: Reghunath P D Subject: Re: [reghunathpd@usa.net: A Linux help ...please] Message-ID: <20000915104036.C9569@sharmas.dhs.org> References: <20000915083722.B30829@aunet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000915083722.B30829@aunet.org>; from listadmin@aunet.org on Fri, Sep 15, 2000 at 08:37:22AM -0700 X-Archive-Number: 200009/97 On Fri, Sep 15, 2000 at 08:37:22AM -0700, List Admin wrote: > Q::No 1 > ******* > Is there exists any way to redirect the output of p1 , to p2 without > disturbing p1 or p2..? > Yes. Look at java.lang.Runtime - specifically java.lang.Proces.getOutputStream. > ( With the use of pipes p2 has to wait for the completion of p1. > Any other way ?) Wrong. With pipes, p1 and p2 can be doing their work concurrently. > > Q::No 2 > ******* > if I have the rights to modify p2 (Java), > How can I consume or use the o/p of p1. > see answer 1. > > Q::No 3 > ******* > if i have the rights to modify p1 & p2,i think that sockets are usefull. > Any other way ? On many OSes, pipes are basically UNIX domain sockets. -Arun From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 12:23:33 2000 Received: from nwcst314.netaddress.usa.net (nwcst314.netaddress.usa.net [204.68.23.59]) by www.aunet.org (Postfix) with SMTP id AC0EE4A212 for ; Fri, 15 Sep 2000 12:23:29 -0700 (PDT) Received: (qmail 25893 invoked by uid 60001); 15 Sep 2000 19:20:35 -0000 Message-ID: <20000915192035.25892.qmail@nwcst314.netaddress.usa.net> Received: from 204.68.23.59 by nwcst314 for [203.197.224.46] via web-mailer(34FM.0700.4.03) on Fri Sep 15 19:20:35 GMT 2000 Date: 15 Sep 00 13:20:35 MDT From: rajeev Kushwaha To: linux-india-programmers@lists.linux-india.org Subject: Re: [CNC Simulation Package] X-Mailer: USANET web-mailer (34FM.0700.4.03) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200009/98 "Lakshmi Anand K" wrote: Hi, Am interested in creating a opensource CNC simulation package. Any one on the same boat? not exactly but would like to. problem is i'm still new to linux programming, i know c , c++ and few other windows languages. learning java. I know CNC progaramming too. rajeev ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D1 From linux-india-programmers-owner@lists.linux-india.org Fri Sep 15 23:19:14 2000 Received: from gigi.excite.com (gigi.excite.com [199.172.152.110]) by www.aunet.org (Postfix) with ESMTP id 9280B4A12B for ; Fri, 15 Sep 2000 23:19:10 -0700 (PDT) Received: from bessie.excite.com ([199.172.152.102]) by gigi.excite.com (InterMail vM.4.01.02.39 201-229-119-122) with ESMTP id <20000916061614.RJZ29324.gigi.excite.com@bessie.excite.com> for ; Fri, 15 Sep 2000 23:16:14 -0700 Message-ID: <6081904.969084974755.JavaMail.imail@bessie.excite.com> Date: Fri, 15 Sep 2000 23:16:14 -0700 (PDT) From: ramesh subhash To: linux-india-programmers@lists.linux-india.org Subject: Re: socket implementation.. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Excite Inbox X-Sender-Ip: 203.197.176.230 X-Archive-Number: 200009/99 On Fri, 15 Sep 2000 12:18:58 +0530 (IST), linux-india-programmers@lists.linux-india.org wrote: > > /* sorry for resenending this mail as last time i have forgot to put > subject in the mail */ > > dear friends > > i have just started unix n/w programming , i want to do something on > sockets implementation presently i m referring Rechard steven's n/w > programming book and advance unix programming book by the same author > > if some other sources are available for it please send me pointers to them > > thanks in advance ..... > > regards > > shubh Ramesh replies..... It is better to refer 1) "TCP/IP Illustrated" vol 1,2,3 by Richard Stevens 2)"Network Programming for System V" by Stephan Rago _______________________________________________________ Say Bye to Slow Internet! http://www.home.com/xinbox/signup.html From linux-india-programmers-owner@lists.linux-india.org Sat Sep 16 02:25:33 2000 Received: from md3.vsnl.net.in (md3.vsnl.net.in [202.54.6.35]) by www.aunet.org (Postfix) with ESMTP id 41B084A098 for ; Sat, 16 Sep 2000 02:25:29 -0700 (PDT) Received: from host ([203.199.227.122]) by md3.vsnl.net.in (8.9.3/8.9.3) with ESMTP id OAA26149 for ; Sat, 16 Sep 2000 14:47:08 +0530 (IST) From: mailservice@icsoft-us.com Received: (qmail 3588 invoked by uid 512); 16 Sep 2000 09:01:43 -0000 Date: 16 Sep 2000 09:01:43 -0000 Message-ID: <20000916090143.3584.qmail@icsoft-us.com> To: linux-india-programmers@lists.linux-india.org X-Archive-Number: 200009/100 The user you wanted to contact is not present. Check the address that you sent to. -- Subject: Re: [LIP] socket implementation.. References: <6081904.969084974755.JavaMail.imail@bessie.excite.com> In-Reply-To: <6081904.969084974755.JavaMail.imail@bessie.excite.com> X-loop: mailservice@icsoft-us.com >On Fri, 15 Sep 2000 12:18:58 +0530 (IST), >linux-india-programmers@lists.linux-india.org wrote: >> >> /* sorry for resenending this mail as last time i have forgot to put >> subject in the mail */ >> >> dear friends >> >> i have just started unix n/w programming , i want to do something on >> sockets implementation presently i m referring Rechard steven's n/w >> programming book and advance unix programming book by the same author >> >> if some other sources are available for it please send me pointers to >them >> >> thanks in advance ..... >> >> regards >> >> shubh >Ramesh replies..... > It is better to refer > 1) "TCP/IP Illustrated" vol 1,2,3 > by Richard Stevens > 2)"Network Programming for System V" > by Stephan Rago >_______________________________________________________ >Say Bye to Slow Internet! >http://www.home.com/xinbox/signup.html >--------------------------------------------- >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 Sat Sep 16 03:51:13 2000 Received: from md3.vsnl.net.in (md3.vsnl.net.in [202.54.6.35]) by www.aunet.org (Postfix) with ESMTP id 266E04A32D for ; Sat, 16 Sep 2000 03:50:07 -0700 (PDT) Received: from pagladashu.lateralsoftware.com ([203.199.224.184]) by md3.vsnl.net.in (8.9.3/8.9.3) with SMTP id QAA02228 for ; Sat, 16 Sep 2000 16:11:26 +0530 (IST) From: Archan Paul Reply-To: kernelcoder@yahoo.com To: linux-india-programmers@lists.linux-india.org Subject: RE: Date: Sat, 16 Sep 2000 16:07:06 +0530 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain References: <1196B5CB33DED311A73700508B6FEB1E01F19FA6@ban03xbindge.geind.ge.com> In-Reply-To: <1196B5CB33DED311A73700508B6FEB1E01F19FA6@ban03xbindge.geind.ge.com> MIME-Version: 1.0 Message-Id: <00091616094004.01876@pagladashu.lateralsoftware.com> Content-Transfer-Encoding: 8bit X-Archive-Number: 200009/101 Please checkout the latest 2vol edition of Unix Network Programming by stevens as this is a nice integrated version of old Unixnetwork programming and TCP/IP illustrated. (i got it from amazon... I don't know whether it is available in Indian price) Archan Paul Lateral Linux Labs ICQ - 61737056 archanp@bigfoot.com On Fri, 15 Sep 2000, you wrote: > you cold also check out the book(s) on TCP/IP by Comer and the volumes by > Stevens himself (separate from the N/W prog book). i think that is called > TCP Illustrated or something. > > Shourya > From linux-india-programmers-owner@lists.linux-india.org Sat Sep 16 03:54:56 2000 Received: from fortune.excite.com (fortune-rwcmta.excite.com [198.3.99.203]) by www.aunet.org (Postfix) with ESMTP id 88CCD4A0D3 for ; Sat, 16 Sep 2000 03:54:55 -0700 (PDT) Received: from knuckles.excite.com ([199.172.148.179]) by fortune.excite.com (InterMail vM.4.01.02.39 201-229-119-122) with ESMTP id <20000916105159.XZT28416.fortune.excite.com@knuckles.excite.com> for ; Sat, 16 Sep 2000 03:51:59 -0700 Message-ID: <32411335.969101519142.JavaMail.imail@knuckles.excite.com> Date: Sat, 16 Sep 2000 03:51:59 -0700 (PDT) From: honne gowda gowda To: linux-india-programmers@lists.linux-india.org Subject: u-area in LINUX? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Excite Inbox X-Sender-Ip: 203.197.176.146 X-Archive-Number: 200009/102 hello everybody, i just started grepping the source code of kernel 2.0.0.35 , is there any kind of u-area(as Bach and others explain) in Linux. pls,explain me if u know. Thanx in advance. honne _______________________________________________________ Say Bye to Slow Internet! http://www.home.com/xinbox/signup.html From linux-india-programmers-owner@lists.linux-india.org Sat Sep 16 06:44:29 2000 Received: from md3.vsnl.net.in (md3.vsnl.net.in [202.54.6.35]) by www.aunet.org (Postfix) with ESMTP id 38AAD4A0EE for ; Sat, 16 Sep 2000 06:44:18 -0700 (PDT) Received: from host ([203.199.227.94]) by md3.vsnl.net.in (8.9.3/8.9.3) with ESMTP id TAA15988 for ; Sat, 16 Sep 2000 19:05:54 +0530 (IST) From: mailservice@icsoft-us.com Received: (qmail 5362 invoked by uid 512); 16 Sep 2000 12:46:35 -0000 Date: 16 Sep 2000 12:46:35 -0000 Message-ID: <20000916124635.5358.qmail@icsoft-us.com> To: linux-india-programmers@lists.linux-india.org X-Archive-Number: 200009/103 The user you wanted to contact is not present. Check the address that you sent to. -- Subject: Re: [LIP] u-area in LINUX? References: <32411335.969101519142.JavaMail.imail@knuckles.excite.com> In-Reply-To: <32411335.969101519142.JavaMail.imail@knuckles.excite.com> X-loop: mailservice@icsoft-us.com >hello everybody, >i just started grepping the source code of kernel 2.0.0.35 >, is there any kind of u-area(as Bach and others explain) >in Linux. >pls,explain me if u know. >Thanx in advance. >honne >_______________________________________________________ >Say Bye to Slow Internet! >http://www.home.com/xinbox/signup.html >--------------------------------------------- >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 Sun Sep 17 03:23:13 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 2FD6A4A02C for ; Sun, 17 Sep 2000 03:23:06 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id PAA26999 for ; Sun, 17 Sep 2000 15:45:03 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id PAA25537 for ; Sun, 17 Sep 2000 15:48:03 +0500 (GMT) Received: from yaksha.wipro.com ([192.168.2.78]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA3F88; Sun, 17 Sep 2000 15:48:45 +0530 Date: Sun, 17 Sep 2000 15:55:06 +0530 (IST) From: "Sharad Joshi" X-Sender: sharadj@yaksha.wipro.com Reply-To: Sharad Joshi To: Arun Sharma Cc: linux-india-programmers@lists.linux-india.org Subject: Re: profiler In-Reply-To: <20000915103508.B9569@sharmas.dhs.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/104 On Fri, 15 Sep 2000, Arun Sharma wrote: + On Fri, Sep 15, 2000 at 04:47:19PM +0530, Sarcar, Shourya (MED) wrote: + > anyway, her are some links for those who might be interested (and are as + > lazy as me to shoot of mails before checking p thoroughly:) + > + > http://www.gnu.org/manual/gprof-2.9.1/html_mono/gprof.html + + Linux doesn't have some profiling mechanisms, thanks to Linus' + insistence on keeping them out. FreeBSD has profil(2) referred + to below. Well, AFAICR, someone in SGI wrote a profiler patch for Linux kernel 2.2.10+ I dont remember the exact URL, but the original poster can search SGI site. Sharad. From linux-india-programmers-owner@lists.linux-india.org Sun Sep 17 08:39:43 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 784E24A1BE for ; Sun, 17 Sep 2000 08:39:40 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id IAA02705; Sun, 17 Sep 2000 08:34:03 -0700 Date: Sun, 17 Sep 2000 08:34:03 -0700 From: Arun Sharma To: Sharad Joshi Cc: linux-india-programmers@lists.linux-india.org Subject: Re: profiler Message-ID: <20000917083403.A2698@sharmas.dhs.org> References: <20000915103508.B9569@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from sharad.joshi@wipro.com on Sun, Sep 17, 2000 at 03:55:06PM +0530 X-Archive-Number: 200009/105 On Sun, Sep 17, 2000 at 03:55:06PM +0530, Sharad Joshi wrote: > Well, AFAICR, someone in SGI wrote a profiler patch for Linux kernel > 2.2.10+ I dont remember the exact URL, but the original poster can search > SGI site. Just like the kernel debugger right :-) ? -Arun From linux-india-programmers-owner@lists.linux-india.org Sun Sep 17 11:14:48 2000 Received: from md4.vsnl.net.in (md4.vsnl.net.in [202.54.6.60]) by www.aunet.org (Postfix) with ESMTP id 395254A16B for ; Sun, 17 Sep 2000 11:14:42 -0700 (PDT) Received: from localhost.localdomain ([203.197.152.126]) by md4.vsnl.net.in (8.9.3/8.9.3) with ESMTP id XAA10055 for ; Sun, 17 Sep 2000 23:46:47 +0530 (IST) Date: Sun, 17 Sep 2000 09:31:24 +0530 From: Atul Mehta To: Linux India Programmer Subject: make doubts Message-ID: <20000917093124.A481@anand> Mail-Followup-To: Linux India Programmer Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i X-Archive-Number: 200009/106 Hi all, I had a small doubt abt GNU-make utility. That is are Makefiles cross-platform. For example do the make commands in some IDE's like VC++(ugh!!), or Borland IDE's(available in Linux) assume a standard Makefile to be present. And is the format of the Makefile the same every where?? TIA, -- Atul Mehta | atulm@md4.vsnl.net.in | GPG: 1DB8946A Oh this age! How tasteless and ill-bred it is. -- Gaius Valerius Catullus From linux-india-programmers-owner@lists.linux-india.org Sun Sep 17 13:00:18 2000 Received: from smtp2.mail.yahoo.com (smtp2.mail.yahoo.com [128.11.68.32]) by www.aunet.org (Postfix) with SMTP id 20C0C4A013 for ; Sun, 17 Sep 2000 13:00:17 -0700 (PDT) Received: from unknown (HELO yahoo.com) (203.197.194.136) by smtp.mail.vip.suc.yahoo.com with SMTP; 17 Sep 2000 19:57:13 -0000 X-Apparently-From: Message-ID: <39C5220C.22DCA369@yahoo.com> Date: Mon, 18 Sep 2000 01:27:00 +0530 From: Ashish kumar X-Mailer: Mozilla 4.7 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: The file soundcard References: <20000905205010.C325@mobile.nikhilwiz.net> <001f01c017c4$c8e05db0$9b01a8c0@MUTHU> <002101c017c5$aa5cab90$8200000a@aclindia.com> <39B5E596.17CCB119@pspl.co.in> <009101c017cf$b44cb910$8200000a@aclindia.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/107 Hi There. Can neone explain to me the conetnts of /usr/inlcude/linux/soundcard.h file I want to know everything about all the #defines in the dsp section . Thanx Ashish __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Sun Sep 17 20:34:45 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 603204A02D for ; Sun, 17 Sep 2000 20:34:40 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id IAA03834 for ; Mon, 18 Sep 2000 08:56:34 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id IAA07287 for ; Mon, 18 Sep 2000 08:59:34 +0500 (GMT) Received: from yaksha.wipro.com ([192.168.2.78]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA2546; Mon, 18 Sep 2000 09:00:15 +0530 Date: Mon, 18 Sep 2000 09:06:37 +0530 (IST) From: "Sharad Joshi" X-Sender: sharadj@yaksha.wipro.com Reply-To: Sharad Joshi To: Arun Sharma Cc: linux-india-programmers@lists.linux-india.org Subject: Re: profiler In-Reply-To: <20000917083403.A2698@sharmas.dhs.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/108 On Sun, 17 Sep 2000, Arun Sharma wrote: + On Sun, Sep 17, 2000 at 03:55:06PM +0530, Sharad Joshi wrote: + > Well, AFAICR, someone in SGI wrote a profiler patch for Linux kernel + > 2.2.10+ I dont remember the exact URL, but the original poster can search + > SGI site. + + Just like the kernel debugger right :-) ? + Yeah, i know that it is not the best in the world and can be improved in lots of ways, but it is good at least for a start. Sharad. From linux-india-programmers-owner@lists.linux-india.org Sun Sep 17 20:43:59 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id E485A4A01C for ; Sun, 17 Sep 2000 20:43:53 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id JAA04632 for ; Mon, 18 Sep 2000 09:05:51 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id JAA08172 for ; Mon, 18 Sep 2000 09:08:51 +0500 (GMT) Received: from yaksha.wipro.com ([192.168.2.78]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA31EA; Mon, 18 Sep 2000 09:09:33 +0530 Date: Mon, 18 Sep 2000 09:15:55 +0530 (IST) From: "Sharad Joshi" X-Sender: sharadj@yaksha.wipro.com Reply-To: Sharad Joshi To: Atul Mehta Cc: Linux India Programmer Subject: Re: make doubts In-Reply-To: <20000917093124.A481@anand> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/109 + I had a small doubt abt GNU-make utility. That is are Makefiles + cross-platform. For example do the make commands in some IDE's like + VC++(ugh!!), or Borland IDE's(available in Linux) assume a standard + Makefile to be present. And is the format of the Makefile the same every + where?? If it is gnu make as you said, then no doubt, the same makefile can be used elsewhere, given, the commands you use to build the targets are same across all the platforms. Other 'make' utilities may use different Makefile formats. Sharad. From linux-india-programmers-owner@lists.linux-india.org Sun Sep 17 21:09:54 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 70FB24A092 for ; Sun, 17 Sep 2000 21:09:51 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id VAA03908; Sun, 17 Sep 2000 21:04:39 -0700 Date: Sun, 17 Sep 2000 21:04:39 -0700 From: Arun Sharma To: Sharad Joshi Cc: linux-india-programmers@lists.linux-india.org Subject: Re: profiler Message-ID: <20000917210439.A3892@sharmas.dhs.org> References: <20000917083403.A2698@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from sharad.joshi@wipro.com on Mon, Sep 18, 2000 at 09:06:37AM +0530 X-Archive-Number: 200009/110 On Mon, Sep 18, 2000 at 09:06:37AM +0530, Sharad Joshi wrote: > On Sun, 17 Sep 2000, Arun Sharma wrote: > > + On Sun, Sep 17, 2000 at 03:55:06PM +0530, Sharad Joshi wrote: > + > Well, AFAICR, someone in SGI wrote a profiler patch for Linux kernel > + > 2.2.10+ I dont remember the exact URL, but the original poster can search > + > SGI site. > + > + Just like the kernel debugger right :-) ? > + > > Yeah, i know that it is not the best in the world and can be improved in > lots of ways, but it is good at least for a start. I didn't mean to demean the quality of the code. I'm sure both the profiler and the debugger are good. I just meant that they don't go into the official kernel tree - therefore, not everyone can assume the presence of such code. In other words, these patches continue to be the "bastard children". There were some interesting "open letters" to Linus to contain his personal preferences hurting the larger user base. Benevolent dictatorships have their problems. -Arun From linux-india-programmers-owner@lists.linux-india.org Sun Sep 17 21:16:13 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 5579B49F48 for ; Sun, 17 Sep 2000 21:16:07 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id JAA07872 for ; Mon, 18 Sep 2000 09:38:04 +0500 (GMT) Received: from platinum.mail.wipro.com ([192.168.223.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id JAA11872 for ; Mon, 18 Sep 2000 09:41:04 +0500 (GMT) Received: from wipro.com ([192.168.205.43]) by platinum.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAAA05 for ; Mon, 18 Sep 2000 09:42:51 +0530 Message-ID: <39C598FF.E90B942C@wipro.com> Date: Mon, 18 Sep 2000 09:54:31 +0530 From: najim X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.5-15 i586) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: processor affinity in multithreaded environment Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: base64 X-Archive-Number: 200009/111 SGksDQpJIGFtIGRldmVsb3BpbmcgYSB0b29sIGZvciBiaW5kaW5nIHByb2Nl c3NlcyB0byBwcm9jZXNzb3JzLg0KSSBhbSBub3QgdmVyeSBtdWNoIHN1cmUg YWJvdXQgdGhlIGVmZmljaWVuY3kgb2YgIGltcGxlbWVudGluZyB0aGlzIGlu IGENCiBtdWx0aXRocmVhZGluZyBlbnZpcm9ubWVudC4gIEkgc2VhcmNoZWQg aW4gdGhlIHdlYiBmb3IgaXQgLCBidXQgZGlkbid0DQptZWV0DQp3aXRoIG11 Y2ggc3VjY2Vzcy4gSWYgYW55IG9mIHlvdSBrbm93ICBhbnkgcG9pbnRlcnMg dG8gcHJvY2Vzc29yDQphZmZpbml0eSBpbiBtdWx0aXRocmVhZGVkIGVudmly b25tZW50IHBsZWFzZSBzZW5kIG1lLg0KDQpUaGFua3MgaW4gQWR2YW5jZQ0K TmFqaQ0KDQoNCg== From linux-india-programmers-owner@lists.linux-india.org Sun Sep 17 23:10:55 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id B2DB74A026 for ; Sun, 17 Sep 2000 23:10:47 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id LAA17199 for ; Mon, 18 Sep 2000 11:32:43 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id LAA23193 for ; Mon, 18 Sep 2000 11:35:43 +0500 (GMT) Received: from yaksha.wipro.com ([192.168.2.78]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA115F; Mon, 18 Sep 2000 11:36:25 +0530 Date: Mon, 18 Sep 2000 11:42:47 +0530 (IST) From: "Sharad Joshi" X-Sender: sharadj@yaksha.wipro.com Reply-To: Sharad Joshi To: Arun Sharma Cc: linux-india-programmers@lists.linux-india.org Subject: Re: profiler In-Reply-To: <20000917210439.A3892@sharmas.dhs.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/112 On Sun, 17 Sep 2000, Arun Sharma wrote: + > + Just like the kernel debugger right :-) ? + > + + > Yeah, i know that it is not the best in the world and can be improved in + > lots of ways, but it is good at least for a start. + + I didn't mean to demean the quality of the code. I'm sure both the + profiler and the debugger are good. I just meant that they don't Ooops!! Misinterpreted!! *;-) Sharad. From linux-india-programmers-owner@lists.linux-india.org Mon Sep 18 22:33:25 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id E8BA44A022 for ; Mon, 18 Sep 2000 22:33:20 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id WAA06949 for linux-india-programmers@lists.linux-india.org; Mon, 18 Sep 2000 22:28:15 -0700 Date: Mon, 18 Sep 2000 22:28:15 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: u-area in LINUX? Message-ID: <20000918222814.A6910@sharmas.dhs.org> References: <32411335.969101519142.JavaMail.imail@knuckles.excite.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <32411335.969101519142.JavaMail.imail@knuckles.excite.com>; from honnegowda@excite.com on Sat, Sep 16, 2000 at 03:51:59AM -0700 X-Archive-Number: 200009/113 On Sat, Sep 16, 2000 at 03:51:59AM -0700, honne gowda gowda wrote: > hello everybody, > > i just started grepping the source code of kernel 2.0.0.35 > , is there any kind of u-area(as Bach and others explain) > in Linux. /usr/include/asm/user.h struct user is a part of struct task_struct. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Sep 18 22:37:17 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 7EAB84A0FC for ; Mon, 18 Sep 2000 22:37:13 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id WAA06972 for linux-india-programmers@lists.linux-india.org; Mon, 18 Sep 2000 22:32:08 -0700 Date: Mon, 18 Sep 2000 22:32:08 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: processor affinity in multithreaded environment Message-ID: <20000918223208.B6910@sharmas.dhs.org> References: <39C598FF.E90B942C@wipro.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39C598FF.E90B942C@wipro.com>; from naji.mohmed@wipro.com on Mon, Sep 18, 2000 at 09:54:31AM +0530 X-Archive-Number: 200009/114 On Mon, Sep 18, 2000 at 09:54:31AM +0530, najim wrote: > Hi, > I am developing a tool for binding processes to processors. > I am not very much sure about the efficiency of implementing this in a > multithreading environment. I searched in the web for it , but didn't > meet > with much success. If any of you know any pointers to processor > affinity in multithreaded environment please send me. Linux doesn't have such a mechanism built in. There are patches floating around on the net, implementing SGI's API for processor binding. Search the archives of linux-kernel for the patch. I myself submitted a patch to Linus sometime a couple of years ago. But I don't think it ever made it. -Arun From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 00:06:01 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id AF6F54A00A; Tue, 19 Sep 2000 00:05:44 -0700 (PDT) Received: from pspl.co.in (denpasar.intranet.pspl.co.in [192.168.1.22]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id e8J77H223921; Tue, 19 Sep 2000 12:37:17 +0530 Message-ID: <39C7105B.207D9D95@pspl.co.in> Date: Tue, 19 Sep 2000 12:36:03 +0530 From: Mandar Behere X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: lp , "linux-india-help@lists.linux-india.org" Subject: Working of Syslogd Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/115 Hi, I will like to know few things about Syslog. The main issues I am looking at are 1. Is it threadsafe ? 2. What is commonly followed strategy for backing up the syslog files specially for embedded Linux systems? 3. Is there any tool available to which will parse the log files and give me the information in an arranged manner ? I had looked at man pages for thread safe issue, but didn't get any pointer. Can anyone give me links/ pointers to these issues...? TIA, Mandar -- Mandar Prabhakar Behere Member of Technical Staff Persistent Systems Pvt. Ltd. Phone : office : 91-20-5676700 ext. 541 residence : 91-20-4485174 From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 04:18:35 2000 Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6]) by www.aunet.org (Postfix) with ESMTP id ED9624A0C2 for ; Tue, 19 Sep 2000 04:18:28 -0700 (PDT) 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 QAA11841 for ; Tue, 19 Sep 2000 16:54:11 GMT Received: from wipro.com ([192.168.178.17]) by ecmail.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA5095; Tue, 19 Sep 2000 16:37:01 +0530 Message-ID: <39C74BC4.90CBE367@wipro.com> Date: Tue, 19 Sep 2000 16:49:32 +0530 From: "Vibhu Rishi" X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: linux india , Linux India Subject: OSPF code Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/116 Hi, Does anyone know where I can get any information about the OSPF protocols , and any source code for an Internet Gateway which uses this protocol ? any pointers would be heartily appreciated. ( Right now I don't even know what this acronym means ! ) vibhu.. -- .......................................................................... To know the road ahead, ask those coming back. -Chinese Proverb -------------------------------------------------------------------------- Vibhu Rishi e@ vibhu.rishi@wipro.com Sr. Systems Engineer ring@ 8520408/416/419/420/424/425 WIPRO ext.: 2109 Electronic City - Bangalore -------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 04:22:43 2000 Received: from lotus.iitm.ernet.in (lotus.iitm.ac.in [206.103.12.236]) by www.aunet.org (Postfix) with ESMTP id 28D2C4A00E for ; Tue, 19 Sep 2000 04:22:37 -0700 (PDT) Received: from localhost (mahesh@localhost) by lotus.iitm.ernet.in (8.9.3/8.8.7) with ESMTP id QAA08568; Tue, 19 Sep 2000 16:52:00 +0530 Date: Tue, 19 Sep 2000 16:51:59 +0530 (IST) From: Uma Mahesh To: linux india Cc: Linux India Subject: Re: [linux-india-programmers] OSPF code In-Reply-To: <39C74BC4.90CBE367@wipro.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/117 OSPF stands for Open Shortest Path First. try www.freecode.com On Tue, 19 Sep 2000, Vibhu Rishi wrote: > -------------------------- eGroups Sponsor -------------------------~-~> > Free @Backup service! Click here for your free trial of @Backup. > @Backup is the most convenient way to securely protect and access > your files online. Try it now and receive 300 MyPoints. > http://click.egroups.com/1/6348/8/_/30164/_/969362112/ > ---------------------------------------------------------------------_-> > > Hi, > > Does anyone know where I can get any information about the OSPF > protocols , and any source code for an Internet Gateway which uses this > protocol ? any pointers would be heartily appreciated. ( Right now I > don't even know what this acronym means ! ) > > vibhu.. > > -- > .......................................................................... > > To know the road ahead, ask those coming back. -Chinese Proverb > -------------------------------------------------------------------------- > > Vibhu Rishi e@ vibhu.rishi@wipro.com > Sr. Systems Engineer ring@ 8520408/416/419/420/424/425 > WIPRO ext.: 2109 > Electronic City - Bangalore > -------------------------------------------------------------------------- > > > > > > -- ------------------------------------------------------------------------- URL : http://lotus.iitm.ac.in/~mahesh email : mahesh@lotus.iitm.ernet.in ------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 04:34:18 2000 Received: from arianne.in.ishoni.com (unknown [164.164.83.132]) by www.aunet.org (Postfix) with ESMTP id 8E4A84A128 for ; Tue, 19 Sep 2000 04:34:08 -0700 (PDT) Received: from kedar.in.ishoni.com (IDENT:kedar@kedar.in.ishoni.com [192.168.1.75]) by arianne.in.ishoni.com (8.9.3/8.9.3) with ESMTP id RAA08606 for ; Tue, 19 Sep 2000 17:05:02 +0530 Date: Tue, 19 Sep 2000 17:10:06 +0530 (IST) From: Kedar Patankar X-Sender: kedar@kedar.in.ishoni.com To: Linux India Subject: Re: Re: [linux-india-programmers] OSPF code In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/118 > > Does anyone know where I can get any information about the OSPF > > protocols , and any source code for an Internet Gateway which uses this You can also get gated, a routing daemon distributed with RH (and many other distros ofcourse). If you want the source, you can pick the corrosponding srpm from any of the standard mirrors (metalab.unc.edu). BTW, gated implements several routing protocols other than ospf. Kedar. ---------------------------------------------------------------- Kedar N. Patankar. Senior Software Engineer. ishoni Networks ...Broadband for everyone http://www.ishoni.com email - kedar@ishoni.com Phone: +91-80-2292125 (Work) Fax: +91-80-2995545 (Work) ---------------------------------------------------------------- Be regular and orderly in your life, so that you may be violent and original in your work. From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 04:43:22 2000 Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6]) by www.aunet.org (Postfix) with ESMTP id 970954A025 for ; Tue, 19 Sep 2000 04:43:14 -0700 (PDT) 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 RAA18437 for ; Tue, 19 Sep 2000 17:19:04 GMT Received: from wipro.com ([192.168.178.17]) by ecmail.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAAA72 for ; Tue, 19 Sep 2000 17:01:56 +0530 Message-ID: <39C7519B.D9E74FAB@wipro.com> Date: Tue, 19 Sep 2000 17:14:27 +0530 From: "Vibhu Rishi" X-Mailer: Mozilla 4.74 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: [linux-india-programmers] OSPF code References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/119 Thanks Kedar & Uma, Right now I am trying to understand the protocol. Do you have an idea of what the latest RFC number is for this protocol ? Basically, I have to make an SNMP agent for this , and I need to get the MIB for this. Regards vibhu.. Kedar Patankar wrote: > > > Does anyone know where I can get any information about the OSPF > > > protocols , and any source code for an Internet Gateway which uses this > > You can also get gated, a routing daemon distributed with RH (and many > other distros ofcourse). If you want the source, you can pick the > corrosponding srpm from any of the standard mirrors > (metalab.unc.edu). > > BTW, gated implements several routing protocols other than ospf. > > Kedar. > ---------------------------------------------------------------- > Kedar N. Patankar. > Senior Software Engineer. > ishoni Networks > ...Broadband for everyone > http://www.ishoni.com > email - kedar@ishoni.com > Phone: +91-80-2292125 (Work) > Fax: +91-80-2995545 (Work) > ---------------------------------------------------------------- > Be regular and orderly in your life, so that you may be violent > and original in your work. > > --------------------------------------------- > 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. -- .......................................................................... To know the road ahead, ask those coming back. -Chinese Proverb -------------------------------------------------------------------------- Vibhu Rishi e@ vibhu.rishi@wipro.com Sr. Systems Engineer ring@ 8520408/416/419/420/424/425 WIPRO ext.: 2109 Electronic City - Bangalore -------------------------------------------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 04:53:54 2000 Received: from mailhost.iitb.ac.in (mailhost.iitb.ac.in [203.197.74.142]) by www.aunet.org (Postfix) with SMTP id 2C8004A13A for ; Tue, 19 Sep 2000 04:53:50 -0700 (PDT) Received: (qmail 19623 invoked from network); 19 Sep 2000 11:55:10 -0000 Received: from akash.it.iitb.ernet.in.116.16.144.in-addr.arpa (HELO akash.it.iitb.ernet.in) (144.16.116.2) by mailhost.iitb.ac.in with SMTP; 19 Sep 2000 11:55:10 -0000 Received: from akash.it.iitb.ernet.in (akash.it.iitb.ernet.in [144.16.116.2]) by akash.it.iitb.ernet.in (8.9.3/8.8.8) with ESMTP id RAA08886 for ; Tue, 19 Sep 2000 17:20:31 +0530 Date: Tue, 19 Sep 2000 17:20:31 +0530 (IST) From: Ravindra Jaju To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: [linux-india-programmers] OSPF code In-Reply-To: <39C7519B.D9E74FAB@wipro.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/120 On Tue, 19 Sep 2000, Vibhu Rishi wrote: > Right now I am trying to understand the protocol. Do you have an idea of what > the latest RFC number is for this protocol ? 2328 OSPF Version 2. J. Moy. April 1998. (Format: TXT=447367 bytes) (Obsoletes RFC2178) (Also STD0054) (Status: STANDARD) -- jaju PS: Look for this cute perl program, "rfc", which gives information like above in a jiffy! http://www.dewn.com/rfc/ From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 05:10:41 2000 Received: from hanuman.aukbc.org (unknown [203.197.142.200]) by www.aunet.org (Postfix) with ESMTP id 03AF04A03C for ; Tue, 19 Sep 2000 05:10:36 -0700 (PDT) Received: from localhost (IDENT:mksarav@localhost [127.0.0.1]) by hanuman.aukbc.org (8.9.3/8.9.3) with ESMTP id RAA01089 for ; Tue, 19 Sep 2000 17:43:43 +0530 Date: Tue, 19 Sep 2000 17:43:43 +0530 (IST) From: M K Saravanan To: Linux India Subject: Re: OSPF code In-Reply-To: <39C74BC4.90CBE367@wipro.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/121 > Does anyone know where I can get any information about the OSPF > protocols , and any source code for an Internet Gateway which uses this > protocol ? any pointers would be heartily appreciated. ( Right now I > don't even know what this acronym means ! ) you can reasonable details in "TCP/IP vol.I" by Douglas E Comer and also in "TCP/IP vol.I" by Richard Stevens. RFC (Request for Comment: If you don't know the acronym ;-) RFC 1583 gives you more detail about OSPF. You can get this RFC by sending a message to the following email id: nis-info@nis.nsf.net in the body of the message type: send rfc1583.txt Don't put anyother text incl. signature. u will get the rfc within few seconds. ** mks ** -- ******************************************************************** M K Saravanan, Member Research Staff, The AU-KBC Centre for Internet & Telecom Technologies, Madras Institute of Technology, Anna University, Chromepet, Chennai 600 044. Tamilnadu, INDIA Tel (O): 91 44 2417885 Email: mksarav@mitindia.edu Telefax (O): 91 44 2402711 URL : http://mksarav.tripod.com ******************************************************************* From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 07:28:08 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 397774A012 for ; Tue, 19 Sep 2000 07:27:53 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id TAA04894 for ; Tue, 19 Sep 2000 19:49:35 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id TAA06162 for ; Tue, 19 Sep 2000 19:52:38 +0500 (GMT) Received: from yaksha.wipro.com ([192.168.2.78]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA4922; Tue, 19 Sep 2000 19:53:17 +0530 Date: Tue, 19 Sep 2000 19:59:39 +0530 (IST) From: "Sharad Joshi" X-Sender: sharadj@yaksha.wipro.com Reply-To: Sharad Joshi To: Vibhu Rishi Cc: Linux India Subject: Re: OSPF code In-Reply-To: <39C74BC4.90CBE367@wipro.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/122 + Does anyone know where I can get any information about the OSPF + protocols , and any source code for an Internet Gateway which uses this + protocol ? any pointers would be heartily appreciated. ( Right now I + don't even know what this acronym means ! ) Search the net for gated/routed sources. You'll get sources of most routing protocols in this. Sharad. From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 09:42:06 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 1B2974A014 for ; Tue, 19 Sep 2000 09:42:03 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id JAA08021 for linux-india-programmers@lists.linux-india.org; Tue, 19 Sep 2000 09:36:53 -0700 Date: Tue, 19 Sep 2000 09:36:53 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Working of Syslogd Message-ID: <20000919093652.A7960@sharmas.dhs.org> References: <39C7105B.207D9D95@pspl.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39C7105B.207D9D95@pspl.co.in>; from mandarb@pspl.co.in on Tue, Sep 19, 2000 at 12:36:03PM +0530 X-Archive-Number: 200009/123 On Tue, Sep 19, 2000 at 12:36:03PM +0530, Mandar Behere wrote: > Hi, > I will like to know few things about Syslog. The main issues I am > looking at are > 1. Is it threadsafe ? syslogd AFAIK is not multithreaded. Therefore the issue of thread safety doesn't arise. As far as syslog(3) is concerned, it works over sockets and therefore should be safe to use from a multithreaded program. Read the sources for a definitive answer. > 2. What is commonly followed strategy for backing up the syslog files > specially for embedded Linux systems? With most distributions, there is a log rotation facility, run as a cron job. Perhaps you can enhance the cron job to back up. > 3. Is there any tool available to which will parse the log files and > give me the information in an arranged manner ? Many - lookup in freshmeat.net. Also read the LIH archives - there was some discussion about a perl script that did log coloring. -Arun From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 15:12:16 2000 Received: from netscape.com (h-205-217-237-47.netscape.com [205.217.237.47]) by www.aunet.org (Postfix) with ESMTP id E55984A014 for ; Tue, 19 Sep 2000 15:12:14 -0700 (PDT) Received: from judge.mcom.com (judge.mcom.com [205.217.237.53]) by netscape.com (8.10.0/8.10.0) with ESMTP id e8JGPVS06259 for ; Tue, 19 Sep 2000 09:25:31 -0700 (PDT) Received: from netscape.com ([208.12.45.34]) by judge.mcom.com (Netscape Messaging Server 4.15) with ESMTP id G1579202.08I; Tue, 19 Sep 2000 09:31:50 -0700 Message-ID: <39C794F6.11DAE1AE@netscape.com> Date: Tue, 19 Sep 2000 09:31:50 -0700 From: Sudhakar Chandra Organization: A Doubleplusgood Mega Corporation X-Mailer: Mozilla 4.75b1 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en, fr MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org, hoong68@yahoo.com Subject: Re: [LIG] CPU Utilisation References: <20000919014050.96080.qmail@web9303.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/124 Kelvin Ng proclaimed: > Does somebody knows what command should used to > check to the cpu utilistion other than "top" command. > FYI , I wants to write a shell script to plot CPU > utilisation onto MRTG . Kevin, I'm moving this discussion to the linux-india-programmers (LIP) mailing list as it is a more appropriate list for discussing these issues. What you need to do is write a small script that will gather the required data from /proc/stat In addition to CPU usage, you can gather tons of useful info from /proc. See http://www.aunet.org/logs/mrtg/ for some examples. Search the web for the Official and Unofficial mrtg FAQ and it clearly explains how you can write your own "helper" scripts to plug into mrtg. The FAQ takes CPU usage moniroting as an example and ends up with an awk script to pass CPU usage info to mrtg. Thaths -- "I tell you, the kid's a wonder. He organized all the lawsuits against me into one class action." -- Homer J. Simpson Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 21:03:42 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id EFF5D49F49 for ; Tue, 19 Sep 2000 21:03:36 -0700 (PDT) Received: from pspl.co.in (denpasar.intranet.pspl.co.in [192.168.1.22]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id e8K450212748 for ; Wed, 20 Sep 2000 09:35:00 +0530 Message-ID: <39C83726.B1663557@pspl.co.in> Date: Wed, 20 Sep 2000 09:33:50 +0530 From: Mandar Behere 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: Working of Syslogd References: <39C7105B.207D9D95@pspl.co.in> <20000919093652.A7960@sharmas.dhs.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/125 Hi, Thanks for reply. But I am still confused about the multithreading issue. By the term threadsafe, I wanted to ask if my application is multithreaded and all the threads are writing to the syslog, will it be a problem ? Should I do the syslogging under mutex ? Can you point me to sources other than man pages as man pages doesn't talk about the multithreading part. TIA, Mandar Arun Sharma wrote: > On Tue, Sep 19, 2000 at 12:36:03PM +0530, Mandar Behere wrote: > > Hi, > > I will like to know few things about Syslog. The main issues I am > > looking at are > > 1. Is it threadsafe ? > > syslogd AFAIK is not multithreaded. Therefore the issue of thread safety > doesn't arise. > > As far as syslog(3) is concerned, it works over sockets and therefore > should be safe to use from a multithreaded program. Read the sources > for a definitive answer. > > > 2. What is commonly followed strategy for backing up the syslog files > > specially for embedded Linux systems? > > With most distributions, there is a log rotation facility, run as a > cron job. Perhaps you can enhance the cron job to back up. > > > 3. Is there any tool available to which will parse the log files and > > give me the information in an arranged manner ? > > Many - lookup in freshmeat.net. Also read the LIH archives - there was > some discussion about a perl script that did log coloring. > > -Arun > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ -- Mandar Prabhakar Behere Member of Technical Staff Persistent Systems Pvt. Ltd. Phone : office : 91-20-5676700 ext. 541 residence : 91-20-4485174 From linux-india-programmers-owner@lists.linux-india.org Tue Sep 19 23:09:07 2000 Received: from bom4.vsnl.net.in (bom4.vsnl.net.in [202.54.4.116]) by www.aunet.org (Postfix) with ESMTP id 5DEF44A134 for ; Tue, 19 Sep 2000 23:09:05 -0700 (PDT) Received: from alice.bombay.retortsoft.com (unknown [203.199.65.158]) by bom4.vsnl.net.in (Postfix) with ESMTP id 801FE1737 for ; Wed, 20 Sep 2000 11:36:44 +0500 (GMT+0500) 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 LAA11688 for ; Wed, 20 Sep 2000 11:43:50 +0530 Received: (from binand@localhost) by jediland.bombay.retortsoft.com (8.9.3/8.9.3) id LAA07976 for linux-india-programmers@lists.linux-india.org; Wed, 20 Sep 2000 11:36:05 +0530 Date: Wed, 20 Sep 2000 11:36:05 +0530 From: "Binand Raj S." To: Linux India Programmers Subject: Re: Working of Syslogd Message-ID: <20000920113605.A7928@bombay.retortsoft.com> Mail-Followup-To: Linux India Programmers References: <39C7105B.207D9D95@pspl.co.in> <20000919093652.A7960@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.8i In-Reply-To: <20000919093652.A7960@sharmas.dhs.org>; from adsharma@sharmas.dhs.org on Tue, Sep 19, 2000 at 09:36:53AM -0700 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: 200009/126 Arun Sharma forced the electrons to say: > > 2. What is commonly followed strategy for backing up the syslog files > > specially for embedded Linux systems? > > With most distributions, there is a log rotation facility, run as a > cron job. Perhaps you can enhance the cron job to back up. Also, linux syslog has a feature by which you can log over the network. So, you can have one log server, and have all the other machines in the network logging to it. Restrict access to and services on the log server to the bare minimum. man 8 syslogd for details. Binand -- The prompt for all occasions: export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> " --------------- Binand Raj S. (binand@bombay.retortsoft.com) From linux-india-programmers-owner@lists.linux-india.org Wed Sep 20 09:33:56 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id A08F049F46 for ; Wed, 20 Sep 2000 09:33:54 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id JAA02214 for linux-india-programmers@lists.linux-india.org; Wed, 20 Sep 2000 09:28:36 -0700 Date: Wed, 20 Sep 2000 09:28:36 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Working of Syslogd Message-ID: <20000920092836.A2120@sharmas.dhs.org> References: <39C7105B.207D9D95@pspl.co.in> <20000919093652.A7960@sharmas.dhs.org> <39C83726.B1663557@pspl.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <39C83726.B1663557@pspl.co.in>; from mandarb@pspl.co.in on Wed, Sep 20, 2000 at 09:33:50AM +0530 X-Archive-Number: 200009/127 On Wed, Sep 20, 2000 at 09:33:50AM +0530, Mandar Behere wrote: > Hi, > Thanks for reply. But I am still confused about the multithreading > issue. By the term threadsafe, I wanted to ask if my application is > multithreaded and all the threads are writing to the syslog, will it be a > problem ? Should I do the syslogging under mutex ? My guess is that it's safe. Because syslog doesn't run inside your MT program. It runs in a separate process as syslogd. Various concurrent calls to syslog are serialized by socket calls in the library i.e. only one accept at a time. > Can you point me to sources other than man pages as man pages doesn't > talk about the multithreading part. Unfortunately, that's life in the big city working on an open source OS. The std answer you'll get is, find out and send diffs to man pages :) -Arun From linux-india-programmers-owner@lists.linux-india.org Wed Sep 20 10:13:17 2000 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id 789D24A119 for ; Wed, 20 Sep 2000 10:13:10 -0700 (PDT) Received: from qasid.cc.iitk.ac.in (qasid.cc.iitk.ac.in [172.31.1.16]) by mail.iitk.ac.in (8.9.2/8.9.2) with ESMTP id WAA19086 for ; Wed, 20 Sep 2000 22:42:17 +0530 (IST) Received: from ajayd.hall.iitk.ac.in (IDENT:root@[172.31.111.1]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id WAA19408 for ; Wed, 20 Sep 2000 22:33:50 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.hall.iitk.ac.in (8.10.1/8.10.1) with ESMTP id e8KH7sY00974 for ; Wed, 20 Sep 2000 22:37:55 +0530 X-Authentication-Warning: ajayd.hall.iitk.ac.in: ajayd owned process doing -bs Date: Wed, 20 Sep 2000 22:37:54 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-programmers@lists.linux-india.org Subject: c++: 2D array Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/128 hi all, how can we declare a 2 dimensional array in c++ on heap. I am trying to make a Matrix class and need to allocate the array using new in the constructor. Just wanted to ask if I could do something like: int ** a; a = new [4][5]; Or some other way to accomplish the above so that I can call a[i][j] later. -- #!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY) Ajay kumar Dwivedi ajayd@iitk.ac.in From linux-india-programmers-owner@lists.linux-india.org Wed Sep 20 11:24:28 2000 Received: from smtp2.mail.yahoo.com (smtp2.mail.yahoo.com [128.11.68.32]) by www.aunet.org (Postfix) with SMTP id 7810F4A034 for ; Wed, 20 Sep 2000 11:24:24 -0700 (PDT) Received: from unknown (HELO vikram) (61.0.125.100) by smtp.mail.vip.suc.yahoo.com with SMTP; 20 Sep 2000 18:21:08 -0000 X-Apparently-From: Message-ID: <001301c0232f$90e47420$647d003d@vikram> From: "Vikram Dhaliwal" To: References: Subject: Re: c++: 2D array Date: Wed, 20 Sep 2000 23:47:09 +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.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Archive-Number: 200009/129 You could try something like int **i; int ctr; i=new int*[5]; for(ctr=0;ctr<4;ctr++) { i[ctr]=new int[4]; } Then you can refer to members as i[3][2]. Complete program which I made is #include void main() { int **i; int ctr,count1; i=new int*[5]; for(ctr=0;ctr<4;ctr++) { i[ctr]=new int[4]; } for(ctr=0;ctr<4;ctr++) { for(count1=0;count1<3;count1++) cin>>i[ctr][count1]; } for(ctr=0;ctr<4;ctr++) { for(count1=0;count1<3;count1++) cout< To: Sent: Wednesday, September 20, 2000 10:37 PM Subject: [LIP] c++: 2D array > hi all, > how can we declare a 2 dimensional array in c++ on heap. I am > trying to make a Matrix class and need to allocate the array using new in > the constructor. > Just wanted to ask if I could do something like: > > int ** a; > a = new [4][5]; > > Or some other way to accomplish the above so that I can call a[i][j] > later. > > -- > > #!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY) > > Ajay kumar Dwivedi > ajayd@iitk.ac.in > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Wed Sep 20 22:00:39 2000 Received: from natsemi-bh.nsc.com (natsemi-bh.nsc.com [204.163.202.66]) by www.aunet.org (Postfix) with ESMTP id 28B374A01E for ; Wed, 20 Sep 2000 22:00:29 -0700 (PDT) Received: (from uucp@localhost) by natsemi-bh.nsc.com (8.8.8/8.6.11) id VAA28132 for ; Wed, 20 Sep 2000 21:57:12 -0700 (PDT) Received: from nsc.nsc.com(139.187.81.1) by natsemi-bh.nsc.com via smap (4.1) id xma028095; Wed, 20 Sep 00 21:56:50 -0700 Received: from malkauns.malkauns.nsc.com (malkauns.nsc.com [139.187.83.131]) by nsc.nsc.com (8.9.3+Sun/8.9.3) with SMTP id VAA25159 for ; Wed, 20 Sep 2000 21:56:45 -0700 (PDT) Received: from [139.187.83.194] by malkauns.malkauns.nsc.com (SMI-8.6/SMI-SVR4) id KAA16145; Thu, 21 Sep 2000 10:35:41 GMT Date: Thu, 21 Sep 2000 10:36:15 +0500 (GMT-5) From: Sojan James X-Sender: sojan@software1.nsc.com To: linux-india-programmers@lists.linux-india.org Subject: Re: c++: 2D array In-Reply-To: <001301c0232f$90e47420$647d003d@vikram> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/130 HI, Here is another way I figured out. The advantage of using this is that the entire array can be copied with a single memcpy() here is the code which explains all #include int main() { // create the pointers to rows int ** ptr = new int*[4]; // let the first row point to the entire data ptr[0] = new int[5 * 4]; // let each subsequent row index into the // allocated data for(int i = 1; i < 4; i++) { ptr[i] = ptr[i-1] + 5 ; } ptr[0][1] = 10; ptr[3][4] = 10; cout << ptr[0][0] << endl ; cout << ptr[0][1] << endl ; cout << ptr[3][4] << endl ; } even though you can index into the array using ptr[i][j], the entire data is pointed to by ptr[0], so copying the array will be much easier. Cheers, Soj. -- Sojan James National Semi. India Designs Ltd. 7/6 Brunton Road, Bangalore 560025. India. Ph: 5587918/919/920 ext. 308 From linux-india-programmers-owner@lists.linux-india.org Wed Sep 20 22:22:52 2000 Received: from mlsw00103.microlandsw.com (unknown [164.164.70.67]) by www.aunet.org (Postfix) with ESMTP id 456B84A00A for ; Wed, 20 Sep 2000 22:22:45 -0700 (PDT) Received: by MLSW00103 with Internet Mail Service (5.5.2650.21) id ; Thu, 21 Sep 2000 10:54:56 +0530 Message-ID: <81FC21CCCD85D41180F8009027DE39090EC2EF@MLSW00103> From: Sachin Dole To: "'linux-india-programmers@lists.linux-india.org'" Subject: deleting files (not always) Date: Thu, 21 Sep 2000 10:54:54 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/131 Hi all, How can I delete files (from a program) only when it is known that no user is reading or writing that file at that moment??? how can it be done from C or C++ or java?? Thanx in Advance Sachin Dole From linux-india-programmers-owner@lists.linux-india.org Wed Sep 20 22:40:30 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id E78364A023 for ; Wed, 20 Sep 2000 22:40:27 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id BAA26024 for ; Thu, 21 Sep 2000 01:37:11 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id BAA12028 for ; Thu, 21 Sep 2000 01:37:09 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Thu, 21 Sep 2000 11:15:07 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E020356E6@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: c++: 2D array -> maybe OT Date: Thu, 21 Sep 2000 11:14:51 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200009/132 hi Vikram and Ajay ! Although the program (Vikram's) looks functionally correct , there are certain observations in order. a) Memory leaks are a major problem with this kind of programming. {An example of a Memoryleak is when you allocate memory from the heap but do not release it. This is a serious bug in real-life critical applications and it is considered to be good practise to avoid such leaks) b) Mmory leak in your program will occur since even if I 'delete' or 'delete[]' the pointer (to a pointer to int) i, even then it does not deallocate the next-level of memory allocated by ctr. So you have to be very careful deallocating memory. Run any tools such as Purify or BoundChecker or Electric Fence to detect emmory leaks. c) I wonder why this is touted as a C++ program, because there is noithing specific to C++ over here apart from the new operator used to allcoated memory. Even that can be substituited by malloc in this case with appropriate casts and sizeof. and ok, if you say so, . The subject line needs a relook. d) IF you want to do things the C++ way, things are tough as per the original specs. Because C++ will not let you overload the [][] operator directly :) So a choice would be to write an IntMatrix class (preferable a template, so as not to hardcode 'int') and overload the (which?) operator and fool the C++ compiler into believing that you are actually overloading the [][] operator. Finding out (which) is left to you as an exercise. To be candid, with your competency, I do not think that should be a problem. The reason why I sugegst using the framework of the class if that the destruction and hence the memory deallocation is guaranteed (no-forgetting) and safe, that is all allocated memory if freed (provided you write a proper dtor that is :) e) OT observation : LIP listmails go to mygarbage2000@yahoo.com !! Aha ! Warmest regards Shourya Shourya.Sarcar@geind.ge.com Global Software Platforms GE Medical Systems A1 Golden Enclave, Airport Road, Bangalore, India 560 017=20 Tel : +91-80-526 3121|3496 Ext 362=A0 Surf : www.ge.com| www.gemedicalsystems.com | www.wiproge.com | www.shourya.com =20 =09 #-----Original Message----- #From: Vikram Dhaliwal [mailto:mygarbage2000@yahoo.com] #Sent: Wednesday, September 20, 2000 11:47 PM #To: linux-india-programmers@lists.linux-india.org #Subject: Re: [LIP] c++: 2D array # # #You could try something like # #int **i; #int ctr; #i=3Dnew int*[5]; #for(ctr=3D0;ctr<4;ctr++) # { # i[ctr]=3Dnew int[4]; # } # #Then you can refer to members as i[3][2]. # #Complete program which I made is # # ##include # #void main() # { # int **i; # int ctr,count1; # i=3Dnew int*[5]; # for(ctr=3D0;ctr<4;ctr++) # { # i[ctr]=3Dnew int[4]; # } # for(ctr=3D0;ctr<4;ctr++) # { # for(count1=3D0;count1<3;count1++) # cin>>i[ctr][count1]; # } # for(ctr=3D0;ctr<4;ctr++) # { # for(count1=3D0;count1<3;count1++) # cout< #To: #Sent: Wednesday, September 20, 2000 10:37 PM #Subject: [LIP] c++: 2D array # # #> hi all, #> how can we declare a 2 dimensional array in c++ on heap. I am #> trying to make a Matrix class and need to allocate the array=20 #using new in #> the constructor.=20 #> Just wanted to ask if I could do something like: #>=20 #> int ** a; #> a =3D new [4][5]; #>=20 #> Or some other way to accomplish the above so that I can call a[i][j] #> later. #>=20 #> --=20 #>=20 #> #!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY) #>=20 #> Ajay kumar Dwivedi #> ajayd@iitk.ac.in #>=20 #>=20 #> --------------------------------------------- #> Find out more about this and other Linux India #> mailing lists at http://lists.linux-india.org/ # # #__________________________________________________ #Do You Yahoo!? #Talk to your friends online with Yahoo! Messenger. #http://im.yahoo.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 Wed Sep 20 23:21:10 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id B480A4A01B for ; Wed, 20 Sep 2000 23:21:05 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id CAA13589 for ; Thu, 21 Sep 2000 02:17:49 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id CAA03042 for ; Thu, 21 Sep 2000 02:17:47 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Thu, 21 Sep 2000 11:55:47 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E020357E8@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: c++: 2D array Date: Thu, 21 Sep 2000 11:55:53 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/133 the memcpy feature is cool but beware, if you delete ptr, you have the problem of dangling pointers with ptr[1,2,3,4] but anyway, i like the recursive structure :) shourya #-----Original Message----- #From: Sojan James [mailto:sojan@malkauns.nsc.com] #Sent: Thursday, September 21, 2000 11:06 AM #To: linux-india-programmers@lists.linux-india.org #Subject: Re: [LIP] c++: 2D array # # #HI, # Here is another way I figured out. The advantage of #using this is #that the entire array can be copied with a single memcpy() # #here is the code which explains all # # ##include # #int main() #{ # // create the pointers to rows # int ** ptr = new int*[4]; # # // let the first row point to the entire data # ptr[0] = new int[5 * 4]; # # // let each subsequent row index into the # // allocated data # for(int i = 1; i < 4; i++) # { # ptr[i] = ptr[i-1] + 5 ; # } # # ptr[0][1] = 10; # ptr[3][4] = 10; # # cout << ptr[0][0] << endl ; # cout << ptr[0][1] << endl ; # cout << ptr[3][4] << endl ; #} # # #even though you can index into the array using ptr[i][j], the #entire data #is pointed to by ptr[0], so copying the array will be much easier. # #Cheers, # #Soj. # # #-- #Sojan James #National Semi. India Designs Ltd. #7/6 Brunton Road, Bangalore 560025. India. #Ph: 5587918/919/920 ext. 308 # # # # # # #--------------------------------------------- #The mailing list archives are available at #http://lists.linux-india.org/cgi-bin/wilma/LIP # From linux-india-programmers-owner@lists.linux-india.org Wed Sep 20 23:25:44 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id E1B5F4A0BC for ; Wed, 20 Sep 2000 23:25:36 -0700 (PDT) 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 e8L6Qx209365 for ; Thu, 21 Sep 2000 11:56:59 +0530 Message-ID: <39C9A9A2.F90BDF89@pspl.co.in> Date: Thu, 21 Sep 2000 11:54:34 +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: c++: 2D array References: <1196B5CB33DED311A73700508B6FEB1E020357E8@ban03xbindge.geind.ge.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/134 Hi There is a book from Yashawant Kanetkar, something like Perls in C programming, where he has many such tricks explained. Though in C. . The book is bit outdated I presume. It talks about DOS and all. I haven't check the latest edition. And I feel that memcpy feature + dtor can give you nice and robust interface. Bye Shridhar "Sarcar, Shourya (MED)" wrote: > the memcpy feature is cool but beware, if you delete ptr, you have the > problem of dangling pointers with ptr[1,2,3,4] > but anyway, i like the recursive structure :) > > shourya From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 02:10:42 2000 Received: from alice.bombay.retortsoft.com (unknown [203.199.65.154]) by www.aunet.org (Postfix) with ESMTP id 2984B4A022 for ; Thu, 21 Sep 2000 02:10:37 -0700 (PDT) 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 OAA14614 for ; Thu, 21 Sep 2000 14:47:47 +0530 Received: (from binand@localhost) by jediland.bombay.retortsoft.com (8.9.3/8.9.3) id OAA02516 for linux-india-programmers@lists.linux-india.org; Thu, 21 Sep 2000 14:39:57 +0530 Date: Thu, 21 Sep 2000 14:39:57 +0530 From: "Binand Raj S." To: "'linux-india-programmers@lists.linux-india.org'" Subject: Re: deleting files (not always) Message-ID: <20000921143957.A2476@bombay.retortsoft.com> Mail-Followup-To: "'linux-india-programmers@lists.linux-india.org'" References: <81FC21CCCD85D41180F8009027DE39090EC2EF@MLSW00103> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.8i In-Reply-To: <81FC21CCCD85D41180F8009027DE39090EC2EF@MLSW00103>; from sachind@planetasia.com on Thu, Sep 21, 2000 at 10:54:54AM +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: 200009/135 Sachin Dole forced the electrons to say: > How can I delete files (from a program) only when it is known that no user > is reading or writing that file at that moment??? Just unlink(2) the file. It is guaranteed that the file will exist until the last file descriptor to it has been closed. Binand -- The prompt for all occasions: export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> " --------------- Binand Raj S. (binand@bombay.retortsoft.com) From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 03:56:32 2000 Received: from bom8.vsnl.net.in (bom8.vsnl.net.in [202.54.4.125]) by www.aunet.org (Postfix) with ESMTP id 21E534A00B for ; Thu, 21 Sep 2000 03:56:28 -0700 (PDT) Received: from noname (PPP-203-197-7-30.bom.vsnl.net.in [203.197.7.30]) by bom8.vsnl.net.in (8.9.2/8.9.2) with SMTP id QAA22899 for ; Thu, 21 Sep 2000 16:18:35 +0500 (GMT+0500) Message-ID: <000801c023ba$4f3a8ba0$1e07c5cb@noname> From: "Arsalan Zaidi" To: Subject: Server side or client side processing? Date: Thu, 21 Sep 2000 12:35: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: 200009/136 Hi. I'm still working away at that Distributed File Sys project of mine. :-) Reading the design docs of some of the other DFS's around, I noticed that many of them push as much processing as they can onto the client. In CODE for e.g. when the client writes to the server, it has to update all the servers with the latest copy of the file. I'm thinking of producing something that is geared towards really thin clients (phones / PDA's) which are operating under band-width restrictions. In this case writing to all the servers would be tedious and slow. Why not write to one and let the servers update each other over the high speed backbone they're connected to? However, the protocol should also work with high speed stuff. Laptops, Desktops etc connected over a high speed lan. What's the opinion of the list? Would it be better to push processing onto the servers and let the admins worry about upgrading the hardware, or keeping as much as possible on the client? The point is that phones etc are getting smarter and faster and there are new standards comming in which should make bandwidht much more reasonable. I'm quite confused... --Arsalan. From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 05:38:19 2000 Received: from web9204.mail.yahoo.com (web9204.mail.yahoo.com [216.136.129.27]) by www.aunet.org (Postfix) with SMTP id 575384A3D5 for ; Thu, 21 Sep 2000 05:38:04 -0700 (PDT) Message-ID: <20000921123440.88675.qmail@web9204.mail.yahoo.com> Received: from [202.9.150.193] by web9204.mail.yahoo.com; Thu, 21 Sep 2000 05:34:40 PDT Date: Thu, 21 Sep 2000 05:34:40 -0700 (PDT) From: john slater Subject: Re: deleting files (not always) To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200009/137 hello i am working on an embedde project, i am using a M-Systems diskonchip for embedding,and linux Red Hat 6.0 as the os. i able to boot but when with lots of error,even i do get the login prompt,but when i am able to enter the id i never get the password prompt, and the systems stop at that point. can some help me in, 1) which is the sysinit file, were is it found 2) can i remove the login prompt, if so how that's all thankX with regards john --- "Binand Raj S." wrote: > Sachin Dole forced the electrons to say: > > How can I delete files (from a program) only when > it is known that no user > > is reading or writing that file at that moment??? > > Just unlink(2) the file. It is guaranteed that the > file will exist until > the last file descriptor to it has been closed. > > Binand > > -- > The prompt for all occasions: > export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> > " > --------------- Binand Raj S. > (binand@bombay.retortsoft.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 ===== John Slater #123, Hooly Wood LA, CA 34523 __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 09:03:57 2000 Received: from unknown-147.101.pilot.net (unknown-147-101.pilot.net [198.232.147.101]) by www.aunet.org (Postfix) with ESMTP id 3245149F47 for ; Thu, 21 Sep 2000 09:03:53 -0700 (PDT) Received: from unknown-24-4.pilot.net (unknown-24-4.pilot.net [206.189.24.4]) by unknown-147.101.pilot.net with ESMTP id JAA19573 for ; Thu, 21 Sep 2000 09:00:30 -0700 (PDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-24-4.pilot.net with ESMTP id FAA12173 for ; Thu, 21 Sep 2000 05:49:55 -0700 (PDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Thu, 21 Sep 2000 21:37:31 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E0206B295@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: c++: 2D array Date: Thu, 21 Sep 2000 21:37:36 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200009/138 Guh ! A slightly bloated but robust code follows . Purify says no memory leaks ( 0 bytes :) and that __is_good__ ! However, not that the inhyerent pointer manipulation in C makes this program susceptible to access beyond array bounds. Couldn't figure a way to get across that :( In all, I should think that this is pretty good C++ code :) I ahve tried to keep the C++ code as simple as possible. Pleae suggest modifications to effect robustness, usability. Regards, Shourya /***** * foo.cxx * Report bugs to Shourya.Sarcar@geind.ge.com * A templatised 2D matrix class * Compile on IRIX 6.5 : $ /usr/bin/CC -o foo foo.cxx ****/ #include template class Matrix{ public: T * matrix ; =09 =09 private: int rows; int cols; int size; public : Matrix (int r, int c) { rows =3D r; cols =3Dc; size=3Drows*cols; matrix =3D new T [size]; cout << "Rows : " < , then a[3][4] is interpreted as matrix_3 [4], where you think of matrix_3 as a simple T* (pointer to type T) and the rest is imple pointer manipulation as in C */ T* operator[](int x) { /* I am adding bounds checking logic due to two reasons : a) Code bloat due to Exception handling etc. b) The security is partial, we are still depending on C's insecure pointer handling mechanism to resolve the second subsript That is, if some one tries to access a[30][40] in a 30 X 30 array, there is not much we can do :( */ return (&matrix[(x * cols)]); } //copy constructor=20 Matrix (const Matrix & from) { rows=3Dfrom.rows; cols =3D from.cols; size=3Drows*cols; // cout << "[Copy ctor ] Rows : " <& from) { if (from =3D=3D *this) return (*this) ; //protect against self assignment=09 rows=3Dfrom.rows; cols =3Dfrom.cols; size=3Drows*cols; // cout << "[Assignment] Rows : " < b (5,4); /* An array of (5x4) gives access of array [0-4][0-3] */ b[3][1] =3D5;=20 cout < n =3D b; cout << n[3][1]< the memcpy feature is cool but beware, if you delete ptr,=20 #you have the #> problem of dangling pointers with ptr[1,2,3,4] #> but anyway, i like the recursive structure :) #> #> shourya # # #--------------------------------------------- #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 Thu Sep 21 09:18:50 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id 56B7D4A00A for ; Thu, 21 Sep 2000 09:18:46 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id MAA06590 for ; Thu, 21 Sep 2000 12:15:28 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id MAA15157 for ; Thu, 21 Sep 2000 12:15:26 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Thu, 21 Sep 2000 21:53:15 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E0206B29A@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: c++: 2D array Date: Thu, 21 Sep 2000 21:53:21 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/139 # #template #class Matrix{ #public: # T * matrix ; # # #private: # int rows; # int cols; # int size; # #public : # Matrix (int r, int c) { # rows = r; # cols =c; # size=rows*cols; More effiecient code : Matrix (const int r, const int c ) : rows(r),cols(c), size(r*c) {... And for God's sake don't run these functions as inline. Define functions outside class definitions. # T* operator[](int x) { # /* I am adding bounds checking logic due to two #reasons : You mean " I am NOT adding " , i guess. Typo , it seems :) Shourya 'turncoat' Sarcar From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 09:22:25 2000 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id 512124A022 for ; Thu, 21 Sep 2000 09:22:17 -0700 (PDT) Received: from qasid.cc.iitk.ac.in (qasid.cc.iitk.ac.in [172.31.1.16]) by mail.iitk.ac.in (8.9.2/8.9.2) with ESMTP id VAA14379 for ; Thu, 21 Sep 2000 21:51:17 +0530 (IST) Received: from ajayd.hall.iitk.ac.in (IDENT:root@[172.31.111.1]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id VAA26505 for ; Thu, 21 Sep 2000 21:42:48 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.hall.iitk.ac.in (8.10.1/8.10.1) with ESMTP id e8LGH0s06169 for ; Thu, 21 Sep 2000 21:47:00 +0530 X-Authentication-Warning: ajayd.hall.iitk.ac.in: ajayd owned process doing -bs Date: Thu, 21 Sep 2000 21:47:00 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-programmers@lists.linux-india.org Subject: RE: c++: 2D array In-Reply-To: <1196B5CB33DED311A73700508B6FEB1E020357E8@ban03xbindge.geind.ge.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/140 hi all, thanks to vikram,james ,sourya, and sridhar. I have made a small 2D array class based on suggestions of u all. I have overloaded the [] operator to return a pointer which itself points to an array as described by james. I have also used a destructor to remove the memory on heap. Here's the code. Could you comment on ways of bettering this especially the array bounds check.(although which are not checked by an array in general). #include class twoDArray { private: int rows; int cols; public: double **element; twoDArray(int rows, int cols) { element = new double * [rows]; element[0] = new double[rows*cols]; for(int i=1;ielement[i]; } int getRows(){return rows;} int getCols(){return cols;} }; main() { twoDArray t(2,3); cout< On Thu, 21 Sep 2000, Sarcar, Shourya (MED) wrote: > the memcpy feature is cool but beware, if you delete ptr, you have the > problem of dangling pointers with ptr[1,2,3,4] > but anyway, i like the recursive structure :) > -- #!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY) Ajay kumar Dwivedi ajayd@iitk.ac.in From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 09:28:47 2000 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id 8D7654A2DB for ; Thu, 21 Sep 2000 09:28:38 -0700 (PDT) Received: from qasid.cc.iitk.ac.in (qasid.cc.iitk.ac.in [172.31.1.16]) by mail.iitk.ac.in (8.9.2/8.9.2) with ESMTP id VAA14690 for ; Thu, 21 Sep 2000 21:57:42 +0530 (IST) Received: from ajayd.hall.iitk.ac.in (IDENT:root@[172.31.111.1]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id VAA27080 for ; Thu, 21 Sep 2000 21:49:13 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.hall.iitk.ac.in (8.10.1/8.10.1) with ESMTP id e8LGNOu06182 for ; Thu, 21 Sep 2000 21:53:24 +0530 X-Authentication-Warning: ajayd.hall.iitk.ac.in: ajayd owned process doing -bs Date: Thu, 21 Sep 2000 21:53:24 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-programmers@lists.linux-india.org Subject: RE: c++: 2D array In-Reply-To: <1196B5CB33DED311A73700508B6FEB1E0206B295@ban03xbindge.geind.ge.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/141 On Thu, 21 Sep 2000, Sarcar, Shourya (MED) wrote: > Guh ! > A slightly bloated but robust code follows . Purify says no memory > leaks ( 0 bytes :) and that __is_good__ ! > However, not that the inhyerent pointer manipulation in C makes this program > susceptible to access beyond array bounds. Couldn't figure a way to get > across that :( In all, I should think that this is pretty good C++ code :) > Thanks, Although I have never used templetes, your program gives me a motivation to study them. They seem to be quite powerful. Thanks once again to all for your time and efforts. -- #!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY) Ajay kumar Dwivedi ajayd@iitk.ac.in From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 10:28:58 2000 Received: from mail-relay-vsat2.ernet.in (unknown [202.41.99.9]) by www.aunet.org (Postfix) with ESMTP id C743B4A0BA for ; Thu, 21 Sep 2000 10:28:52 -0700 (PDT) Received: from matrix.reccal.ernet.in ([202.41.105.50]) by mail-relay-vsat2.ernet.in (8.9.3/8.9.3) with ESMTP id VAA27120 for ; Thu, 21 Sep 2000 21:13:50 +0530 Received: (from linac@localhost) by matrix.reccal.ernet.in (8.8.7/8.8.7) id LAA20953; Wed, 20 Sep 2000 11:09:57 +0530 Date: Wed, 20 Sep 2000 11:09:57 +0530 (IST) From: Linac Is Not A Club To: Linux India Programmers Subject: Palette problems using xlib Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/142 Hi, I'm trying to make a general purpose image viewer. The problem is that I get rgb triplets for each pixel in the image and the only way I know to find the pixel that corresponds to the triplet is by using XAllocColor which is so slow that 90 % of the execution time is spent there. It makes the whole thing really slow. I have to use xlib and not any toolkit (except maybe the toolkit intrinsics). I'd like to know if anyone out there knows how xloadimage does this. It draws images quite fast (atleast fast enough for me :-) Pre-allocating a 64kB ^ 3 array of unsigned long ints is prohibitively expensive. It would suffice if someone could send me the source of some primitive X utility like xloadimage. Thanx in advance ------------------------------------------------------------------------ Trifles make perfection, and perfection is no trifle. -- Michelangelo From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 19:22:36 2000 Received: from md5.vsnl.net.in (md5.vsnl.net.in [202.54.6.50]) by www.aunet.org (Postfix) with ESMTP id CFB744A060 for ; Thu, 21 Sep 2000 19:22:29 -0700 (PDT) Received: from [61.1.254.186] ([61.1.254.186]) by md5.vsnl.net.in (8.9.3/8.9.3) with ESMTP id HAA00908 for ; Fri, 22 Sep 2000 07:45:51 +0530 (IST) Date: Fri, 22 Sep 2000 07:44:28 +0530 (IST) From: Anil K N X-Sender: tuxpal@localhost.localdomain To: linux-india-programmers@lists.linux-india.org Subject: Getting colors right. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/143 hello, I could use some help regarding printing docs using Ghostscript interpreter. The Epson Stylus Color driver provided, I think, is not new enough. The situation is - o The driver does not drive the printer at 720 dpi. o The default transfer and color adjustment arrays dont work (well) for all docs - I use different matrices for different docs (images, mono docs, color charts ). o I am not able to get all the black Jets to work - for faster black printing. I have Epson Stylus Color 440. Thank you, -- .aniYlle. GetMe =- anilknyn@vsnl.com From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 20:50:30 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id D9B774A0B4 for ; Thu, 21 Sep 2000 20:50:27 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id XAA24378 for ; Thu, 21 Sep 2000 23:47:07 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id XAA26414 for ; Thu, 21 Sep 2000 23:47:06 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Fri, 22 Sep 2000 09:25:04 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E0206B44D@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: c++: 2D array Date: Fri, 22 Sep 2000 09:25:10 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/144 # Thanks, Although I have never used templetes, your program gives #me a motivation to study them. They seem to be quite powerful. # # Thanks once again to all for your time and efforts. # Just a word of friendly suggestion : Study templates from Lippman and Lajoie's book. It is much clearer than the stuff in Stroustrup. IIRC, Lippman implemented templates in the CFront/original C++ compiler. Shourya From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 20:58:06 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id 2FDEE4A107 for ; Thu, 21 Sep 2000 20:58:04 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id XAA28449 for ; Thu, 21 Sep 2000 23:54:44 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id XAA01060 for ; Thu, 21 Sep 2000 23:54:42 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Fri, 22 Sep 2000 09:32:41 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E0206B487@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: Server side or client side processing? Date: Fri, 22 Sep 2000 09:32:47 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/145 # #I'm still working away at that Distributed File Sys project of #mine. :-) Gung ho ! keep going buddy ! # #Reading the design docs of some of the other DFS's around, I #noticed that #many of them push as much processing as they can onto the #client. In CODE #for e.g. when the client writes to the server, it has to update all the #servers with the latest copy of the file. # #I'm thinking of producing something that is geared towards really thin #clients (phones / PDA's) which are operating under band-width #restrictions. #In this case writing to all the servers would be tedious and #slow. Why not #write to one and let the servers update each other over the high speed #backbone they're connected to? MAkes sense in your case. Also, take intoconsideration taht _maybe_ a client will not have access to all the servers but if there is a trust relationship amongst all the servers then server synchronisation wshoould be a better approach. We need to consider (also) o the time taken for such stuff o the frequency of sync(s) o the load on the servers. o Would the syncs lead to an inconsistent state in the filesystem, if a sync fails halfway. What is the commit algo ? Shourya #What's the opinion of the list? Would it be better to push #processing onto #the servers and let the admins worry about upgrading the hardware, or #keeping as much as possible on the client? Well, lets not pass the buck on to the sysads ;) there's not much they can do if the organisation is cash strapped :) #The point is that phones etc are getting smarter and faster #and there are #new standards comming in which should make bandwidht much more #reasonable. what I feel is that a DFS should be plymoprhic . In the sense, it should support fat and thin clients, depending upon the client configuration, which is conveyed to at at the start of a session (overhead). However, these two roles better be in tune with each other so that the filesys is in a consistent state. Shourya From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 21:42:42 2000 Received: from natsemi-bh.nsc.com (natsemi-bh.nsc.com [204.163.202.66]) by www.aunet.org (Postfix) with ESMTP id 5950A4A1E8 for ; Thu, 21 Sep 2000 21:42:39 -0700 (PDT) Received: (from uucp@localhost) by natsemi-bh.nsc.com (8.8.8/8.6.11) id VAA04583 for ; Thu, 21 Sep 2000 21:39:18 -0700 (PDT) Received: from nsc.nsc.com(139.187.81.1) by natsemi-bh.nsc.com via smap (4.1) id xma004489; Thu, 21 Sep 00 21:38:44 -0700 Received: from malkauns.malkauns.nsc.com (malkauns.nsc.com [139.187.83.131]) by nsc.nsc.com (8.9.3+Sun/8.9.3) with SMTP id VAA03862 for ; Thu, 21 Sep 2000 21:38:39 -0700 (PDT) Received: from [139.187.83.194] by malkauns.malkauns.nsc.com (SMI-8.6/SMI-SVR4) id KAA05129; Fri, 22 Sep 2000 10:17:35 GMT Date: Fri, 22 Sep 2000 10:18:07 +0500 (GMT-5) From: Sojan James X-Sender: sojan@software1.nsc.com To: linux-india-programmers@lists.linux-india.org Subject: RE: c++: 2D array In-Reply-To: <1196B5CB33DED311A73700508B6FEB1E0206B295@ban03xbindge.geind.ge.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/146 Yea this *is* good c++ code. We used this for an Image class and it is very very useful... PS: Shourya...your name sounds familiar...do we both know one Mr. Vijayan?... Soj -- Sojan James National Semi. India Designs Ltd. 7/6 Brunton Road, Bangalore 560025. India. Ph: 5587918/919/920 ext. 308 From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 22:09:11 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 38D124A01C for ; Thu, 21 Sep 2000 22:09:05 -0700 (PDT) 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 e8M5AL200326 for ; Fri, 22 Sep 2000 10:40:21 +0530 Message-ID: <39CAE931.3F9EAC62@pspl.co.in> Date: Fri, 22 Sep 2000 10:38:01 +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: c++: 2D array References: <1196B5CB33DED311A73700508B6FEB1E0206B295@ban03xbindge.geind.ge.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/147 Hi all What's the function prototype for overloading [][]operator? I think of following.. T& operator[](int i); T* operator[](T& ptr); What do you think? Bye Shridhar "Sarcar, Shourya (MED)" wrote: > Guh ! > A slightly bloated but robust code follows . Purify says no memory > leaks ( 0 bytes :) and that __is_good__ ! > However, not that the inhyerent pointer manipulation in C makes this program > susceptible to access beyond array bounds. Couldn't figure a way to get > across that :( In all, I should think that this is pretty good C++ code :) > > I ahve tried to keep the C++ code as simple as possible. Pleae > suggest modifications to effect robustness, usability. > > Regards, > Shourya From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 22:16:04 2000 Received: from natsemi-bh.nsc.com (natsemi-bh.nsc.com [204.163.202.66]) by www.aunet.org (Postfix) with ESMTP id BBF2B4A02F for ; Thu, 21 Sep 2000 22:16:00 -0700 (PDT) Received: (from uucp@localhost) by natsemi-bh.nsc.com (8.8.8/8.6.11) id WAA09595 for ; Thu, 21 Sep 2000 22:12:38 -0700 (PDT) Received: from nsc.nsc.com(139.187.81.1) by natsemi-bh.nsc.com via smap (4.1) id xma009501; Thu, 21 Sep 00 22:11:33 -0700 Received: from malkauns.malkauns.nsc.com (malkauns.nsc.com [139.187.83.131]) by nsc.nsc.com (8.9.3+Sun/8.9.3) with SMTP id WAA05469 for ; Thu, 21 Sep 2000 22:11:28 -0700 (PDT) Received: from [139.187.83.194] by malkauns.malkauns.nsc.com (SMI-8.6/SMI-SVR4) id KAA05658; Fri, 22 Sep 2000 10:50:25 GMT Date: Fri, 22 Sep 2000 10:50:59 +0500 (GMT-5) From: Sojan James X-Sender: sojan@software1.nsc.com To: linux-india-programmers@lists.linux-india.org Subject: Re: c++: 2D array In-Reply-To: <39CAE931.3F9EAC62@pspl.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/148 T* operator[](int i) should do it. SOj. On Fri, 22 Sep 2000, Shridhar Daithankar wrote: > Hi all > > What's the function prototype for overloading [][]operator? > > I think of following.. > > T& operator[](int i); > T* operator[](T& ptr); > > What do you think? > > Bye > Shridhar > > -- Sojan James National Semi. India Designs Ltd. 7/6 Brunton Road, Bangalore 560025. India. Ph: 5587918/919/920 ext. 308 From linux-india-programmers-owner@lists.linux-india.org Thu Sep 21 23:14:23 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id B23434A11C for ; Thu, 21 Sep 2000 23:14:19 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id CAA18772 for ; Fri, 22 Sep 2000 02:10:59 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id CAA24877 for ; Fri, 22 Sep 2000 02:10:57 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Fri, 22 Sep 2000 11:48:53 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E0206B792@ban01xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: c++: 2D array Date: Fri, 22 Sep 2000 11:48:58 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/149 the signature for operator[] becomes same T& operator[] (int i) T* operator[] (int i) The return type is not considered a s a part of the sginature The compiler will face ambiguity in resolving which function to call Anyway, I think we should have (const unsigned int) as the index parameter Sojan, I do not think we have met :( but were you in IBM /delhi-lug ? Maybe we have crossed over personal emails at LI (old) etc ? Anyway, great meeting C++ fanatix :) Shourya #-----Original Message----- #From: Sojan James [mailto:sojan@malkauns.nsc.com] #Sent: Friday, September 22, 2000 11:21 AM #To: linux-india-programmers@lists.linux-india.org #Subject: Re: [LIP] c++: 2D array # # #T* operator[](int i) should do it. # #SOj. # #On Fri, 22 Sep 2000, Shridhar Daithankar wrote: # #> Hi all #> #> What's the function prototype for overloading [][]operator? #> #> I think of following.. #> #> T& operator[](int i); #> T* operator[](T& ptr); #> #> What do you think? #> #> Bye #> Shridhar #> #> #-- #Sojan James #National Semi. India Designs Ltd. #7/6 Brunton Road, Bangalore 560025. India. #Ph: 5587918/919/920 ext. 308 # # # # # # #--------------------------------------------- #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 Sat Sep 23 07:34:32 2000 Received: from web5301.mail.yahoo.com (web5301.mail.yahoo.com [216.115.106.110]) by www.aunet.org (Postfix) with SMTP id 456494A01C for ; Sat, 23 Sep 2000 07:34:28 -0700 (PDT) Message-ID: <20000923143102.11721.qmail@web5301.mail.yahoo.com> Received: from [203.197.116.120] by web5301.mail.yahoo.com; Sat, 23 Sep 2000 07:31:02 PDT Date: Sat, 23 Sep 2000 07:31:02 -0700 (PDT) From: Santosh Singh Subject: Re: socket implementation.. To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200009/150 --- Shubhendu <97co266@vikram.svrec.ernet.in> wrote: > dear friends > > i have just started unix n/w programming , i want to Hi Shubhendu You are just on the right track and the book you are consulting is okay. You can also go through followings: 1.Unix Network Programming -Chan Prentice Hall of India 2.Begininig Programming in Linux -Wrox publishers Plz chk out exact name of book but you can find them easily. Never forget those man pages itself. Best of Luck Santosh __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Sun Sep 24 00:09:49 2000 Received: from cal3.vsnl.net.in (cal3.vsnl.net.in [202.54.9.23]) by www.aunet.org (Postfix) with ESMTP id 059CE4A03A for ; Sun, 24 Sep 2000 00:09:45 -0700 (PDT) Received: from default (ppp124-183.pppcal.vsnl.net.in [203.197.124.183]) by cal3.vsnl.net.in (8.9.0/8.9.0) with ESMTP id MAA00035 for ; Sun, 24 Sep 2000 12:40:33 +0500 (GMT+0500) Message-Id: <200009240740.MAA00035@cal3.vsnl.net.in> From: "Soumava Das" To: linux-india-programmers@lists.linux-india.org Date: Sun, 24 Sep 2000 11:39:41 +0530 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: About Text-based Front-ends X-mailer: Pegasus Mail for Win32 (v3.12b) X-Archive-Number: 200009/151 Hi Everybody, I am trying to create a text-based front-end for a database (Postgresql) program. The front end should have forms, menus, etc. I am thinking of creating the front-end using ncurses. But, would like to know if there are any better options. ( The front-end should be usable even on DOS ). I have seen full screen text-based front-ends for databases ( they use one at British Council Library, UTI Bank, ....) but don't have any idea how they are created ( using curses ?). Any help in this regard ( as also about ncurses programming ) will be highly helpful. Thanks anyway. Soumava From linux-india-programmers-owner@lists.linux-india.org Sun Sep 24 00:23:14 2000 Received: from hotmail.com (law2-oe14.hotmail.com [216.32.180.118]) by www.aunet.org (Postfix) with ESMTP id C5CF94A025 for ; Sun, 24 Sep 2000 00:23:12 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 24 Sep 2000 00:19:43 -0700 X-Originating-IP: [203.197.199.2] From: "an_jo80" To: Subject: Project on Encryption!!! Date: Sun, 24 Sep 2000 12:41:13 -0700 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.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: X-OriginalArrivalTime: 24 Sep 2000 07:19:43.0850 (UTC) FILETIME=[CFB884A0:01C025F7] X-Archive-Number: 200009/152 Hello!!! I am to do a project on Encryption.I have to do it as a minor project and that will be very important.Please suggest me a good project.Also let me know if it is available somewhere on the net.Mail me at an_jo80@hotmail.com Please try to mail me at the earliest and also send a good project . Anurag Johri an_jo80@hotmail.com an_jo80@yahoo.com an_jo80@usa.net ICQ-30474837 Phone:0124-6306546 Electronics & communications CRSCE,Murthal. From linux-india-programmers-owner@lists.linux-india.org Sun Sep 24 01:31:11 2000 Received: from satyaki.pacific.net.in (satyaki.pacific.net.in [203.123.128.85]) by www.aunet.org (Postfix) with ESMTP id E5F704A00F for ; Sun, 24 Sep 2000 01:31:06 -0700 (PDT) Received: from nirvana (ppp210.bangalore-188.pacific.net.in [203.123.188.210]) by satyaki.pacific.net.in with ESMTP id OAA11969 for ; Sun, 24 Sep 2000 14:14:33 +0530 (IST) Received: from kala by nirvana with local (Exim 3.16 #1 (Debian)) id 13d78E-0003Av-00 for ; Sun, 24 Sep 2000 13:57:30 +0530 Date: Sun, 24 Sep 2000 13:57:29 +0530 To: linux-india-programmers@lists.linux-india.org Subject: Re: About Text-based Front-ends Message-ID: <20000924135729.A11961@localhost.localdomain> References: <200009240740.MAA00035@cal3.vsnl.net.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200009240740.MAA00035@cal3.vsnl.net.in>; from soumava@vsnl.com on Sun, Sep 24, 2000 at 11:39:41AM +0530 From: Babu Kalakrishnan X-Archive-Number: 200009/153 On Sun, Sep 24, 2000 at 11:39:41AM +0530, Soumava Das typed: > I am thinking of creating the front-end using ncurses. But, would like to > know if there are any better options. ( The front-end should be usable even on > DOS ). Try the port of Turbo-Vision to Unix by the RHIDE guys. The same library is available for Linux & DOS. The URL is http://members.nbci.com/stropea/tvision.html Kala From linux-india-programmers-owner@lists.linux-india.org Sun Sep 24 01:57:41 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id 6EC764A00D for ; Sun, 24 Sep 2000 01:57:39 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id EAA00998 for ; Sun, 24 Sep 2000 04:54:10 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id EAA13532 for ; Sun, 24 Sep 2000 04:54:08 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Sun, 24 Sep 2000 14:32:04 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E020A4CC3@ban01xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: About Text-based Front-ends Date: Sun, 24 Sep 2000 14:32:08 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/154 along with babu's suggestion, you could search freshmeat for the port of to unix,, iirc its called uconio or something. but i feel if you are comfortable with the vison toolkit ,then tv i the way to go. shourya btw are you writing some frontend for an app with pgsql at the backend or writing a gui frontend for pgsql itself (like access is a frontend for mdb") #-----Original Message----- #From: Soumava Das [mailto:soumava@vsnl.com] #Sent: Sunday, September 24, 2000 11:40 AM #To: linux-india-programmers@lists.linux-india.org #Subject: [LIP] About Text-based Front-ends # # #Hi Everybody, # I am trying to create a text-based front-end for a #database (Postgresql) #program. The front end should have forms, menus, etc. # I am thinking of creating the front-end using ncurses. #But, would like to #know if there are any better options. ( The front-end should #be usable even on #DOS ). # I have seen full screen text-based front-ends for #databases ( they use #one at British Council Library, UTI Bank, ....) but don't have #any idea how #they are created ( using curses ?). # Any help in this regard ( as also about ncurses #programming ) will be #highly helpful. # Thanks anyway. # #Soumava # #--------------------------------------------- #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 Sep 24 04:54:58 2000 Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6]) by www.aunet.org (Postfix) with ESMTP id F29B94A0FE for ; Sun, 24 Sep 2000 04:54:50 -0700 (PDT) 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 RAA01092 for ; Sun, 24 Sep 2000 17:30:23 GMT Received: from umeshp ([192.168.174.65]) by ecmail.mail.wipro.com (Netscape Messaging Server 3.6) with SMTP id AAA48E3 for ; Sun, 24 Sep 2000 17:13:09 +0530 Message-ID: <048201c0261e$3acbe810$41aea8c0@umeshp.wipsys.soft.net> Reply-To: "umesh" From: "Umesh Mohandas Prabhu" To: Subject: Info about compiler errors Date: Sun, 24 Sep 2000 17:24: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 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Archive-Number: 200009/155 Hi all, When we compile a .c file using cc compiler, the error messages displayed also contain an error number. How do i get more information about the specific error? Thanks in advance prabhu From linux-india-programmers-owner@lists.linux-india.org Sun Sep 24 06:13:53 2000 Received: from brahma.roc.com (unknown [202.54.67.218]) by www.aunet.org (Postfix) with ESMTP id 4EB6849F4B for ; Sun, 24 Sep 2000 06:13:24 -0700 (PDT) Received: from SCORPIO (root@[172.16.1.144]) by brahma.roc.com (8.8.5/8.8.5) with SMTP id SAA05731 for ; Sun, 24 Sep 2000 18:45:09 +0530 (IST) From: Rajesh Bhattacharya Reply-To: rajub@trinc.com Organization: Intoto Software(I) Pvt. Ltd. To: linux-india-programmers@lists.linux-india.org Subject: Re: Info about compiler errors Date: Sun, 24 Sep 2000 18:35:12 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain References: <048201c0261e$3acbe810$41aea8c0@umeshp.wipsys.soft.net> In-Reply-To: <048201c0261e$3acbe810$41aea8c0@umeshp.wipsys.soft.net> MIME-Version: 1.0 Message-Id: <00092418381200.00694@SCORPIO> Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200009/156 Check out in /usr/include/asm/errno.h > When we compile a .c file using cc compiler, the error messages > displayed also contain an error number. > How do i get more information about the specific error? --=20 Rajesh Bhattacharya Software Engineer, Intoto Software (I) Pvt. Ltd. Voice : 040 - 7742606 URL : www.intotoinc.com **************************************************************** No person who is enthusiastic about his work has anything to fear from life. = -- Samuel Goldwin From linux-india-programmers-owner@lists.linux-india.org Mon Sep 25 21:44:02 2000 Received: from natsemi-bh.nsc.com (natsemi-bh.nsc.com [204.163.202.66]) by www.aunet.org (Postfix) with ESMTP id A89134A013 for ; Mon, 25 Sep 2000 21:36:41 -0700 (PDT) Received: (from uucp@localhost) by natsemi-bh.nsc.com (8.8.8/8.6.11) id VAA11878 for ; Mon, 25 Sep 2000 21:30:50 -0700 (PDT) Received: from nsc.nsc.com(139.187.81.1) by natsemi-bh.nsc.com via smap (4.1) id xma011728; Mon, 25 Sep 00 21:30:29 -0700 Received: from malkauns.malkauns.nsc.com (malkauns.nsc.com [139.187.83.131]) by nsc.nsc.com (8.9.3+Sun/8.9.3) with SMTP id VAA15004 for ; Mon, 25 Sep 2000 21:30:22 -0700 (PDT) Received: from [139.187.83.218] by malkauns.malkauns.nsc.com (SMI-8.6/SMI-SVR4) id KAA18512; Tue, 26 Sep 2000 10:09:19 GMT Date: Tue, 26 Sep 2000 10:09:54 +0500 (GMT-5) From: Sojan James X-Sender: sojan@software1.nsc.com To: linux-india-programmers@lists.linux-india.org Subject: Catch Vertical retrace interrupt Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/157 Hi, My query is, does the video driver actually use the vertical retrace interrupt, if yes, is it possible to chain onto it, do your stuff and then call the original routine. Regards Soj. -- Sojan James National Semi. India Designs Ltd. 7/6 Brunton Road, Bangalore 560025. India. Ph: 5587918/919/920 ext. 308 From linux-india-programmers-owner@lists.linux-india.org Mon Sep 25 21:53:34 2000 Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by www.aunet.org (Postfix) with ESMTP id 4748D4A106 for ; Mon, 25 Sep 2000 00:05:24 -0700 (PDT) Received: from redsea.india.hp.com (redsea.india.hp.com [15.76.97.3]) by palrel1.hp.com (Postfix) with ESMTP id D593C91F for ; Mon, 25 Sep 2000 00:01:32 -0700 (PDT) Received: from eb98153 (eb98153.india.hp.com [15.76.98.153]) by redsea.india.hp.com with SMTP (8.7.1/8.7.3 SMKit7.02) id MAA12982 for ; Mon, 25 Sep 2000 12:33:01 +0530 (IST) From: "Vikram K" To: Subject: Help!!!! Date: Mon, 25 Sep 2000 12:30:59 +0530 Message-ID: <001601c026be$5cddb7d0$99624c0f@india.hp.com> 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 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200009/158 Hello, I would like to know how the SCSI device files /dev/sd[a-p] and /dev/sd[a-p][0-15] are created?? I am specifically looking for pointers in the source code... thanx, Vikram K Senior Software Engineer, Hewlett Packard - India Software Operations, 29/30, Cunningham Road, Bangalore - 560 052 Ph.: 286 3394/5, xtn. 1828 mailto:vikramk@india.hp.com From linux-india-programmers-owner@lists.linux-india.org Tue Sep 26 00:18:30 2000 Received: from natsemi-bh.nsc.com (natsemi-bh.nsc.com [204.163.202.66]) by www.aunet.org (Postfix) with ESMTP id D907E4A1A0 for ; Mon, 25 Sep 2000 23:43:19 -0700 (PDT) Received: (from uucp@localhost) by natsemi-bh.nsc.com (8.8.8/8.6.11) id XAA04361 for ; Mon, 25 Sep 2000 23:39:41 -0700 (PDT) Received: from nsc.nsc.com(139.187.81.1) by natsemi-bh.nsc.com via smap (4.1) id xma004259; Mon, 25 Sep 00 23:38:46 -0700 Received: from malkauns.malkauns.nsc.com (malkauns.nsc.com [139.187.83.131]) by nsc.nsc.com (8.9.3+Sun/8.9.3) with SMTP id XAA19630 for ; Mon, 25 Sep 2000 23:38:40 -0700 (PDT) Received: from [139.187.83.218] by malkauns.malkauns.nsc.com (SMI-8.6/SMI-SVR4) id MAA20728; Tue, 26 Sep 2000 12:17:38 GMT Date: Tue, 26 Sep 2000 12:18:13 +0500 (GMT-5) From: Sojan James X-Sender: sojan@software1.nsc.com To: linux-india-programmers@lists.linux-india.org Subject: Re: Help!!!! In-Reply-To: <001601c026be$5cddb7d0$99624c0f@india.hp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/159 hi, The device files are not created by the driver or the kernel. You'll have to create them manually. see "man mknod" for complete details. The device file actually specifies the device major and minor number which are used to index into the array(list) of registered drivers. Regards Soj. On Mon, 25 Sep 2000, Vikram K wrote: > Hello, > > I would like to know how the SCSI device files /dev/sd[a-p] and > /dev/sd[a-p][0-15] are created?? I am specifically looking for pointers in > the source code... > > thanx, > > Vikram K -- Sojan James National Semi. India Designs Ltd. 7/6 Brunton Road, Bangalore 560025. India. Ph: 5587918/919/920 ext. 308 From linux-india-programmers-owner@lists.linux-india.org Tue Sep 26 01:58:16 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id EE6054A14F for ; Tue, 26 Sep 2000 01:42:55 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id OAA22012 for ; Tue, 26 Sep 2000 14:03:56 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id OAA05985 for ; Tue, 26 Sep 2000 14:06:57 +0500 (GMT) Received: from wipro.com ([164.164.27.181]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA612C for ; Tue, 26 Sep 2000 14:07:32 +0530 Message-ID: <39D062F2.630D57F6@wipro.com> Date: Tue, 26 Sep 2000 14:18:50 +0530 From: Ketan Mehta Organization: Wipro Technologies Global R&D 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: problem in Netscape Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/160 hi all, this is not technical problem. But is causing problme. I am using Netscape Communicator 4.72, and also composer as my e-mail client. problem : i have my address book , now if i select any address from it by double clicking then whole netscape closes down - communicator(all windows) and composer. It causes data lose many time and i am unable to use addressbook. it is causing problem.. so anyone knows solution or have faced such a thing. pls help me out. also do i need to upgrade to any version or to apply patch. thanks in advance bye Ketan From linux-india-programmers-owner@lists.linux-india.org Tue Sep 26 03:14:23 2000 Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210]) by www.aunet.org (Postfix) with ESMTP id 583AA4A0AD for ; Tue, 26 Sep 2000 03:14:20 -0700 (PDT) Received: from redsea.india.hp.com (redsea.india.hp.com [15.76.97.3]) by atlrel1.hp.com (Postfix) with ESMTP id 127BB586 for ; Tue, 26 Sep 2000 06:10:40 -0400 (EDT) Received: from india.hp.com (ebnt161.india.hp.com [15.76.97.161]) by redsea.india.hp.com with ESMTP (8.7.1/8.7.3 SMKit7.02) id PAA19762 for ; Tue, 26 Sep 2000 15:42:37 +0530 (IST) Message-ID: <39D0761B.64791DCD@india.hp.com> Date: Tue, 26 Sep 2000 15:40:35 +0530 From: Vivekananda Ponnaiyan Organization: Hewlett Packard X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: problem in Netscape References: <39D062F2.630D57F6@wipro.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/161 I think there is another mailing list for such queries please use that one..... This is solely for linux PROGRAMMERS ... I think we should nip this in the bud so we dont get more mails like this on the mailing list.... Regards Vivek Ketan Mehta wrote: > > hi all, > this is not technical problem. But is causing problme. > I am using Netscape Communicator 4.72, and also composer as my e-mail > client. > problem : i have my address book , now if i select any address from it > by double clicking then whole netscape closes down - communicator(all > windows) and composer. It causes data lose many time and i am unable to > use addressbook. it is causing problem.. > so anyone knows solution or have faced such a thing. pls help me out. > also do i need to upgrade to any version or to apply patch. > > thanks in advance > bye > Ketan > > --------------------------------------------- > 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 Wed Sep 27 05:50:06 2000 Received: from webmail.vsnl.com (S-RTR-1-39.bom.vsnl.net.in [202.54.1.39]) by www.aunet.org (Postfix) with ESMTP id 50E104A157 for ; Wed, 27 Sep 2000 05:50:04 -0700 (PDT) Received: by webmail.vsnl.com (Postfix, from userid 60001) id 8756F225; Wed, 27 Sep 2000 18:16:45 -0500 (GMT) Content-Type: text/plain Content-Disposition: inline Mime-Version: 1.0 X-Mailer: MIME-tools 4.102 (Entity 4.114) From: gautamg@vsnl.com To: linux-india-programmers@lists.linux-india.org Subject: Simultaneous file access. X-Mailer: VSNL, Web based email X-Sender-Ip: 203.199.198.72 Cc: Message-Id: <20000927231645.8756F225@webmail.vsnl.com> Date: Wed, 27 Sep 2000 18:16:45 -0500 (GMT) X-Archive-Number: 200009/162 Hi, I am stuck with a problem about simultaneous access of a file by two apps. The file is being ftped into a directory. The point is that I must not start reading it until the ftp of the file is complete. I tried to obtain an exclusive lock on the file using fcntl. If it failed, then it is being written to by somebody else, right? But that succeeded. Or am I missing something? I would appreciate any help. Thanks, Gautam From linux-india-programmers-owner@lists.linux-india.org Wed Sep 27 07:30:04 2000 Received: from alice.bombay.retortsoft.com (unknown [203.199.65.131]) by www.aunet.org (Postfix) with ESMTP id 591234AA12 for ; Wed, 27 Sep 2000 07:29:06 -0700 (PDT) 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 UAA06056 for ; Wed, 27 Sep 2000 20:06:24 +0530 Received: (from binand@localhost) by jediland.bombay.retortsoft.com (8.9.3/8.9.3) id TAA19716 for linux-india-programmers@lists.linux-india.org; Wed, 27 Sep 2000 19:57:55 +0530 Date: Wed, 27 Sep 2000 19:57:55 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: Simultaneous file access. Message-ID: <20000927195754.A18223@bombay.retortsoft.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20000927231645.8756F225@webmail.vsnl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.9i In-Reply-To: <20000927231645.8756F225@webmail.vsnl.com>; from gautamg@vsnl.com on Wed, Sep 27, 2000 at 06:16:45PM -0500 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: 200009/163 gautamg@vsnl.com forced the electrons to say: > I am stuck with a problem about simultaneous access of a file by two apps. > The file is being ftped into a directory. The point is that I must not start > reading it until the ftp of the file is complete. This problem was posted about 5 years ago on comp.unix.programmer. One of the solutions suggested (easiest to implement) was that the FTP client will ftp in the data file, and afterwards another file of zero length. Your application can verify whether the FTP has been completed by verifying the existence of this zero length file. If it exists, then transfer is complete, so remove this file and open the data file. Binand -- The prompt for all occasions: export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> " --------------- Binand Raj S. (binand@bombay.retortsoft.com) From linux-india-programmers-owner@lists.linux-india.org Wed Sep 27 07:36:20 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id B1FDB4A015 for ; Wed, 27 Sep 2000 07:36:16 -0700 (PDT) Received: from unknown-239-165.pilot.net (unknown-239-165.pilot.net [206.189.239.165]) by unknown-230-101.pilot.net with ESMTP id KAA15846 for ; Wed, 27 Sep 2000 10:32:33 -0400 (EDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-165.pilot.net with ESMTP id KAA10341 for ; Wed, 27 Sep 2000 10:32:30 -0400 (EDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Wed, 27 Sep 2000 20:10:08 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E021A9487@ban01xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: Simultaneous file access. Date: Wed, 27 Sep 2000 20:10:15 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/164 #-----Original Message----- #From: Binand Raj S. [mailto:binand@bombay.retortsoft.com] #Sent: Wednesday, September 27, 2000 7:58 PM #To: linux-india-programmers@lists.linux-india.org #Subject: Re: [LIP] Simultaneous file access. # # #gautamg@vsnl.com forced the electrons to say: #> I am stuck with a problem about simultaneous access of a #file by two apps. #> The file is being ftped into a directory. The point is that #I must not start #> reading it until the ftp of the file is complete. # #This problem was posted about 5 years ago on comp.unix.programmer. One #of the solutions suggested (easiest to implement) was that the FTP #client will ftp in the data file, and afterwards another file of zero #length. Your application can verify whether the FTP has been completed #by verifying the existence of this zero length file. If it exists, #then transfer is complete, so remove this file and open the data file. # #Binand # #-- #The prompt for all occasions: #export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> " #--------------- Binand Raj S. (binand@bombay.retortsoft.com) # # #--------------------------------------------- #The mailing list archives are available at #http://lists.linux-india.org/cgi-bin/wilma/LIP # From linux-india-programmers-owner@lists.linux-india.org Wed Sep 27 07:50:41 2000 Received: from unknown-147.101.pilot.net (unknown-147-101.pilot.net [198.232.147.101]) by www.aunet.org (Postfix) with ESMTP id 1D3714A14E for ; Wed, 27 Sep 2000 07:50:38 -0700 (PDT) Received: from unknown-24-5.pilot.net (unknown-24-5.pilot.net [206.189.24.5]) by unknown-147.101.pilot.net with ESMTP id HAA23074 for ; Wed, 27 Sep 2000 07:46:54 -0700 (PDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-24-5.pilot.net with ESMTP id HAA22786 for ; Wed, 27 Sep 2000 07:46:52 -0700 (PDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Wed, 27 Sep 2000 20:12:45 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E021A948C@ban01xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: Simultaneous file access. Date: Wed, 27 Sep 2000 20:12:53 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/165 just to make your life more complex ; write the ftp program so taht i9t can accept a PID to which it can later send a signal. Let your dependent app register for a callback. write a signal handler in you dependent program. that way you can avoid polling the filesys and continue with some other work (if your dpendent program is non blocking in design) shourya #-----Original Message----- #From: Binand Raj S. [mailto:binand@bombay.retortsoft.com] #Sent: Wednesday, September 27, 2000 7:58 PM #To: linux-india-programmers@lists.linux-india.org #Subject: Re: [LIP] Simultaneous file access. # # #gautamg@vsnl.com forced the electrons to say: #> I am stuck with a problem about simultaneous access of a #file by two apps. #> The file is being ftped into a directory. The point is that #I must not start #> reading it until the ftp of the file is complete. # #This problem was posted about 5 years ago on comp.unix.programmer. One #of the solutions suggested (easiest to implement) was that the FTP #client will ftp in the data file, and afterwards another file of zero #length. Your application can verify whether the FTP has been completed #by verifying the existence of this zero length file. If it exists, #then transfer is complete, so remove this file and open the data file. # #Binand # #-- #The prompt for all occasions: #export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> " #--------------- Binand Raj S. (binand@bombay.retortsoft.com) # # #--------------------------------------------- #The mailing list archives are available at #http://lists.linux-india.org/cgi-bin/wilma/LIP # From linux-india-programmers-owner@lists.linux-india.org Wed Sep 27 17:56:00 2000 Received: from netscape.com (h-205-217-237-46.netscape.com [205.217.237.46]) by www.aunet.org (Postfix) with ESMTP id 5F6384A12E for ; Wed, 27 Sep 2000 17:55:58 -0700 (PDT) Received: from judge.mcom.com (judge.mcom.com [205.217.237.53]) by netscape.com (8.10.0/8.10.0) with ESMTP id e8S0fMC16679 for ; Wed, 27 Sep 2000 17:41:22 -0700 (PDT) Received: from netscape.com ([208.12.45.34]) by judge.mcom.com (Netscape Messaging Server 4.15) with ESMTP id G1KNR002.KXI for ; Wed, 27 Sep 2000 17:52:12 -0700 Message-ID: <39D2963C.A8DEEBB1@netscape.com> Date: Wed, 27 Sep 2000 17:52:12 -0700 From: Sudhakar Chandra Organization: A Doubleplusgood Mega Corporation X-Mailer: Mozilla 4.75b1 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en, fr MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Simultaneous file access. References: <1196B5CB33DED311A73700508B6FEB1E021A948C@ban01xbindge.geind.ge.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/166 "Sarcar, Shourya (MED)" proclaimed: > write the ftp program so taht i9t can accept a PID to which it can > later send a signal. Let your dependent app register for a callback. write a > signal handler in you dependent program. that way you can avoid polling the > filesys and continue with some other work (if your dpendent program is non > blocking in design) Do you, by any chance, write Booch-certified, Object Oriented, distributed, Hello World programs in C++ for a living? ;-) Thaths -- Lisa: It's full, Dad, that means you have to take out the trash. Bart: Yup, that's the rule. "He who tops it off, drops it off." Homer: Nuh-uh. "It isn't filled until it's spilled." Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave From linux-india-programmers-owner@lists.linux-india.org Wed Sep 27 22:15:49 2000 Received: from delfile.trust.del.estart.com (unknown [203.144.96.120]) by www.aunet.org (Postfix) with ESMTP id 167804A32C for ; Wed, 27 Sep 2000 22:14:24 -0700 (PDT) Received: from delmail.del.estart.com (delmail.del.estart.com [10.200.1.4]) by delfile.trust.del.estart.com (8.9.3/8.9.3) with SMTP id KAA23765 for ; Thu, 28 Sep 2000 10:40:33 +0530 Received: from jal.acl-india.com (dsdel-97-87.del.estart.com [203.144.97.87]) by delmail.del.estart.com (8.9.3/8.9.3) with SMTP id KAA08453 for ; Thu, 28 Sep 2000 10:40:30 +0530 Received: from AMBAR (ambar.acl-india.com [10.0.0.130]) by jal.acl-india.com (8.9.3/8.9.3) with SMTP id KAA00955 for ; Thu, 28 Sep 2000 10:37:02 +0530 Message-ID: <003d01c02909$9e94f2e0$8200000a@aclindia.com> From: "Ambar Roy" To: Subject: Unix sockets under Java Date: Thu, 28 Sep 2000 10:34:45 +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: 200009/167 Hi, Is there any method by which i can use unix sockets under java! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Thu Sep 28 09:49:58 2000 Received: from coredump (unknown [203.197.136.6]) by www.aunet.org (Postfix) with ESMTP id 6D0164A200 for ; Thu, 28 Sep 2000 09:33:36 -0700 (PDT) Received: by coredump (Postfix, from userid 500) id 185DECB83; Fri, 29 Sep 2000 21:58:11 +0530 (IST) Date: Fri, 29 Sep 2000 21:58:10 +0530 From: G Gautam To: linux-india-programmers@lists.linux-india.org Subject: Re: Simultaneous file access. Message-ID: <20000929215810.A578@localhost.localdomain> Mail-Followup-To: G Gautam , linux-india-programmers@lists.linux-india.org References: <20000927231645.8756F225@webmail.vsnl.com> <20000927195754.A18223@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: <20000927195754.A18223@bombay.retortsoft.com>; from binand@bombay.retortsoft.com on Wed, Sep 27, 2000 at 07:57:55PM +0530 X-Archive-Number: 200009/168 On Sep 27, Binand Raj S. wrote: > gautamg@vsnl.com forced the electrons to say: [...] > by verifying the existence of this zero length file. If it exists, > then transfer is complete, so remove this file and open the data file. > > Binand Thanks to Binand, Shourya and Thaths for the replies. Gautam From linux-india-programmers-owner@lists.linux-india.org Thu Sep 28 20:09:49 2000 Received: from mail-relay-vsat2.ernet.in (unknown [202.41.99.9]) by www.aunet.org (Postfix) with ESMTP id 9F7984A373 for ; Thu, 28 Sep 2000 20:09:44 -0700 (PDT) Received: from matrix.reccal.ernet.in ([202.41.105.50]) by mail-relay-vsat2.ernet.in (8.9.3/8.9.3) with ESMTP id GAA03625 for ; Fri, 29 Sep 2000 06:54:05 +0530 Received: (from linac@localhost) by matrix.reccal.ernet.in (8.8.7/8.8.7) id IAA31888; Fri, 29 Sep 2000 08:27:21 +0530 Date: Fri, 29 Sep 2000 08:27:21 +0530 (IST) From: Linac Is Not A Club To: Linux India Programmers Subject: Dynamic Installlation of System Calls Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/169 Dear Friends, Is it possible to install a new system call by a dynamic kernel module. If yes, how ? Dinuraj K LiNaC REC Calicut ------------------------------------------------------------------------ Trifles make perfection, and perfection is no trifle. -- Michelangelo From linux-india-programmers-owner@lists.linux-india.org Thu Sep 28 20:54:58 2000 Received: from unknown-147.101.pilot.net (unknown-147-101.pilot.net [198.232.147.101]) by www.aunet.org (Postfix) with ESMTP id 6CB044A352 for ; Thu, 28 Sep 2000 20:54:56 -0700 (PDT) Received: from unknown-24-15.pilot.net (unknown-24-15.pilot.net [206.189.24.15]) by unknown-147.101.pilot.net with ESMTP id UAA29644 for ; Thu, 28 Sep 2000 20:51:06 -0700 (PDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-24-15.pilot.net with ESMTP id UAA06701 for ; Thu, 28 Sep 2000 20:51:04 -0700 (PDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Fri, 29 Sep 2000 09:28:54 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E021A9A54@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: Simultaneous file access. Date: Fri, 29 Sep 2000 09:28:35 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200009/170 #"Sarcar, Shourya (MED)" proclaimed: #> write the ftp program so taht i9t can accept a PID=20 #to which it can #> later send a signal. Let your dependent app register for a=20 #callback. write a #> signal handler in you dependent program. that way you can=20 #avoid polling the #> filesys and continue with some other work (if your dpendent=20 #program is non #> blocking in design) # #Do you, by any chance, write Booch-certified, Object Oriented,=20 #distributed, #Hello World programs in C++ for a living? ;-) # #Thaths Burp ! Many many years ago, when Bjarne used to go to a creche, and Booch used to hang-aroung with procedural groupies, I wrote a Simula program which had a Bart object which collaborated with a Chain of Responsibilty pattern to trigger of a Command object which would make the Bart::_principal object cout<<" I will make sure the students make no more fun of your name , Mr. Glaskoch ". And at time I was working at a Nuclear plant ;) Regards, Shourya Shourya.Sarcar@geind.ge.com ______________________________________________________________ Global Software Platforms GE Medical Systems A1 Golden Enclave, Airport Road, Bangalore, India 560 017=20 Tel : +91-80-526 3121|3496 Ext 362=A0 Surf : www.gemedicalsystems.com | www.shourya.com From linux-india-programmers-owner@lists.linux-india.org Thu Sep 28 21:10:46 2000 Received: from unknown-147.101.pilot.net (unknown-147-101.pilot.net [198.232.147.101]) by www.aunet.org (Postfix) with ESMTP id 88EDF4A53E for ; Thu, 28 Sep 2000 21:04:57 -0700 (PDT) Received: from unknown-24-15.pilot.net (unknown-24-15.pilot.net [206.189.24.15]) by unknown-147.101.pilot.net with ESMTP id VAA03287 for ; Thu, 28 Sep 2000 21:01:08 -0700 (PDT) Received: from new02xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-24-15.pilot.net with ESMTP id VAA10932 for ; Thu, 28 Sep 2000 21:01:06 -0700 (PDT) Received: by new02xbindge.geind.ge.com with Internet Mail Service (5.5.2650.21) id ; Fri, 29 Sep 2000 09:38:56 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E021A9ADD@ban03xbindge.geind.ge.com> From: "Sarcar, Shourya (MED)" To: linux-india-programmers@lists.linux-india.org Subject: RE: Unix sockets under Java Date: Fri, 29 Sep 2000 09:38:30 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200009/171 look at it the other way, hat would make your program unportable :) TTBOMK, Java does not support UDP (Unix Domain Protocol), i may be wrong. you can off-course try out smoe JNI tricks. Shourya #-----Original Message----- #From: Ambar Roy [mailto:ambar@acl-india.com] #Sent: Thursday, September 28, 2000 10:35 AM #To: linux-india-programmers@lists.linux-india.org #Subject: [LIP] Unix sockets under Java # # #Hi, # Is there any method by which i can use unix sockets under java! #Bye, # /\ |\/| |3 /\ r # # #--------------------------------------------- #The mailing list archives are available at #http://lists.linux-india.org/cgi-bin/wilma/LIP # From linux-india-programmers-owner@lists.linux-india.org Thu Sep 28 21:57:52 2000 Received: from universe.nextset.com (unknown [209.157.151.228]) by www.aunet.org (Postfix) with ESMTP id E2D654A241 for ; Thu, 28 Sep 2000 21:57:45 -0700 (PDT) Received: from nextset.com (whale.nextset.com [209.157.151.6]) by universe.nextset.com (8.10.0/8.10.0) with ESMTP id e8T4iZp07681 for ; Thu, 28 Sep 2000 21:44:35 -0700 (PDT) Message-ID: <39D42059.61F2B414@nextset.com> Date: Thu, 28 Sep 2000 21:53:45 -0700 From: Anurag Shekhar X-Mailer: Mozilla 4.7 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Unix sockets under Java References: <003d01c02909$9e94f2e0$8200000a@aclindia.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/172 u can try JNI anurag Ambar Roy wrote: > Hi, > Is there any method by which i can use unix sockets under java! > Bye, > /\ |\/| |3 /\ r > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP From linux-india-programmers-owner@lists.linux-india.org Thu Sep 28 22:21:59 2000 Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by www.aunet.org (Postfix) with ESMTP id 910A64A291 for ; Thu, 28 Sep 2000 22:21:55 -0700 (PDT) Received: from redsea.india.hp.com (redsea.india.hp.com [15.76.97.3]) by palrel1.hp.com (Postfix) with ESMTP id A3E25ED3 for ; Thu, 28 Sep 2000 22:18:03 -0700 (PDT) Received: from india.hp.com (ebnt161.india.hp.com [15.76.97.161]) by redsea.india.hp.com with ESMTP (8.7.1/8.7.3 SMKit7.02) id KAA10590 for ; Fri, 29 Sep 2000 10:50:01 +0530 (IST) Message-ID: <39D42608.B19C2A59@india.hp.com> Date: Fri, 29 Sep 2000 10:48:00 +0530 From: Vivekananda Ponnaiyan Organization: Hewlett Packard X-Mailer: Mozilla 4.7 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Dynamic Installlation of System Calls References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/173 Hi, What you have to do is that you write over a previous system call in the syscall table. Other than that I dont know whats possible. But in the 2.0.36 kernel each syscall needed an entry in entry.S and thus you couldnt "add" any syscalls dynamically but you could write over any existing one. Look at the syscall table structure and have a look at the kernel hackers guide for how to add a syscall.... Hope this helps Regards Vivekananda Ponnaiyan Linac Is Not A Club wrote: > > Dear Friends, > Is it possible to install a new system call by a dynamic kernel > module. If yes, how ? > > Dinuraj K > LiNaC > REC Calicut > > ------------------------------------------------------------------------ > Trifles make perfection, and perfection is no trifle. > -- Michelangelo > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP From linux-india-programmers-owner@lists.linux-india.org Thu Sep 28 22:37:11 2000 Received: from cello.cs.iitm.ernet.in (cello.cs.iitm.ernet.in [202.141.24.3]) by www.aunet.org (Postfix) with ESMTP id 20E0C4A00F for ; Thu, 28 Sep 2000 22:37:05 -0700 (PDT) Received: from eagle.iitm.ernet.in (IDENT:root@eagle.iitm.ernet.in [144.16.241.142]) by cello.cs.iitm.ernet.in (8.9.3/8.8.7) with ESMTP id SAA16183 for ; Sat, 19 Jul 1997 18:23:46 +0530 Received: from localhost (vinod@localhost) by eagle.iitm.ernet.in (8.9.3/8.9.3) with ESMTP id MAA03703 for ; Fri, 29 Sep 2000 12:22:24 +0530 Date: Fri, 29 Sep 2000 12:22:23 +0530 (IST) From: Vinod Pathangay To: linux-india-programmers@lists.linux-india.org Subject: X app on multiple displays In-Reply-To: <39D42059.61F2B414@nextset.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/174 junta: how do i display an application in X on more that 1 machine?? we have lab meetings here and we dont have a LCD projector i want to display my graphs/eqns... on all the machines scattered around in the lab; all hosts run RHL6.0 Initially i thought of writing a java whiteboard app but then X is supposed to be network transparent rite? so thr has to be a better way of doing it... -- Vinod........ Grad Student ARTIFICIAL NEURAL NETWORKS LAB, CSE, IITM (Its all about training nets...) From linux-india-programmers-owner@lists.linux-india.org Thu Sep 28 22:37:53 2000 Received: from mail2.pspl.co.in (unknown [202.54.11.81]) by www.aunet.org (Postfix) with ESMTP id AC7CA4A39C for ; Thu, 28 Sep 2000 22:37:48 -0700 (PDT) Received: from pspl.co.in (IDENT:prodigy@vrindavan.intranet.pspl.co.in [192.168.1.18]) by mail2.pspl.co.in (8.9.3/8.9.3) with ESMTP id LAA00634 for ; Fri, 29 Sep 2000 11:07:42 +0530 Message-ID: <39D42A15.DEB6E51A@pspl.co.in> Date: Fri, 29 Sep 2000 11:05:17 +0530 From: Santosh Dawara Organization: Persistent Systems X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Unix sockets under Java References: <003d01c02909$9e94f2e0$8200000a@aclindia.com> <39D42059.61F2B414@nextset.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/175 Hi all, If your looking for UDP as opposed to TCP this might work -> Sorry I could not post a link as this was not copied from the web, but you could get similar specs for the Java 1.2 API at sun ---------------------------------------------------------------- java.net Class DatagramSocket java.lang.Object | +--java.net.DatagramSocket Direct Known Subclasses: MulticastSocket public class DatagramSocket extends Object This class represents a socket for sending and receiving datagram packets. A datagram socket is the sending or receiving point for a packet delivery service. Each packet sent or received on a datagram socket is individually addressed and routed. Multiple packets sent from one machine to another may be routed differently, and may arrive in any order. UDP broadcasts sends and receives are always enabled on a DatagramSocket. Since: JDK1.0 See Also: DatagramPacket Constructor Summary DatagramSocket() Constructs a datagram socket and binds it to any available port on the local host machine. DatagramSocket(int port) Constructs a datagram socket and binds it to the specified port on the local host machine. DatagramSocket(int port, InetAddress laddr) Creates a datagram socket, bound to the specified local address. Method Summary void close() Closes this datagram socket. void connect(InetAddress address, int port) Connects the socket to a remote address for this socket. void disconnect() Disconnects the socket. InetAddress getInetAddress() Returns the address to which this socket is connected. InetAddress getLocalAddress() Gets the local address to which the socket is bound. int getLocalPort() Returns the port number on the local host to which this socket is bound. int getPort() Returns the port for this socket. int getReceiveBufferSize() Get value of the SO_RCVBUF option for this socket, that is the buffer size used by the platform for input on the this Socket. int getSendBufferSize() Get value of the SO_SNDBUF option for this socket, that is the buffer size used by the platform for output on the this Socket. int getSoTimeout() Retrive setting for SO_TIMEOUT. void receive(DatagramPacket p) Receives a datagram packet from this socket. void send(DatagramPacket p) Sends a datagram packet from this socket. void setReceiveBufferSize(int size) Sets the SO_RCVBUF option to the specified value for this DatagramSocket. void setSendBufferSize(int size) Sets the SO_SNDBUF option to the specified value for this DatagramSocket. void setSoTimeout(int timeout) Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds. Methods inherited from class java.lang.Object clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait Constructor Detail DatagramSocket public DatagramSocket() throws SocketException Constructs a datagram socket and binds it to any available port on the local host machine. If there is a security manager, its checkListen method is first called with 0 as its argument to ensure the operation is allowed. This could result in a SecurityException. Throws: SocketException - if the socket could not be opened, or the socket could not bind to the specified local port. SecurityException - if a security manager exists and its checkListen method doesn't allow the operation. See Also: SecurityManager.checkListen(int) DatagramSocket public DatagramSocket(int port) throws SocketException Constructs a datagram socket and binds it to the specified port on the local host machine. If there is a security manager, its checkListen method is first called with the port argument as its argument to ensure the operation is allowed. This could result in a SecurityException. Parameters: port - port to use. Throws: SocketException - if the socket could not be opened, or the socket could not bind to the specified local port. SecurityException - if a security manager exists and its checkListen method doesn't allow the operation. See Also: SecurityManager.checkListen(int) DatagramSocket public DatagramSocket(int port, InetAddress laddr) throws SocketException Creates a datagram socket, bound to the specified local address. The local port must be between 0 and 65535 inclusive. If there is a security manager, its checkListen method is first called with the port argument as its argument to ensure the operation is allowed. This could result in a SecurityException. Parameters: port - local port to use laddr - local address to bind Throws: SocketException - if the socket could not be opened, or the socket could not bind to the specified local port. SecurityException - if a security manager exists and its checkListen method doesn't allow the operation. Since: JDK1.1 See Also: SecurityManager.checkListen(int) Method Detail connect public void connect(InetAddress address, int port) Connects the socket to a remote address for this socket. When a socket is connected to a remote address, packets may only be sent to or received from that address. By default a datagram socket is not connected. A caller's permission to send and receive datagrams to a given host and port are checked at connect time. When a socket is connected, receive and send will not perform any security checks on incoming and outgoing packets, other than matching the packet's and the socket's address and port. On a send operation, if the packet's address is set and the packet's address and the socket's address do not match, an IllegalArgumentException will be thrown. A socket connected to a multicast address may only be used to send packets. Parameters: address - the remote address for the socket port - the remote port for the socket. Throws: IllegalArgumentException - if the address is invalid or the port is out of range. SecurityException - if the caller is not allowed to send datagrams to and receive datagrams from the address and port. See Also: disconnect(), send(java.net.DatagramPacket), receive(java.net.DatagramPacket) disconnect public void disconnect() Disconnects the socket. This does nothing if the socket is not connected. See Also: connect(java.net.InetAddress, int) getInetAddress public InetAddress getInetAddress() Returns the address to which this socket is connected. Returns null if the socket is not connected. Returns: the address to which this socket is connected. getPort public int getPort() Returns the port for this socket. Returns -1 if the socket is not connected. Returns: the port to which this socket is connected. send public void send(DatagramPacket p) throws IOException Sends a datagram packet from this socket. The DatagramPacket includes information indicating the data to be sent, its length, the IP address of the remote host, and the port number on the remote host. If there is a security manager, and the socket is not currently connected to a remote address, this method first performs some security checks. First, if p.getAddress().isMulticastAddress() is true, this method calls the security manager's checkMulticast method with p.getAddress() as its argument. If the evaluation of that expression is false, this method instead calls the security manager's checkConnect method with arguments p.getAddress().getHostAddress() and p.getPort(). Each call to a security manager method could result in a SecurityException if the operation is not allowed. Parameters: p - the DatagramPacket to be sent. Throws: IOException - if an I/O error occurs. SecurityException - if a security manager exists and its checkMulticast or checkConnect method doesn't allow the send. See Also: DatagramPacket, SecurityManager.checkMulticast(InetAddress), SecurityManager.checkConnect(java.lang.String, int) receive public void receive(DatagramPacket p) throws IOException Receives a datagram packet from this socket. When this method returns, the DatagramPacket's buffer is filled with the data received. The datagram packet also contains the sender's IP address, and the port number on the sender's machine. This method blocks until a datagram is received. The length field of the datagram packet object contains the length of the received message. If the message is longer than the packet's length, the message is truncated. If there is a security manager, a packet cannot be received if the security manager's checkAccept method does not allow it. Parameters: p - the DatagramPacket into which to place the incoming data. Throws: IOException - if an I/O error occurs. See Also: DatagramPacket, DatagramSocket getLocalAddress public InetAddress getLocalAddress() Gets the local address to which the socket is bound. If there is a security manager, its checkConnect method is first called with the host address and -1 as its arguments to see if the operation is allowed. Throws: SecurityException - if a security manager exists and its checkConnect method doesn't allow the operation. Since: 1.1 See Also: SecurityManager.checkConnect(java.lang.String, int) getLocalPort public int getLocalPort() Returns the port number on the local host to which this socket is bound. Returns: the port number on the local host to which this socket is bound. setSoTimeout public void setSoTimeout(int timeout) throws SocketException Enable/disable SO_TIMEOUT with the specified timeout, in milliseconds. With this option set to a non-zero timeout, a call to receive() for this DatagramSocket will block for only this amount of time. If the timeout expires, a java.io.InterruptedIOException is raised, though the ServerSocket is still valid. The option must be enabled prior to entering the blocking operation to have effect. The timeout must be > 0. A timeout of zero is interpreted as an infinite timeout. Since: JDK1.1 getSoTimeout public int getSoTimeout() throws SocketException Retrive setting for SO_TIMEOUT. 0 returns implies that the option is disabled (i.e., timeout of infinity). Since: JDK1.1 setSendBufferSize public void setSendBufferSize(int size) throws SocketException Sets the SO_SNDBUF option to the specified value for this DatagramSocket. The SO_SNDBUF option is used by the platform's networking code as a hint for the size to use to allocate set the underlying network I/O buffers. Increasing buffer size can increase the performance of network I/O for high-volume connection, while decreasing it can help reduce the backlog of incoming data. For UDP, this sets the maximum size of a packet that may be sent on this socket. Because SO_SNDBUF is a hint, applications that want to verify what size the buffers were set to should call IllegalArgumentException - if the value is 0 or is negative. getSendBufferSize public int getSendBufferSize() throws SocketException Get value of the SO_SNDBUF option for this socket, that is the buffer size used by the platform for output on the this Socket. See Also: setSendBufferSize(int) setReceiveBufferSize public void setReceiveBufferSize(int size) throws SocketException Sets the SO_RCVBUF option to the specified value for this DatagramSocket. The SO_RCVBUF option is used by the platform's networking code as a hint for the size to use to allocate set the underlying network I/O buffers. Increasing buffer size can increase the performance of network I/O for high-volume connection, while decreasing it can help reduce the backlog of incoming data. For UDP, this sets the maximum size of a packet that may be sent on this socket. Because SO_RCVBUF is a hint, applications that want to verify what size the buffers were set to should call IllegalArgumentException - if the value is 0 or is negative. getReceiveBufferSize public int getReceiveBufferSize() throws SocketException Get value of the SO_RCVBUF option for this socket, that is the buffer size used by the platform for input on the this Socket. See Also: setReceiveBufferSize(int) close public void close() Closes this datagram socket. Submit a bug or feature Version 1.2 of Java Platform API Specification Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries. Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. ------------------------------------------------------------------------------------ Regards, Santosh Dawara. Anurag Shekhar wrote: > > u can try JNI > anurag > > Ambar Roy wrote: > > > Hi, > > Is there any method by which i can use unix sockets under java! > > Bye, > > /\ |\/| |3 /\ r > > > > --------------------------------------------- > > The mailing list archives are available at > > http://lists.linux-india.org/cgi-bin/wilma/LIP > > --------------------------------------------- > 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 Sep 28 23:35:20 2000 Received: from delfile.trust.del.estart.com (unknown [203.144.96.101]) by www.aunet.org (Postfix) with ESMTP id 748A74A787 for ; Thu, 28 Sep 2000 23:35:12 -0700 (PDT) Received: from delmail.del.estart.com (delmail.del.estart.com [10.200.1.4]) by delfile.trust.del.estart.com (8.9.3/8.9.3) with SMTP id MAA26502 for ; Fri, 29 Sep 2000 12:01:18 +0530 Received: from AMBAR (dsdel-97-80.del.estart.com [203.144.97.80]) by delmail.del.estart.com (8.9.3/8.9.3) with SMTP id MAA10188 for ; Fri, 29 Sep 2000 12:01:14 +0530 Message-ID: <002701c029de$12272e10$8200000a@aclindia.com> From: "Ambar Roy" To: References: <003d01c02909$9e94f2e0$8200000a@aclindia.com> <39D42059.61F2B414@nextset.com> <39D42A15.DEB6E51A@pspl.co.in> Subject: Re: Unix sockets under Java Date: Fri, 29 Sep 2000 11:55:28 +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: 200009/176 > If your looking for UDP as opposed to TCP this might work -> i was not reffering to UDP/IP but Unix FIFO sockets!!!!!!!!! Bye, /\ |\/| |3 /\ r PS: I found a way to run the server that was using Unix sockets using TCP/IP, so i don't think that i wud need to do any tricks to get it working!!! From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 00:10:59 2000 Received: from sirsyed.ssuet.edu.pk (sirsyed.ssuet.edu.pk [210.56.5.13]) by www.aunet.org (Postfix) with ESMTP id 37E724A6D3 for ; Fri, 29 Sep 2000 00:09:12 -0700 (PDT) Received: from jupiter (ras3.ssuet.edu.pk [192.168.4.4]) by sirsyed.ssuet.edu.pk (8.11.0/8.10.0) with SMTP id e8T786p25286 for ; Fri, 29 Sep 2000 12:08:07 +0500 From: "Abdul Basit" To: Subject: RE: X app on multiple displays Date: Fri, 29 Sep 2000 12:06:27 +0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200009/177 well you can run use Reflection-X suite for this that'll do NFS sharing of X for you if you use windows on workstations , else just export DISPLAY variable on your workstations to server:screen format and run X .. I hope i got your point right! Basit -----Original Message----- From: linux-india-programmers-owner@lists.linux-india.org [mailto:linux-india-programmers-owner@lists.linux-india.org]On Behalf Of Vinod Pathangay Sent: Friday, September 29, 2000 11:52 AM To: linux-india-programmers@lists.linux-india.org Subject: [LIP] X app on multiple displays junta: how do i display an application in X on more that 1 machine?? we have lab meetings here and we dont have a LCD projector i want to display my graphs/eqns... on all the machines scattered around in the lab; all hosts run RHL6.0 Initially i thought of writing a java whiteboard app but then X is supposed to be network transparent rite? so thr has to be a better way of doing it... -- Vinod........ Grad Student ARTIFICIAL NEURAL NETWORKS LAB, CSE, IITM (Its all about training nets...) --------------------------------------------- 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 Sep 29 00:27:06 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 546B54A702 for ; Fri, 29 Sep 2000 00:27:02 -0700 (PDT) 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 e8T7Tl125449 for ; Fri, 29 Sep 2000 12:59:47 +0530 Message-ID: <39D443F3.33081A83@pspl.co.in> Date: Fri, 29 Sep 2000 12:55:39 +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: X app on multiple displays References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/178 Hi I do not agree with you. I use reflection. It's an X server after all. What you need to do is to run a X application with multiple display variables as command line arguments. Or other way I can think of is, as follows. Lets say you want a program running on machine 'A' to be displayed on machines 'B' to 'Z'. So on machines 'B'-'Z', add 'A' in access control list. And run X program on 'A' with DISPLAY variable set to any one machine of 'B'-'Z'. Point is it has to go to the network. The machines 'B'-'Z' should listen to and accept the broadcast traffic from that machine, even if it's not destined to to them. Maybe put your network card in promiscuous mode. Ugly hack indeed. What do you people think? Will this work? Bye Shridhar Abdul Basit wrote: > well you can run use Reflection-X suite for this that'll do NFS sharing of X > for you > if you use windows on workstations , else just export DISPLAY variable on > your workstations > to server:screen format and run X .. From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 00:32:24 2000 Received: from sirsyed.ssuet.edu.pk (sirsyed.ssuet.edu.pk [210.56.5.13]) by www.aunet.org (Postfix) with ESMTP id CB1E14A5C3 for ; Fri, 29 Sep 2000 00:32:15 -0700 (PDT) Received: from jupiter (ras3.ssuet.edu.pk [192.168.4.4]) by sirsyed.ssuet.edu.pk (8.11.0/8.10.0) with SMTP id e8T7VDp26045 for ; Fri, 29 Sep 2000 12:31:13 +0500 From: "Abdul Basit" To: Subject: RE: X app on multiple displays Date: Fri, 29 Sep 2000 12:29:33 +0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 In-Reply-To: <39D443F3.33081A83@pspl.co.in> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200009/179 yes i think that's what i told for *nix based workstations just using xdm at server end and export DISPLAY variable on workstations and starting X 'll get server X screen . Basit -----Original Message----- From: linux-india-programmers-owner@lists.linux-india.org [mailto:linux-india-programmers-owner@lists.linux-india.org]On Behalf Of Shridhar Daithankar Sent: Friday, September 29, 2000 12:26 PM To: linux-india-programmers@lists.linux-india.org Subject: Re: [LIP] X app on multiple displays Hi I do not agree with you. I use reflection. It's an X server after all. What you need to do is to run a X application with multiple display variables as command line arguments. Or other way I can think of is, as follows. Lets say you want a program running on machine 'A' to be displayed on machines 'B' to 'Z'. So on machines 'B'-'Z', add 'A' in access control list. And run X program on 'A' with DISPLAY variable set to any one machine of 'B'-'Z'. Point is it has to go to the network. The machines 'B'-'Z' should listen to and accept the broadcast traffic from that machine, even if it's not destined to to them. Maybe put your network card in promiscuous mode. Ugly hack indeed. What do you people think? Will this work? Bye Shridhar Abdul Basit wrote: > well you can run use Reflection-X suite for this that'll do NFS sharing of X > for you > if you use windows on workstations , else just export DISPLAY variable on > your workstations > to server:screen format and run X .. --------------------------------------------- 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 Sep 29 00:33:20 2000 Received: from natsemi-bh.nsc.com (natsemi-bh.nsc.com [204.163.202.66]) by www.aunet.org (Postfix) with ESMTP id 56E444AE07 for ; Fri, 29 Sep 2000 00:33:19 -0700 (PDT) Received: (from uucp@localhost) by natsemi-bh.nsc.com (8.8.8/8.6.11) id AAA17871 for ; Fri, 29 Sep 2000 00:29:27 -0700 (PDT) From: sojan@malkauns.nsc.com Received: from nsc.nsc.com(139.187.81.1) by natsemi-bh.nsc.com via smap (4.1) id xma017669; Fri, 29 Sep 00 00:28:37 -0700 Received: from malkauns.malkauns.nsc.com (malkauns.nsc.com [139.187.83.131]) by nsc.nsc.com (8.9.3+Sun/8.9.3) with SMTP id AAA11474 for ; Fri, 29 Sep 2000 00:28:32 -0700 (PDT) Received: from indira by malkauns.malkauns.nsc.com (SMI-8.6/SMI-SVR4) id NAA24326; Fri, 29 Sep 2000 13:07:26 GMT Date: Fri, 29 Sep 2000 13:08:05 +0500 (GMT-5) X-Sender: sojan@idc-sw1.nsc.com To: linux-india-programmers@lists.linux-india.org Subject: Re: X app on multiple displays In-Reply-To: <39D443F3.33081A83@pspl.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/180 HI, Won't work...Xlib does not use a one way protocol, what happens to the responses the server makes to the client? Soj. > program on 'A' with DISPLAY variable set to any one machine of 'B'-'Z'. Point is > it has to go to the network. > The machines 'B'-'Z' should listen to and accept the broadcast traffic from that > machine, even if it's not destined to to them. Maybe put your network card in > promiscuous mode. Ugly hack indeed. What do you people think? Will this work? > > Bye > Shridhar From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 00:45:35 2000 Received: from sirsyed.ssuet.edu.pk (sirsyed.ssuet.edu.pk [210.56.5.13]) by www.aunet.org (Postfix) with ESMTP id AE1B04A0D9 for ; Fri, 29 Sep 2000 00:45:14 -0700 (PDT) Received: from jupiter (ras3.ssuet.edu.pk [192.168.4.4]) by sirsyed.ssuet.edu.pk (8.11.0/8.10.0) with SMTP id e8T7hBp26248 for ; Fri, 29 Sep 2000 12:43:12 +0500 From: "Abdul Basit" To: Subject: RE: X app on multiple displays Date: Fri, 29 Sep 2000 12:41:32 +0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200009/181 well one more thing can be done i think Running VNC(Virtual network computing ) server at one end and making all workstations as VNC clients 'll get VNC X screen on all VNC clients , and you can restrict mouse on workstations so they can't interact with session just see the screen .. Basit -----Original Message----- From: linux-india-programmers-owner@lists.linux-india.org [mailto:linux-india-programmers-owner@lists.linux-india.org]On Behalf Of sojan@malkauns.nsc.com Sent: Friday, September 29, 2000 1:08 PM To: linux-india-programmers@lists.linux-india.org Subject: Re: [LIP] X app on multiple displays HI, Won't work...Xlib does not use a one way protocol, what happens to the responses the server makes to the client? Soj. > program on 'A' with DISPLAY variable set to any one machine of 'B'-'Z'. Point is > it has to go to the network. > The machines 'B'-'Z' should listen to and accept the broadcast traffic from that > machine, even if it's not destined to to them. Maybe put your network card in > promiscuous mode. Ugly hack indeed. What do you people think? Will this work? > > Bye > Shridhar --------------------------------------------- The mailing list archives are available at http://lists.linux-india.org/cgi-bin/wilma/LIP From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 01:12:27 2000 Received: from svrsdfbldg.tcscal.co.in (unknown [206.103.11.137]) by www.aunet.org (Postfix) with SMTP id 6C8574A717 for ; Fri, 29 Sep 2000 01:12:16 -0700 (PDT) Received: from a5-766.tcscal.co.in ([172.18.10.97]) by svrsdfbldg.tcscal.co.in (Lotus SMTP MTA v4.6.6 (890.1 7-16-1999)) with SMTP id 65256969.002CEA58; Fri, 29 Sep 2000 13:40:35 +0530 From: robin s chatterjee/PLs/TCSCALCUTTA/TCS Date: Fri, 29 Sep 2000 13:41:01 +0530 To: linux-india-programmers@lists.linux-india.org Subject: RE: X app on multiple displays Message-ID: <308905E340CC70F865256969002C89EF.0000000000000000@tcscal.co.in> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/182 vnc won't wok as you can't get two connections to the same screen ( at least I havn't manged it yet. Cheerio Robin From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 03:37:12 2000 Received: from hanuman.aukbc.org (unknown [203.197.142.200]) by www.aunet.org (Postfix) with ESMTP id 1022C4B368 for ; Fri, 29 Sep 2000 03:31:34 -0700 (PDT) Received: from localhost (IDENT:mksarav@localhost [127.0.0.1]) by hanuman.aukbc.org (8.9.3/8.9.3) with ESMTP id QAA01006 for ; Fri, 29 Sep 2000 16:04:06 +0530 Date: Fri, 29 Sep 2000 16:04:06 +0530 (IST) From: M K Saravanan To: linux-india-programmers@lists.linux-india.org Subject: Re: X app on multiple displays In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/183 On Fri, 29 Sep 2000, Vinod Pathangay wrote: > i want to display my graphs/eqns... on all the machines scattered > around in the lab; all hosts run RHL6.0 will IP multicasting (using Class-D multicast Group IDs) be of any help? ** mks ** -- ******************************************************************** M K Saravanan, Member Research Staff, The AU-KBC Centre for Internet & Telecom Technologies, Madras Institute of Technology, Anna University, Chromepet, Chennai 600 044. Tamilnadu, INDIA Tel (O): 91 44 2417885 Email: mksarav@mitindia.edu Telefax (O): 91 44 2402711 URL : http://mksarav.tripod.com ******************************************************************* From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 06:39:24 2000 Received: from c008.sfo.cp.net (c008-h015.c008.sfo.cp.net [209.228.14.204]) by www.aunet.org (Postfix) with SMTP id A07454A2C7 for ; Fri, 29 Sep 2000 06:38:37 -0700 (PDT) Received: (cpmta 3455 invoked from network); 29 Sep 2000 06:34:45 -0700 Date: 29 Sep 2000 06:34:44 -0700 Message-ID: <20000929133444.3452.cpmta@c008.sfo.cp.net> X-Sent: 29 Sep 2000 13:34:44 GMT Received: from [202.54.57.88] by mail.123india.com with HTTP; 29 Sep 2000 06:34:44 PDT Content-Type: text/plain Content-Disposition: inline Mime-Version: 1.0 To: linux-india-programmers@lists.linux-india.org From: shantanu_gwl@123india.com X-Mailer: Web Mail 3.8.0.10 Subject: Partition problems! X-Archive-Number: 200009/184 Hi Linux Gurus out there, please help a Linux-newbie. I tried to install RedHat Linux 6.22 on my PC with following configuration : P-III (550 MHz) Seagate 20.4 GB HDD 128 MB RAM (1 MB is shared for AGP) Motherboard Azza (in-board AGP, i810 chipset) Logitech scroll mouse (PS/2 port) LG 550 (15") monitor Creative Vision MM kit (Creative-Vibra sound card) I have already created the following partitions on the HDD : 6 GB (Main partition containing Win 98) 9 GB (Extended partition for Win 98) 4.5 GB (un-formatted, for Linux installation) Now the problem is that when I tried to load RHL, the graphic install simply didn't work, reporting some problem, which scrolled out of screen so fast that I could not see it. Nextly, it didn't offer to create the required partitions automatically, rather it prompted me to do so manually. When I tried to do the same, it kept telling me "Boot partition too big" error, even after successfully creating the (Swap) and the (/) partitions. The trouble was alone with the (/boot) partition. What could be the reason ? And why didn't the graphic install work ? To my surprise, the RHL installation was a breeze on my friend's PC (10.2 GB HDD, with primary Win partition of 6 GB, and the remaining 3.8 GB for Linux which was left unpartitioned). The motherboard was Sis620 based. The install was totally automatic there. I'm amazed what went wrong in my case! I would be very grateful for the help from you. You may also like to mail the reply to Any suggestions for good reference books on Linux for the beginners who are interested in software development in Linux. Thank in advance! Regards, Shantanu. ______________________________________________________ 123India.com - India's Premier Portal Get your Free Email Account at http://www.123india.com From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 07:07:04 2000 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 88DFF4AF9A for ; Fri, 29 Sep 2000 06:57:02 -0700 (PDT) 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 e8TDxj101376 for ; Fri, 29 Sep 2000 19:29:45 +0530 Message-ID: <39D49F5A.F0A648B6@pspl.co.in> Date: Fri, 29 Sep 2000 19:25:38 +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: Partition problems! References: <20000929133444.3452.cpmta@c008.sfo.cp.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/185 Hi It's simple. You have created the boot partition beyond 8.4GB/1024 cylinders, which BIOS doesn't recognise. Rearrange partition scheme and put your linux boot partition below 8.4GB. Everything will be fine. HTH Bye Shridhar shantanu_gwl@123india.com wrote: > I have already created the following partitions on the HDD : > > 6 GB (Main partition containing Win 98) > 9 GB (Extended partition for Win 98) > 4.5 GB (un-formatted, for Linux installation) From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 13:46:50 2000 Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6]) by www.aunet.org (Postfix) with ESMTP id D65964A02D for ; Fri, 29 Sep 2000 13:46:44 -0700 (PDT) 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 CAA28979 for ; Sat, 30 Sep 2000 02:21:56 GMT Received: from wslexch.wipsys.soft.net ([192.219.223.59]) by kmglmail.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA3122 for ; Sat, 30 Sep 2000 02:12:37 +0530 Received: from wipro.com (MATRIX [164.164.24.118]) by wslexch.wipsys.soft.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id S5DRF1CZ; Sat, 30 Sep 2000 02:14:11 +0530 Message-ID: <39D4FA4E.BC372FB5@wipro.com> Date: Sat, 30 Sep 2000 02:23:42 +0600 From: Ramkumar Iyer Reply-To: ramkumar.iyer@wipro.com Organization: Wipro Technologies X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.12-20 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: X app on multiple displays References: <308905E340CC70F865256969002C89EF.0000000000000000@tcscal.co.in> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200009/186 u can if A is a vncclient for B , B is a vncclient for C and so on .... (hooked up 4 windows machine together .........) robin s chatterjee/PLs/TCSCALCUTTA/TCS wrote: > vnc won't wok as you can't get two connections to the same screen ( at > least I havn't manged it yet. > Cheerio > Robin > > --------------------------------------------- > 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 Sep 29 22:09:23 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 756734A165 for ; Fri, 29 Sep 2000 22:09:11 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id KAA00640 for ; Sat, 30 Sep 2000 10:30:03 +0500 (GMT) Received: from wipro.tcpn.com ([172.31.41.11]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id KAA19517 for ; Sat, 30 Sep 2000 10:33:10 +0500 (GMT) Received: from saveri.wipro.tcpn.com (syedk@saveri.wipro.tcpn.com [172.31.41.28]) by wipro.tcpn.com (8.9.3/8.9.3) with SMTP id KAA05957 for ; Sat, 30 Sep 2000 10:35:54 +0530 (IST) Date: Sat, 30 Sep 2000 10:40:19 +0530 (IST) From: Syed Khaleelulla To: linux-india-programmers@lists.linux-india.org Subject: Re: Partition problems! In-Reply-To: <20000929133444.3452.cpmta@c008.sfo.cp.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/187 Hello, The problem is, You are having your Boot Records beyond 1024 Cylinders. LILO can read boot records within 1024 Cylinders. The best thing is to have Linux instaled on first partition and the remaining ..... There is a very good link on LILO, http://www.heise.de/ct/english/99/12/166/ -Thanks, Syed Khaleelulla. --------------------------- On 29 Sep 2000 shantanu_gwl@123india.com wrote: + +Hi Linux Gurus out there, please help a Linux-newbie. + +I tried to install RedHat Linux 6.22 on my PC with following configuration : + + P-III (550 MHz) + Seagate 20.4 GB HDD + 128 MB RAM (1 MB is shared for AGP) + Motherboard Azza (in-board AGP, i810 chipset) + Logitech scroll mouse (PS/2 port) + LG 550 (15") monitor + Creative Vision MM kit (Creative-Vibra sound card) + + I have already created the following partitions on the HDD : + + 6 GB (Main partition containing Win 98) + 9 GB (Extended partition for Win 98) + 4.5 GB (un-formatted, for Linux installation) + + Now the problem is that when I tried to load RHL, the graphic install simply didn't work, reporting some problem, which scrolled out of screen so fast that I could not see it. Nextly, it didn't offer to create the required partitions automatically, rather it prompted me to do so manually. When I tried to do the same, it kept telling me "Boot partition too big" error, even after successfully creating the (Swap) and the (/) partitions. The trouble was alone with the (/boot) partition. What could be the reason ? And why didn't the graphic install work ? + + To my surprise, the RHL installation was a breeze on my friend's PC (10.2 GB HDD, with primary Win partition of 6 GB, and the remaining 3.8 GB for Linux which was left unpartitioned). The motherboard was Sis620 based. The install was totally automatic there. I'm amazed what went wrong in my case! + + I would be very grateful for the help from you. You may also like to mail the reply to + + Any suggestions for good reference books on Linux for the beginners who are interested in software development in Linux. Thank in advance! + +Regards, +Shantanu. From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 22:25:59 2000 Received: from gwa2.fe.bosch.de (gwa2.fe.bosch.de [194.39.218.2]) by www.aunet.org (Postfix) with ESMTP id E4D494A1B4 for ; Fri, 29 Sep 2000 22:25:53 -0700 (PDT) Received: (from uucp@localhost) by gwa2.fe.bosch.de (8.10.2/8.10.2) id e8U5LwY17506 for ; Sat, 30 Sep 2000 05:21:58 GMT X-Authentication-Warning: gwa2.fe.bosch.de: uucp set sender to using -f Received: from fez8019.fe.bosch.de(virus-out.fe.internet.bosch.de 10.4.4.19) by gwa2.fe.bosch.de via smap (V2.1) id xma017339; Sat, 30 Sep 00 05:21:41 GMT Received: by fez7163.server.bosch.de with Internet Mail Service (5.5.2651.58) id ; Sat, 30 Sep 2000 07:21:35 +0200 Message-ID: From: "Harpreet Singh (RBIN/DCA-NMP)" To: linux-india-programmers@lists.linux-india.org Subject: c++ query Date: Sat, 30 Sep 2000 07:21:37 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2651.58) Content-Type: text/plain X-Archive-Number: 200009/188 Hi, Is there a way to close the standard output and reassign cout to point to a file. ( What I want to do is give an option to the user, if a file name has been specified output should be written to the file else to the standard output; and the user will be using cout ) Thanks in advance From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 22:26:32 2000 Received: from wiproecmx2.wipro.com (wiproecmx2.wipro.com [164.164.31.6]) by www.aunet.org (Postfix) with ESMTP id E251A4A4CE for ; Fri, 29 Sep 2000 22:26:27 -0700 (PDT) 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 LAA15578 for ; Sat, 30 Sep 2000 11:01:37 GMT Received: from umeshp ([192.168.174.65]) by ecmail.mail.wipro.com (Netscape Messaging Server 3.6) with SMTP id AAA3CCD for ; Sat, 30 Sep 2000 10:44:16 +0530 Message-ID: <001e01c02a9e$df7dd920$41aea8c0@umeshp.wipsys.soft.net> Reply-To: "umesh" From: "Umesh Mohandas Prabhu" To: Subject: Re: Partition problems! Date: Sat, 30 Sep 2000 10:55: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 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Archive-Number: 200009/189 >Hi > >It's simple. You have created the boot partition beyond 8.4GB/1024 cylinders, which BIOS doesn't recognise. Rearrange partition scheme and put your linux boot partition below 8.4GB. Everything will be fine. If I want to install, both, WIN98 and Linux, then, the boot partition of both the Operating Systems should be below 8.4GB. Am I correct? Also can I have the following partition table:: x GB (Main partition containing Win 98) y GB ( Partition for Linux inst..) v GB (Extended partition for Win 98) w GB (Linux swap space) such that ( x+y )< 8.4GB Thanks in advance Umesh From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 22:44:37 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id C78354A181 for ; Fri, 29 Sep 2000 22:44:31 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id LAA01025 for ; Sat, 30 Sep 2000 11:05:28 +0500 (GMT) Received: from wipro.tcpn.com ([172.31.41.11]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id LAA19982 for ; Sat, 30 Sep 2000 11:08:35 +0500 (GMT) Received: from saveri.wipro.tcpn.com (syedk@saveri.wipro.tcpn.com [172.31.41.28]) by wipro.tcpn.com (8.9.3/8.9.3) with SMTP id LAA07239 for ; Sat, 30 Sep 2000 11:11:48 +0530 (IST) Date: Sat, 30 Sep 2000 11:16:13 +0530 (IST) From: Syed Khaleelulla To: linux-india-programmers@lists.linux-india.org Subject: Re: c++ query In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/190 Hello, There are different ways to do this. One way is to close the file Discriptor 1, and then issue a open system call with the filename as the one where the output has to be sent, the open system call will us the smallest fd avilable, [i.e. 1]. There by any printf command will send the output to the file which has been opened. -Thanks, Syed Khaleelulla. -------------------- On Sat, 30 Sep 2000, Harpreet Singh (RBIN/DCA-NMP) wrote: +Hi, + +Is there a way to close the standard output and reassign cout to point to a +file. +( What I want to do is give an option to the user, if a file name has been +specified output should be written to the file else to the standard output; +and the user will be using cout ) + +Thanks in advance + + + + + +--------------------------------------------- +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. + *************************************************************************** _.-. .-. `) | .-. _.'`. .~./ \.~. .`'._ .-'`.'-'.'.-: ;-.'.'-'.`'-. `'`'`'`'` \ / `'`'`'`'` /||\ / ^^ \ In the world without fence... which need gates? ************ `'``'`******************************************************** Syed Khaleelulla, 26, Hosur Main Road, Bommanhalli, Senior Software Engineer, Bangalore - 560068, India. Wipro Global R&D. Tel: 91-80-5722293/6 Extn- 2203. *************************************************************************** From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 23:00:06 2000 Received: from gwa2.fe.bosch.de (gwa2.fe.bosch.de [194.39.218.2]) by www.aunet.org (Postfix) with ESMTP id 161D54A0B0 for ; Fri, 29 Sep 2000 23:00:03 -0700 (PDT) Received: (from uucp@localhost) by gwa2.fe.bosch.de (8.10.2/8.10.2) id e8U5u8U00384 for ; Sat, 30 Sep 2000 05:56:08 GMT X-Authentication-Warning: gwa2.fe.bosch.de: uucp set sender to using -f Received: from fez8020.fe.bosch.de(virus-out2.fe.internet.bosch.de 10.4.4.20) by gwa2.fe.bosch.de via smap (V2.1) id xma000139; Sat, 30 Sep 00 05:55:20 GMT Received: by fez7163.server.bosch.de with Internet Mail Service (5.5.2651.58) id ; Sat, 30 Sep 2000 07:55:14 +0200 Message-ID: From: "Harpreet Singh (RBIN/DCA-NMP)" To: linux-india-programmers@lists.linux-india.org Subject: RE: c++ query Date: Sat, 30 Sep 2000 07:55:16 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2651.58) Content-Type: text/plain X-Archive-Number: 200009/191 By closing the file Descriptor u mean by using system calls right. Also can the same thing be done for cin. > -----Original Message----- > From: Syed Khaleelulla [SMTP:Syed.Khaleelulla@wipro.com] > Sent: Saturday, September 30, 2000 11:16 AM > To: linux-india-programmers@lists.linux-india.org > Subject: Re: [LIP] c++ query > > Hello, > There are different ways to do this. > > One way is to close the file Discriptor 1, and then issue a open system > call with the filename as the one where the output has to be sent, the > open > system call will us the smallest fd avilable, [i.e. 1]. There by any > printf > command will send the output to the file which has been opened. > > -Thanks, > Syed Khaleelulla. > -------------------- > > On Sat, 30 Sep 2000, Harpreet Singh (RBIN/DCA-NMP) wrote: > > +Hi, > + > +Is there a way to close the standard output and reassign cout to point to > a > +file. > +( What I want to do is give an option to the user, if a file name has > been > +specified output should be written to the file else to the standard > output; > +and the user will be using cout ) > + > +Thanks in advance > + > + > + > + > + > +--------------------------------------------- > +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. > + > > ************************************************************************** > * > _.-. > .-. `) | .-. > _.'`. .~./ \.~. .`'._ > .-'`.'-'.'.-: ;-.'.'-'.`'-. > `'`'`'`'` \ / `'`'`'`'` > /||\ > / ^^ \ In the world without fence... which need gates? > ************ > `'``'`******************************************************** > Syed Khaleelulla, 26, Hosur Main Road, Bommanhalli, > Senior Software Engineer, Bangalore - 560068, India. > Wipro Global R&D. Tel: 91-80-5722293/6 Extn- 2203. > ************************************************************************** > * > > > --------------------------------------------- > 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 Sep 29 23:00:33 2000 Received: from alice.bombay.retortsoft.com (unknown [203.199.65.139]) by www.aunet.org (Postfix) with ESMTP id D7A6F4A478 for ; Fri, 29 Sep 2000 23:00:16 -0700 (PDT) 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 LAA08701 for ; Sat, 30 Sep 2000 11:27:29 +0530 Received: (from binand@localhost) by jediland.bombay.retortsoft.com (8.9.3/8.9.3) id LAA26899 for linux-india-programmers@lists.linux-india.org; Sat, 30 Sep 2000 11:27:35 +0530 Date: Sat, 30 Sep 2000 11:27:35 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: c++ query Message-ID: <20000930112734.A26848@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.9i In-Reply-To: ; from Syed.Khaleelulla@wipro.com on Sat, Sep 30, 2000 at 11:16:13AM +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: 200009/192 Syed Khaleelulla forced the electrons to say: > There are different ways to do this. The easiest, ANSI and POSIX conformant way is to use freopen(3). Or: if (!file || fp = fopen (file, mode) == NULL) fp = stdout; And later, use fprintf (fp, ...) Translate that to C++. Binand -- The prompt for all occasions: export PS1="F:\$(pwd | tr '/[a-z]' '\134\134[A-Z]')> " --------------- Binand Raj S. (binand@bombay.retortsoft.com) From linux-india-programmers-owner@lists.linux-india.org Fri Sep 29 23:09:01 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 23CF84A0B0 for ; Fri, 29 Sep 2000 23:08:56 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id LAA01318 for ; Sat, 30 Sep 2000 11:29:48 +0500 (GMT) Received: from wipro.tcpn.com ([172.31.41.11]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id LAA20354 for ; Sat, 30 Sep 2000 11:32:55 +0500 (GMT) Received: from saveri.wipro.tcpn.com (syedk@saveri.wipro.tcpn.com [172.31.41.28]) by wipro.tcpn.com (8.9.3/8.9.3) with SMTP id LAA08199 for ; Sat, 30 Sep 2000 11:35:55 +0530 (IST) Date: Sat, 30 Sep 2000 11:40:20 +0530 (IST) From: Syed Khaleelulla To: linux-india-programmers@lists.linux-india.org Subject: RE: c++ query In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/193 +By closing the file Descriptor u mean by using system calls right. Yes. +Also can the same thing be done for cin. I did not try but it should work. -Thanks, Syed Khaleelulla. ------------------- From linux-india-programmers-owner@lists.linux-india.org Sat Sep 30 01:39:03 2000 Received: from gwa2.fe.bosch.de (gwa2.fe.bosch.de [194.39.218.2]) by www.aunet.org (Postfix) with ESMTP id A497E4A2F5 for ; Sat, 30 Sep 2000 01:38:58 -0700 (PDT) Received: (from uucp@localhost) by gwa2.fe.bosch.de (8.10.2/8.10.2) id e8U8Z1E29966 for ; Sat, 30 Sep 2000 08:35:01 GMT X-Authentication-Warning: gwa2.fe.bosch.de: uucp set sender to using -f Received: from fez8020.fe.bosch.de(virus-out2.fe.internet.bosch.de 10.4.4.20) by gwa2.fe.bosch.de via smap (V2.1) id xma029779; Sat, 30 Sep 00 08:34:43 GMT Received: by fez7163.server.bosch.de with Internet Mail Service (5.5.2651.58) id ; Sat, 30 Sep 2000 10:34:37 +0200 Message-ID: From: "Harpreet Singh (RBIN/DCA-NMP)" To: linux-india-programmers@lists.linux-india.org Subject: RE: c++ query Date: Sat, 30 Sep 2000 10:24:07 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2651.58) Content-Type: text/plain X-Archive-Number: 200009/194 This is what I am doing ....... but not getting the desired result int fd; close(2) close(1) fd = creat("test.txt",0777); printf("Hello World\n"); close(fd); > -----Original Message----- > From: Syed Khaleelulla [SMTP:Syed.Khaleelulla@wipro.com] > Sent: Saturday, September 30, 2000 11:16 AM > To: linux-india-programmers@lists.linux-india.org > Subject: Re: [LIP] c++ query > > Hello, > There are different ways to do this. > > One way is to close the file Discriptor 1, and then issue a open system > call with the filename as the one where the output has to be sent, the > open > system call will us the smallest fd avilable, [i.e. 1]. There by any > printf > command will send the output to the file which has been opened. > > -Thanks, > Syed Khaleelulla. > -------------------- > > On Sat, 30 Sep 2000, Harpreet Singh (RBIN/DCA-NMP) wrote: > > +Hi, > + > +Is there a way to close the standard output and reassign cout to point to > a > +file. > +( What I want to do is give an option to the user, if a file name has > been > +specified output should be written to the file else to the standard > output; > +and the user will be using cout ) > + > +Thanks in advance > + > + > + > + > + > +--------------------------------------------- > +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. > + > > ************************************************************************** > * > _.-. > .-. `) | .-. > _.'`. .~./ \.~. .`'._ > .-'`.'-'.'.-: ;-.'.'-'.`'-. > `'`'`'`'` \ / `'`'`'`'` > /||\ > / ^^ \ In the world without fence... which need gates? > ************ > `'``'`******************************************************** > Syed Khaleelulla, 26, Hosur Main Road, Bommanhalli, > Senior Software Engineer, Bangalore - 560068, India. > Wipro Global R&D. Tel: 91-80-5722293/6 Extn- 2203. > ************************************************************************** > * > > > --------------------------------------------- > 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 Sat Sep 30 01:47:54 2000 Received: from satyaki.pacific.net.in (satyaki.pacific.net.in [203.123.128.85]) by www.aunet.org (Postfix) with ESMTP id 3D1594A1B4 for ; Sat, 30 Sep 2000 01:47:50 -0700 (PDT) Received: from ganga.sankya.com (ppp123.bangalore-188.pacific.net.in [203.123.188.123]) by satyaki.pacific.net.in with ESMTP id OAA22666 for ; Sat, 30 Sep 2000 14:32:24 +0530 (IST) Date: Sat, 30 Sep 2000 12:09:37 +0530 From: Babu Kalakrishnan To: linux-india-programmers@lists.linux-india.org Subject: Re: Unix sockets under Java Message-ID: <20000930120937.A7582@sankya.com> Mail-Followup-To: Babu Kalakrishnan , linux-india-programmers@lists.linux-india.org References: <1196B5CB33DED311A73700508B6FEB1E021A9ADD@ban03xbindge.geind.ge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <1196B5CB33DED311A73700508B6FEB1E021A9ADD@ban03xbindge.geind.ge.com>; from Shourya.Sarcar@geind.ge.com on Fri, Sep 29, 2000 at 09:38:30AM +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: 200009/195 On Fri, Sep 29, 2000 at 09:38:30AM +0530, Sarcar, Shourya (MED) typed: > look at it the other way, hat would make your program unportable :) TTBOMK, > Java does not support UDP (Unix Domain Protocol), i may be wrong. > you can off-course try out smoe JNI tricks. > Shourya, I think your definition of UDP is slightly confusing. Sockets using UDP (User Datagram Protocol - not Unix Domain Protocol) is supported under java. The classes DatagramPacket & DatagramSocket have been available since Java 1.0 in the java.net package. AFAIK Unix Domain Sockets (I think this was what you were really referring to) are not supported since it is not cross-platform. Kala From linux-india-programmers-owner@lists.linux-india.org Sat Sep 30 02:27:42 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id DD55E4A2E1 for ; Sat, 30 Sep 2000 02:27:35 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id OAA03752 for ; Sat, 30 Sep 2000 14:48:30 +0500 (GMT) Received: from wipro.tcpn.com ([172.31.41.11]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id OAA23325 for ; Sat, 30 Sep 2000 14:51:37 +0500 (GMT) Received: from saveri.wipro.tcpn.com (syedk@saveri.wipro.tcpn.com [172.31.41.28]) by wipro.tcpn.com (8.9.3/8.9.3) with SMTP id OAA15735 for ; Sat, 30 Sep 2000 14:54:37 +0530 (IST) Date: Sat, 30 Sep 2000 14:59:01 +0530 (IST) From: Syed Khaleelulla To: linux-india-programmers@lists.linux-india.org Subject: RE: c++ query In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200009/196 Try to open the file after creating it. The code which worked for me is here, -------------- main() { int fd; char filename[10]; char text[]="Hello"; scanf("%s", filename); close( 1 ); creat ( filename, 0x666 ); open( filename, O_WRONLY ); printf("the printf is printing %s", text ); } --------------------- -Thanks, Syed Khaleelulla. --------------- On Sat, 30 Sep 2000, Harpreet Singh (RBIN/DCA-NMP) wrote: +This is what I am doing ....... but not getting the desired result + +int fd; + +close(2) + +close(1) + +fd = creat("test.txt",0777); + +printf("Hello World\n"); + +close(fd); + +> -----Original Message----- +> From: Syed Khaleelulla [SMTP:Syed.Khaleelulla@wipro.com] +> Sent: Saturday, September 30, 2000 11:16 AM +> To: linux-india-programmers@lists.linux-india.org +> Subject: Re: [LIP] c++ query +> +> Hello, +> There are different ways to do this. +> +> One way is to close the file Discriptor 1, and then issue a open system +> call with the filename as the one where the output has to be sent, the +> open +> system call will us the smallest fd avilable, [i.e. 1]. There by any +> printf +> command will send the output to the file which has been opened. +> +> -Thanks, +> Syed Khaleelulla. +> -------------------- +> +> On Sat, 30 Sep 2000, Harpreet Singh (RBIN/DCA-NMP) wrote: +> +> +Hi, +> + +> +Is there a way to close the standard output and reassign cout to point to +> a +> +file. +> +( What I want to do is give an option to the user, if a file name has +> been +> +specified output should be written to the file else to the standard +> output; +> +and the user will be using cout ) +> + +> +Thanks in advance +> + +> + +> + +> + +> + +> +--------------------------------------------- +> +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. +> + +> +> ************************************************************************** +> * +> _.-. +> .-. `) | .-. +> _.'`. .~./ \.~. .`'._ +> .-'`.'-'.'.-: ;-.'.'-'.`'-. +> `'`'`'`'` \ / `'`'`'`'` +> /||\ +> / ^^ \ In the world without fence... which need gates? +> ************ +> `'``'`******************************************************** +> Syed Khaleelulla, 26, Hosur Main Road, Bommanhalli, +> Senior Software Engineer, Bangalore - 560068, India. +> Wipro Global R&D. Tel: 91-80-5722293/6 Extn- 2203. +> ************************************************************************** +> * +> +> +> --------------------------------------------- +> Find out more about this and other Linux India +> mailing lists at http://lists.linux-india.org/ + +--------------------------------------------- +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. + *************************************************************************** _.-. .-. `) | .-. _.'`. .~./ \.~. .`'._ .-'`.'-'.'.-: ;-.'.'-'.`'-. `'`'`'`'` \ / `'`'`'`'` /||\ / ^^ \ In the world without fence... which need gates? ************ `'``'`******************************************************** Syed Khaleelulla, 26, Hosur Main Road, Bommanhalli, Senior Software Engineer, Bangalore - 560068, India. Wipro Global R&D. Tel: 91-80-5722293/6 Extn- 2203. ***************************************************************************