From linux-india-programmers-owner@lists.linux-india.org Sun Apr 1 10:58:24 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id C94F54A262 for ; Sun, 1 Apr 2001 10:58:13 -0800 (PST) Received: from rahul ([61.11.246.103]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f31Itrg31083 for ; Mon, 2 Apr 2001 00:25:53 +0530 Message-ID: <000d01c0badc$549e3600$67f60b3d@rahul> From: "Ketu" To: Subject: Very basic Date: Mon, 2 Apr 2001 00:17:32 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200104/1 X-Sequence-Number: 2074 I don;t know why but some how i'm not able to answer this: char a[] ="abcdef"; printf("%u\n",a); what is the "cout" equivalent of the second statement ? do reply (offlist if you so wish) TIA From linux-india-programmers-owner@lists.linux-india.org Sun Apr 1 17:09:41 2001 Received: from mulga.cs.mu.OZ.AU (mulga.cs.mu.OZ.AU [128.250.1.22]) by www.aunet.org (Postfix) with ESMTP id 84ADB4A1BA for ; Sun, 1 Apr 2001 17:09:36 -0800 (PST) Received: from queeg.cs.mu.OZ.AU (queeg.cs.mu.OZ.AU [128.250.26.136]) by mulga.cs.mu.OZ.AU with ESMTP id LAA11629 for ; Mon, 2 Apr 2001 11:01:22 +1000 (EST) Received: (from rsubr@localhost) by queeg.cs.mu.OZ.AU (8.9.3+Sun/8.9.3) id LAA02435 for linux-india-programmers@lists.linux-india.org; Mon, 2 Apr 2001 11:01:16 +1000 (EST) Date: Mon, 2 Apr 2001 11:01:16 +1000 From: Raja Subramanian To: linux-india-programmers@lists.linux-india.org Subject: Re: fast reboot ...?? Message-ID: <20010402110116.A767@students.cs.mu.oz.au> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20010329233121.A648@bigfoot.com> <003801c0b900$d68c6e80$8900000a@aclindia.com> <20010330212546.A751@bigfoot.com> <005a01c0b9bb$b6e6dd20$8900000a@aclindia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <005a01c0b9bb$b6e6dd20$8900000a@aclindia.com>; from ambarroy@iname.com on Sat, Mar 31, 2001 at 01:52:19PM +0530 X-Archive-Number: 200104/2 X-Sequence-Number: 2075 Ambar Roy wrote (ambarroy@iname.com): > > At init 1, you still have the kernel running. I have heard that it IS > > possible to just load a different kernel instead. > Also there is this patch i was reading about recently, which allows u to > load another kernel while your present one is running, and then the new > kernel will start, and load the system (something similar to what loadlin > does under dos!). Your'e probably refering to the "two kernel monte". The main link seems down, for some time - http://www.scyld.com/software/monte.html. -Raja From linux-india-programmers-owner@lists.linux-india.org Sun Apr 1 17:51:13 2001 Received: from mulga.cs.mu.OZ.AU (mulga.cs.mu.OZ.AU [128.250.1.22]) by www.aunet.org (Postfix) with ESMTP id E86B54A203 for ; Sun, 1 Apr 2001 17:51:10 -0800 (PST) Received: from queeg.cs.mu.OZ.AU (queeg.cs.mu.OZ.AU [128.250.26.136]) by mulga.cs.mu.OZ.AU with ESMTP id LAA13796 for ; Mon, 2 Apr 2001 11:42:57 +1000 (EST) Received: (from rsubr@localhost) by queeg.cs.mu.OZ.AU (8.9.3+Sun/8.9.3) id LAA08782 for linux-india-programmers@lists.linux-india.org; Mon, 2 Apr 2001 11:42:52 +1000 (EST) Date: Mon, 2 Apr 2001 11:42:51 +1000 From: Raja Subramanian To: linux-india-programmers@lists.linux-india.org Subject: Re: Help Message-ID: <20010402114251.B767@students.cs.mu.oz.au> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20010331201748.97CF34A144@www.aunet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20010331201748.97CF34A144@www.aunet.org>; from intrepidsoldier@yahoo.com on Sun, Apr 01, 2001 at 01:41:19AM +0500 X-Archive-Number: 200104/3 X-Sequence-Number: 2076 Intrepid Soldier wrote (intrepidsoldier@yahoo.com): > I was trying to implement a new filesystem (actually just trying to mount > remote ftp drives ) I was facing a few problems in the kernel code. Hardcore unix gurus would argue that ftp fs functionality does not belong in the kernel (and they would probably be correct). But that does not help you with what youre doing. Although not entirely relevent, here is something that could be interesting - Have a look at Pavel Machek's podfuk.c (bad name, I agree and so does it's author). http://atrey.karlin.mff.cuni.cz/~pavel/podfuk/podfuk-en.html podfuk is a user mode fs driver (which understands tar files) and is implemented using the coda kernel module. The idea is that you replace venus (the coda user space cache manager) with your own fs driver. Note that coda is also available for other unixen which makes your fs portable if implemented this way; podfuk already runs on linux and solaris with minor mods. Similar projects - userfs - http://www.goop.org/~jeremy/userfs/ PerlFS - http://www.assurdo.com/PerlFS/index.html JavaFS - http://giantlaser.com/javafs/ UserVFS (the new podfuk) - http://uservfs.sourceforge.net/ Since your program is entirely in user space, this should be a lot easier than hacking kernel code. - Raja From linux-india-programmers-owner@lists.linux-india.org Sun Apr 1 18:42:37 2001 Received: from sharmas.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 4DA7A4A29B for ; Sun, 1 Apr 2001 18:42:31 -0800 (PST) Received: (from adsharma@localhost) by sharmas.dhs.org (8.11.1/8.11.1) id f322SfU38854 for linux-india-programmers@lists.linux-india.org; Sun, 1 Apr 2001 19:28:41 -0700 (PDT) (envelope-from adsharma) Date: Sun, 1 Apr 2001 19:28:41 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Linux Kernel scheduling Message-ID: <20010401192841.A38839@sharmas.dhs.org> References: <021f01c0b6b5$358ca740$8900000a@aclindia.com> <20010327215735.A24174@sharmas.dhs.org> <00bf01c0b839$f3f68540$8900000a@aclindia.com> <20010329083345.A28434@sharmas.dhs.org> <002201c0b900$89338f10$8900000a@aclindia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <002201c0b900$89338f10$8900000a@aclindia.com>; from ambarroy@iname.com on Fri, Mar 30, 2001 at 03:32:30PM +0530 X-Archive-Number: 200104/4 X-Sequence-Number: 2077 On Fri, Mar 30, 2001 at 03:32:30PM +0530, Ambar Roy wrote: > > Not necessarily. You could use thread pooling to get fewer threads to > serve > > that many connections. All the appservers in the market do this. > Even with thread pooling, i can still maintain only 1 open connection per > thread at a time. Basically here we are making a server, which needs to > maintain an open connection with each connected client. If the average time a connection is open is relatively small, you should still be ok. I'd start with a small number of threads and increase them only when the server becomes unresponsive by running out of threads. -Arun From linux-india-programmers-owner@lists.linux-india.org Sun Apr 1 18:47:00 2001 Received: from sharmas.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 889074A29B for ; Sun, 1 Apr 2001 18:46:55 -0800 (PST) Received: (from adsharma@localhost) by sharmas.dhs.org (8.11.1/8.11.1) id f322X6p38876 for linux-india-programmers@lists.linux-india.org; Sun, 1 Apr 2001 19:33:06 -0700 (PDT) (envelope-from adsharma) Date: Sun, 1 Apr 2001 19:33:05 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: SMP documentation Message-ID: <20010401193305.B38839@sharmas.dhs.org> References: <000901c0b9f1$835c6020$33c2c5cb@punhani> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <000901c0b9f1$835c6020$33c2c5cb@punhani>; from king_nothing_null@yahoo.com on Sat, Mar 31, 2001 at 04:17:57AM +0530 X-Archive-Number: 200104/5 X-Sequence-Number: 2078 On Sat, Mar 31, 2001 at 04:17:57AM +0530, ankur arora wrote: > Hi, > > Can anybody recommend any text on SMP which > talks about issues like cache-lines, spinlocks > basically from the point of view of somebody trying > to understand the linux kernel. Look for the book by Curt Schimmel (UNIX systems for modern architectures or something like that). -Arun From linux-india-programmers-owner@lists.linux-india.org Sun Apr 1 18:48:03 2001 Received: from sharmas.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id AA4A24A342 for ; Sun, 1 Apr 2001 18:48:01 -0800 (PST) Received: (from adsharma@localhost) by sharmas.dhs.org (8.11.1/8.11.1) id f322YC838891 for linux-india-programmers@lists.linux-india.org; Sun, 1 Apr 2001 19:34:12 -0700 (PDT) (envelope-from adsharma) Date: Sun, 1 Apr 2001 19:34:12 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Help on good book Message-ID: <20010401193412.C38839@sharmas.dhs.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from omicron@omicron.dyndns.org on Sat, Mar 31, 2001 at 11:25:56AM +0530 X-Archive-Number: 200104/6 X-Sequence-Number: 2079 On Sat, Mar 31, 2001 at 11:25:56AM +0530, omicron wrote: > hi, > i have an old "advanced programming in unix environment" by > richard stevens with me but that is atleast 6-9 yrs old, and doesn't even > mention linux, but deals with 4.3BSD , SVR* ,etc. Will it do for learning > abt programming in linux thru that book ? Sure - most of Linux is a reimplementation of the same APIs. There may be about 10% that's Linux specific and not covered by the book. -Arun From linux-india-programmers-owner@lists.linux-india.org Sun Apr 1 23:14:04 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id CCB354A3A2 for ; Sun, 1 Apr 2001 23:14:00 -0800 (PST) Received: from Basel (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with SMTP id f327DZs23698 for ; Mon, 2 Apr 2001 12:43:35 +0530 Content-Type: text/plain; charset="iso-8859-1" From: Shridhar Daithankar To: linux-india-programmers@lists.linux-india.org Subject: Re: Help on good book Date: Mon, 2 Apr 2001 12:37:48 +0530 X-Mailer: KMail [version 1.2] References: <20010401193412.C38839@sharmas.dhs.org> In-Reply-To: <20010401193412.C38839@sharmas.dhs.org> MIME-Version: 1.0 Message-Id: <01040212374806.02088@Basel> Content-Transfer-Encoding: 8bit X-Archive-Number: 200104/7 X-Sequence-Number: 2080 On Monday 02 April 2001 08:04, Arun Sharma wrote: > On Sat, Mar 31, 2001 at 11:25:56AM +0530, omicron wrote: > Sure - most of Linux is a reimplementation of the same APIs. There may > be about 10% that's Linux specific and not covered by the book. I have almost latest copy and it does mention linux, but nothing that will make difference to a network programmer. The difference is with implementations, which are discussed in detail.... Shridhar From linux-india-programmers-owner@lists.linux-india.org Mon Apr 2 01:41:02 2001 Received: from dadel1.now-india.net.in (del1.now-india.net.in [203.195.128.65]) by www.aunet.org (Postfix) with ESMTP id BA64F4A39D for ; Mon, 2 Apr 2001 01:40:56 -0800 (PST) Received: from bigfoot.com ([203.195.140.184]) by dadel1.now-india.net.in (Netscape Messaging Server 4.1) with SMTP id GB5RSM04.D03 for ; Mon, 2 Apr 2001 15:01:34 +0530 Received: (qmail 988 invoked by uid 500); 2 Apr 2001 09:36:15 -0000 Date: Mon, 2 Apr 2001 15:06:15 +0530 From: Sandip Bhattacharya To: Indian Linux Programmers List Subject: Distro howto?? Message-ID: <20010402150615.A982@bigfoot.com> Mail-Followup-To: Indian Linux Programmers List Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i X-HomePage: http://www.sandipb.net X-OS: Linux kajaal.home 2.4.2 i586 unknown X-Archive-Number: 200104/8 X-Sequence-Number: 2081 [Not exactly a programming question. Sorry.] Is there any place I can get to know how a distro instalaltion works? I have been a RedHat user all this while. What has always made me curious is how a RH distrib installs itself ... 1. How does RPM install itself on a new system? Or upgrade itself to a new version like in RHL7? 2. How does it manage to upgrade glibc on a disk when it has itself booted from a CD ... 3. How in the order of installation, visible above the progress-bar during installation, it manages to install dependencies of the package(like glibc) after the package itself. ... and scores of other things .. Seems if I could know of this .. a lot of problems in my life could be solved. ;) - Sandip -- ------------------------------------- Sandip Bhattacharya sandipb @ bigfoot.com http://www.sandipb.net ------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Mon Apr 2 01:53:03 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 8A1D64A471 for ; Mon, 2 Apr 2001 01:52:57 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id PAA28210 for ; Mon, 2 Apr 2001 15:20:24 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id PAA09074 for ; Mon, 2 Apr 2001 15:07:08 +0530 Date: Mon, 2 Apr 2001 15:07:08 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: Indian Linux Programmers List Subject: Re: Distro howto?? In-Reply-To: <20010402150615.A982@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/9 X-Sequence-Number: 2082 On Mon, 2 Apr 2001, Sandip Bhattacharya wrote: > I have been a RedHat user all this while. What has always made me curious is how a RH distrib installs itself ... if you want RH specific implementation you have to go through the anaconda code. Its written in python and should be fairly readable. I would also suggest looking up linux from scratch, its a great place to learn how to go about packaging a distribution. -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Mon Apr 2 02:07:27 2001 Received: from jester.ti.com (jester.ti.com [192.94.94.1]) by www.aunet.org (Postfix) with ESMTP id 5677E49F43 for ; Mon, 2 Apr 2001 02:07:09 -0800 (PST) Received: from dlep6.itg.ti.com ([157.170.188.9]) by jester.ti.com (8.11.1/8.11.1) with ESMTP id f329wsD16898 for ; Mon, 2 Apr 2001 04:58:54 -0500 (CDT) Received: from dlep6.itg.ti.com (localhost [127.0.0.1]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id EAA16588 for ; Mon, 2 Apr 2001 04:58:54 -0500 (CDT) Received: from mailsvr.india.ti.com (mailsvr.india.ti.com [157.87.95.214]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id EAA16571 for ; Mon, 2 Apr 2001 04:58:52 -0500 (CDT) Received: from apdsparc085.india.ti.com (apdsparc085 [157.87.88.99]) by mailsvr.india.ti.com (8.8.8/8.8.8) with ESMTP id PAA15680 for ; Mon, 2 Apr 2001 15:27:33 +0530 (IST) Received: from india.ti.com (localhost [127.0.0.1]) by apdsparc085.india.ti.com (8.9.3/8.9.3) with ESMTP id PAA14434 for ; Mon, 2 Apr 2001 15:28:50 +0530 (IST) Message-ID: <3AC84D5A.96A5D401@india.ti.com> Date: Mon, 02 Apr 2001 15:28:50 +0530 From: "Mallikarjuna Rao V.V.Ch." X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: LIP Subject: Perl Query. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/10 X-Sequence-Number: 2083 Hi list, If I have a subroutine definition in one of my scalar variables, how can I execute that function? For example: $a = 'sub output { print "Hello World\n"; }'; Now, How what should I do so that I would be able to execute the function output? regards, mallik. From linux-india-programmers-owner@lists.linux-india.org Mon Apr 2 03:43:04 2001 Received: from wiprom2mx1.wipro.com (wiprom2mx1.wipro.com [203.197.164.41]) by www.aunet.org (Postfix) with ESMTP id 0928F4A14E for ; Mon, 2 Apr 2001 03:43:01 -0800 (PST) Received: from m2vwall2.wipro.com (m2vwall2.wipro.com [164.164.27.52]) by wiprom2mx1.wipro.com (8.9.3+Sun/8.9.3) with SMTP id RAA24641 for ; Mon, 2 Apr 2001 17:12:45 GMT Received: from wipro.com ([192.107.143.16]) by sarovar.mail.wipro.com (Netscape Messaging Server 4.15) with ESMTP id GB5XRD00.S4F for ; Mon, 2 Apr 2001 17:10:25 +0530 Message-ID: <3AC85562.9508D862@wipro.com> Date: Mon, 02 Apr 2001 16:03:06 +0530 From: Pratap Chakravarthy X-Mailer: Mozilla 4.6 [en] (X11; I; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: "linux-india-programmers@lists.linux-india.org" Subject: Distributed OS Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/11 X-Sequence-Number: 2084 hello all, Are linux gurus attempting to make a distributed OS based on linux. thanks pratap From linux-india-programmers-owner@lists.linux-india.org Mon Apr 2 04:19:21 2001 Received: from mailweb17.rediffmail.com (unknown [203.199.83.141]) by www.aunet.org (Postfix) with SMTP id CB5494A10C for ; Mon, 2 Apr 2001 04:19:18 -0800 (PST) Received: (qmail 9372 invoked by uid 510); 2 Apr 2001 11:57:45 -0000 Date: 2 Apr 2001 11:57:44 -0000 Message-ID: <20010402115744.9371.qmail@mailweb17.rediffmail.com> Received: from unknown (161.114.88.71) by rediffmail.com via HTTP; 02 Apr 2001 11:57:44 -0000 MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: electric fence From: "Nachiket" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/12 X-Sequence-Number: 2085 Hello everybody Can someone tell me how to use electric fence.? nachiket _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Mon Apr 2 04:27:23 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id D02FA4A098 for ; Mon, 2 Apr 2001 04:27:07 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id RAA06619 for ; Mon, 2 Apr 2001 17:54:33 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id RAA16638 for ; Mon, 2 Apr 2001 17:41:17 +0530 Date: Mon, 2 Apr 2001 17:41:17 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: "linux-india-programmers@lists.linux-india.org" Subject: Re: electric fence In-Reply-To: <20010402115744.9371.qmail@mailweb17.rediffmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/13 X-Sequence-Number: 2086 On 2 Apr 2001, Nachiket wrote: > Hello everybody > Can someone tell me how to use electric fence.? just link it with your executable with -lefence. So now at any malloc corruption you will get a core dump. This helps a lot by preventing crashes at a later stage, which are awfully painfull to debug. but new glibc has a environment variable which makes malloc do sanity checking. It was posted here a couple of days ago, and is on the malloc man pages. -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Mon Apr 2 15:24:46 2001 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id A7D2C4A155; Mon, 2 Apr 2001 14:23:41 -0800 (PST) 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 WAA15236; Mon, 2 Apr 2001 22:55:32 +0530 (IST) Received: from ajayd.h1.iitk.ac.in (IDENT:root@[172.31.76.23]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id WAA03790; Mon, 2 Apr 2001 22:41:09 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.h1.iitk.ac.in (8.11.0/8.11.0) with ESMTP id f32HKHX11495; Mon, 2 Apr 2001 22:50:17 +0530 X-Authentication-Warning: ajayd.h1.iitk.ac.in: ajayd owned process doing -bs Date: Mon, 2 Apr 2001 22:50:17 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-help@lists.linux-india.org Cc: linux-india-programmers@lists.linux-india.org Subject: Gtk Widget referencing Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/14 X-Sequence-Number: 2087 hi all, I am very new to Gtk/Gdk and am writing an interface in it. I made the interface in glade and then modified the files generated. The structure of the files is pretty standard, like main creates a gnome application widget app1, which contains a lot of widgets. The problem now I am facing is how to reference these widgets in functions. For example I want to access the value of a spin box when a button is pressed. How do i do it? One way is to declare all pointers to these widgets global. But is there any other way? Also I wanted to know what gtk_widget_ref() does ? Could not find in the docs. Thanks in Advance. -- #!!! 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 Mon Apr 2 18:51:05 2001 Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com [216.136.174.114]) by www.aunet.org (Postfix) with SMTP id C9FF34A18D for ; Mon, 2 Apr 2001 17:49:44 -0800 (PST) Received: from unknown (HELO default) (202.54.101.61) by smtp.mail.vip.sc5.yahoo.com with SMTP; 3 Apr 2001 01:49:40 -0000 X-Apparently-From: Date: Tue, 3 Apr 2001 7:21:7 +0500 From: Intrepid Soldier Reply-To: intrepidsoldier@yahoo.com To: linux-india-programmers@lists.linux-india.org Subject: podfuk X-mailer: FoxMail 2.1 [en] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20010403014944.C9FF34A18D@www.aunet.org> X-Archive-Number: 200104/15 X-Sequence-Number: 2088 This is in reply to Raja's mail regardinf ftpfs Sorry to write a mail out of the continuing thread. actually I downloaded the mail somewhere else and writing this mail from somewhere else. Coming back to the main topic podfuk (which is basically for coda/venus) wasnt of any special use anyway I am writing a kernel module for the first time so my main interest is in reading and understanding the kernel code rather than looking for some short-cuts. I am pretty convinced with your argument of ftp fs functionality belonging outside the kernel but what I am trying to do is something like this:- * open the traditional two sockets for control and data. * connect the control socket with the remote machine on port 21 * send the customary FTP ascii commands to the ftp server * receive the responses from the server *receive the file-names and files from the server *and present them to the vfs using dentry and inode structures Intrepid Soldier _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Mon Apr 2 19:48:19 2001 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id 2708C4A169 for ; Mon, 2 Apr 2001 18:47:17 -0800 (PST) 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 IAA08617 for ; Tue, 3 Apr 2001 08:21:35 +0530 (IST) Received: from ajayd.h1.iitk.ac.in (IDENT:root@[172.31.76.23]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id IAA05835 for ; Tue, 3 Apr 2001 08:07:12 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.h1.iitk.ac.in (8.11.0/8.11.0) with ESMTP id f332kNj13313 for ; Tue, 3 Apr 2001 08:16:23 +0530 X-Authentication-Warning: ajayd.h1.iitk.ac.in: ajayd owned process doing -bs Date: Tue, 3 Apr 2001 08:16:22 +0530 (IST) From: Dwivedi Ajay kumar To: "linux-india-programmers@lists.linux-india.org" Subject: Re: podfuk In-Reply-To: <20010403014944.C9FF34A18D@www.aunet.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/16 X-Sequence-Number: 2089 Take a look at http://ftpfs.sourceforge.net/ On Tue, 3 Apr 2001, Intrepid Soldier wrote: > This is in reply to Raja's mail regardinf ftpfs > Sorry to write a mail out of the continuing thread. > actually I downloaded the mail somewhere else > and writing this mail from somewhere else. > Coming back to the main topic > podfuk (which is basically for coda/venus) wasnt of any special use > anyway I am writing a kernel module for the first time > so my main interest is in reading and understanding the kernel code > rather than looking for some short-cuts. > I am pretty convinced with your argument of ftp fs functionality > belonging outside the kernel but what I am trying to do is > something like this:- > > * open the traditional two sockets for control and data. > * connect the control socket with the remote machine on port 21 > * send the customary FTP ascii commands to the ftp server > * receive the responses from the server > *receive the file-names and files from the server > *and present them to the vfs using dentry and inode structures > > Intrepid Soldier > > > _________________________________________________________ > Do You Yahoo!? > Get your free @yahoo.com address at http://mail.yahoo.com > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ > -- #!!! 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 Mon Apr 2 20:52:37 2001 Received: from brahma01.netbrahma.com (unknown [164.164.70.67]) by www.aunet.org (Postfix) with ESMTP id 8CD894A145 for ; Mon, 2 Apr 2001 19:52:29 -0800 (PST) Received: from anands.netbrahma.com (ANANDS [172.16.72.66]) by brahma01.netbrahma.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id H05JV22D; Tue, 3 Apr 2001 09:23:19 +0530 Received: from anand by anands.netbrahma.com with local (Exim 3.22 #1 (Debian)) id 14kHvO-0004HZ-00 for ; Tue, 03 Apr 2001 09:26:10 +0530 Date: Tue, 3 Apr 2001 09:26:10 +0530 From: Anand Biligiri S To: linux-india-programmers@lists.linux-india.org Subject: Re: Gtk Widget referencing Message-ID: <20010403092610.A16430@anands.netbrahma.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.15i In-Reply-To: ; from ajayd@iitk.ac.in on Mon, Apr 02, 2001 at 10:50:17PM +0530 X-Archive-Number: 200104/17 X-Sequence-Number: 2090 Hi, On Mon, Apr 02, 2001 at 10:50:17PM +0530, Dwivedi Ajay kumar wrote: >functions. For example I want to access the value of a spin box when a >button is pressed. How do i do it? > One way is to declare all pointers to these widgets global. But is >there any other way? There is a function lookup_widget() in support.h . That should let you access widgets by name, i.e., you need to pass the pointer to parent widget and the name of the child widget to get a pointer to the child widget. HTH -- Anand Biligiri S ---------------- There will be big changes for you but you will be happy. From linux-india-programmers-owner@lists.linux-india.org Mon Apr 2 22:18:09 2001 Received: from sharmas.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 675D64A137 for ; Mon, 2 Apr 2001 21:18:07 -0800 (PST) Received: (from adsharma@localhost) by sharmas.dhs.org (8.11.1/8.11.1) id f335CQm42831 for linux-india-programmers@lists.linux-india.org; Mon, 2 Apr 2001 22:12:26 -0700 (PDT) (envelope-from adsharma) Date: Mon, 2 Apr 2001 22:12:26 -0700 From: Arun Sharma To: Indian Linux Programmers List Subject: Re: Distro howto?? Message-ID: <20010402221225.A42816@sharmas.dhs.org> References: <20010402150615.A982@bigfoot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010402150615.A982@bigfoot.com>; from sandipb@bigfoot.com on Mon, Apr 02, 2001 at 03:06:15PM +0530 X-Archive-Number: 200104/18 X-Sequence-Number: 2091 On Mon, Apr 02, 2001 at 03:06:15PM +0530, Sandip Bhattacharya wrote: > [Not exactly a programming question. Sorry.] > > Is there any place I can get to know how a distro instalaltion works? > I have been a RedHat user all this while. What has always made me > curious is how a RH distrib installs itself ... > I suspect that some of this qualifies as "intellectual property" for the distro vendors :) > 1. How does RPM install itself on a new system? Or upgrade itself to a > new version like in RHL7? Since redhat has a everything is a RPM view, things are simple: install a whole bunch of RPMs. Upgrade ? upgrade the rpms. > 2. How does it manage to upgrade glibc on a disk when it has itself > booted from a CD ... Actually, that's a lot simpler than upgrading glibc that the installation program itself is linked to. In the early days of redhat, I got burnt several times trying to upgrade glibc only to find that ls and other essential programs stopped working. I think the key is: /sbin has a bunch of statically linked binaries, that help you recover the system. > 3. How in the order of installation, visible above the progress-bar > during installation, it manages to install dependencies of the > package(like glibc) after the package itself. > I guess it uses rpm -q? commands to figure the dependencies and then do a rpm -i on those guys. As someone said, look at their python code. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Apr 2 23:52:04 2001 Received: from valium.lu.com (unknown [203.122.32.98]) by www.aunet.org (Postfix) with SMTP id 7E6014A0DA for ; Mon, 2 Apr 2001 22:51:40 -0800 (PST) Received: (qmail 9009 invoked by alias); 3 Apr 2001 06:51:31 -0000 Received: from mithun.internal.egurucool.com (HELO egurucool.com) (10.40.2.25) by valium.internal.egurucool.com with SMTP; 3 Apr 2001 06:51:31 -0000 Message-ID: <3AC972F3.68DBBFCE@egurucool.com> Date: Tue, 03 Apr 2001 12:21:31 +0530 From: Mithun Bhattacharya Organization: Learning Universe [http://www.egurucool.com] X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Perl Query. References: <3AC84D5A.96A5D401@india.ti.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/19 X-Sequence-Number: 2092 You have defined a reference to a function here - assuming that peice of code was in Perl. In that case &$a() would execute your function. Seems a highly unusual thing to do unless you are making a array of functions and things like that .... Mithun From linux-india-programmers-owner@lists.linux-india.org Tue Apr 3 04:40:04 2001 Received: from gatekeep.ti.com (gatekeep.ti.com [192.94.94.61]) by www.aunet.org (Postfix) with ESMTP id 814AB4A32B for ; Tue, 3 Apr 2001 03:40:00 -0800 (PST) Received: from dlep6.itg.ti.com ([157.170.188.9]) by gatekeep.ti.com (8.11.1/8.11.1) with ESMTP id f33Bdvr26267 for ; Tue, 3 Apr 2001 06:39:57 -0500 (CDT) Received: from dlep6.itg.ti.com (localhost [127.0.0.1]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id GAA21722 for ; Tue, 3 Apr 2001 06:39:56 -0500 (CDT) Received: from mailsvr.india.ti.com (mailsvr.india.ti.com [157.87.95.214]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id GAA21685 for ; Tue, 3 Apr 2001 06:39:54 -0500 (CDT) Received: from apdsparc085.india.ti.com (apdsparc085 [157.87.88.99]) by mailsvr.india.ti.com (8.8.8/8.8.8) with ESMTP id RAA28591 for ; Tue, 3 Apr 2001 17:08:35 +0530 (IST) Received: from india.ti.com (localhost [127.0.0.1]) by apdsparc085.india.ti.com (8.9.3/8.9.3) with ESMTP id RAA29511 for ; Tue, 3 Apr 2001 17:09:52 +0530 (IST) Message-ID: <3AC9B688.9798DA70@india.ti.com> Date: Tue, 03 Apr 2001 17:09:52 +0530 From: "Mallikarjuna Rao V.V.Ch." X-Mailer: Mozilla 4.7 [en] (X11; I; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Perl Query. References: <3AC84D5A.96A5D401@india.ti.com> <3AC972F3.68DBBFCE@egurucool.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/20 X-Sequence-Number: 2093 This following declaration of $a is not a reference to a function. $a = 'sub output { print "Hello World\n"; }'; This is some thing like stored procedure. Here $a is a string containing the function code. Well I have got one way of executing that. This is as follows: eval $a; &output(); But here I require to know the function name for executing. If I don't know the name of the function, I cannot execute this function, directly without parsing the string. Actually I want to implement the "stored procedure" facility. I came up with this method of storing the function as a string and trying to execute the function. In case there is a better way of doing this, I am very much eager to know. TIA, mallik. Mithun Bhattacharya wrote: > > You have defined a reference to a function here - assuming that peice of > code was in Perl. In that case &$a() would execute your function. Seems > a highly unusual thing to do unless you are making a array of functions > and things like that .... > > Mithun From linux-india-programmers-owner@lists.linux-india.org Tue Apr 3 07:08:03 2001 Received: from cooper.spectranet.com (unknown [203.122.63.156]) by www.aunet.org (Postfix) with ESMTP id C080B49F48 for ; Tue, 3 Apr 2001 06:07:49 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by cooper.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GB8SG900.S06 for ; Tue, 3 Apr 2001 19:38:33 -0500 Message-ID: <00ea01c0bc47$7e8a59f0$8900000a@aclindia.com> From: "Ambar Roy" To: References: <20010401042136.9490.qmail@mailweb32.rediffmail.com> <20010401102239.71a3048c.joglekar@eth.net> Subject: Re: File transfer in network Date: Tue, 3 Apr 2001 19:38:00 +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: 200104/21 X-Sequence-Number: 2094 > There are various way to do this. > > 1. you can use NFS server/client > 2. you can use SMB server/client > 3. you can use rcp as you have stated. > 4. If you have installed ssh then can use 'scp' to copy. u miss out the most obvious method FTP!!!! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Tue Apr 3 07:18:17 2001 Received: from stewart.spectranet.com (unknown [203.122.63.155]) by www.aunet.org (Postfix) with ESMTP id B3F3C49FF1 for ; Tue, 3 Apr 2001 06:18:13 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by stewart.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GB8SXK00.3Q1 for ; Tue, 3 Apr 2001 19:48:56 -0500 Message-ID: <00f801c0bc48$f20d29b0$8900000a@aclindia.com> From: "Ambar Roy" To: References: <000d01c0badc$549e3600$67f60b3d@rahul> Subject: Re: Very basic Date: Tue, 3 Apr 2001 19:48:14 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200104/22 X-Sequence-Number: 2095 > char a[] ="abcdef"; > printf("%u\n",a); > > what is the "cout" equivalent of the second statement ? > > do reply (offlist if you so wish) correct me some1 if i am wrong, imho it shud be: cout << (unsigned int) ((char *) a) << "\n"; Actually this is another very stupid question, which examiners shud try to avoid. The printf statement can have many meanings, depending on the sizeof(char *) and what the contents of the stack are, and hence basically the architecture of the system. Under MSDOS this wud give different types of output depending on the memory model used to compile the program! Output of this program is of course not guranteed to anything beyond Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Tue Apr 3 07:21:52 2001 Received: from stewart.spectranet.com (unknown [203.122.63.155]) by www.aunet.org (Postfix) with ESMTP id 437F54A0A8 for ; Tue, 3 Apr 2001 06:21:48 -0800 (PST) Received: from AMBAR ([203.122.24.162]) by stewart.spectranet.com (Netscape Messaging Server 4.15) with SMTP id GB8T3I00.RQD for ; Tue, 3 Apr 2001 19:52:31 -0500 Message-ID: <010001c0bc49$71be3820$8900000a@aclindia.com> From: "Ambar Roy" To: References: <021f01c0b6b5$358ca740$8900000a@aclindia.com> <20010327215735.A24174@sharmas.dhs.org> <00bf01c0b839$f3f68540$8900000a@aclindia.com> <20010329083345.A28434@sharmas.dhs.org> <002201c0b900$89338f10$8900000a@aclindia.com> <20010401192841.A38839@sharmas.dhs.org> Subject: Re: Linux Kernel scheduling Date: Tue, 3 Apr 2001 19:51:58 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200104/23 X-Sequence-Number: 2096 > If the average time a connection is open is relatively small, you > should still be ok. I'd start with a small number of threads and > increase them only when the server becomes unresponsive by running > out of threads. that is the problem here... I hav to maintain a continous connection to the server for a long time. If i was having a problem of simple request reply kind of thing, then i wud just use http tunneling and make the server using servlet/php/asp/cgi/mod_perl kind of stuff ;) This kind of problem makes a very heavy demand of resources under linux. Under windows nt/2k the same program (it is a java program!) can spawn a much larger number of threads with much lesser per thread overhead/cpu usage :( Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Tue Apr 3 08:13:25 2001 Received: by www.aunet.org (Postfix, from userid 1000) id B98444A1D9; Tue, 3 Apr 2001 07:13:20 -0800 (PST) To: linux-india-programmers@lists.linux-india.org Subject: List Statistics for linux-india-programmers for 03/2001 Message-Id: <20010403151320.B98444A1D9@www.aunet.org> Date: Tue, 3 Apr 2001 07:13:20 -0800 (PST) From: thaths@aunet.org (Sudhakar Chandra) X-Archive-Number: 200104/24 X-Sequence-Number: 2097 ************************************************************** List: linux-india-programmers ************************************************************** Number of subscribers Total: 364 Digest: 14 (3.85 %) Each: 350 (96.15 %) ************************************************************** By TLD .com: 253 (69.51 %) .net: 37 (10.16 %) .edu: 4 (1.10 %) .org: 7 (1.92 %) .in: 63 (17.31 %) ************************************************************** By domain name .vsnl.net.in: 7 (1.92 %) .vsnl.com: 5 (1.37 %) .vsnl.net: 3 (0.82 %) .hotmail.com: 18 (4.95 %) .yahoo.com: 75 (20.60 %) .usa.net: 11 (3.02 %) .softhome.net: 5 (1.37 %) .eth.net: 5 (1.37 %) .netscape.net: 0 (0.00 %) .pobox.com: 1 (0.27 %) .iname.com: 1 (0.27 %) ************************************************************** Signal to noise ratio of top posters Total Messages: 355 Total Original Body Lines: 4271 Total Body Lines: 8959 (53% noise) Sorted by messages posted: Total Total Total Messages Original Lines: Posted: Lines: 1: Ambar Roy 22 187 384 (52% noise) 2: Arun Sharma 21 133 362 (64% noise) 3: Shridhar Daithankar 21 145 382 (63% noise) 4: Karthika Sivaramakrishnan 18 161 340 (53% noise) 5: Binand Raj S. 17 166 338 (51% noise) 6: Ketu 13 166 345 (52% noise) 7: sreangsu acharyya 12 103 212 (52% noise) 8: Indraneel Majumdar 11 76 208 (64% noise) 9: Harishankkar 9 191 372 (49% noise) 10: Prashant Ramachandra 8 180 208 (14% noise) 11: shubhendu 8 91 145 (38% noise) 12: V.Kugan 8 165 295 (45% noise) 13: Deepak Joglekar 7 77 160 (52% noise) 14: Naba Kumar 7 177 316 (44% noise) 15: Gaurav Priyolkar 6 64 133 (52% noise) 16: G.L.Suresh 5 75 252 (71% noise) 17: M K Saravanan 5 175 254 (32% noise) 18: Sumit Rangwala 5 41 94 (57% noise) 19: Mayank Sharma 5 24 130 (82% noise) 20: Alex M Alex 5 51 165 (70% noise) Sorted by original lines posted: Total Total Total Messages Original Lines: Posted: Lines: 1: Harishankkar 9 191 372 (49% noise) 2: Ambar Roy 22 187 384 (52% noise) 3: Prashant Ramachandra 8 180 208 (14% noise) 4: Naba Kumar 7 177 316 (44% noise) 5: M K Saravanan 5 175 254 (32% noise) 6: Binand Raj S. 17 166 338 (51% noise) 7: Ketu 13 166 345 (52% noise) 8: V.Kugan 8 165 295 (45% noise) 9: Karthika Sivaramakrishnan 18 161 340 (53% noise) 10: Shridhar Daithankar 21 145 382 (63% noise) 11: Arun Sharma 21 133 362 (64% noise) 12: Sudhakar Chandra 2 121 142 (15% noise) 13: sreangsu acharyya 12 103 212 (52% noise) 14: David Bodnick 2 96 124 (23% noise) 15: shubhendu 8 91 145 (38% noise) 16: Bhavin Turakhia 1 90 124 (28% noise) 17: Vikram K 2 80 115 (31% noise) 18: Deepak Joglekar 7 77 160 (52% noise) 19: Indraneel Majumdar 11 76 208 (64% noise) 20: G.L.Suresh 5 75 252 (71% noise) Sorted by total lines posted: Total Total Total Messages Original Lines: Posted: Lines: 1: Ambar Roy 22 187 384 (52% noise) 2: Shridhar Daithankar 21 145 382 (63% noise) 3: Harishankkar 9 191 372 (49% noise) 4: Arun Sharma 21 133 362 (64% noise) 5: Ketu 13 166 345 (52% noise) 6: Karthika Sivaramakrishnan 18 161 340 (53% noise) 7: Binand Raj S. 17 166 338 (51% noise) 8: Naba Kumar 7 177 316 (44% noise) 9: V.Kugan 8 165 295 (45% noise) 10: M K Saravanan 5 175 254 (32% noise) 11: G.L.Suresh 5 75 252 (71% noise) 12: sreangsu acharyya 12 103 212 (52% noise) 13: Prashant Ramachandra 8 180 208 (14% noise) 14: Indraneel Majumdar 11 76 208 (64% noise) 15: Alex M Alex 5 51 165 (70% noise) 16: Deepak Joglekar 7 77 160 (52% noise) 17: Suresh Ramasubramanian 4 53 150 (65% noise) 18: shubhendu 8 91 145 (38% noise) 19: Ruchir Tewari 2 16 143 (89% noise) 20: Sudhakar Chandra 2 121 142 (15% noise) Notes: "Total Lines" does not count attachments, only the main body of the message. Messages which contain only attachments count as 0 lines. "Original lines" are the subset of "Total Lines" that are not preceeded by ">". "Noise" is the other part -- the quoted material. This script doesn't do anything clever with HTML, so the stats will be off for HTML messages (no detection of quoted material, and bloated line counts.) ************************************************************** From linux-india-programmers-owner@lists.linux-india.org Tue Apr 3 15:19:28 2001 Received: from stephens.ittc.ukans.edu (stephens.ittc.ukans.edu [129.237.125.220]) by www.aunet.org (Postfix) with ESMTP id 04EB04A13F for ; Tue, 3 Apr 2001 14:19:22 -0800 (PST) Received: from occam.ittc.ukans.edu (occam.ittc.ukans.edu [129.237.125.230]) by stephens.ittc.ukans.edu (8.11.2/8.11.2/ITTC-NOSPAM-NOVIRUS-2.2) with ESMTP id f33MJGt11040 for ; Tue, 3 Apr 2001 17:19:16 -0500 Received: from localhost by occam.ittc.ukans.edu (8.9.3/KU-4.0-client) id RAA08739; Tue, 3 Apr 2001 17:19:16 -0500 Date: Tue, 3 Apr 2001 17:19:16 -0500 (CDT) From: Amit Kucheria To: Indian Linux Programmers List Subject: Info on routing/neighbour table internals In-Reply-To: <20010329233121.A648@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/25 X-Sequence-Number: 2098 Hi all, I am looking for some pointers to information on details of routing tables, neighbour tables, source routing etc. I would be greatful if somebody has come across this kind information. Regards, Amit -- ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant Team Niehaus || Room # 245E University of Kansas @ Lawrence (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 ____________________________________________________ From linux-india-programmers-owner@lists.linux-india.org Tue Apr 3 19:25:49 2001 Received: from www.telocity.com (dsl-64-194-89-201.telocity.com [64.194.89.201]) by www.aunet.org (Postfix) with ESMTP id 7F8EA4A117 for ; Tue, 3 Apr 2001 18:25:47 -0800 (PST) Received: from listed by www.telocity.com with local (Exim 3.22 #1 (Debian)) id 14kcyS-0000AJ-00 for ; Tue, 03 Apr 2001 21:24:44 -0500 Date: Tue, 3 Apr 2001 21:24:44 -0500 To: linux-india-programmers@lists.linux-india.org Subject: Re: File transfer in network Message-ID: <20010403212444.C563@indialine.org> References: <20010401042136.9490.qmail@mailweb32.rediffmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.15i In-Reply-To: ; from ajayd@iitk.ac.in on Sun, Apr 01, 2001 at 10:58:19AM +0530 From: Mailing List Subscriber X-Archive-Number: 200104/26 X-Sequence-Number: 2099 My Debian box has this: ln -s /usr/bin/scp /usr/bin/rcp by default \indraneel On Sun, Apr 01, 2001 at 10:58:19AM +0530, Super User wrote: > > Use ftp or scp. All r-commands like rcp,rsh,rlogin are very > insecure unless you have all the servers in the network centrally managed. From linux-india-programmers-owner@lists.linux-india.org Tue Apr 3 22:38:35 2001 Received: from there (unknown [203.200.52.16]) by www.aunet.org (Postfix) with SMTP id 26DC44A0E8 for ; Tue, 3 Apr 2001 21:36:07 -0800 (PST) Subject: Re: Distro Howto?? X-Mailer: NetCat v1.10 Message-Id: <20010404053607.26DC44A0E8@www.aunet.org> Date: Tue, 3 Apr 2001 21:36:07 -0800 (PST) From: dnanib@yahoo.com X-Archive-Number: 200104/27 X-Sequence-Number: 2100 [I am no more on the LI-* lists, so listadmin, please forward] Sandip Bhattacharya wrote: > Is there any place I can get to know how a distro instalaltion works? > I have been a RedHat user all this while. What has always made me > curious is how a RH distrib installs itself ... I had written about this to LIH sometime ago... http://lists.linux-india.org/lists/linux-india-help/200005/msg01460.html > 1. How does RPM install itself on a new system? Or upgrade itself to a > new version like in RHL7? The rpm program used for installation is found on the CD itself, and not the one on the HDD. This one incidentally installs an rpm-*.rpm along with the others. > 2. How does it manage to upgrade glibc on a disk when it has itself > booted from a CD ... rpm --root=/whatever ... > 3. How in the order of installation, visible above the progress-bar > during installation, it manages to install dependencies of the > package(like glibc) after the package itself. rpm v3.0 and above (the software, not the packaging format) internally rearranges the list of software to install inside what is known as a transaction set. If the transaction set + installed software satisfies all the dependencies, then the software is installed in the original order (not in the corrected order within the transaction set). As a matter of fact, all the above is done within a library called rpmlib. There are interfaces to rpmlib from various programming languages (C, perl, python...) so you can also use these features in your program. Further questions, ask...;-) Binand From linux-india-programmers-owner@lists.linux-india.org Tue Apr 3 23:02:36 2001 Received: from web6401.mail.yahoo.com (web6401.mail.yahoo.com [128.11.22.149]) by www.aunet.org (Postfix) with SMTP id A469A4A0E5 for ; Tue, 3 Apr 2001 22:02:25 -0800 (PST) Message-ID: <20010404060212.24381.qmail@web6401.mail.yahoo.com> Received: from [61.0.156.115] by web6401.mail.yahoo.com; Tue, 03 Apr 2001 23:02:12 PDT Date: Tue, 3 Apr 2001 23:02:12 -0700 (PDT) From: Naba Kumar Subject: Re: Gtk Widget referencing To: linux-india-programmers@lists.linux-india.org, linux-india-help@lists.linux-india.org Cc: linux-india-programmers@lists.linux-india.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200104/28 X-Sequence-Number: 2101 --- Dwivedi Ajay kumar wrote: > hi all, > I am very new to Gtk/Gdk and am writing an interface in it. I made > the interface in glade and then modified the files generated. > > The structure of the files is pretty standard, like main creates a > gnome application widget app1, which contains a lot of widgets. The > problem now I am facing is how to reference these widgets in > functions. For example I want to access the value of a spin box when a > button is pressed. How do i do it? > Any widget within a widget can be retrieved with the function lookup_widget(parent, wid_name) provided in support.c file. The parent widget is usually the top level widget returned from the function create_XXX() generated by glade and the wid_name is the widget name (string) given by you when the widget was designed with glade (ie, "button1"). When you connect to a signal, give the top level widget (in you case, may be the window) as the user_data to the signal handler. In the callback function, you can do: void callback (GtkWidget* button, gpointer user_data) { GtkWidget* top_win; GtkWidget* spin_button; top_win = user_data; /* You don't need ref here */ spin_button = lookup_widget (top_win, "spinbutton1"); ... ... } > One way is to declare all pointers to these widgets global. But is > there any other way? > That's very crude. Another alternative is to use a struct for window and all it's widgets. But you need to reference all the widgets manully and assign the widget pointers to the content of the struct. That means you will need to edit interface.c file and this is bad. > Also I ..wanted to know what gtk_widget_ref() does ? Could not find > in the docs. Every widgets (more precisely gtk objects) have life time decided by a ref count maintained within the objects. As soon as the ref count becomes zero, the object is destroyed and all it's resources are freed. void gtk_object_ref (GTK_OBJECT(wid)); void gtk_object_unref (GTK_OBJECT(wid)); If you need to use the object and don't want to get it destroyed by other operations then you must ref it and when you are done with it unref the object, otherwise, the widget will will never be destroyed. -- Regards, -Naba ------------------------------------------------------------- Thrashing is just virtual crashing. ------------------------------------------------------------- __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Tue Apr 3 23:47:29 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id B50BE4A164 for ; Tue, 3 Apr 2001 22:47:25 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f346svs17528 for ; Wed, 4 Apr 2001 12:24:57 +0530 Message-ID: <3ACAC3E8.97262BAC@pspl.co.in> Date: Wed, 04 Apr 2001 12:19:12 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: Distro Howto?? References: <20010404053607.26DC44A0E8@www.aunet.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/29 X-Sequence-Number: 2102 You mean Binand is no more on the list? I don't feel good... Shridhar dnanib@yahoo.com wrote: > > [I am no more on the LI-* lists, so listadmin, please forward] From linux-india-programmers-owner@lists.linux-india.org Wed Apr 4 02:02:11 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id B86304A0A9 for ; Wed, 4 Apr 2001 00:58:31 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id OAA19557 for ; Wed, 4 Apr 2001 14:18:52 +0530 Date: Wed, 4 Apr 2001 14:18:52 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: Indian Linux Programmers List Subject: running a qt program... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/30 X-Sequence-Number: 2103 dear firends i am a new bee to qt programming , after reading help from RH6.2 docs i made a simple program tried to run it using g++,c++ and cc but nothing seems to work i have seen for header files in /usr/lib/qt-1.45/include/.... they are there pls tell me how to proceed regards shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Wed Apr 4 02:16:19 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 1FA3B4A19E for ; Wed, 4 Apr 2001 01:16:16 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f349Nns22166 for ; Wed, 4 Apr 2001 14:53:49 +0530 Message-ID: <3ACAE6CC.610912B0@pspl.co.in> Date: Wed, 04 Apr 2001 14:48:04 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: running a qt program... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/31 X-Sequence-Number: 2104 Did you run moc on that? Try modifying examples given by Qt. They get built without any errors. They are a good starting point... I would rather advice you to use kdevelop. It will save lot of pain for you if you are in Qt/KDE business.... Shridhar shubhendu wrote: > > dear firends > > i am a new bee to qt programming , after reading help > from RH6.2 docs i made a simple program > tried to run it using g++,c++ and cc but nothing seems > to work From linux-india-programmers-owner@lists.linux-india.org Wed Apr 4 02:16:30 2001 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id 936DD4A1A3 for ; Wed, 4 Apr 2001 01:16:16 -0800 (PST) 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 OAA16378 for ; Wed, 4 Apr 2001 14:50:30 +0530 (IST) Received: from ajayd.h1.iitk.ac.in (IDENT:root@[172.31.76.23]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id OAA26747 for ; Wed, 4 Apr 2001 14:36:05 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.h1.iitk.ac.in (8.11.0/8.11.0) with ESMTP id f349F3d01463 for ; Wed, 4 Apr 2001 14:45:03 +0530 X-Authentication-Warning: ajayd.h1.iitk.ac.in: ajayd owned process doing -bs Date: Wed, 4 Apr 2001 14:45:03 +0530 (IST) From: Dwivedi Ajay kumar To: Indian Linux Programmers List Subject: Re: running a qt program... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/32 X-Sequence-Number: 2105 On Wed, 4 Apr 2001, shubhendu wrote: > i am a new bee to qt programming , after reading help > from RH6.2 docs i made a simple program > tried to run it using g++,c++ and cc but nothing seems > to work I have this alias in my .bashrc alias qcc='g++ -I/usr/include/qt/ -lqt' -- #!!! 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 Apr 4 05:20:16 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 80F394A127 for ; Wed, 4 Apr 2001 04:16:02 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id RAA06283; Wed, 4 Apr 2001 17:40:44 +0530 Date: Wed, 4 Apr 2001 17:40:44 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: Shridhar Daithankar Cc: linux-india-programmers@lists.linux-india.org Subject: Re: qt program ... In-Reply-To: <3ACAE6CC.610912B0@pspl.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/33 X-Sequence-Number: 2106 hi Shridhar > Did you run moc on that? i have seen this way for running the program but its not clear as its asking for some makefile etc ( as moc cant be run directly ) pls tell me in a bit detail > > Try modifying examples given by Qt. They get built without any errors. They are > a good starting point... did the same > > I would rather advice you to use kdevelop. It will save lot of pain for you if > you are in Qt/KDE business.... > i dont have kdevelop on my RH6.2 m/c and its rpm is not getting installed giving error as only packages with number <=3 are supported by this version of RPM i am using RH 7.0 Cd for rpm.. what should be done... shubh From linux-india-programmers-owner@lists.linux-india.org Wed Apr 4 05:46:05 2001 Received: from omta03.mta.everyone.net (sitemail.everyone.net [216.200.145.35]) by www.aunet.org (Postfix) with ESMTP id 6218B4A1A0 for ; Wed, 4 Apr 2001 04:46:04 -0800 (PST) Received: from sitemail.everyone.net (reports [216.200.145.62]) by omta03.mta.everyone.net (Postfix) with ESMTP id B76B14936A for ; Wed, 4 Apr 2001 05:41:54 -0700 (PDT) Received: by sitemail.everyone.net (Postfix, from userid 99) id 925773ED3; Wed, 4 Apr 2001 05:41:54 -0700 (PDT) Content-Type: text/plain Content-Disposition: inline Mime-Version: 1.0 X-Mailer: MIME-tools 4.104 (Entity 4.117) Date: Wed, 4 Apr 2001 05:41:54 -0700 (PDT) From: Crismus Bonus To: linux-india-programmers@lists.linux-india.org Subject: Re: qt program ... Reply-To: crismusbonus@ringzone.every1.net X-Originating-Ip: [210.214.70.161] Message-Id: <20010404124154.925773ED3@sitemail.everyone.net> X-Archive-Number: 200104/34 X-Sequence-Number: 2107 Hi, Check what version of RPM you are using... It must be RPM-4 to make it work correctly... Try installing the RPM4 rpm from the RH7 cd or download the source and compile it yourself, if you are comfortable with it... Cheers. >i dont have kdevelop on my RH6.2 m/c and its rpm is not getting installed >giving error as > >only packages with number <=3 are supported by this version of RPM > >i am using RH 7.0 Cd for rpm.. > >what should be done... > > >shubh > > >--------------------------------------------- >The mailing list archives are available at >http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers == ________________________ Mr Maninder Bali IBM Certified Developer http://maninder.cjb.net ________________________ _____________________________________________________________ Get email for your site ---> http://www.everyone.net From linux-india-programmers-owner@lists.linux-india.org Wed Apr 4 06:18:34 2001 Received: from utopia.kingsly.net (PPP-187-210.bng.vsnl.net.in [203.197.187.210]) by www.aunet.org (Postfix) with ESMTP id 4D33F49F16 for ; Wed, 4 Apr 2001 05:18:31 -0800 (PST) Received: from localhost (kingsly@localhost) by utopia.kingsly.net (8.9.3/8.9.3) with ESMTP id SAA01069 for ; Wed, 4 Apr 2001 18:57:41 +0530 X-Authentication-Warning: utopia.kingsly.net: kingsly owned process doing -bs Date: Wed, 4 Apr 2001 18:57:41 +0530 (IST) From: Kingsly John X-Sender: kingsly@utopia.kingsly.net To: linux-india-programmers@lists.linux-india.org Subject: Re: qt program ... rpm4 In-Reply-To: <20010404124154.925773ED3@sitemail.everyone.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/35 X-Sequence-Number: 2108 On Wed, 4 Apr 2001, Crismus Bonus wrote: | Check what version of RPM you are using... It must be RPM-4 to make |it work correctly... Try installing the RPM4 rpm from the RH7 cd or |download the source and compile it yourself, if you are comfortable |with it... the rpm4 rpm which is on the rh7 cd is in rpm4 format so u can't install it on a rpm3 based machine like rh6.2. you will need the following rpm3 format rpms ... db3-3.1.14-0.3.6x.i386.rpm db3-devel-3.1.14-0.3.6x.i386.rpm db3-utils-3.1.14-0.3.6x.i386.rpm popt-1.6-6x.i386.rpm rpm-4.0-6x.i386.rpm rpm-build-4.0-6x.i386.rpm rpm-devel-4.0-6x.i386.rpm rpm-python-4.0-6x.i386.rpm to upgrade properly to rpm4. there are detailed instructions on redhats site on how to go about this upgrade process precautions to be taken etc etc. Kingsly .:: Kingsly John ICQ 14787510 ::. -------------------------------------------------- .:: Linux 2.4.3 #2 Sun Apr 1 00:02:27 IST 2001 i686 ::. -------------------------------------------------------- `:. Posted to the list on Wed Apr 4 18:54:59 IST 2001 .:' From linux-india-programmers-owner@lists.linux-india.org Wed Apr 4 06:43:53 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 461BA4A121 for ; Wed, 4 Apr 2001 05:43:49 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f34DpMs28775 for ; Wed, 4 Apr 2001 19:21:22 +0530 Message-ID: <3ACB2581.6B80ABCC@pspl.co.in> Date: Wed, 04 Apr 2001 19:15:37 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: OT....;-)[Was Re: qt program ... rpm4] References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/36 X-Sequence-Number: 2109 Kingsly John wrote: > you will need the following rpm3 format rpms ... > > db3-3.1.14-0.3.6x.i386.rpm > db3-devel-3.1.14-0.3.6x.i386.rpm > db3-utils-3.1.14-0.3.6x.i386.rpm > popt-1.6-6x.i386.rpm > rpm-4.0-6x.i386.rpm > rpm-build-4.0-6x.i386.rpm > rpm-devel-4.0-6x.i386.rpm > rpm-python-4.0-6x.i386.rpm > > to upgrade properly to rpm4. ^^^^^^^^ You are right on the target...;-)) Shridhar From linux-india-programmers-owner@lists.linux-india.org Wed Apr 4 08:15:35 2001 Received: from mailweb17.rediffmail.com (unknown [203.199.83.141]) by www.aunet.org (Postfix) with SMTP id A644D4A070 for ; Wed, 4 Apr 2001 07:15:32 -0800 (PST) Received: (qmail 28908 invoked by uid 510); 4 Apr 2001 15:03:05 -0000 Date: 4 Apr 2001 15:03:05 -0000 Message-ID: <20010404150305.28907.qmail@mailweb17.rediffmail.com> Received: from unknown (210.214.6.213) by rediffmail.com via HTTP; 04 Apr 2001 15:03:05 -0000 MIME-Version: 1.0 To: LIP Subject: Re: File transfer in network From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/37 X-Sequence-Number: 2110 Hi! Thanks for your replies to my file transfer query. Basically, I want to transfer files between 2 systems through a program, which means I do not want to use ftp or Telnet or the rlogin command. That is why I am looking for a system command. I tried the following methods. 1. rpc test.c root@linuxws1.kal:test1.c It tried various 'ways' (krb5, ...) and finally reported "Connection refused" or "Permission denied". I read the man pages of 'rcp' and learnt that there must exist a file called .k5login (or some such name) which must contain the names of those systems/users permitted to use rcp. Can you please guide me how to specify those, as it still does not work. 2. I included a mount point for each system in the other system's fstab file. For example, I am at workstation1 (linuxws1) and its fstab has the entry linuxws2.kal:/usr /mnt/linuxws2 nfs rsize=8192,wsize=8192 0 0 When I try using the cp command, I get an error "RPC ... error = Connection refused". Is this also due to authentication failure? What should I do? Why does it occur even though I had logged in as root? Being the root, how can I bypass the authentication mechanism? Eagerly awaiting a reply, - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Wed Apr 4 08:29:04 2001 Received: from smtp011.mail.yahoo.com (smtp011.mail.yahoo.com [216.136.173.31]) by www.aunet.org (Postfix) with SMTP id 5D18449F44 for ; Wed, 4 Apr 2001 07:29:03 -0800 (PST) Received: from unknown (HELO default) (61.0.28.173) by smtp.mail.vip.sc5.yahoo.com with SMTP; 4 Apr 2001 15:28:54 -0000 X-Apparently-From: Date: Wed, 4 Apr 2001 21:0:17 +0500 From: Intrepid Soldier Reply-To: intrepidsoldier@yahoo.com To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: podfuk X-mailer: FoxMail 2.1 [en] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20010404152903.5D18449F44@www.aunet.org> X-Archive-Number: 200104/38 X-Sequence-Number: 2111 I looked at the site but unfortunately not enough documentation there I still would want to know some source for good docs on this matter At 4/3/01 8:16:00 AM, you wrote: > >Take a look at http://ftpfs.sourceforge.net/ > > >On Tue, 3 Apr 2001, Intrepid Soldier wrote: > >> This is in reply to Raja's mail regardinf ftpfs >> Sorry to write a mail out of the continuing thread. >> actually I downloaded the mail somewhere else >> and writing this mail from somewhere else. >> Coming back to the main topic >> podfuk (which is basically for coda/venus) wasnt of any special use >> anyway I am writing a kernel module for the first time >> so my main interest is in reading and understanding the kernel code >> rather than looking for some short-cuts. >> I am pretty convinced with your argument of ftp fs functionality >> belonging outside the kernel but what I am trying to do is >> something like this:- >> >> * open the traditional two sockets for control and data. >> * connect the control socket with the remote machine on port 21 >> * send the customary FTP ascii commands to the ftp server >> * receive the responses from the server >> *receive the file-names and files from the server >> *and present them to the vfs using dentry and inode structures >> >> Intrepid Soldier >> >> >> _________________________________________________________ >> Do You Yahoo!? >> Get your free @yahoo.com address at http://mail.yahoo.com >> >> >> --------------------------------------------- >> Find out more about this and other Linux India >> mailing lists at http://lists.linux-india.org/ >> > >-- > >#!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY) > > Ajay kumar Dwivedi > ajayd@iitk.ac.in > > >--------------------------------------------- >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!? Get your free @yahoo.com address at http://mail.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Wed Apr 4 08:34:45 2001 Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com [216.136.173.57]) by www.aunet.org (Postfix) with SMTP id DD4854A2F4 for ; Wed, 4 Apr 2001 07:33:15 -0800 (PST) Received: from unknown (HELO default) (61.0.28.173) by smtp.mail.vip.sc5.yahoo.com with SMTP; 4 Apr 2001 15:33:06 -0000 X-Apparently-From: Date: Wed, 4 Apr 2001 21:4:29 +0500 From: Intrepid Soldier Reply-To: intrepidsoldier@yahoo.com To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: podfuk X-mailer: FoxMail 2.1 [en] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20010404153315.DD4854A2F4@www.aunet.org> X-Archive-Number: 200104/39 X-Sequence-Number: 2112 I repeat my question ,could someone help me what is the purpose of "struct scm_cookie" in /usr/src/linux/include/net/scm.h and where do I find the implementation of "__scm_send" and "__scm_recv" functions. Thanking you. Intrepid Soldier _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Wed Apr 4 19:26:31 2001 Received: from aukbc3.aukbc.org (unknown [203.197.142.200]) by www.aunet.org (Postfix) with ESMTP id DBE534A12E for ; Wed, 4 Apr 2001 18:26:23 -0800 (PST) Received: from hanuman.aukbc.org (IDENT:mksarav@[192.168.2.37]) by aukbc3.aukbc.org (8.9.3/8.9.3) with ESMTP id IAA02006; Thu, 5 Apr 2001 08:00:59 +0530 Date: Thu, 5 Apr 2001 08:00:18 +0530 (IST) From: M K Saravanan To: gnu-india@gnu-india.org Cc: linux-india-programmers@lists.linux-india.org Subject: how the LEN of the eth frame is determined? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/40 X-Sequence-Number: 2113 hi, In the Ethernet Encapsulation, (RFC#894), we have * destn. h/w addr (6 Bytes) * src h/w addr (6 Bytes) * frame type (2 Byte) * data (min 46 to max. 1500 Bytes) * CRC (4 Bytes) Where is the length of the frame? If I have only 50 bytes of data, how the receiving ethernet will know that the data size is only 50 bytes? -- mks -- From linux-india-programmers-owner@lists.linux-india.org Thu Apr 5 00:53:57 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id A71A74A183 for ; Wed, 4 Apr 2001 23:53:45 -0800 (PST) Received: from rahul ([61.11.246.28]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f357wog24964 for ; Thu, 5 Apr 2001 13:28:50 +0530 Message-ID: <003901c0bda5$4a026ba0$1cf60b3d@rahul> From: "Rahul Jindal" To: References: Subject: Re: qt program ... rpm4 Date: Thu, 5 Apr 2001 13:21:53 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200104/41 X-Sequence-Number: 2114 find all these at ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Portability is for people who cannot write new programs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > you will need the following rpm3 format rpms ... > > db3-3.1.14-0.3.6x.i386.rpm > db3-devel-3.1.14-0.3.6x.i386.rpm > db3-utils-3.1.14-0.3.6x.i386.rpm > popt-1.6-6x.i386.rpm > rpm-4.0-6x.i386.rpm > rpm-build-4.0-6x.i386.rpm > rpm-devel-4.0-6x.i386.rpm > rpm-python-4.0-6x.i386.rpm > > to upgrade properly to rpm4. From linux-india-programmers-owner@lists.linux-india.org Thu Apr 5 02:49:34 2001 Received: from web8001.mail.in.yahoo.com (web8001.in.yahoo.com [203.199.70.19]) by www.aunet.org (Postfix) with SMTP id E25AF4A17D for ; Thu, 5 Apr 2001 01:49:27 -0800 (PST) Message-ID: <20010405095525.16065.qmail@web8001.mail.in.yahoo.com> Received: from [202.88.148.16] by web8001.mail.in.yahoo.com; Thu, 05 Apr 2001 10:55:25 BST Date: Thu, 5 Apr 2001 10:55:25 +0100 (BST) From: =?iso-8859-1?q?gaurav=20yadav?= Subject: query regarding utility. 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: 200104/42 X-Sequence-Number: 2115 hi all, sorry to bother you all, but i have a problem. i am system administrator of a cyber cafe. i am in a need of a utility that i can install in my cafe so that i can trace any particular id ( e.g. yahoo id ) whenever the person comes to login from my cafe. The real need arises because there is some person who is mailing from my cafe some junk mails, which i want to trace. if there is any utility regarding this then pls let me know. pls don't fire me down, as i have linux as well as windows installed in my cafe, if you can send windows equivalent of linux utility then extra thanks for it. thanks in anticipation, with regards, as i am not subscribed to this list, pls take pain of sending the replies to :- partjobs@yahoo.co.in -gaurav. ____________________________________________________________ Do You Yahoo!? For regular News updates go to http://in.news.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Thu Apr 5 03:36:05 2001 Received: from multimediastudio.com (unknown [202.9.179.51]) by www.aunet.org (Postfix) with SMTP id AAD6B4A10D for ; Thu, 5 Apr 2001 02:35:56 -0800 (PST) Message-ID: <001501c0be25$556eb540$0d01a8c0@krishna> From: "Krishna Srinivasan" To: References: <005a01c0b886$47209520$0d01a8c0@krishna> <20010329115658.A8399@bombay.retortsoft.com> <00aa01c0b88d$27865b30$0d01a8c0@krishna> Subject: Query Problems Date: Thu, 5 Apr 2001 16:08:31 -0700 Organization: Multimedia Studio Ltd. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200104/43 X-Sequence-Number: 2116 Hi All, I have this table which stores all the requests made for a product along with the requester's ID. At the end of the day I would like to determine the most requested products. How can I query this database and retrievethe most request products in descending order without using any temporary table. Regards, Krishna From linux-india-programmers-owner@lists.linux-india.org Thu Apr 5 04:51:09 2001 Received: from exchange.satyam.net.in (unknown [202.144.12.32]) by www.aunet.org (Postfix) with ESMTP id 1EAAC4A141 for ; Thu, 5 Apr 2001 03:51:05 -0800 (PST) Received: from HQBNG01EXFE01.mindtree.com (lan-202-144-95-250.maa.sify.net [202.144.95.250] (may be forged)) by exchange.satyam.net.in (8.9.3/8.9.3) with ESMTP id RAA21497 for ; Thu, 5 Apr 2001 17:21:52 +0530 Received: from hqbng01ex01.mindtree.com ([172.20.20.4]) by HQBNG01EXFE01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Thu, 5 Apr 2001 17:19:39 +0530 Received: from mtv01ex01.mindtree.com ([172.20.32.4]) by hqbng01ex01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Thu, 5 Apr 2001 17:19:38 +0530 Received: from mindtree.com ([172.20.33.180]) by mtv01ex01.mindtree.com with Microsoft SMTPSVC(5.0.2195.1600); Thu, 5 Apr 2001 17:19:36 +0530 Message-ID: <3ACC5C24.6000006@mindtree.com> Date: Thu, 05 Apr 2001 17:21:00 +0530 From: Moyukh Goswami Reply-To: moyukh_goswami@mindtree.com Organization: Mindtree Consulting Pvt Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; m18) Gecko/20001107 Netscape6/6.0 X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: query regarding utility. References: <20010405095525.16065.qmail@web8001.mail.in.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Apr 2001 11:49:36.0993 (UTC) FILETIME=[7D4FCD10:01C0BDC6] X-Archive-Number: 200104/44 X-Sequence-Number: 2117 Hi Gaurav >> i can trace any particular id ( e.g. yahoo id ) whenever the person comes to login from my cafe. sorry friend , Its totally illegal to do such thing, By the way how do know that some one is sending *junk* mails from your cafe???... >>as i have linux as well as windows installed >>in my cafe, if you can send windows equivalent of >>linux utility then extra thanks for it. U have linux installed, and want windoze utility, Any way no such utility exist, even if one exist i am not going to give, >> i am not subscribed to this list, Then how you have managed to send mail to this group??? From linux-india-programmers-owner@lists.linux-india.org Thu Apr 5 07:37:00 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id BA7514A0E8 for ; Thu, 5 Apr 2001 06:36:44 -0800 (PST) Received: from rahul ([61.11.246.29]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f35Efkg31106 for ; Thu, 5 Apr 2001 20:11:46 +0530 Message-ID: <005001c0bddd$9570e5c0$1df60b3d@rahul> From: "Ketu" To: References: <016201c0b617$d90413c0$f1f60b3d@rahul> <01032710540301.17848@Basel> Subject: Re: gas? Date: Thu, 5 Apr 2001 20:04:55 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200104/45 X-Sequence-Number: 2118 > gas is GNU assembler. Do which gas and rpm -qa | grep binutils. On my RHL > 6.2(Well includes hell many upgrades..), I have /usr/bin/as as assembler. where and hoe do i get it? searched but in vain ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Portability is for people who cannot write new programs ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From linux-india-programmers-owner@lists.linux-india.org Thu Apr 5 07:40:53 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 02F1C4A0E8 for ; Thu, 5 Apr 2001 06:40:49 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f35EmEs25920 for ; Thu, 5 Apr 2001 20:18:14 +0530 Message-ID: <3ACC845A.587094AE@pspl.co.in> Date: Thu, 05 Apr 2001 20:12:34 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: gas? References: <016201c0b617$d90413c0$f1f60b3d@rahul> <01032710540301.17848@Basel> <005001c0bddd$9570e5c0$1df60b3d@rahul> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/46 X-Sequence-Number: 2119 http://www.gnu.org/software/software.html It's a part of Binutils. Search for gas on that page.... Shridhar P.S. No reply for your query, yet ;-( Ketu wrote: > where and hoe do i get it? searched but in vain From linux-india-programmers-owner@lists.linux-india.org Thu Apr 5 11:23:17 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 134784A0E5 for ; Thu, 5 Apr 2001 10:23:09 -0800 (PST) Received: from rahul ([61.11.246.32]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f35IS4g28745 for ; Thu, 5 Apr 2001 23:58:06 +0530 Message-ID: <006001c0bdfd$34cb7b20$20f60b3d@rahul> From: "Ketu" To: References: <016201c0b617$d90413c0$f1f60b3d@rahul> <01032710540301.17848@Basel> <005001c0bddd$9570e5c0$1df60b3d@rahul> <3ACC845A.587094AE@pspl.co.in> Subject: Re: gas? Date: Thu, 5 Apr 2001 23:51:12 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200104/47 X-Sequence-Number: 2120 binutils, hmmm, now i understand why they say gas cannot be "seen" ;-) > http://www.gnu.org/software/software.html > > It's a part of Binutils. Search for gas on that page.... > From linux-india-programmers-owner@lists.linux-india.org Thu Apr 5 14:20:41 2001 Received: from sharmas.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 4BE844A00A for ; Thu, 5 Apr 2001 13:20:24 -0800 (PST) Received: (from adsharma@localhost) by sharmas.dhs.org (8.11.1/8.11.1) id f35LEhC50757 for linux-india-programmers@lists.linux-india.org; Thu, 5 Apr 2001 14:14:43 -0700 (PDT) (envelope-from adsharma) Date: Thu, 5 Apr 2001 14:14:43 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Query Problems Message-ID: <20010405141443.A50745@sharmas.dhs.org> References: <005a01c0b886$47209520$0d01a8c0@krishna> <20010329115658.A8399@bombay.retortsoft.com> <00aa01c0b88d$27865b30$0d01a8c0@krishna> <001501c0be25$556eb540$0d01a8c0@krishna> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <001501c0be25$556eb540$0d01a8c0@krishna>; from krishna@multimediastudio.com on Thu, Apr 05, 2001 at 04:08:31PM -0700 X-Archive-Number: 200104/48 X-Sequence-Number: 2121 On Thu, Apr 05, 2001 at 04:08:31PM -0700, Krishna Srinivasan wrote: > Hi All, > > I have this table which stores all the requests made for a product along > with the requester's ID. > At the end of the day I would like to determine the most requested products. > How can I query this > database and retrievethe most request products in descending order without > using any temporary > table. Accessing the database for every product request makes it slow. I'd store this data in memory and periodically flush it to the db in a separate table. -Arun From linux-india-programmers-owner@lists.linux-india.org Fri Apr 6 02:16:37 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id EA48D4A296 for ; Fri, 6 Apr 2001 01:15:15 -0800 (PST) Received: from localhost (97co157@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id OAA25359 for ; Fri, 6 Apr 2001 14:40:56 +0530 Date: Fri, 6 Apr 2001 14:40:56 +0530 (IST) From: Kapil Jadhav <97co157@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: images in php4 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/49 X-Sequence-Number: 2122 Dear list, I want to display some images for some code in php.I am using php4 which comes inbuilt in RedHat 7.I tried one examples from php manuals and I am getting some warnings like image type gif not supported and same for all type of images.As I am new to php I can not solve it.Is any kernel compilation or file configuration required? Kapil REC-SURAT From linux-india-programmers-owner@lists.linux-india.org Fri Apr 6 02:32:25 2001 Received: from mail.mail.surams.com (unknown [202.53.82.35]) by www.aunet.org (Postfix) with ESMTP id 49F214A0A6 for ; Fri, 6 Apr 2001 01:32:11 -0800 (PST) Received: from mail.surams.com ([202.131.129.182]) by mail.mail.surams.com (8.11.0/8.9.3) with ESMTP id f369SAC04335 for ; Fri, 6 Apr 2001 14:58:21 +0530 Message-ID: <3AC6F636.1E3C3F0A@mail.surams.com> Date: Sun, 01 Apr 2001 15:04:46 +0530 From: suman X-Mailer: Mozilla 4.7C-CCK-MCD Caldera Systems OpenLinux [en] (X11; U; Linux 2.2.14 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Xwindow programming Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/50 X-Sequence-Number: 2123 hello sir, i am trying to execute an x windows programming, but i cant able to execute it plz mail to me From linux-india-programmers-owner@lists.linux-india.org Fri Apr 6 02:44:44 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id A578F49F44 for ; Fri, 6 Apr 2001 01:44:40 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f369pws15848 for ; Fri, 6 Apr 2001 15:21:58 +0530 Message-ID: <3ACD906D.C8098261@pspl.co.in> Date: Fri, 06 Apr 2001 15:16:21 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Xwindow programming References: <3AC6F636.1E3C3F0A@mail.surams.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/51 X-Sequence-Number: 2124 Hi If you read your mail once again, you will find that your request is vague and not enough details are supplied. Could you please? Shridhar suman wrote: > i am trying to execute an x windows programming, but i cant able to > execute it plz mail to me From linux-india-programmers-owner@lists.linux-india.org Fri Apr 6 04:35:16 2001 Received: from alice.bombay.retortsoft.com (unknown [203.197.42.180]) by www.aunet.org (Postfix) with ESMTP id 809D84A06E for ; Fri, 6 Apr 2001 03:35:09 -0800 (PST) Received: from localhost (anil@localhost) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id RAA04753 for ; Fri, 6 Apr 2001 17:05:04 +0530 Date: Fri, 6 Apr 2001 17:05:04 +0530 (IST) From: "Anil K. Pillai" To: linux-india-programmers@lists.linux-india.org Subject: ssh Tunneling In-Reply-To: <3ACD906D.C8098261@pspl.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/52 X-Sequence-Number: 2125 I have three linux boxes A, B, C. A and B are directly connected to the internet whereas C is behind a router which is connected to the internet B is my remote server. I need to administer C through A using B. Since I cannot directly connect to C (it being behind a router, which I do not intend to interfere with), I need to set up an ssh tunnel between B and C so that machine A can talk to C through this tunnel. This is roughly what I intend to do. (just a plan yet...) Any tips or pointers would be greatly appreciated. Anil. From linux-india-programmers-owner@lists.linux-india.org Fri Apr 6 05:24:22 2001 Received: from utopia.kingsly.net (unknown [203.200.1.103]) by www.aunet.org (Postfix) with ESMTP id A103B49F16 for ; Fri, 6 Apr 2001 04:24:17 -0800 (PST) Received: from localhost (kingsly@localhost) by utopia.kingsly.net (8.9.3/8.9.3) with ESMTP id SAA01253 for ; Fri, 6 Apr 2001 18:03:01 +0530 X-Authentication-Warning: utopia.kingsly.net: kingsly owned process doing -bs Date: Fri, 6 Apr 2001 18:03:01 +0530 (IST) From: Kingsly John X-Sender: kingsly@utopia.kingsly.net To: linux-india-programmers@lists.linux-india.org Subject: Re: images in php4 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/53 X-Sequence-Number: 2126 On Fri, 6 Apr 2001, Kapil Jadhav wrote: |which comes inbuilt in RedHat 7.I tried one examples from php manuals and |I am getting some warnings like image type gif not supported and same for |all type of images.As I am new to php I can not solve it.Is any kernel |compilation or file configuration required? No problems whatsoever the error message is perfectly right "image type gif not supported" there are LOTS of copyright issues wrt gifs (read gnu.org for details) So you can no longer create GIFs using php ... it is recommended that u use PNG for indexed images and JPEGS for full-color ones) considering u got a message that gif is not supported I think I can safely assume that you have gd support compiled in. What is the other image filetype that you tried to create ?? maybe you could post the line which is causing the error. BTW images and stuff have NOTHING to do with the kernel!!! ;-) Kingsly .:: Kingsly John ICQ 14787510 ::. -------------------------------------------------- .:: Linux 2.4.3 #2 Sun Apr 1 00:02:27 IST 2001 i686 ::. -------------------------------------------------------- `:. Posted to the list on Fri Apr 6 17:56:10 IST 2001 .:' From linux-india-programmers-owner@lists.linux-india.org Fri Apr 6 05:36:20 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id C1EF34A1A7 for ; Fri, 6 Apr 2001 04:34:46 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id SAA28245 for ; Fri, 6 Apr 2001 18:10:14 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id RAA28126 for ; Fri, 6 Apr 2001 17:56:59 +0530 Date: Fri, 6 Apr 2001 17:56:59 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: images in php4 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/54 X-Sequence-Number: 2127 On Fri, 6 Apr 2001, Kingsly John wrote: > So you can no longer create GIFs using php ... it is recommended that u > use PNG for indexed images and JPEGS for full-color ones) > > considering u got a message that gif is not supported I think I can safely > assume that you have gd support compiled in. i was going through the gd docs one day, it appears it has included a patch which can create gif images without the LZ compression algo. These images come out to be bigger but unisys cannot complain about them since the patent they own is on the lempel-zif compression. But I guess, instead of going into all that legalities just http://www.burnallgifs.org -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Fri Apr 6 06:18:39 2001 Received: from utopia.kingsly.net (PPP-187-229.bng.vsnl.net.in [203.197.187.229]) by www.aunet.org (Postfix) with ESMTP id 515554A206 for ; Fri, 6 Apr 2001 05:18:05 -0800 (PST) Received: from localhost (kingsly@localhost) by utopia.kingsly.net (8.9.3/8.9.3) with ESMTP id SAA01717 for ; Fri, 6 Apr 2001 18:57:39 +0530 X-Authentication-Warning: utopia.kingsly.net: kingsly owned process doing -bs Date: Fri, 6 Apr 2001 18:57:39 +0530 (IST) From: Kingsly John X-Sender: kingsly@utopia.kingsly.net To: linux-india-programmers@lists.linux-india.org Subject: Re: images in php4 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/55 X-Sequence-Number: 2128 On Fri, 6 Apr 2001, sreangsu acharyya wrote: |i was going through the gd docs one day, it appears it has included a how long ago was it... ?? :) |patch which can create gif images without the LZ compression algo. These |images come out to be bigger but unisys cannot complain about them since |the patent they own is on the lempel-zif compression. gd had removed gif support from their library and adviced everyone to switch to png... the gif versions are no longer supported and IMO they don't have them on their site either. I don't think they would have gone back to using gifs coz I think compressed PNGs are a lot better than uncompressed Gifs. Kingsly .:: Kingsly John ICQ 14787510 ::. -------------------------------------------------- .:: Linux 2.4.3 #2 Sun Apr 1 00:02:27 IST 2001 i686 ::. -------------------------------------------------------- `:. Posted to the list on Fri Apr 6 18:54:05 IST 2001 .:' From linux-india-programmers-owner@lists.linux-india.org Fri Apr 6 07:35:38 2001 Received: from sj-msg-core-1.cisco.com (sj-msg-core-1.cisco.com [171.71.163.11]) by www.aunet.org (Postfix) with ESMTP id 88FBC4A101 for ; Fri, 6 Apr 2001 06:30:45 -0800 (PST) Received: from cbin2-mira-01.cisco.com (cbin2-mira-01.cisco.com [192.135.246.89]) by sj-msg-core-1.cisco.com (8.9.3/8.9.1) with ESMTP id HAA05840 for ; Fri, 6 Apr 2001 07:30:27 -0700 (PDT) Received: from cisco.com (casanova.cisco.com [64.104.134.26]) by cbin2-mira-01.cisco.com (Mirapoint) with ESMTP id AFU00130; Fri, 6 Apr 2001 20:00:24 +0530 (IST) Message-ID: <3ACDD473.3050403@cisco.com> Date: Fri, 06 Apr 2001 20:06:35 +0530 From: Pankaj Kr Rathore User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.0 i686; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: .so query Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/56 X-Sequence-Number: 2129 Hi, I have a question. Maybe I am missing something... I was looking at glib code. I wanted to know how does the library maintain data passed down by a process across multiple api calls. ie. let us say, first the process said, openlog(); where it passed a identity string. For subsequent api calls which are syslog() , the identity string will be appended to the actual log message. I remeber vaguely not seeing anything there, where per process data structure is maintained by the library. Even if static variable is used, how does it work ? because multiple processes will be linked to the same library. TIA Pankaj From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 00:13:14 2001 Received: from brute.naturesoft.com (unknown [202.9.161.6]) by www.aunet.org (Postfix) with ESMTP id D58744A1A8 for ; Fri, 6 Apr 2001 23:13:06 -0800 (PST) Received: from bigfoot.com (IDENT:pagladashu@brute.naturesoft.com [127.0.0.1]) by brute.naturesoft.com (8.11.0/8.11.0) with ESMTP id f377GAj01034 for ; Sat, 7 Apr 2001 12:46:10 +0530 Message-ID: <3ACEBEB9.8050804@bigfoot.com> Date: Sat, 07 Apr 2001 12:46:09 +0530 From: archan Organization: Open Source Software User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-22 i686; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: running a qt program... References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/57 X-Sequence-Number: 2130 Hi, Better, install tmake utility. Then write the small *.pro file and then use tmake to generate the Makefile for it. Then compile the prog using the makefile archan devrootp@bigfoot.com shubhendu wrote: > dear firends > > i am a new bee to qt programming , after reading help > from RH6.2 docs i made a simple program > tried to run it using g++,c++ and cc but nothing seems > to work > > i have seen for header files in /usr/lib/qt-1.45/include/.... > they are there From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 00:44:12 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 019DD4A292; Fri, 6 Apr 2001 23:42:09 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id NAA00202; Sat, 7 Apr 2001 13:06:41 +0530 Date: Sat, 7 Apr 2001 13:06:41 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Cc: linux-india-help@lists.linux-india.org Subject: attachment using mail command Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/58 X-Sequence-Number: 2131 hi! how can i send a attacment file using some command line option like pine -attach but this require to send message by pressing Ctrl-X after giving the command what ultimately i want is to use it in a shell script regards shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 06:05:17 2001 Received: from mailinx.nettlinx.com (unknown [202.53.64.197]) by www.aunet.org (Postfix) with ESMTP id E89124A2B7; Sat, 7 Apr 2001 05:05:03 -0800 (PST) Received: from frodo.kcircle.com ([202.131.129.136]) by mailinx.nettlinx.com (Netscape Messaging Server 4.01) with SMTP id GBG46S00.4EW; Sat, 7 Apr 2001 18:35:16 -0500 Received: (from sureshr@localhost) by frodo.kcircle.com (8.11.0/8.11.0/frodo-1.5) id f37CneL00352; Sat, 7 Apr 2001 18:19:40 +0530 Date: Sat, 7 Apr 2001 18:19:40 +0530 From: Suresh Ramasubramanian To: linux-india-programmers@lists.linux-india.org, linux-india-help@lists.linux-india.org Subject: Re: [LIH] attachment using mail command Message-ID: <20010407181940.A316@efn.org> Mail-Followup-To: linux-india-programmers@lists.linux-india.org, linux-india-help@lists.linux-india.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from 97co266@svrec.ernet.in on Sat, Apr 07, 2001 at 01:06:41PM +0530 Organization: Hopelessly Disorganized X-Files: Great Show X-Terminate: M$ X-Archive-Number: 200104/59 X-Sequence-Number: 2132 On 07/04/01 13:06 +0530, shubhendu spewed into the LI bitstream: > > how can i send a attacment file using some command line option > like pine -attach but this require to send message by pressing > Ctrl-X after giving the command There's a commandline option called (I think) fastmail, which comes with the ELM package. Designed for exactly this purpose. Or you can call mutt from the command line mutt -a => attach a file using MIME man mutt for more details. -s -- Suresh Ramasubramanian <----> mallet efn dot org EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 06:40:57 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 211F74A336 for ; Sat, 7 Apr 2001 05:37:16 -0800 (PST) Received: from localhost (97co157@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id TAA14053 for ; Sat, 7 Apr 2001 19:01:36 +0530 Date: Sat, 7 Apr 2001 19:01:36 +0530 (IST) From: Kapil Jadhav <97co157@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: warning for images in php4 posted Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/60 X-Sequence-Number: 2133 Dear List, As per the discussion from previous mail for images in php4 I am posting the following warning which I am getting
Warning: ImageGif: No GIF support in this PHP build in /home/kapil/public_html/php/p6.php3 on line 9

Kapil rec-surat From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 07:03:35 2001 Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com [216.136.174.114]) by www.aunet.org (Postfix) with SMTP id 65FAF4A30A for ; Sat, 7 Apr 2001 06:03:33 -0800 (PST) Received: from unknown (HELO default) (202.54.109.91) by smtp.mail.vip.sc5.yahoo.com with SMTP; 7 Apr 2001 14:03:10 -0000 X-Apparently-From: Date: Sat, 7 Apr 2001 19:34:2 +0500 From: Intrepid Soldier Reply-To: intrepidsoldier@yahoo.com To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: [LIH] attachment using mail command Organization: Intrepid Army X-mailer: FoxMail 2.1 [en] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20010407140333.65FAF4A30A@www.aunet.org> X-Archive-Number: 200104/61 X-Sequence-Number: 2134 there are options in PINE too check the manual I am sure about '-attach_and_delete file' option must be others too At 4/7/01 6:19:00 PM, you wrote: >On 07/04/01 13:06 +0530, shubhendu spewed into the LI bitstream: > >> >> how can i send a attacment file using some command line option >> like pine -attach but this require to send message by pressing >> Ctrl-X after giving the command > > There's a commandline option called (I think) fastmail, which comes with the > ELM package. Designed for exactly this purpose. > > Or you can call mutt from the command line > mutt -a => attach a file using MIME > man mutt for more details. > > -s > >-- >Suresh Ramasubramanian <----> mallet efn dot org >EMail Sturmbannfuhrer, Lower Middle Class Unix Sysadmin > >--------------------------------------------- >The mailing list archives are available at >http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 11:29:01 2001 Received: from dadel1.now-india.net.in (del1.now-india.net.in [203.195.128.65]) by www.aunet.org (Postfix) with ESMTP id 2057B4A107 for ; Sat, 7 Apr 2001 10:28:56 -0800 (PST) Received: from bigfoot.com ([203.195.134.95]) by dadel1.now-india.net.in (Netscape Messaging Server 4.1) with SMTP id GBFPXS03.O0J for ; Sat, 7 Apr 2001 23:57:28 +0530 Received: (qmail 1284 invoked by uid 500); 7 Apr 2001 18:34:05 -0000 Date: Sun, 8 Apr 2001 00:04:05 +0530 From: Sandip Bhattacharya To: linux-india-programmers@lists.linux-india.org Subject: Re: warning for images in php4 posted Message-ID: <20010408000405.C1218@bigfoot.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: ; from 97co157@vikram.svrec.ernet.in on Sat, Apr 07, 2001 at 07:01:36PM +0530 X-HomePage: http://www.sandipb.net X-OS: Linux kajaal.home 2.4.3 i586 unknown X-Archive-Number: 200104/62 X-Sequence-Number: 2135 On Sat, Apr 07, 2001 at 07:01:36PM +0530, Kapil Jadhav merrily said: > Warning: ImageGif: No GIF support in this PHP build in PHP when I last installed it, shipped with support for gd library 1.3, which even though now unsupported by boutell, had gif image support in it. As a matter of policy due to copyright hassles, the default install of PHP doesn't have this support built in. You /have/ to specify the support during compiling mod_php. The present versions of gd only support PNG format, which even though is open, is not well supported by several browsers. - Sandip -- ------------------------------------- Sandip Bhattacharya sandipb @ bigfoot.com http://www.sandipb.net ------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 11:29:38 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 823BA4A17C; Sat, 7 Apr 2001 10:29:20 -0800 (PST) Received: from rahul ([203.192.37.163]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f37IXq416494; Sun, 8 Apr 2001 00:03:52 +0530 Message-ID: <000901c0bf90$63c19240$a325c0cb@rahul> From: "Rahul Jindal" To: Cc: Subject: mingetty Date: Sat, 7 Apr 2001 23:57:22 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200104/63 X-Sequence-Number: 2136 Hello listers, finding tiny things in linux can be this painful. i've been trying to find to following rpm since many days. i just wont find it. Can one of you please mail me the file. it shud be real small. mingetty-0.9.4-11.src.rpm No please don't quote the links from google, they're all DEAD. Thanks in advance r /\ |-| |_| |_ ~~~~~~~~~~~~~~~~~~~~~~ Always remember you're unique. Just like everyone else. ~~~~~~~~~~~~~~~~~~~~~~ The Northern Linux lug-northindia@yahoogroups.com From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 11:41:06 2001 Received: from dadel1.now-india.net.in (del1.now-india.net.in [203.195.128.65]) by www.aunet.org (Postfix) with ESMTP id C10064A15F for ; Sat, 7 Apr 2001 10:40:59 -0800 (PST) Received: from bigfoot.com ([203.195.134.95]) by dadel1.now-india.net.in (Netscape Messaging Server 4.1) with SMTP id GBFQHW04.L0D for ; Sun, 8 Apr 2001 00:09:32 +0530 Received: (qmail 1340 invoked by uid 500); 7 Apr 2001 18:46:07 -0000 Date: Sun, 8 Apr 2001 00:16:07 +0530 From: Sandip Bhattacharya To: linux-india-programmers@lists.linux-india.org Subject: Re: mingetty Message-ID: <20010408001607.E1218@bigfoot.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <000901c0bf90$63c19240$a325c0cb@rahul> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <000901c0bf90$63c19240$a325c0cb@rahul>; from rahulj@glide.net.in on Sat, Apr 07, 2001 at 11:57:22PM +0530 X-HomePage: http://www.sandipb.net X-OS: Linux kajaal.home 2.4.3 i586 unknown X-Archive-Number: 200104/64 X-Sequence-Number: 2137 On Sat, Apr 07, 2001 at 11:57:22PM +0530, Rahul Jindal merrily said: > mingetty-0.9.4-11.src.rpm > > No please don't quote the links from google, they're all DEAD. Try ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/linux/6.2/en/os/i386/SRPMS/ I download RPMs from here almost every other day, so this link shouldn't be dead. Besides I just rechecked the link. - Sandip -- ------------------------------------- Sandip Bhattacharya sandipb @ bigfoot.com http://www.sandipb.net ------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 13:44:11 2001 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id B1D394A1C6 for ; Sat, 7 Apr 2001 12:44:01 -0800 (PST) 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 CAA17363 for ; Sun, 8 Apr 2001 02:18:03 +0530 (IST) Received: from ajayd.h1.iitk.ac.in (IDENT:root@[172.31.76.23]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id CAA15877 for ; Sun, 8 Apr 2001 02:03:29 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.h1.iitk.ac.in (8.11.0/8.11.0) with ESMTP id f37Kgfx08411 for ; Sun, 8 Apr 2001 02:12:41 +0530 X-Authentication-Warning: ajayd.h1.iitk.ac.in: ajayd owned process doing -bs Date: Sun, 8 Apr 2001 02:12:40 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-programmers@lists.linux-india.org Subject: Re: mingetty In-Reply-To: <000901c0bf90$63c19240$a325c0cb@rahul> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/65 X-Sequence-Number: 2138 On Sat, 7 Apr 2001, Rahul Jindal wrote: > mingetty-0.9.4-11.src.rpm > > No please don't quote the links from google, they're all DEAD. > have you tried http://rpmfind.net ? -- #!!! 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 Sat Apr 7 13:46:33 2001 Received: from smtp016.mail.yahoo.com (smtp016.mail.yahoo.com [216.136.174.113]) by www.aunet.org (Postfix) with SMTP id 876234A16A for ; Sat, 7 Apr 2001 12:46:31 -0800 (PST) Received: from unknown (HELO punhani) (203.197.203.174) by smtp.mail.vip.sc5.yahoo.com with SMTP; 7 Apr 2001 20:46:08 -0000 X-Apparently-From: Message-ID: <00a001c0bfa3$0e71fe20$aecbc5cb@punhani> From: "ankur arora" To: References: <000901c0b9f1$835c6020$33c2c5cb@punhani> <20010401193305.B38839@sharmas.dhs.org> Subject: Re: SMP documentation Date: Sun, 8 Apr 2001 02:10:50 +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: 200104/66 X-Sequence-Number: 2139 > On Sat, Mar 31, 2001 at 04:17:57AM +0530, ankur arora wrote: > > Hi, > > > > Can anybody recommend any text on SMP which > > talks about issues like cache-lines, spinlocks > > basically from the point of view of somebody trying > > to understand the linux kernel. > > Look for the book by Curt Schimmel (UNIX systems for modern > architectures or something like that). > > -Arun Well, I looked far and wide, but it doesn't have an Indian edition, and the US edition is like 50$ or so. So anybody has got a personal copy that I can borrow for a while? regards ankur _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 14:51:29 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id E9B4B4A14D for ; Sat, 7 Apr 2001 13:51:23 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id DAA12312 for ; Sun, 8 Apr 2001 03:26:44 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id DAA19353 for ; Sun, 8 Apr 2001 03:13:29 +0530 Date: Sun, 8 Apr 2001 03:13:29 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: [LIH] [OT]Location of libc in *BSD In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/67 X-Sequence-Number: 2140 > on second thoughts just putting a "libc.so" should have worked, dlsym() or > dlopen should search for it in the standard places to get it, it > should also look at ld.cache I suppose. For processes running setuid root, i think one has to specify the full path. just to refreshen the LD_PRELOAD stuff Iopened the man page of ld, but in its env variable section theres no mention of LD_PRELOAD, even the man pages at gnu.org dont have it. I am sure i have seen it on manual pages before. Whatever happened to it ? -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Sat Apr 7 23:10:03 2001 Received: from utopia.kingsly.net (unknown [203.200.5.170]) by www.aunet.org (Postfix) with ESMTP id 957F44A1A0 for ; Sat, 7 Apr 2001 22:09:14 -0800 (PST) Received: from localhost (kingsly@localhost) by utopia.kingsly.net (8.9.3/8.9.3) with ESMTP id LAA01397 for ; Sun, 8 Apr 2001 11:42:08 +0530 X-Authentication-Warning: utopia.kingsly.net: kingsly owned process doing -bs Date: Sun, 8 Apr 2001 11:42:08 +0530 (IST) From: Kingsly John X-Sender: kingsly@utopia.kingsly.net To: linux-india-programmers@lists.linux-india.org Subject: Re: warning for images in php4 posted In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/68 X-Sequence-Number: 2141 On Sat, 7 Apr 2001, Kapil Jadhav wrote: |Warning: ImageGif: No GIF support in this PHP build in |/home/kapil/public_html/php/p6.php3 on line 9
Try creating a PNG image or JPG image and see if you get the error. *GIFs are no longer supported* RTFM [kingsly@utopia kingsly]$ head /usr/doc/gd-1.8.3/readme.txt gd 1.8.3 A graphics library for fast image creation Follow this link to the latest version of this document. _HEY! READ THIS!_ gd 1.8.3 creates PNG, JPEG and WBMP images, not GIF images. This is a good thing. PNG is a more compact format, and full compression is available. JPEG works well with photographic [kingsly@utopia kingsly]$ Kingsly .:: Kingsly John ICQ 14787510 ::. -------------------------------------------------- .:: Linux 2.4.3 #2 Sun Apr 1 00:02:27 IST 2001 i686 ::. -------------------------------------------------------- `:. Posted to the list on Sun Apr 8 11:39:09 IST 2001 .:' From linux-india-programmers-owner@lists.linux-india.org Sun Apr 8 01:09:46 2001 Received: from valium.lu.com (unknown [203.122.32.98]) by www.aunet.org (Postfix) with SMTP id F3F6E4A06C for ; Sun, 8 Apr 2001 00:09:27 -0800 (PST) Received: (qmail 4421 invoked by alias); 8 Apr 2001 08:09:03 -0000 Received: from mithun.internal.egurucool.com (HELO egurucool.com) (10.40.2.25) by valium.internal.egurucool.com with SMTP; 8 Apr 2001 08:09:03 -0000 Message-ID: <3AD01C9E.7EEAB706@egurucool.com> Date: Sun, 08 Apr 2001 13:39:02 +0530 From: Mithun Bhattacharya Organization: Learning Universe [http://www.egurucool.com] X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: mingetty References: <000901c0bf90$63c19240$a325c0cb@rahul> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/69 X-Sequence-Number: 2142 I am not sure why people has gone ahead and given all the links other than the RedHat one. http://www.ibiblio.org/pub/Linux/distributions/redhat/redhat-7.0/SRPMS/i386/SRPMS/mingetty-0.9.4-13.src.rpm PS: ibiblio is the sunsite which has a better internet access than RedHAT AFAIK - you could also download it directly from RedHat's ftp server. Did a google search right now and the first link I got was this http://wh58-508.st.uni-magdeburg.de/sparemint/html/packages/mingetty.html Pray why doesnt it open on your browser ??? I tried downloading the source from there and rpm was able to recognize it pretty fine. Mithun From linux-india-programmers-owner@lists.linux-india.org Sun Apr 8 01:51:49 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 4EF0C4A332 for ; Sun, 8 Apr 2001 00:51:39 -0800 (PST) Received: from rahul ([203.192.37.23]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f388u4406194 for ; Sun, 8 Apr 2001 14:26:04 +0530 Message-ID: <001d01c0c008$d984bc00$1725c0cb@rahul> From: "Rahul Jindal" To: References: <000901c0bf90$63c19240$a325c0cb@rahul> <20010408001607.E1218@bigfoot.com> Subject: Re: mingetty Date: Sun, 8 Apr 2001 14:19:14 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200104/70 X-Sequence-Number: 2143 thanks it worked r /\ |-| |_| |_ ~~~~~~~~~~~~~~~~~~~~~~ Always remember you're unique. Just like everyone else. ~~~~~~~~~~~~~~~~~~~~~~ The Northern Linux lug-northindia@yahoogroups.com > On Sat, Apr 07, 2001 at 11:57:22PM +0530, Rahul Jindal merrily said: > > mingetty-0.9.4-11.src.rpm > > > > No please don't quote the links from google, they're all DEAD. > > Try > > ftp://ftp.valinux.com/pub/mirrors/redhat/redhat/linux/6.2/en/os/i386/SRPMS/ > > > I download RPMs from here almost every other day, so this link > shouldn't be dead. Besides I just rechecked the link. > > - Sandip > From linux-india-programmers-owner@lists.linux-india.org Sun Apr 8 08:55:47 2001 Received: from xyzsys.sci.tech (unknown [202.142.70.5]) by www.aunet.org (Postfix) with ESMTP id 3DE4C4A290 for ; Sun, 8 Apr 2001 07:55:41 -0800 (PST) Received: from xyzsys (localhost [127.0.0.1]) by xyzsys.sci.tech (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with SMTP id f38G5Ba01688 for ; Sun, 8 Apr 2001 21:35:11 +0530 X-Authentication-Warning: xyzsys.sci.tech: Host localhost [127.0.0.1] claimed to be xyzsys Date: Sun, 8 Apr 2001 21:35:11 +0530 From: Deepak Joglekar To: linux-india-programmers@lists.linux-india.org Subject: Re: mingetty Message-Id: <20010408213511.3d351d1e.joglekar@eth.net> In-Reply-To: <000901c0bf90$63c19240$a325c0cb@rahul> References: <000901c0bf90$63c19240$a325c0cb@rahul> Reply-To: joglekar@eth.net X-Mailer: Sylpheed version 0.4.9 (GTK+ 1.2.8; Linux 2.2.16; i686) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/71 X-Sequence-Number: 2144 On Sat, 7 Apr 2001 23:57:22 +0530 "Rahul Jindal" wrote: > Hello listers, > finding tiny things in linux can be this painful. > i've been trying to find to following rpm since many days. i just wont find > it. Can one of you please mail me the file. it shud be real small. > > mingetty-0.9.4-11.src.rpm > goto http://www.rpmfind.net -- Deepak Joglekar joglekar@eth.net ---------------- @> /( )\ ^ ^ From linux-india-programmers-owner@lists.linux-india.org Sun Apr 8 16:28:55 2001 Received: from aukbc3.aukbc.org (unknown [203.197.142.200]) by www.aunet.org (Postfix) with ESMTP id AA3AC4A2C8 for ; Sun, 8 Apr 2001 15:28:47 -0800 (PST) Received: from hanuman.aukbc.org (IDENT:mksarav@[192.168.2.37]) by aukbc3.aukbc.org (8.9.3/8.9.3) with ESMTP id FAA22273; Mon, 9 Apr 2001 05:03:04 +0530 Date: Mon, 9 Apr 2001 05:03:15 +0530 (IST) From: M K Saravanan To: Indian Linux User Group - Chennai Cc: linux-india-programmers@lists.linux-india.org Subject: how to convert xml to html/txt? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/72 X-Sequence-Number: 2145 hi, I have a bunch of .xml files which i want to convert to .html or .txt. I have OpenJade, DocBook-XML DTD, DSSSL DocBook Stylesheets in my system. Using OpenJade how to convert xml->html? any clue? -- mks -- From linux-india-programmers-owner@lists.linux-india.org Sun Apr 8 20:50:40 2001 Received: from sharmas.dhs.org (c239143-a.frmt1.sfba.home.com [24.19.220.119]) by www.aunet.org (Postfix) with ESMTP id 287F84A23D for ; Sun, 8 Apr 2001 19:50:38 -0800 (PST) Received: (from adsharma@localhost) by sharmas.dhs.org (8.11.1/8.11.1) id f393il360377; Sun, 8 Apr 2001 20:44:47 -0700 (PDT) (envelope-from adsharma) Date: Sun, 8 Apr 2001 20:44:47 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Cc: Indian Linux User Group - Chennai Subject: Re: how to convert xml to html/txt? Message-ID: <20010408204447.A60365@sharmas.dhs.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mksarav@mail.mitindia.edu on Mon, Apr 09, 2001 at 05:03:15AM +0530 X-Archive-Number: 200104/73 X-Sequence-Number: 2146 On Mon, Apr 09, 2001 at 05:03:15AM +0530, M K Saravanan wrote: > hi, > > I have a bunch of .xml files which i want to convert to .html or .txt. > > I have OpenJade, DocBook-XML DTD, DSSSL DocBook Stylesheets in my > system. Using OpenJade how to convert xml->html? any clue? > Another option is to use XSLT. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Apr 9 03:08:40 2001 Received: from mailcity.com (fes3.whowhere.com [209.185.123.188]) by www.aunet.org (Postfix) with SMTP id CDDE04A6B9 for ; Mon, 9 Apr 2001 01:59:00 -0800 (PST) Received: from Unknown/Local ([?.?.?.?]) by mailcity.com; Mon Apr 9 02:58:25 2001 To: linux-india-programmers@lists.linux-india.org Date: Mon, 09 Apr 2001 02:58:25 -0700 From: "Deepti Agarwal" Message-ID: Mime-Version: 1.0 X-Sent-Mail: off Reply-To: deepti1978@lycos.com X-Mailer: MailCity Service Subject: semaphores X-Sender-Ip: 203.115.19.151 Organization: Lycos Mail (http://mail.lycos.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Length: 362 Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/74 X-Sequence-Number: 2147 Hi Friends I am new to linux kernal I found this in a kernal code while just browsing. Can any one explain this semaphores with a good example. static struct semaphore cmd_semaphore = MUTEX; down(&cmd_semaphore); up(&cmd_semaphore); Thanx Deepti Get 250 color business cards for FREE! at Lycos Mail http://mail.lycos.com/freemail/vistaprint_index.html From linux-india-programmers-owner@lists.linux-india.org Mon Apr 9 03:36:55 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 2A1B94AB3E for ; Mon, 9 Apr 2001 02:26:11 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f39AX5s16356 for ; Mon, 9 Apr 2001 16:03:05 +0530 Message-ID: <3AD18E9D.F3C1E9E4@pspl.co.in> Date: Mon, 09 Apr 2001 15:57:41 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: semaphores References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/75 X-Sequence-Number: 2148 Hi I would suggest you to take a look at IPC in Stevens, in case you don't know it already... Good point to start(and end too;-)) What's this up and down business? Somebody in kernel team also does quarks or what? Or particle physicists followed programmers lead? Shridhar Deepti Agarwal wrote: > > Hi Friends > I am new to linux kernal > I found this in a kernal code while just browsing. > Can any one explain this semaphores with a good example. > static struct semaphore cmd_semaphore = MUTEX; > down(&cmd_semaphore); > up(&cmd_semaphore); From linux-india-programmers-owner@lists.linux-india.org Mon Apr 9 04:32:34 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id E6DD34A4DF for ; Mon, 9 Apr 2001 03:26:16 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id RAA25359 for ; Mon, 9 Apr 2001 17:01:33 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id QAA23371 for ; Mon, 9 Apr 2001 16:48:18 +0530 Date: Mon, 9 Apr 2001 16:48:15 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: [OT] In-Reply-To: <3AD18E9D.F3C1E9E4@pspl.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/76 X-Sequence-Number: 2149 On Mon, 9 Apr 2001, Shridhar Daithankar wrote: > > What's this up and down business? Somebody in kernel team also does quarks or > what? Or particle physicists followed programmers lead? > quite a possibility...a CERN link was posted some time back ;) From linux-india-programmers-owner@lists.linux-india.org Mon Apr 9 05:35:58 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id B08CF4A61C for ; Mon, 9 Apr 2001 04:28:11 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id RAA27519 for ; Mon, 9 Apr 2001 17:53:38 +0530 Date: Mon, 9 Apr 2001 17:53:38 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: Re: semaphores In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/77 X-Sequence-Number: 2150 hi ! semaphores are location in memory that can be tested and set/reset by more then one processes.Semaphores can be used to implement critical reagons ( the areas of the code that can be executed by only one processes at a particuler time ) now lets suppose u have many co-operating processes reading and writing to a data file and u want the access to the file strictly cordinated in this case u will put a semaphore with vale 1(or true) attached with the file and //******> static struct semaphore cmd_semaphore = MUTEX; two functions one to increase (make it true )the value of semaphore (say up ) other to decrease the value ( make it false) of the semaphore (say down) ********>>> down(&cmd_semaphore); **********> up(&cmd_semaphore); value 1 of semaphore will show that file is free while value 0 will show that its busy whenever a process wants to use the file it will call down if this call get success the file will be given to process and semaphore value will be made 0, after its use this process will call up to set the value of semaphore back to 1 and free the resource (file in present case ) if not the process will wait till the other process makes it free hope this is what u wanted .... others pls add if i have missed something shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Mon Apr 9 08:39:58 2001 Received: from mailweb23.rediffmail.com (unknown [203.199.83.147]) by www.aunet.org (Postfix) with SMTP id CAAD34A013 for ; Mon, 9 Apr 2001 07:39:45 -0800 (PST) Received: (qmail 21438 invoked by uid 510); 9 Apr 2001 15:29:55 -0000 Date: 9 Apr 2001 15:29:55 -0000 Message-ID: <20010409152955.21437.qmail@mailweb23.rediffmail.com> Received: from unknown (210.214.6.162) by rediffmail.com via HTTP; 09 Apr 2001 15:29:55 -0000 MIME-Version: 1.0 To: LIP Subject: File transfer From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/78 X-Sequence-Number: 2151 Hello! I am reposting this mail as I did not get a reply. Perhaps it was overlooked as I had posted this query as a reply to my original query. Thanks for your replies to my file transfer query. Basically, I want to transfer files between 2 systems *through a program*, which means I do not want to use ftp or Telnet or the rlogin command. That is why I am looking for a system command. I tried the following methods. 1. rpc test.c root@linuxws1.kal:test1.c It tried various 'ways' (krb5, ...) and finally reported "Connection refused" or "Permission denied". I read the man pages of 'rcp' and learnt that there must exist a file called .k5login (or some such name) which must contain the names of those systems/users permitted to use rcp. Can you please guide me how to specify those, as it still does not work. 2. I included a mount point for each system in the other system's fstab file. For example, I am at workstation1 (linuxws1) and its fstab has the entry linuxws2.kal:/usr /mnt/linuxws2 nfs rsize=8192,wsize=8192 0 0 When I try using the cp command, I get an error "RPC ... error = Connection refused". Is this also due to authentication failure? What should I do? Why does it occur even though I had logged in as root? Being the root, how can I bypass the authentication mechanism? Hoping to receive a reply this time, - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Mon Apr 9 09:08:00 2001 Received: from mail.cityonlines.com (unknown [202.62.64.5]) by www.aunet.org (Postfix) with ESMTP id 02C294A220 for ; Mon, 9 Apr 2001 08:07:52 -0800 (PST) Received: from main.ritwik.com ([202.62.65.75]) by mail.cityonlines.com (8.9.3/8.8.7) with SMTP id DAA32189 for ; Tue, 10 Apr 2001 03:08:27 +0530 Message-ID: <017901c0c0aa$d5af9080$02c8c8c8@ritwik.com> From: "Ritwik Software" To: References: Subject: Re: Date: Mon, 9 Apr 2001 09:34: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.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Archive-Number: 200104/79 X-Sequence-Number: 2152 Hello! How can I load the PHP extensions defined in the library(/usr/local/lib/php). When I tried to load these extension using the statement dl(xml.so) , it results in the error: Warning: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20000809/xml.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20000809/xml.so: cannot open shared object file: No such file or directory The directory '/usr/local/lib/php/extensions/no-debug-non-zts-20000809/' directory exists, but there in no file in the directory. How can i enable the loading of functions of this library? How can i get this library? Where am I going wrong? TIA, Madhu From linux-india-programmers-owner@lists.linux-india.org Mon Apr 9 09:16:51 2001 Received: from vikram.svrec.ernet.in (unknown [202.141.85.15]) by www.aunet.org (Postfix) with ESMTP id 186FD4A270 for ; Mon, 9 Apr 2001 08:16:09 -0800 (PST) Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id VAA02648 for ; Mon, 9 Apr 2001 21:41:34 +0530 Date: Mon, 9 Apr 2001 21:41:34 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: LIP Subject: Re: File transfer In-Reply-To: <20010409152955.21437.qmail@mailweb23.rediffmail.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/80 X-Sequence-Number: 2153 hi Karthika first i want to ask purpose of file transfer if u r not particuler for using rpc directly ( as a command line option ) try NFS to achive the same effect ie. use cp command to copy file from one system to another follow the steps given below 1 . write the fs u want to access ( on server ) in /etc/exports on server like /home/shubh 2. run rpc.mountd and rpc.nfsd 3. run exportfs < clientmc(better give ip no) > 4. now simply mount the server dir on client m/c on any free mount point mount SERVER:/home/shubh /mnt/floppy ( here replace SERVER with server name or ip no ) 5 . now do cd /mnt/floppy and use it as local file system > > 2. I included a mount point for each system in the other system's fstab file. For example, I am at workstation1 (linuxws1) and its fstab has the entry > > linuxws2.kal:/usr /mnt/linuxws2 nfs rsize=8192,wsize=8192 0 0 > > When I try using the cp command, I get an error "RPC ... error = Connection refused". > btw this error comes when u dont run rpc.nfsd on server side try to do the same ( what u r doing ) after trying what i have said hope this will also work regards shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Mon Apr 9 11:44:48 2001 Received: from dadel1.now-india.net.in (del1.now-india.net.in [203.195.128.65]) by www.aunet.org (Postfix) with ESMTP id 455354A17C for ; Mon, 9 Apr 2001 10:44:42 -0800 (PST) Received: from bigfoot.com ([203.195.134.202]) by dadel1.now-india.net.in (Netscape Messaging Server 4.1) with SMTP id GBJFZV01.92Z for ; Tue, 10 Apr 2001 00:13:07 +0530 Received: (qmail 903 invoked by uid 500); 9 Apr 2001 18:45:06 -0000 Date: Tue, 10 Apr 2001 00:15:06 +0530 From: Sandip Bhattacharya To: linux-india-programmers@lists.linux-india.org Subject: Re: how to convert xml to html/txt? Message-ID: <20010410001506.D875@bigfoot.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: ; from mksarav@mail.mitindia.edu on Mon, Apr 09, 2001 at 05:03:15AM +0530 X-HomePage: http://www.sandipb.net X-OS: Linux kajaal.home 2.4.3 i586 unknown X-Archive-Number: 200104/81 X-Sequence-Number: 2154 On Mon, Apr 09, 2001 at 05:03:15AM +0530, M K Saravanan merrily said: > I have OpenJade, DocBook-XML DTD, DSSSL DocBook Stylesheets in my > system. Using OpenJade how to convert xml->html? any clue? > Yeesh, me thinks you are mixing things up. For SGML files, use Jade+ DocBook SGML DTD, plus DSSSL DocBook Stylesheets. For XML files, use an XSLT processor, , DocBook XML DTD and DocBook XSL stylesheets. e.g. for DocBook XML files I use XP+XT by James clark, DocBook XSL stylesheets by Norman Walsh DocBook XML DTD, available at www.nwalsh.com - Sandip -- ------------------------------------- Sandip Bhattacharya sandipb @ bigfoot.com http://www.sandipb.net ------------------------------------- From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 01:44:11 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id BE0894A151 for ; Tue, 10 Apr 2001 00:44:00 -0800 (PST) Received: from rahul ([203.192.37.165]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f3A7RP432204 for ; Tue, 10 Apr 2001 12:57:25 +0530 Message-ID: <00c001c0c18e$d781d1e0$a525c0cb@rahul> From: "Rahul Jindal" To: Subject: Fw: Infinite Joy Ride(example) Date: Tue, 10 Apr 2001 12:49:14 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200104/82 X-Sequence-Number: 2155 please do give consideration to the code. especially Ajay Kumar Divedi and Binand Raj S. r /\ |-| |_| |_ ~~~~~~~~~~~~~~~~~~~~~~ Always remember you're unique. Just like everyone else. ~~~~~~~~~~~~~~~~~~~~~~ The Northern Linux lug-northindia@yahoogroups.com ----- Original Message ----- From: "kamesh jayachandran" To: Sent: Monday, April 09, 2001 7:53 PM Subject: Infinite Joy Ride(example) > hai, > I am kamesh.Me to a beginner to Linux.I have seen ur mail > regarding scanf that takes infinite joy ride when it > expects some other data type and recieves something else. > > Now me too faced the same problem. > I am pasting the code here so that someone can reason out. > > when I enter some character to scanf(that expects the long > int) it goes in to infinite loop. > > //code begins here > #include > #include > #define MAX 50 > int main(void) > { > FILE *fp; > int data,count,array[MAX]; > long offset; > for(count=0;count array[count]=count*10; > if((fp=fopen("pp","wb"))==NULL) > { > fprintf(stderr,"Error opening File \n"); > exit(1); > } > if(fwrite(array,sizeof(int),MAX,fp)!=MAX) > { > fprintf(stderr,"Error in writing data to the File\n"); > exit(1); > } > fclose(fp); > if((fp=fopen("pp","rb"))==NULL) > { > fprintf(stderr,"Error in opening File\n"); > exit(1); > } > while(1) > { > printf("\nEnter element to read,0-%d,-1 to quit: ",MAX-1); > scanf("%d",&offset); > if(offset<0) > break; > else if(offset>MAX-1) > continue; > if(fseek(fp,(offset*sizeof(int)),1)!=0) > { > fprintf(stderr,"Error using fseek\n"); > exit(1); > } > fread(&data,sizeof(int),1,fp); > printf("\nElement %ld has value %d",offset,data); > } > fclose(fp); > return 0; > } > //code ends here > > From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 01:58:22 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 92A604A0A9 for ; Tue, 10 Apr 2001 00:58:17 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA16687 for ; Tue, 10 Apr 2001 14:33:32 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA08016 for ; Tue, 10 Apr 2001 14:20:17 +0530 Date: Tue, 10 Apr 2001 14:20:17 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: Fw: Infinite Joy Ride(example) In-Reply-To: <00c001c0c18e$d781d1e0$a525c0cb@rahul> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/83 X-Sequence-Number: 2156 > > scanf("%d",&offset); ^^^ shouldnt this be %ld -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 02:59:05 2001 Received: from myrealbox.com (mail.myrealbox.com [192.108.102.201]) by www.aunet.org (Postfix) with ESMTP id BB41F4A05D for ; Tue, 10 Apr 2001 01:58:54 -0800 (PST) Received: from kameshj [202.56.254.190] by myrealbox.com with Novell Internet Messaging System Web Client; Tue, 10 Apr 2001 03:57:47 Subject: Re: Re: Fw: Infinite Joy Ride(example) From: kamesh jayachandran To: linux-india-programmers@lists.linux-india.org Date: Tue, 10 Apr 2001 09:57:47 GMT X-Sender: Novell Internet Messaging System Web Client MIME-Version: 1.0 Message-ID: <986896667.353kameshj@myrealbox.com> Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Archive-Number: 200104/84 X-Sequence-Number: 2157 even with %ld it is going for infinite joy ride > > > > scanf("%d",&offset); > ^^^ > shouldnt this be %ld > > -- sreangsu > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ > From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 03:10:26 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 4DE8849F02 for ; Tue, 10 Apr 2001 02:07:41 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id PAA19848 for ; Tue, 10 Apr 2001 15:42:54 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id PAA11634 for ; Tue, 10 Apr 2001 15:29:39 +0530 Date: Tue, 10 Apr 2001 15:29:39 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: Fw: Infinite Joy Ride(example) In-Reply-To: <986896667.353kameshj@myrealbox.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/85 X-Sequence-Number: 2158 On Tue, 10 Apr 2001, kamesh jayachandran wrote: > > > > scanf("%d",&offset); i dont have the source anymore but can you add a printf before the break to see if it is being read correctly. What happens when you give a -1, which iirc was the exit criteria -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 03:42:33 2001 Received: from myrealbox.com (mail.myrealbox.com [192.108.102.201]) by www.aunet.org (Postfix) with ESMTP id AEE284A121 for ; Tue, 10 Apr 2001 02:42:28 -0800 (PST) Received: from kameshj [202.56.254.190] by myrealbox.com with Novell Internet Messaging System Web Client; Tue, 10 Apr 2001 04:40:56 Subject: Re: Re: Re: Fw: Infinite Joy Ride(example) From: kamesh jayachandran To: linux-india-programmers@lists.linux-india.org Date: Tue, 10 Apr 2001 10:40:56 GMT X-Sender: Novell Internet Messaging System Web Client MIME-Version: 1.0 Message-ID: <986899256.615kameshj@myrealbox.com> Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Archive-Number: 200104/86 X-Sequence-Number: 2159 hai, It is the simple program that is given as an example to illustrate random file handling in "C For Linux Programming" The program works well if numeric values are given.If I give non numeric value say 'A'.It goes for infinite joy ride and the value of offset still remains at the value that I have given before giving the non numeric value. After invalid input scanf fails to scan anymore and if I try to print the value of offset in if and else if prints the address of offset not the value. kamesh jayachandran //source starts here #include #include #define MAX 50 int main(void) { FILE *fp; int data,count,array[MAX]; long offset; for(count=0;countMAX-1) { printf("In else if %ld",offset); continue; } if(fseek(fp,(offset*sizeof(int)),0)!=0) { fprintf(stderr,"Error using fseek\n"); exit(1); } fread(&data,sizeof(int),1,fp); printf("\nElement %ld has value %d",offset,data); } fclose(fp); return 0; } //source ends here From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 04:37:16 2001 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id C74CB4A331 for ; Tue, 10 Apr 2001 03:37:07 -0800 (PST) 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 RAA29826 for ; Tue, 10 Apr 2001 17:10:59 +0530 (IST) Received: from ajayd.h1.iitk.ac.in (IDENT:root@[172.31.76.23]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id QAA26570 for ; Tue, 10 Apr 2001 16:56:21 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.h1.iitk.ac.in (8.11.0/8.11.0) with ESMTP id f3ABZXO17301 for ; Tue, 10 Apr 2001 17:05:33 +0530 X-Authentication-Warning: ajayd.h1.iitk.ac.in: ajayd owned process doing -bs Date: Tue, 10 Apr 2001 17:05:32 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: Re: Fw: Infinite Joy Ride(example) In-Reply-To: <986899256.615kameshj@myrealbox.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/87 X-Sequence-Number: 2160 On Tue, 10 Apr 2001, kamesh jayachandran wrote: > It is the simple program that is given as an example to > illustrate random file handling in "C For Linux Programming" > The program works well if numeric values are given.If I > give non numeric value say 'A'.It goes for infinite joy ride From the C-FAQ http://www.faqs.org/faqs/C-faq/faq/ 12.19: I figured I could use scanf() more safely if I checked its return value to make sure that the user typed the numeric values I expect, but sometimes it seems to go into an infinite loop. A: When scanf() is attempting to convert numbers, any non-numeric characters it encounters terminate the conversion *and are left on the input stream*. Therefore, unless some other steps are taken, unexpected non-numeric input "jams" scanf() again and again: scanf() never gets past the bad character(s) to encounter later, valid data. If the user types a character like `x' in response to a numeric scanf format such as %d or %f, code that simply re-prompts and retries the same scanf() call will immediately reencounter the same `x'. See also question 12.20. References: ISO Sec. 7.9.6.2; H&S Sec. 15.8 pp. 357-64. 12.20: Why does everyone say not to use scanf()? What should I use instead? A: scanf() has a number of problems -- see questions 12.17, 12.18, and 12.19. Also, its %s format has the same problem that gets() has (see question 12.23) -- it's hard to guarantee that the receiving buffer won't overflow. More generally, scanf() is designed for relatively structured, formatted input (its name is in fact derived from "scan formatted"). If you pay attention, it will tell you whether it succeeded or failed, but it can tell you only approximately where it failed, and not at all how or why. It's nearly impossible to do decent error recovery with scanf(); usually it's far easier to read entire lines (with fgets() or the like), then interpret them, either using sscanf() or some other techniques. (Functions like strtol(), strtok(), and atoi() are often useful; see also question 13.6.) If you do use any scanf variant, be sure to check the return value to make sure that the expected number of items were found. Also, if you use %s, be sure to guard against buffer overflow. References: K&R2 Sec. 7.4 p. 159. -- #!!! 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 Tue Apr 10 05:39:42 2001 Received: from xyzsys.sci.tech (unknown [202.142.70.5]) by www.aunet.org (Postfix) with ESMTP id DAB3E4A06B for ; Tue, 10 Apr 2001 04:39:30 -0800 (PST) Received: from xyzsys (localhost [127.0.0.1]) by xyzsys.sci.tech (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) with SMTP id f3ACmuH01930 for ; Tue, 10 Apr 2001 18:18:56 +0530 X-Authentication-Warning: xyzsys.sci.tech: Host localhost [127.0.0.1] claimed to be xyzsys Date: Tue, 10 Apr 2001 18:18:56 +0530 From: Deepak Joglekar To: linux-india-programmers@lists.linux-india.org Subject: Re: Fw: Infinite Joy Ride(example) Message-Id: <20010410181856.1653efb3.joglekar@eth.net> In-Reply-To: <986899256.615kameshj@myrealbox.com> References: <986899256.615kameshj@myrealbox.com> Reply-To: joglekar@eth.net X-Mailer: Sylpheed version 0.4.9 (GTK+ 1.2.8; Linux 2.2.16; i686) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/88 X-Sequence-Number: 2161 On Tue, 10 Apr 2001 10:40:56 GMT kamesh jayachandran wrote: > hai, > > It is the simple program that is given as an example to > illustrate random file handling in "C For Linux Programming" > > The program works well if numeric values are given.If I > give non numeric value say 'A'.It goes for infinite joy > ride and the value of offset still remains at the value > that I have given before giving the non numeric value. > > After invalid input scanf fails to scan anymore and if I > try to print the value of offset in if and else if prints > the address of offset not the value. This is normal beheviour of the 'C'. If you want your program not to crash in such situations then you should use tokeniser and then string conversions. That is read input as string. Convert it in parts. Then use 'atof','atoi' etc to get your numeric inputs. if you want int(a,b); then you will be assuming input in form 13123,2323 You should seperate it in two strings 13123 and 2323 and then convert to required form. If you expect numeric input from keyboard and read it by scanf(..) and user presses any function key your prog will colapse. -- Deepak Joglekar joglekar@eth.net ---------------- @> /( )\ ^ ^ From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 06:39:21 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 9E0114A10A for ; Tue, 10 Apr 2001 05:39:14 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f3ADk0s19263 for ; Tue, 10 Apr 2001 19:16:00 +0530 Message-ID: <3AD30D43.E5F20E4B@pspl.co.in> Date: Tue, 10 Apr 2001 19:10:19 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: LIP Subject: Is this a compiler bug? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/89 X-Sequence-Number: 2162 Hi all I was compiling Qt on HP. (OK Once again...) and got following error from HP compiler ------------------------------------------------------------------------------------------------------------------------------- aCC -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -DQT_THREAD_SUPPORT -c -I/opt/graphics/OpenGL/include -I/usr/contrib/X11R6/include -I/home/shridhar/home/downloads/qt-2.3.0/include -I/usr/include/X11R6 +DA1.1e +DS1.1 -w -D__STRICT_ANSI__ -O +Onolimit +Z -DQT_BUILTIN_GIF_READER=1 -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG -I/home/shridhar/home/downloads/qt-2.3.0/src/3rdparty/zlib -I/home/shridhar/home/downloads/qt-2.3.0/src/3rdparty/libpng -o kernel/qregion.o kernel/qregion.cpp aCC -D_POSIX_C_SOURCE=199506L -D_HPUX_SOURCE -DQT_THREAD_SUPPORT -c -I/opt/graphics/OpenGL/include -I/usr/contrib/X11R6/include -I/home/shridhar/home/downloads/qt-2.3.0/include -I/usr/include/X11R6 +DA1.1e +DS1.1 -w -D__STRICT_ANSI__ -O +Onolimit +Z -DQT_BUILTIN_GIF_READER=1 -DQT_NO_IMAGEIO_JPEG -DQT_NO_IMAGEIO_MNG -I/home/shridhar/home/downloads/qt-2.3.0/src/3rdparty/zlib -I/home/shridhar/home/downloads/qt-2.3.0/src/3rdparty/libpng -o kernel/qrichtext.o kernel/qrichtext.cpp Error 173: "kernel/qrichtext.cpp", line 2165 # Redefined symbol 'i'; previously defined at ["kernel/qrichtext.cpp", line 2153]. for ( int i = 0; i < l; i++ ) { ^ make[3]: *** [kernel/qrichtext.o] Error 2 make[3]: Leaving directory `/mnt2/users/shridhar/downloads/qt-2.3.0/src' make[2]: *** [src-mt] Error 2 make[2]: Leaving directory `/mnt2/users/shridhar/downloads/qt-2.3.0' make[1]: *** [src-mt] Error 2 make[1]: Leaving directory `/mnt2/users/shridhar/downloads/qt-2.3.0' make: *** [init] Error 2 ------------------------------------------------------------------------------------------------------------------------------- As far as my understanding goes, that i in for loop is independent of any i previously declared and scoped for that for loop only. I have compiled same Qt sources on linux machine and happily running it. Any comments/help? TIA Shridhar From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 11:49:53 2001 Received: from myrealbox.com (mail.myrealbox.com [192.108.102.201]) by www.aunet.org (Postfix) with ESMTP id B80CE4A3CB for ; Tue, 10 Apr 2001 10:49:49 -0800 (PST) Received: from kameshj [202.56.254.190] by myrealbox.com with Novell Internet Messaging System Web Client; Tue, 10 Apr 2001 12:46:56 Subject: What is Realm? From: kamesh jayachandran To: linux-india-programmers@lists.linux-india.org Date: Tue, 10 Apr 2001 18:46:56 GMT X-Sender: Novell Internet Messaging System Web Client MIME-Version: 1.0 Message-ID: <986928416.762kameshj@myrealbox.com> Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Archive-Number: 200104/90 X-Sequence-Number: 2163 hai all, how to make a web page which asks for password when the request is coming for that page.I guess its name is "Realm".I don't want to use form based authentication.Something like webmail.myrealbox.com. Thanks in advance kamesh jaychandran From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 13:20:24 2001 Received: by www.aunet.org (Postfix, from userid 1000) id 933504A0A9; Tue, 10 Apr 2001 12:20:18 -0800 (PST) Date: Tue, 10 Apr 2001 13:20:18 -0700 To: linux-india-programmers@lists.linux-india.org Subject: Re: images in php4 Message-ID: <20010410132018.A24652@aunet.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from kingslyj@vsnl.net on Fri, Apr 06, 2001 at 06:03:01PM +0530 From: thaths@aunet.org (Sudhakar Chandra) X-Archive-Number: 200104/91 X-Sequence-Number: 2164 On Fri, Apr 06, 2001 at 06:03:01PM +0530, did Kingsly John write: > So you can no longer create GIFs using php ... it is recommended that u > use PNG for indexed images and JPEGS for full-color ones) What are indexed images? Thaths -- pub 1024R/9B7FE6BD 1998-03-25 Sudhakar Chandrasekharan Key fingerprint = 8A 84 2E 67 10 9A 64 03 24 38 B6 AB 1B 6E 8C E4 uid Sudhakar Chandrasekharan From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 16:26:18 2001 Received: from valium.lu.com (unknown [203.122.32.98]) by www.aunet.org (Postfix) with SMTP id D0E814A10A for ; Tue, 10 Apr 2001 15:26:15 -0800 (PST) Received: (qmail 29127 invoked by alias); 10 Apr 2001 23:25:39 -0000 Received: from mithun.internal.egurucool.com (HELO egurucool.com) (10.40.2.25) by valium.internal.egurucool.com with SMTP; 10 Apr 2001 23:25:39 -0000 Message-ID: <3AD39672.4E7131C6@egurucool.com> Date: Wed, 11 Apr 2001 04:55:38 +0530 From: Mithun Bhattacharya Organization: Learning Universe [http://www.egurucool.com] X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: What is Realm? References: <986928416.762kameshj@myrealbox.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/92 X-Sequence-Number: 2165 Read about .htpasswd if you are using Apache... From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 21:46:12 2001 Received: from lakdiva.slt.lk (nlakdiva.slt.lk [203.115.0.1]) by www.aunet.org (Postfix) with ESMTP id 120B24A179 for ; Tue, 10 Apr 2001 20:46:08 -0800 (PST) Received: from kugan (asterix.weboa.com [203.115.19.151]) by lakdiva.slt.lk (8.10.2/8.10.2) with SMTP id f3B4iuC29083 for ; Wed, 11 Apr 2001 10:44:56 +0600 (GMT) From: "V.Kugan" To: Subject: 2.0.38 kernel cpmpilation Date: Wed, 11 Apr 2001 11:50:32 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Archive-Number: 200104/93 X-Sequence-Number: 2166 Hi Everyone I want to compile 2.0.38 kernel, Right now I am using redhat 6.2, when i do make zImage ( after make menconfig and make dep), I am getting error in init/main, Is it because I am using libraries from newer version??? , If so is there any CVS archive where i can get all the thingngs related to 2.0.38 kernel. Thank you and Best Regards V.Kugan -------------------------- kugan@mediasolv.com kugan_v@yahoo.com -------------------------- From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 21:51:55 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id A8C154A048 for ; Tue, 10 Apr 2001 20:51:50 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id KAA02441 for ; Wed, 11 Apr 2001 10:27:02 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id KAA19516 for ; Wed, 11 Apr 2001 10:13:47 +0530 Date: Wed, 11 Apr 2001 10:13:47 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: 2.0.38 kernel cpmpilation In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/94 X-Sequence-Number: 2167 On Wed, 11 Apr 2001, V.Kugan wrote: > I want to compile 2.0.38 kernel, Right now I am using redhat 6.2, when i do > make zImage ( after make menconfig and make dep), I am getting error in > init/main, Is it because I am using libraries from newer version??? , If so it could either be that or may be you are using the different header files. You have to soft link to the old header's directory. The actual error type will indicate which problem you are facing, if its getting stuck while linking, then its library problems, or if it doesnt even compile...most probably header mismatch -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 23:19:54 2001 Received: from utopia.kingsly.net (unknown [203.200.5.20]) by www.aunet.org (Postfix) with ESMTP id 4EF414A0AD for ; Tue, 10 Apr 2001 22:17:15 -0800 (PST) Received: from localhost (kingsly@localhost) by utopia.kingsly.net (8.9.3/8.9.3) with ESMTP id LAA01376 for ; Wed, 11 Apr 2001 11:40:20 +0530 X-Authentication-Warning: utopia.kingsly.net: kingsly owned process doing -bs Date: Wed, 11 Apr 2001 11:40:20 +0530 (IST) From: Kingsly John X-Sender: kingsly@utopia.kingsly.net To: linux-india-programmers@lists.linux-india.org Subject: Re: images in php4 In-Reply-To: <20010410132018.A24652@aunet.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/95 X-Sequence-Number: 2168 On Tue, 10 Apr 2001, Sudhakar Chandra wrote: |What are indexed images? GIF's PNG etc are indexed images... they have a fixed number of colors which is stores in a color table(palette).. and then the image is rendered using the index number for the colors in the table/palette (so if you have a 256 color image each pixel is represented by a single number from 0-255 (1byte)as opposed to RGB (3bytes) thereby allowing for smaller images. (smaller size at a loss of number of colors) Jpegs on the other hand work on nearer/closer colors... and store info something like... draw one red pixel and then draw another 20 of them... draw a blue pixel and draw another 5 of them... so they can store an endless amount of colors. This is a very rough explaination and may not be technically accurate Kingsly .:: Kingsly John ICQ 14787510 ::. -------------------------------------------------- .:: Linux 2.4.3 #5 Sun Apr 8 17:10:55 IST 2001 i686 ::. -------------------------------------------------------- `:. Posted to the list on Wed Apr 11 11:33:31 IST 2001 .:' From linux-india-programmers-owner@lists.linux-india.org Tue Apr 10 23:24:06 2001 Received: from utopia.kingsly.net (unknown [203.200.5.20]) by www.aunet.org (Postfix) with ESMTP id 3E22B4A0AD for ; Tue, 10 Apr 2001 22:24:02 -0800 (PST) Received: from localhost (kingsly@localhost) by utopia.kingsly.net (8.9.3/8.9.3) with ESMTP id MAA01510 for ; Wed, 11 Apr 2001 12:03:23 +0530 X-Authentication-Warning: utopia.kingsly.net: kingsly owned process doing -bs Date: Wed, 11 Apr 2001 12:03:23 +0530 (IST) From: Kingsly John X-Sender: kingsly@utopia.kingsly.net To: linux-india-programmers@lists.linux-india.org Subject: Re: What is Realm? In-Reply-To: <986928416.762kameshj@myrealbox.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/96 X-Sequence-Number: 2169 On Tue, 10 Apr 2001, kamesh jayachandran wrote: |hai all, |how to make a web page which asks for password when the on apache use a combo of .htaccess and .htpasswd files... RTFM for more info. Kingsly .:: Kingsly John ICQ 14787510 ::. -------------------------------------------------- .:: Linux 2.4.3 #5 Sun Apr 8 17:10:55 IST 2001 i686 ::. -------------------------------------------------------- `:. Posted to the list on Wed Apr 11 12:02:47 IST 2001 .:' From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 00:35:44 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id B51A34A0D7 for ; Tue, 10 Apr 2001 23:35:39 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id NAA10958 for ; Wed, 11 Apr 2001 13:10:49 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id MAA27672 for ; Wed, 11 Apr 2001 12:57:33 +0530 Date: Wed, 11 Apr 2001 12:57:33 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: "indexed" colors In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/97 X-Sequence-Number: 2170 On Wed, 11 Apr 2001, Kingsly John wrote: > GIF's PNG etc are indexed images... they have a fixed number of colors > which is stores in a color table(palette).. and then the image is rendered > using the index number for the colors in the table/palette (so if you have i think even X does this when color-depth is set to 8 otherwise it would be too restrictive. All the other applications using this index (color-map). I dont know if any quantization ( mapping close clors to a same index ) takes place or not. -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 01:33:13 2001 Received: from utopia.kingsly.net (unknown [202.86.175.112]) by www.aunet.org (Postfix) with ESMTP id 4486B4A18B for ; Wed, 11 Apr 2001 00:33:03 -0800 (PST) Received: from localhost (kingsly@localhost) by utopia.kingsly.net (8.9.3/8.9.3) with ESMTP id OAA02376 for ; Wed, 11 Apr 2001 14:08:58 +0530 X-Authentication-Warning: utopia.kingsly.net: kingsly owned process doing -bs Date: Wed, 11 Apr 2001 14:08:58 +0530 (IST) From: Kingsly John X-Sender: kingsly@utopia.kingsly.net To: linux-india-programmers@lists.linux-india.org Subject: Re: "indexed" colors In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/98 X-Sequence-Number: 2171 On Wed, 11 Apr 2001, sreangsu acharyya wrote: |i think even X does this when color-depth is set to 8 otherwise it would |be too restrictive. All the other applications using this index (color-map). |I dont know if any quantization ( mapping close clors to a same index ) |takes place or not. X does something called colormap cycling or something which allows each app to have it's own color map... which can lead to weird effects.. just moving focus from one app to another will cause the colormap to change for all the apps and all but the one in focus will be in really yucky colors! Kingsly .:: Kingsly John ICQ 14787510 ::. -------------------------------------------------- .:: Linux 2.4.3 #5 Sun Apr 8 17:10:55 IST 2001 i686 ::. -------------------------------------------------------- `:. Posted to the list on Wed Apr 11 14:07:12 IST 2001 .:' From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 04:50:01 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id 104804A381 for ; Wed, 11 Apr 2001 03:49:32 -0800 (PST) Received: from rahul ([203.192.37.36]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f3BBrD429922 for ; Wed, 11 Apr 2001 17:23:14 +0530 Message-ID: <00e601c0c27d$2ae7aaa0$2625c0cb@rahul> From: "Rahul Jindal" To: References: Subject: Re: Re: Re: Fw: Infinite Joy Ride(example) Date: Wed, 11 Apr 2001 17:17:19 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200104/99 X-Sequence-Number: 2172 > characters it encounters terminate the conversion *and are left > on the input stream*. Therefore, unless some other steps are > taken, unexpected non-numeric input "jams" scanf() again and > again: scanf() never gets past the bad character(s) to encounter but even flushing the stream didn't help him. r /\ |-| |_| |_ ~~~~~~~~~~~~~~~~~~~~~~ Always remember you're unique. Just like everyone else. ~~~~~~~~~~~~~~~~~~~~~~ The Northern Linux lug-northindia@yahoogroups.com From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 05:54:06 2001 Received: from mailhost.techpacindia.com (unknown [203.197.18.244]) by www.aunet.org (Postfix) with ESMTP id 12A4A4A542 for ; Wed, 11 Apr 2001 04:48:03 -0800 (PST) Received: by mailhost.techpacindia.com with Internet Mail Service (5.5.2650.21) id <2SMV9XR8>; Wed, 11 Apr 2001 18:19:59 +0530 Message-ID: <412D7042E52BD411962800A0C972F20C01AE07AB@mailhost.techpacindia.com> From: Sun-Marketing To: "'Linux-india-programmers@lists.linux-india.org'" Subject: Would you like to join us in co - promoting your Linux solutions Date: Wed, 11 Apr 2001 18:19:54 +0530 Importance: high X-Priority: 1 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" X-Archive-Number: 200104/100 X-Sequence-Number: 2173 > Dear Sir, > > The opportunity for server Appliances is immense and the proposal includes > : > * Hardware preloaded with Application. You can port additional > applications which have been developed on Linux by you. > * Higher Margin potential & Agressive Price Point > * Simple Selling techniques > * Shorter Sales Cycle and more SME Customers > * Minimum Post Warranty issues > Look no further. > Sun - Cobalt started out as an idea to bring the power of the Internet to > every person or organization that needs it. So it had to be easy, > affordable and a possible Linux combination. Small businesses, schools, > start-up Internet Service Providers, and people all around the world have > leveraged Cobalt server appliances to gain the advantages of the Internet. > Even some of the world's largest service providers use Cobalt appliances > to offer customer-specific services at affordable prices. > Value proposition > * Shield the user from the complexity of operating systems, > applications and network complications along with savings on cost of > application upgradation, updation and license cost. > * Give an integrated stack of Applications and Hardware. > * No license cost towards the Operating system or the application > being used. > * Port your local application on the server and promote it as an > appliance. > The result: > Simple, affordable solutions for organizations that need an Internet > presence and want to perform critical Internet-related applications > including e-mail, file sharing, Web hosting and e-commerce. > The power we can put in the hands of a small organization has > traditionally been reserved for wealthy companies with costly > general-purpose servers and large staffs of technically skilled engineers. > Now, with Cobalt server appliances, anyone can tap into the power of the > Internet regardless of where they are or how technical they've become. > Target Markets - > Cobalt's products are ideally suited for Internet Service Providers, > businesses, workgroups and project teams, educational institutions, Web > designers and networked application developers: > * Internet Service Providers (ISPs) that want low-priced, high-density > dedicated hosting, co-location, or caching solutions > * Businesses that want a simple, low-priced, on-site Internet/intranet > server, network attached storage, or caching solutions to take maximum > advantage of their limited wide-area bandwidth. > * Workgroups and project teams that need a quick and easy mechanism to > develop and distribute information > * Educational institutions-especially middle schools and high > schools-looking for cost-effective communication solutions for linking > parents, students and teachers > * Web designers and network application developers interested in > cost-effective development and deployment solutions. > Differentiators > * Compelling value proposition - The company designs its server > appliances to deliver exceptional performance at a substantially lower > installed cost than general purpose servers. > * Ease-of-use and manageability - All of the company's products > incorporate a simple set-up procedure designed to require less than 15 > minutes for installation and operation. A remote browser enables > administration from any location, thus eliminating the need for and cost > of a dedicated client. > * Scalable Performance - The company's low cost server appliances are > solid building blocks for scalable solutions. As the amount of traffic > handled by a Cobalt server appliance increases, additional units can be > clustered to add greater capacity at little additional expense beyond the > cost of the units themselves. > * Interoperability - The company's products employ a standards-based, > open architecture to function across multiple operating environments, > including Windows, Windows NT, Macintosh and Unix. > * An application Developer program which not only helps you port your > local application on the server but also supports you to understand how > the same can be integrated with a GUI interface on the server. > > Tech Pacific along with Sun Microsystems is looking out for Linux partners > in various geographies of India to support this business proposition. > > If you would like to join us in promoting your applications as an > integrated appliance please reply back with information in the following > format. > > * Complete details about your organization with contact numbers & > Address. > * Which segment (SME, Corporates, xSP's, SOHO, Govt, EOU, etc) of the > market does your organization / application focus in. > * In what location are your sales offices located. > * Are you into selling of Applications (email, Webserver, Database > etc) any other please list. > * Will you invest in a demo machine and a training certification pack. > * Are you ready to invest in a dedicated manpower for this business. > * Are you ready to jointly conduct marketing activities for the > promotion of this product. > * Will a sales training help your sales personal to understand the > selling techniques. > * Are you ready to port your application on the Cobalt server. > > Hurry !! mailto:suncell@techpacindia.com > > Thanks & Regards > Tech Pacific (India) Limited > > From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 07:19:46 2001 Received: from web3002.mail.yahoo.com (web3002.mail.yahoo.com [204.71.202.165]) by www.aunet.org (Postfix) with SMTP id A5FB74A00A for ; Wed, 11 Apr 2001 06:19:37 -0800 (PST) Received: (qmail 13092 invoked by uid 60001); 11 Apr 2001 14:18:59 -0000 Message-ID: <20010411141859.13091.qmail@web3002.mail.yahoo.com> Received: from [210.50.30.4] by web3002.mail.yahoo.com; Wed, 11 Apr 2001 07:18:59 PDT Date: Wed, 11 Apr 2001 07:18:59 -0700 (PDT) From: shiit dude Subject: i need help with c programing please! To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200104/101 X-Sequence-Number: 2174 Hi! I'm Having trouble compiling this program- #include void main() { float degC, degF; while (degC <101) { printf("Enter your temperature here (Celuius) >"); degF = 32 + degC * 1.8; printf("The temperature is %f in Fahrenheit", degF); } } this program is supposed to allow users to repeatedly enter temperatures in degrees Celsius, and then print out the temperature in degrees Fahrenheit. The program terminates when a temperature of more than 100 is entered.(note:degF=32+decC*1.8). I'm using turbo c. version2.01 Please help me as quickly as possible. Thank you. please reply to shit_shit_dude@yahoo.com __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 07:28:58 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id B88294A14E for ; Wed, 11 Apr 2001 06:28:54 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f3BEZWs17298 for ; Wed, 11 Apr 2001 20:05:32 +0530 Message-ID: <3AD46A64.FD5816F@pspl.co.in> Date: Wed, 11 Apr 2001 19:59:56 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: i need help with c programing please! References: <20010411141859.13091.qmail@web3002.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/102 X-Sequence-Number: 2175 shiit dude wrote: > > #include > > void main() > { > float degC, degF; > while (degC <101) { > printf("Enter your temperature here (Celuius) >"); > degF = 32 + degC * 1.8; > printf("The temperature is %f in Fahrenheit", degF); > } > } Would you mind initializing degC? > > this program is supposed to allow users to repeatedly > enter temperatures in degrees Celsius, and then print > out the temperature in degrees Fahrenheit. The program > terminates when a temperature of more than 100 is > entered.(note:degF=32+decC*1.8). BTW, what's your trouble? You haven't stated it... > > please reply to shit_shit_dude@yahoo.com Why? That's against list etiquette's. You post it to the list. You read it on list. Shridhar From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 10:37:52 2001 Received: from moses.myownemail.com (unknown [208.158.96.111]) by www.aunet.org (Postfix) with SMTP id 858CC4A1D2 for ; Wed, 11 Apr 2001 09:37:47 -0800 (PST) Received: from jazzandjava.com [208.158.96.111] by moses.myownemail.com (SMTPD32-6.00) id A6A86C00EE; Wed, 11 Apr 2001 12:38:48 -0500 Message-ID: <633420014311173848333@jazzandjava.com> X-EM-Version: 5, 0, 0, 4 X-EM-Registration: #01E0520310450300B900 X-Priority: 3 X-Mailer: My Own Email v4.00 From: "Sandeep Sundaram" To: linux-india-programmers@lists.linux-india.org Subject: gcc optimization Date: Wed, 11 Apr 2001 12:38:48 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Archive-Number: 200104/103 X-Sequence-Number: 2176 Hi, I am using gcc-2.96-54 that comes with the RH 7.0 distribution. This is giving me some rather funny problems. At first, I compiled my code with the -O2 option for optimization. Compilation went through successfully, but at the run time, it used to come out with a Segmentation fault. I traced this back to 2 pointers in my code, that used to get initialized to the same value. I suppose the values for these were taken from the same register and hence whenever the value of one of the pointers was changed, the other one would pick up the same value and screw up things. Now for the funny part of it !! I recompiled the code without the optimization and this time it failed during the linking stage itself. It said some thing about an "undefined reference to LC41". Please note that this same code compiled with optimization on. This has kind of left me clueless. So any kind of help to get around this will be appreciated. TIA, Regards, Sandeep Sundaram Smoking helps you lose weight .... one lung at a time !! _____________________________________________ Free email with personality! Over 200 domains! http://www.MyOwnEmail.com From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 14:40:33 2001 Received: from sharmas.dhs.org (unknown [66.1.147.119]) by www.aunet.org (Postfix) with ESMTP id 040D74A129 for ; Wed, 11 Apr 2001 13:40:28 -0800 (PST) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id OAA13154 for linux-india-programmers@lists.linux-india.org; Wed, 11 Apr 2001 14:35:33 -0700 Date: Wed, 11 Apr 2001 14:35:33 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: gcc optimization Message-ID: <20010411143533.A13147@sharmas.dhs.org> References: <633420014311173848333@jazzandjava.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <633420014311173848333@jazzandjava.com>; from sandysundaram@jazzandjava.com on Wed, Apr 11, 2001 at 12:38:48PM -0500 X-Archive-Number: 200104/104 X-Sequence-Number: 2177 On Wed, Apr 11, 2001 at 12:38:48PM -0500, Sandeep Sundaram wrote: > > This has kind of left me clueless. So any kind of help to get around this > will be appreciated. > Just downgrade to a less buggy version of the compiler and suddenly you'll be clued in :) -Arun From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 14:43:54 2001 Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by www.aunet.org (Postfix) with ESMTP id B31CD4A3E2 for ; Wed, 11 Apr 2001 13:43:52 -0800 (PST) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id OAA13182 for linux-india-programmers@lists.linux-india.org; Wed, 11 Apr 2001 14:39:25 -0700 Date: Wed, 11 Apr 2001 14:39:25 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Is this a compiler bug? Message-ID: <20010411143925.B13147@sharmas.dhs.org> References: <3AD30D43.E5F20E4B@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: <3AD30D43.E5F20E4B@pspl.co.in>; from shridhar_daithankar@pspl.co.in on Tue, Apr 10, 2001 at 07:10:19PM +0530 X-Archive-Number: 200104/105 X-Sequence-Number: 2178 On Tue, Apr 10, 2001 at 07:10:19PM +0530, Shridhar Daithankar wrote: > Error 173: "kernel/qrichtext.cpp", line 2165 # Redefined symbol 'i'; previously > defined at ["kernel/qrichtext.cpp", line > 2153]. > for ( int i = 0; i < l; i++ ) { ^ http://www.mvps.org/vcfaq/lang/1.htm -Arun From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 14:45:20 2001 Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by www.aunet.org (Postfix) with ESMTP id 38E5C4A057 for ; Wed, 11 Apr 2001 13:45:18 -0800 (PST) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id OAA13203 for linux-india-programmers@lists.linux-india.org; Wed, 11 Apr 2001 14:40:51 -0700 Date: Wed, 11 Apr 2001 14:40:51 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Is this a compiler bug? Message-ID: <20010411144051.C13147@sharmas.dhs.org> References: <3AD30D43.E5F20E4B@pspl.co.in> <20010411143925.B13147@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: <20010411143925.B13147@sharmas.dhs.org>; from arun@sharmas.dhs.org on Wed, Apr 11, 2001 at 02:39:25PM -0700 X-Archive-Number: 200104/106 X-Sequence-Number: 2179 On Wed, Apr 11, 2001 at 02:39:25PM -0700, Arun Sharma wrote: > On Tue, Apr 10, 2001 at 07:10:19PM +0530, Shridhar Daithankar wrote: > > Error 173: "kernel/qrichtext.cpp", line 2165 # Redefined symbol 'i'; previously > > defined at ["kernel/qrichtext.cpp", line > > 2153]. > > for ( int i = 0; i < l; i++ ) { > ^ > > http://www.mvps.org/vcfaq/lang/1.htm > Also: http://www.google.com/search?q=scope+C%2B%2B+for+loop -Arun From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 18:52:05 2001 Received: from mailFA10.rediffmail.com (unknown [202.54.124.179]) by www.aunet.org (Postfix) with SMTP id E7CA04A2A2 for ; Wed, 11 Apr 2001 17:52:00 -0800 (PST) Received: (qmail 12513 invoked by uid 510); 12 Apr 2001 01:48:36 -0000 Date: 12 Apr 2001 01:48:36 -0000 Message-ID: <20010412014836.12512.qmail@mailFA10.rediffmail.com> Received: from unknown (210.214.6.65) by rediffmail.com via HTTP; 12 Apr 2001 01:48:36 -0000 MIME-Version: 1.0 To: LIP Subject: Re: File transfer From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/107 X-Sequence-Number: 2180 Hello! I tried mounting the remote file system after making an entry in /etc/exports. The connection was established without any problem! Thanks a lot for your timely reply! - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 20:28:43 2001 Received: from waltz.SoftHome.net (waltz.SoftHome.net [204.144.231.7]) by www.aunet.org (Postfix) with SMTP id 426D94A57B for ; Wed, 11 Apr 2001 19:28:41 -0800 (PST) Received: (qmail 28217 invoked by uid 417); 12 Apr 2001 03:27:59 -0000 Message-ID: <20010412032759.28216.qmail@softhome.net> From: deepak2000@softhome.net To: linux-india-programmers@lists.linux-india.org Subject: lexical analyzer for C required Date: Thu, 12 Apr 2001 03:27:59 GMT Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Sender: deepak2000@softhome.net X-Archive-Number: 200104/108 X-Sequence-Number: 2181 hi i urgently require source code for lexical analayzer of C . i searched a lot on net but couldn't find. plz mail me any link or source if any of u have. thanks __deepak From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 22:34:42 2001 Received: from amour.blr.in.yahoo.com (unknown [203.200.52.16]) by www.aunet.org (Postfix) with ESMTP id 5E5444A46D for ; Wed, 11 Apr 2001 21:34:39 -0800 (PST) Received: (from binand@localhost) by amour.blr.in.yahoo.com (8.11.1/8.9.3) id f3C5XI804202 for linux-india-programmers@lists.linux-india.org; Thu, 12 Apr 2001 11:03:18 +0530 (IST) (envelope-from dnanib@yahoo.com) X-Authentication-Warning: amour.blr.in.yahoo.com: binand set sender to dnanib@yahoo.com using -f Date: Thu, 12 Apr 2001 11:03:18 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: Re: Re: Fw: Infinite Joy Ride(example) Message-ID: <20010412110318.A4090@yahoo.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <00e601c0c27d$2ae7aaa0$2625c0cb@rahul> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <00e601c0c27d$2ae7aaa0$2625c0cb@rahul>; from rahulj@glide.net.in on Wed, Apr 11, 2001 at 05:17:19PM +0530 X-Operating-System: FreeBSD 4.1-YAHOO-20001209 X-Organization: Yahoo! X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200104/109 X-Sequence-Number: 2182 Rahul Jindal forced the electrons to say: > > characters it encounters terminate the conversion *and are left > > on the input stream*. Therefore, unless some other steps are > > taken, unexpected non-numeric input "jams" scanf() again and > > again: scanf() never gets past the bad character(s) to encounter > > but even flushing the stream didn't help him. Well, I'm back on LIP, after a 2 week hiatus... There is no such thing as flushing an input stream. The operation (fflush (stdin)) will invoke undefined behaviour. Don't use it. A loop like while (getc(stdin) != '\n') /* do nothing */; will simulate flushing the input stream. It is not recommended, though, since you might lose data. It is far better to fgets() lines from stdin and hand-parsing them. Or maybe use a tool like lex if the program requires it. To the OP: I read the problem you posed in the archives. When you input a character while your program was expecting an int, the result was an infinite loop. You were using scanf() to read input. When scanf() cannot make a successful assignment, it pushes back the extra bytes it read to the input stream. Since you were using scanf in a loop, the first 'A' you entered was repeatedly pushed back, only so that the next scanf choked on it. I'd suggest you use a combination of fgets() and atoi(). Binand From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 23:38:12 2001 Received: from amour.blr.in.yahoo.com (unknown [203.200.52.16]) by www.aunet.org (Postfix) with ESMTP id 5ABCD4A98B for ; Wed, 11 Apr 2001 22:37:57 -0800 (PST) Received: (from binand@localhost) by amour.blr.in.yahoo.com (8.11.1/8.9.3) id f3C6aV804272 for linux-india-programmers@lists.linux-india.org; Thu, 12 Apr 2001 12:06:31 +0530 (IST) (envelope-from dnanib@yahoo.com) X-Authentication-Warning: amour.blr.in.yahoo.com: binand set sender to dnanib@yahoo.com using -f Date: Thu, 12 Apr 2001 12:06:31 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: lexical analyzer for C required Message-ID: <20010412120631.C4090@yahoo.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20010412032759.28216.qmail@softhome.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010412032759.28216.qmail@softhome.net>; from deepak2000@softhome.net on Thu, Apr 12, 2001 at 03:27:59AM +0000 X-Operating-System: FreeBSD 4.1-YAHOO-20001209 X-Organization: Yahoo! X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200104/110 X-Sequence-Number: 2183 deepak2000@softhome.net forced the electrons to say: > i urgently require source code for lexical analayzer of C. For the lex specification: http://www.lysator.liu.se/c/ANSI-C-grammar-l.html And for the yacc grammar: http://www.lysator.liu.se/c/ANSI-C-grammar-y.html HTH, Binand From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 23:41:56 2001 Received: from sxu1006.smtp-gw.to (sxu1006.altaway.net [209.249.55.69]) by www.aunet.org (Postfix) with ESMTP id 1B46A4A11C for ; Wed, 11 Apr 2001 22:41:35 -0800 (PST) Received: from ambar by sxu1006.smtp-gw.to (8.8.8/8.8.8) with SMTP id CAA11409 for ; Thu, 12 Apr 2001 02:39:51 -0400 (EDT) Message-ID: <007e01c0c31b$e7ade340$b8036c96@ambar> From: "Ambar Roy" To: References: <633420014311173848333@jazzandjava.com> Subject: Re: gcc optimization Date: Thu, 12 Apr 2001 12:07:01 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Archive-Number: 200104/111 X-Sequence-Number: 2184 > I am using gcc-2.96-54 that comes with the RH 7.0 distribution. This is > giving me some rather funny problems. hehe... this compiler that comes with rh 7.0 is known for all kinds of buggy code generation. Downgrade to a stable version of gcc and things shud be fine! Better yet, downgrade to rh 6.2. I won't trust a system compiled with this compiler. Also u will note that on your system there is another older version of gcc called kgcc. Try compiling your code with that and see what happens. RH has really screwed up this time. Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 23:41:57 2001 Received: from sxu1006.smtp-gw.to (sxu1006.altaway.net [209.249.55.69]) by www.aunet.org (Postfix) with ESMTP id 223B04A12D for ; Wed, 11 Apr 2001 22:41:44 -0800 (PST) Received: from ambar by sxu1006.smtp-gw.to (8.8.8/8.8.8) with SMTP id CAA11604 for ; Thu, 12 Apr 2001 02:40:35 -0400 (EDT) Message-ID: <007f01c0c31b$f5898e60$b8036c96@ambar> From: "Ambar Roy" To: References: <20010412032759.28216.qmail@softhome.net> Subject: Re: lexical analyzer for C required Date: Thu, 12 Apr 2001 12:08:00 +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: 200104/112 X-Sequence-Number: 2185 > i urgently require source code for lexical analayzer of C . i searched a > lot on net but couldn't find. plz mail me any link or source if any of u > have. i guess gcc shud come with one! Bye, /\ |\/| |3 /\ r From linux-india-programmers-owner@lists.linux-india.org Wed Apr 11 23:46:51 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 30FEC4A2E3 for ; Wed, 11 Apr 2001 22:46:28 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f3C6qxs01355 for ; Thu, 12 Apr 2001 12:22:59 +0530 Message-ID: <3AD54F7F.E8FF6651@pspl.co.in> Date: Thu, 12 Apr 2001 12:17:27 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: lexical analyzer for C required References: <20010412032759.28216.qmail@softhome.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/113 X-Sequence-Number: 2186 hehehehehheee... man flex.... Shridhar deepak2000@softhome.net wrote: > > hi > i urgently require source code for lexical analayzer of C . i searched a > lot on net but couldn't find. plz mail me any link or source if any of u > have. > > thanks > __deepak > > --------------------------------------------- > 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 Apr 11 23:46:57 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id C0E164A123 for ; Wed, 11 Apr 2001 22:46:41 -0800 (PST) Received: from rahul ([203.197.23.75]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f3C6o9409473 for ; Thu, 12 Apr 2001 12:20:09 +0530 Message-ID: <001b01c0c31c$02b9b740$4b17c5cb@rahul> From: "Rahul Jindal" To: References: <20010411141859.13091.qmail@web3002.mail.yahoo.com> Subject: Re: i need help with c programing please! Date: Thu, 12 Apr 2001 12:14:22 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MIMEOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200104/114 X-Sequence-Number: 2187 > #include > > void main() > { > float degC, degF; > while (degC <101) { > printf("Enter your temperature here (Celuius) >"); > degF = 32 + degC * 1.8; > printf("The temperature is %f in Fahrenheit", degF); > } > } hey do you intend to take the input from the compiler itself or what? don't you think it would be a good idea to try and get some input from somewhere else using a small stupid scanf or something ? do try that. r /\ |-| |_| |_ ~~~~~~~~~~~~~~~~~~~~~~ Always remember you're unique. Just like everyone else. ~~~~~~~~~~~~~~~~~~~~~~ The Northern Linux lug-northindia@yahoogroups.com From linux-india-programmers-owner@lists.linux-india.org Thu Apr 12 00:33:04 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 8E34D4A693 for ; Wed, 11 Apr 2001 23:31:47 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f3C7cIs02395 for ; Thu, 12 Apr 2001 13:08:18 +0530 Message-ID: <3AD55A1F.38723E88@pspl.co.in> Date: Thu, 12 Apr 2001 13:02:47 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: lexical analyzer for C required References: <20010412032759.28216.qmail@softhome.net> <3AD54F7F.E8FF6651@pspl.co.in> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/115 X-Sequence-Number: 2188 Real sorry... That was hopeless. I got it when Binand replied.... Need to take vacation for couple of days, on face of my increasingly stupid acts.... Shridhar Shridhar Daithankar wrote: > > hehehehehheee... > > man flex.... > > Shridhar > > deepak2000@softhome.net wrote: > > > > hi > > i urgently require source code for lexical analayzer of C . i searched a > > lot on net but couldn't find. plz mail me any link or source if any of u > > have. From linux-india-programmers-owner@lists.linux-india.org Thu Apr 12 00:33:14 2001 Received: from chandgate.mahindrabt.com (unknown [202.56.245.2]) by www.aunet.org (Postfix) with ESMTP id 1D0D949F37 for ; Wed, 11 Apr 2001 23:33:02 -0800 (PST) Received: from intranet.chand.mahindrabt.com (root@intranet.chand.mahindrabt.com [10.3.0.2]) by chandgate.mahindrabt.com (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id NAA30846 for ; Thu, 12 Apr 2001 13:02:15 +0530 Received: from sahyadri.mahindrabt.com (pc-172-24-3-88.chand.mahindrabt.com [172.24.3.88] (may be forged)) by intranet.chand.mahindrabt.com (8.9.3/8.9.3) with ESMTP id NAA15571 for ; Thu, 12 Apr 2001 13:02:12 +0530 Received: (from amar@localhost) by sahyadri.mahindrabt.com (8.9.3/8.9.3) id MAA25144 for linux-india-programmers@lists.linux-india.org; Thu, 12 Apr 2001 12:59:43 +0530 X-Authentication-Warning: sahyadri.mahindrabt.com: amar set sender to agodbole@mahindrabt.com using -f Date: Thu, 12 Apr 2001 12:59:42 +0530 From: Amarendra GODBOLE To: linux-india-programmers@lists.linux-india.org Subject: Re: lexical analyzer for C required Message-ID: <20010412125942.A14386@mahindrabt.com> References: <20010412032759.28216.qmail@softhome.net> <3AD54F7F.E8FF6651@pspl.co.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.7i In-Reply-To: <3AD54F7F.E8FF6651@pspl.co.in>; from shridhar_daithankar@pspl.co.in on Thu, Apr 12, 2001 at 12:17:27PM +0530 X-Home: http://www.obscure.org/~amunix X-Friends: Prachi, Shantanu, Shailesh, Sameer, Dinesh ... X-OS: Linux sahyadri 2.2.14-5.0 i686 X-Editor: emacs-20.5-7 X-Archive-Number: 200104/116 X-Sequence-Number: 2189 On Thu, Apr 12, 2001 at 12:17:27PM +0530, Shridhar Daithankar wrote: > hehehehehheee... Ridicule ? Bad duh ... > > man flex.... > > Shridhar Missed. Shridhar, this guy wants the source for the lex. analyzer of C, flex is totally irrelevant here. Get my point ? Binand has already posted the links. Cheers, -amar- From linux-india-programmers-owner@lists.linux-india.org Thu Apr 12 08:50:17 2001 Received: from cassandra.aphrodite.homeip.net (unknown [61.1.146.85]) by www.aunet.org (Postfix) with SMTP id 42E214A51D for ; Thu, 12 Apr 2001 07:48:13 -0800 (PST) Received: (qmail 356 invoked by uid 502); 12 Apr 2001 15:23:13 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Apr 2001 15:23:13 -0000 Date: Thu, 12 Apr 2001 20:52:50 +0530 (IST) From: omicron To: Subject: Assembly Language Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/117 X-Sequence-Number: 2190 hi all i've to do assembly programming on an 8086 but i use TASM on DOS. Is there any software on linux which can assemble the same assembly code ? What happens to the DOS interrupts in that case ? regards omicron ****** omicron Mail:omicron@omicron.dyndns.org (Sridhar N) www:omicron.symonds.net pubkeys:omicron.symonds.net/pubkeys C O G I T O E R G O S U M ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From linux-india-programmers-owner@lists.linux-india.org Thu Apr 12 09:33:12 2001 Received: from mailweb29.rediffmail.com (unknown [203.199.83.149]) by www.aunet.org (Postfix) with SMTP id CD5B649F1B for ; Thu, 12 Apr 2001 08:33:06 -0800 (PST) Received: (qmail 26511 invoked by uid 510); 12 Apr 2001 16:32:11 -0000 Date: 12 Apr 2001 16:32:11 -0000 Message-ID: <20010412163211.26510.qmail@mailweb29.rediffmail.com> Received: from unknown (210.214.6.68) by rediffmail.com via HTTP; 12 Apr 2001 16:32:11 -0000 MIME-Version: 1.0 To: LIP Subject: Startup program From: "Karthika Sivaramakrishnan" Content-ID: Content-type: text/plain Content-Description: Body Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/118 X-Sequence-Number: 2191 Hello! I want to start the execution of a program when X Window starts up. So, I inserted that program name in the file /etc/X11/xinit/xinitrc Whether I give it as a background process or a foreground one, it does not "seem" to run. In the program, there are many printf statements and some file creation instructions which do not seem to get executed. My question is, # Where should I look for the output of the printf statements? Will it be echoed to the terminal from which X was started? I believe that a background process cannot use the terminal for output. Then what should I do? # This particular program mainly consists of an always-true while loop; it never terminates by itself. From within this loop, several functions and other programs (executable files) are called. Where will they dump their output? Thanks in advance! Waiting for a reply, - Karthika _____________________________________________________ Chat with your friends as soon as they come online. Get Rediff Bol at http://bol.rediff.com From linux-india-programmers-owner@lists.linux-india.org Fri Apr 13 00:54:16 2001 Received: from nda.vsnl.net.in (giasdl01.vsnl.net.in [202.54.15.1]) by www.aunet.org (Postfix) with ESMTP id 1B2834A135 for ; Thu, 12 Apr 2001 23:52:19 -0800 (PST) Received: from dsfinternet.com (unknown [203.197.196.230]) by nda.vsnl.net.in (Postfix) with ESMTP id B3F2940AF1 for ; Fri, 13 Apr 2001 13:27:43 +0000 (IST) Received: from tomcat.dsf (ws200.dsf [192.168.1.200]) by dsfinternet.com (8.9.3/8.9.3) with SMTP id NAA10150 for ; Fri, 13 Apr 2001 13:18:30 +0530 Received: (qmail 1075 invoked by uid 537); 13 Apr 2001 07:50:40 -0000 Date: Fri, 13 Apr 2001 13:20:40 +0530 From: Sandip Bhattacharya To: linux-india-programmers@lists.linux-india.org, jug-delhi@egroups.com Subject: Java network problem Message-ID: <20010413132039.A1037@bigfoot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.9i X-HomePage: http://www.sandipb.net X-OS: Linux tomcat.dsf 2.4.2 i686 unknown X-Archive-Number: 200104/119 X-Sequence-Number: 2192 Hi! I have a strange problem while running a Java network application. My program simply connects to the specified host and port , anmd prints the first line that it receives. Now it works perfects on my own machine which is a linux one. But the same program running on a different windoze machine is throwing an unknownhost exception. Now this machine otherwise has no other problems using network programs. One can browse, ftp telnet and do all other thigs. but only Java progs refuse to run. Has anybody faced this problem yet? I have tried domain names , as well as InetAddresses. But in all the cases the same problem is recurring. Does Java have a different way of DNS lookups or something?? - Sandip ----------------------------------------------- Sandip Bhattacharya From linux-india-programmers-owner@lists.linux-india.org Fri Apr 13 01:24:07 2001 Received: from www.indialine.org (dsl-64-194-89-201.telocity.com [64.194.89.201]) by www.aunet.org (Postfix) with ESMTP id 1B8E94A0FF for ; Fri, 13 Apr 2001 00:24:05 -0800 (PST) Received: from listed by www.indialine.org with local (Exim 3.22 #1 (Debian)) id 14nyob-000531-00 for ; Fri, 13 Apr 2001 03:20:25 -0500 Date: Fri, 13 Apr 2001 03:20:25 -0500 To: linux-india-programmers@lists.linux-india.org Subject: Re: images in php4 Message-ID: <20010413032025.D17582@indialine.org> References: <20010410132018.A24652@aunet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: ; from kingslyj@vsnl.net on Wed, Apr 11, 2001 at 11:40:20AM +0530 From: Mailing List Subscriber X-Archive-Number: 200104/120 X-Sequence-Number: 2193 This is good enough. For more info, I'd suggest the svgalib mailing list. Sergio Masci might have some really helpful tips. Generally the palette is stored with the image and it is possible to have separate palettes for images. Also different images with the pallette missing will look strange if opened with a different palette. It is also possible to choose your own indexes in a simple text file (photo-cryptography anyone?) and use that to create png. No idea of GIF but guess that works the same way. "Definitive guide to PNG" is a great book on the subject. \Indraneel PS: my program dnacgr has a snippet of code to generate png from a memory dump of the screen. On Wed, Apr 11, 2001 at 11:40:20AM +0530, Kingsly John wrote: > On Tue, 10 Apr 2001, Sudhakar Chandra wrote: > > |What are indexed images? > > GIF's PNG etc are indexed images... they have a fixed number of colors > which is stores in a color table(palette).. and then the image is rendered > using the index number for the colors in the table/palette (so if you have > a 256 color image each pixel is represented by a single number from 0-255 > (1byte)as opposed to RGB (3bytes) > > > This is a very rough explaination and may not be technically accurate > -- http://www.indialine.org From linux-india-programmers-owner@lists.linux-india.org Fri Apr 13 09:26:16 2001 Received: from saraswati.svrec.ernet.in (unknown [164.100.206.29]) by www.aunet.org (Postfix) with ESMTP id 42ABE49F04 for ; Fri, 13 Apr 2001 08:24:28 -0800 (PST) Received: from vikram.svrec.ernet.in (IDENT:97co157@vikram.svrec.ernet.in [202.141.85.15]) by saraswati.svrec.ernet.in (8.9.3/8.9.3) with ESMTP id VAA06618 for ; Fri, 13 Apr 2001 21:54:26 +0530 Received: from localhost (97co157@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id VAA28613 for ; Fri, 13 Apr 2001 21:49:30 +0530 Date: Fri, 13 Apr 2001 21:49:30 +0530 (IST) From: Kapil Jadhav <97co157@svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: help for gatekepeer visibroker in Linux Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/121 X-Sequence-Number: 2194 Dear List, I am doing project in Java-CORBA in SuSE Linux.I am using jdk1.3 and visibroker 4.1 for Linux.Whenever I am running any gatekeeper example on windows it is working perfectly but same thing in Linux is sometimes not showing anything and sometimes I am getting some sockets.If anyone is working on same thing then please help me Kapil From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 00:04:54 2001 Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by www.aunet.org (Postfix) with ESMTP id B09BD4A115 for ; Sun, 15 Apr 2001 23:04:52 -0800 (PST) Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id AAA04063 for ; Mon, 16 Apr 2001 00:03:54 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id AAA21888 for linux-india-programmers@lists.linux-india.org; Mon, 16 Apr 2001 00:00:07 -0700 Date: Mon, 16 Apr 2001 00:00:07 -0700 From: Arun Sharma To: Linux India Programmers Subject: Notification on file/dir change ? Message-ID: <20010416000007.A21878@sharmas.dhs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i X-Archive-Number: 200104/122 X-Sequence-Number: 2195 Someone on this list was asking for such functionality on Linux. http://www.openmagazine.net/guestcolumn/01/01/24/239215.shtml -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 00:34:24 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 5ACB74A348 for ; Sun, 15 Apr 2001 23:34:19 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id NAA25959 for ; Mon, 16 Apr 2001 13:09:11 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id MAA16005 for ; Mon, 16 Apr 2001 12:55:54 +0530 Date: Mon, 16 Apr 2001 12:55:53 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: Linux India Programmers Subject: Re: Notification on file/dir change ? In-Reply-To: <20010416000007.A21878@sharmas.dhs.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/123 X-Sequence-Number: 2196 On Mon, 16 Apr 2001, Arun Sharma wrote: > Someone on this list was asking for such functionality on Linux. > http://www.openmagazine.net/guestcolumn/01/01/24/239215.shtml I had come across a kernel module for linux, which had a means of notifying calls to open() and write(). One could also configure which open() and write() cals to detect. I seem to have lost the link. Have to search google -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 01:21:56 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id D31284A1EC for ; Mon, 16 Apr 2001 00:21:52 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f3G8Rns26687 for ; Mon, 16 Apr 2001 13:57:49 +0530 Message-ID: <3ADAABCD.703AC307@pspl.co.in> Date: Mon, 16 Apr 2001 13:52:37 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: I have the CD References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/124 X-Sequence-Number: 2197 Hi Sreangsu I have burnt the CD. It contains following goodies... 1)Corel photopaint 9 2)Hitch Hiker's guide to galaxy...;-)(I have yet to read it but I thought it's a worthwhile collection...) 2)KDE2.1 sourece tar balls with Qt2.3 3)Kernel 2.4.1 utils. All the things required to compile 2.4.1on a RHL6.2 machine along with PCQ CD. 4)Kernel 2.4.2+Reiserfs patch for that 5)Latest Mesa source tarballs 6)IBM Data explorer 7)Postgres7.0.3 rpms 8)Some documentation This all counts for 280MB. Rest's are MP3s. Want to borrow? I have not yet got my mobo back. Maybe today..... ;-)) Shridhar From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 01:27:12 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id D9D0B4A03F for ; Mon, 16 Apr 2001 00:27:09 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f3G8X7s26814 for ; Mon, 16 Apr 2001 14:03:07 +0530 Message-ID: <3ADAAD0A.F19A6736@pspl.co.in> Date: Mon, 16 Apr 2001 13:57:54 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: I have the CD References: <3ADAABCD.703AC307@pspl.co.in> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/125 X-Sequence-Number: 2198 Oops.... My mistake... Meant to be a personal mail... Shridhar Shridhar Daithankar wrote: > > Hi Sreangsu > > I have burnt the CD. It contains following goodies... > > 1)Corel photopaint 9 > 2)Hitch Hiker's guide to galaxy...;-)(I have yet to read it but I thought it's a > worthwhile collection...) > 2)KDE2.1 sourece tar balls with Qt2.3 > 3)Kernel 2.4.1 utils. All the things required to compile 2.4.1on a RHL6.2 > machine along with PCQ CD. > 4)Kernel 2.4.2+Reiserfs patch for that > 5)Latest Mesa source tarballs > 6)IBM Data explorer > 7)Postgres7.0.3 rpms > 8)Some documentation > > This all counts for 280MB. Rest's are MP3s. > > Want to borrow? I have not yet got my mobo back. Maybe today..... ;-)) > > Shridhar From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 01:51:17 2001 Received: from web11506.mail.yahoo.com (web11506.mail.yahoo.com [216.136.172.38]) by www.aunet.org (Postfix) with SMTP id 11F794A03F for ; Mon, 16 Apr 2001 00:51:15 -0800 (PST) Message-ID: <20010416085014.63046.qmail@web11506.mail.yahoo.com> Received: from [202.58.174.140] by web11506.mail.yahoo.com; Mon, 16 Apr 2001 01:50:14 PDT Date: Mon, 16 Apr 2001 01:50:14 -0700 (PDT) From: Nick Hill Subject: Re: Notification on file/dir change ? To: linux-india-programmers@lists.linux-india.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200104/126 X-Sequence-Number: 2199 is a kernel module required for this? A user space solution could be used instead. Have u see installwatch? stuff like monitoring open(), write(), et al stuff can be done by overriding the relevant functions, and LD_PRELOADING them. The real problem comes, when you have too many fds to monitor, and the overhead is just not justified. I had posted a similiar question on this list when i was writing my messaging server. the kernel code for select() and poll() (poll calls the inbuilt select anywayz...), does unnecessary checking of _all_ fds. i thought poll avoided this, but kqueues seem to have a better approach to this. I hope this is incorporated into Linux too. Efsd (of enlightenment DR17 fame), claims to have a new system for detecting file state changes. I haven't seen the code yet. Its been ages since I've CVS updated E. whatever it is, it better be good. :) Nikhil. --- sreangsu acharyya wrote: > On Mon, 16 Apr 2001, Arun Sharma wrote: > > > Someone on this list was asking for such > functionality on Linux. > > > http://www.openmagazine.net/guestcolumn/01/01/24/239215.shtml > > I had come across a kernel module for linux, which > had a means of > notifying calls to open() and write(). One could > also configure which > open() and write() cals to detect. > I seem to have lost the link. Have to search > google > > -- sreangsu > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 01:56:40 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 6AF464A497 for ; Mon, 16 Apr 2001 00:56:35 -0800 (PST) Received: from pspl.co.in (basel.intranet.pspl.co.in [192.168.2.188]) by www.pspl.co.in (8.11.0/8.11.0) with ESMTP id f3G92Ws27466 for ; Mon, 16 Apr 2001 14:32:32 +0530 Message-ID: <3ADAB3F0.5DA964C2@pspl.co.in> Date: Mon, 16 Apr 2001 14:27:20 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Notification on file/dir change ? References: <20010416085014.63046.qmail@web11506.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/127 X-Sequence-Number: 2200 Nick Hill wrote: > Efsd (of enlightenment DR17 fame), claims to have a > new system for detecting file state changes. I haven't > seen the code yet. Its been ages since I've CVS > updated E. whatever it is, it better be good. :) Konqueror does that but I guess it uses some event handler installed in DCOP server or something like that. But I have noticed it reflecting changes made with xfig etc. So it must have something. Of course it's *much* slower for a typical server. Something like 3-4 times a second. Enough for desktop.... Shridhar From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 02:11:11 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 85C8E4A03F for ; Mon, 16 Apr 2001 01:11:06 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA00426 for ; Mon, 16 Apr 2001 14:45:58 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA20619 for ; Mon, 16 Apr 2001 14:32:14 +0530 Date: Mon, 16 Apr 2001 14:32:06 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: LD_PRELOAD was Re: Notification on file/dir change ? In-Reply-To: <20010416085014.63046.qmail@web11506.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/128 X-Sequence-Number: 2201 On Mon, 16 Apr 2001, Nick Hill wrote: > is a kernel module required for this? A user space > solution could be used instead. Have u see > installwatch? stuff like monitoring open(), write(), > functions, and LD_PRELOADING them. The real problem yeah thats a definite possibility, but i had just happened to come across this module, which i have managed to lose. BTW has LD_PRELOAD disappeared in the new version of glibc/ld. The manual don't seem to list it -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 07:48:58 2001 Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10]) by www.aunet.org (Postfix) with ESMTP id D73E14A143 for ; Mon, 16 Apr 2001 06:48:44 -0800 (PST) Received: from cbin2-mira-01.cisco.com (cbin2-mira-01.cisco.com [192.135.246.89]) by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id HAA04265 for ; Mon, 16 Apr 2001 07:47:49 -0700 (PDT) Received: from cisco.com (casanova.cisco.com [64.104.134.26]) by cbin2-mira-01.cisco.com (Mirapoint) with ESMTP id AGI04838; Mon, 16 Apr 2001 20:17:43 +0530 (IST) Message-ID: <3ADB078D.2080409@cisco.com> Date: Mon, 16 Apr 2001 20:24:05 +0530 From: Pankaj Kr Rathore User-Agent: Mozilla/5.0 (X11; U; Linux 2.4.0 i686; en-US; m18) Gecko/20010131 Netscape6/6.01 X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: kernel crash log Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/129 X-Sequence-Number: 2202 Hi, While loading a kernel module, my linux mc crashes. But after rebooting, /var/log/messages doesnot contain the crash info. Could somebody help here please... Pankaj From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 08:14:34 2001 Received: from satyaki.pacific.net.in (satyaki.pacific.net.in [203.123.128.85]) by www.aunet.org (Postfix) with ESMTP id 2FFAA4A098 for ; Mon, 16 Apr 2001 07:14:28 -0800 (PST) Received: from nirvana.sankya.com (ppp253.bangalore-188.pacific.net.in [203.123.188.253]) by satyaki.pacific.net.in with ESMTP id UAA06886 for ; Mon, 16 Apr 2001 20:43:22 +0530 (IST) Received: from mrinal by nirvana.sankya.com with local (Exim 3.20 #1 (Debian)) id 14pAgq-0000hU-00 for ; Mon, 16 Apr 2001 20:43:20 +0530 Date: Mon, 16 Apr 2001 20:43:20 +0530 From: Mrinal Kalakrishnan To: linux-india-programmers@lists.linux-india.org Subject: Re: Notification on file/dir change ? Message-ID: <20010416204320.A2323@mrinal.dhs.org> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20010416085014.63046.qmail@web11506.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.17i In-Reply-To: <20010416085014.63046.qmail@web11506.mail.yahoo.com>; from nikhilwiz@yahoo.com on Mon, Apr 16, 2001 at 01:50:14AM -0700 X-Mailer: Mutt 1.3.17i (2001-03-28) X-Operating-System: Linux 2.4.3 X-Editor: VIM - Vi IMproved 6.0t ALPHA X-URL: http://mrinal.dhs.org/ Organization: PESIT X-Archive-Number: 200104/130 X-Sequence-Number: 2203 Hi, Nick Hill typed: > Efsd (of enlightenment DR17 fame), claims to have a > new system for detecting file state changes. I haven't > seen the code yet. Its been ages since I've CVS > updated E. whatever it is, it better be good. :) Efsd uses FAM (File Alteration Monitor) from SGI, which can either use a kernel module called imon (if available), or poll the files. FAM is available at http://oss.sgi.com/projects/fam/ HTH.. -- Mrinal Kalakrishnan http://mrinal.dhs.org/ Linux 2.4.3 || PGP:B1E86F5B || Mutt 1.3.17i (2001-03-28) || VIM 6.0t ALPHA -- /* * [...] Note that 120 sec is defined in the protocol as the maximum * possible RTT. I guess we'll have to use something other than TCP * to talk to the University of Mars. * PAWS allows us longer timeouts and large windows, so once implemented * ftp to mars will work nicely. */ (from /usr/src/linux/net/inet/tcp.c, concerning RTT [retransmission timeout]) From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 10:52:20 2001 Received: from stephens.ittc.ukans.edu (stephens.ittc.ukans.edu [129.237.125.220]) by www.aunet.org (Postfix) with ESMTP id 29BA14A34C for ; Mon, 16 Apr 2001 09:52:18 -0800 (PST) Received: from occam.ittc.ukans.edu (occam.ittc.ukans.edu [129.237.125.230]) by stephens.ittc.ukans.edu (8.11.2/8.11.2/ITTC-NOSPAM-NOVIRUS-2.2) with ESMTP id f3GHpIF12911 for ; Mon, 16 Apr 2001 12:51:18 -0500 Received: from localhost by occam.ittc.ukans.edu (8.9.3/KU-4.0-client) id MAA10238; Mon, 16 Apr 2001 12:51:18 -0500 Date: Mon, 16 Apr 2001 12:51:18 -0500 (CDT) From: Amit Kucheria To: linux-india-programmers@lists.linux-india.org Subject: Re: kernel crash log In-Reply-To: <3ADB078D.2080409@cisco.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/131 X-Sequence-Number: 2204 You need to do some/all of the following - 1. Check /etc/syslog.conf to see where kern.debug messages are being redirected. You need to check there. These messages wont be in /var/log/messages 2. Check to see if u are calling klogd with some parameters. Check this in /etc/rc.d/init.d/syslog...there would we a statement like 'daemon klogd' 3. You might want to add a -f option to klogd pointing to the System.map e.g. daemon klogd -k /usr/src/linux/System.map This will resolve those incomprehensible hex addresses in kernel panic dumps to function names and offsets in the logs. 4. Another useful option is 'Magic SysReq'. Its an option in 'Kernel Hacking' in make menuconfig. The you could use Alt-SysReq-x where x is described in Documentation/sysrq.txt That kinda tops of my knowledge about kernel debugging !! ciao, Amit On Mon, 16 Apr 2001, Pankaj Kr Rathore wrote: > Hi, > While loading a kernel module, my linux mc crashes. > But after rebooting, /var/log/messages doesnot contain the crash > info. Could somebody help here please... > Pankaj -- ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant Team Niehaus || Room # 245E University of Kansas @ Lawrence (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 ____________________________________________________ From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 11:49:03 2001 Received: from ns1.glide.net.in (unknown [203.197.23.10]) by www.aunet.org (Postfix) with ESMTP id CA2A64A23C for ; Mon, 16 Apr 2001 10:48:55 -0800 (PST) Received: from rahul ([203.192.37.181]) by ns1.glide.net.in (8.10.1/pre1.0-MySQL/8.10.1) with SMTP id f3GIpO408387 for ; Tue, 17 Apr 2001 00:21:24 +0530 Message-ID: <000101c0c6a5$89df7340$b525c0cb@rahul> From: "Ketu" To: References: <20010416000007.A21878@sharmas.dhs.org> Subject: [ot]Re: Notification on file/dir change ? Date: Tue, 17 Apr 2001 00:13: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.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200104/132 X-Sequence-Number: 2205 thanks a lot for the article. even an absolute beginner like me could make nice sense out of it. From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 17:03:19 2001 Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by www.aunet.org (Postfix) with ESMTP id 888574A179 for ; Mon, 16 Apr 2001 16:03:16 -0800 (PST) Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by falcon.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id RAA06769 for ; Mon, 16 Apr 2001 17:02:12 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id QAA23489 for linux-india-programmers@lists.linux-india.org; Mon, 16 Apr 2001 16:58:20 -0700 Date: Mon, 16 Apr 2001 16:58:20 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: kernel crash log Message-ID: <20010416165820.A23461@sharmas.dhs.org> References: <3ADB078D.2080409@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3ADB078D.2080409@cisco.com>; from pankajkr@cisco.com on Mon, Apr 16, 2001 at 08:24:05PM +0530 X-Archive-Number: 200104/133 X-Sequence-Number: 2206 On Mon, Apr 16, 2001 at 08:24:05PM +0530, Pankaj Kr Rathore wrote: > Hi, > While loading a kernel module, my linux mc crashes. > But after rebooting, /var/log/messages doesnot contain the crash > info. Could somebody help here please... If you can, always run with the kernel debugger compiled into the kernel. In Linux land, this means patching the kernel (though I suspect that some distros would be shipping with kdb enabled kernel). In the FreeBSD land, whenever there is a panic, it drops into the debugger (provided the kernel was compile d with the DDB option on) and I can look at the back trace and report a bug. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Apr 16 22:46:06 2001 Received: from saraswati.svrec.ernet.in (unknown [164.100.206.29]) by www.aunet.org (Postfix) with ESMTP id 4C6D64A0C2 for ; Mon, 16 Apr 2001 21:45:28 -0800 (PST) Received: from vikram.svrec.ernet.in (IDENT:97co157@vikram.svrec.ernet.in [202.141.85.15]) by saraswati.svrec.ernet.in (8.9.3/8.9.3) with ESMTP id LAA11861 for ; Tue, 17 Apr 2001 11:12:46 +0530 Received: from localhost (97co157@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id LAA28673 for ; Tue, 17 Apr 2001 11:07:53 +0530 Date: Tue, 17 Apr 2001 11:07:50 +0530 (IST) From: Kapil Jadhav <97co157@svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: Re: Assembly Language In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/134 X-Sequence-Number: 2207 Hi, See linux howtos in ur local documentation for assembly language there you can find a lot of assemblers like as , as86 and much more Kapil rec-surat On Thu, 12 Apr 2001, omicron wrote: > hi all > i've to do assembly programming on an 8086 but i use TASM on DOS. > Is there any software on linux which can assemble the same assembly code ? > What happens to the DOS interrupts in that case ? > > regards > omicron > > ****** > omicron Mail:omicron@omicron.dyndns.org > (Sridhar N) www:omicron.symonds.net > pubkeys:omicron.symonds.net/pubkeys > > C O G I T O E R G O S U M > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/linux-india-programmers > From linux-india-programmers-owner@lists.linux-india.org Tue Apr 17 05:21:12 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 12A184A26F for ; Tue, 17 Apr 2001 04:20:57 -0800 (PST) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id RAA06637 for ; Tue, 17 Apr 2001 17:55:45 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id RAA20393 for ; Tue, 17 Apr 2001 17:42:32 +0530 Date: Tue, 17 Apr 2001 17:42:32 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: changing the stack size..Tcl Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/135 X-Sequence-Number: 2208 While using Tcl8.42a ( with thread support enabled...but this is besides the point ) I find the stack size reduces from the default 8192 to 2040. However i tried to grep the source tree for "setrlimit", but there were no calls to it. Any idea who's reducing the stack size, -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Tue Apr 17 09:00:39 2001 Received: from falcon.mail.pas.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by www.aunet.org (Postfix) with ESMTP id 4DCEB4A195 for ; Tue, 17 Apr 2001 08:00:24 -0800 (PST) Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by falcon.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id IAA00454 for ; Tue, 17 Apr 2001 08:59:16 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id IAA25708 for linux-india-programmers@lists.linux-india.org; Tue, 17 Apr 2001 08:55:32 -0700 Date: Tue, 17 Apr 2001 08:55:32 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: changing the stack size..Tcl Message-ID: <20010417085532.A25698@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 sreangsua@geometricsoftware.com on Tue, Apr 17, 2001 at 05:42:32PM +0530 X-Archive-Number: 200104/136 X-Sequence-Number: 2209 On Tue, Apr 17, 2001 at 05:42:32PM +0530, sreangsu acharyya wrote: > > While using Tcl8.42a ( with thread support enabled...but this is besides > the point ) I find the stack size reduces from the default 8192 to 2040. > However i tried to grep the source tree for "setrlimit", but there were no > calls to it. > > Any idea who's reducing the stack size, Have you checked your shell's ulimits ? -Arun From linux-india-programmers-owner@lists.linux-india.org Tue Apr 17 12:12:56 2001 Received: from stephens.ittc.ukans.edu (stephens.ittc.ukans.edu [129.237.125.220]) by www.aunet.org (Postfix) with ESMTP id 5F2AC4A2B0 for ; Tue, 17 Apr 2001 11:12:54 -0800 (PST) Received: from occam.ittc.ukans.edu (occam.ittc.ukans.edu [129.237.125.230]) by stephens.ittc.ukans.edu (8.11.2/8.11.2/ITTC-NOSPAM-NOVIRUS-2.2) with ESMTP id f3HJBnF22133 for ; Tue, 17 Apr 2001 14:11:50 -0500 Received: from localhost by occam.ittc.ukans.edu (8.9.3/KU-4.0-client) id OAA12580; Tue, 17 Apr 2001 14:11:49 -0500 Date: Tue, 17 Apr 2001 14:11:49 -0500 (CDT) From: Amit Kucheria To: linux-india-programmers@lists.linux-india.org Subject: Re: kernel crash log In-Reply-To: <20010416165820.A23461@sharmas.dhs.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/137 X-Sequence-Number: 2210 Arun, i have a small question. How is kdb different from running gdb on an 'active' kernel ? I know kdb is an SGI addition (i think), but i havent ever used it, being content with gdb. What does it provide, that gdb'ing doesnt. Regards, Amit On Mon, 16 Apr 2001, Arun Sharma wrote: > On Mon, Apr 16, 2001 at 08:24:05PM +0530, Pankaj Kr Rathore wrote: > > Hi, > > While loading a kernel module, my linux mc crashes. > > But after rebooting, /var/log/messages doesnot contain the crash > > info. Could somebody help here please... > > If you can, always run with the kernel debugger compiled into the > kernel. In Linux land, this means patching the kernel (though I > suspect that some distros would be shipping with kdb enabled kernel). > > In the FreeBSD land, whenever there is a panic, it drops into the > debugger (provided the kernel was compile d with the DDB option on) > and I can look at the back trace and report a bug. > > -Arun -- ^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^-^ Amit Kucheria EECS Grad. Research Assistant Team Niehaus || Room # 245E University of Kansas @ Lawrence (R)+1-(785)-830 8521 ||| (O)+1-(785)-864 7774 ____________________________________________________ From linux-india-programmers-owner@lists.linux-india.org Tue Apr 17 13:40:48 2001 Received: from avocet.mail.pas.earthlink.net (avocet.mail.pas.earthlink.net [207.217.121.50]) by www.aunet.org (Postfix) with ESMTP id 0D1DC4A1E0 for ; Tue, 17 Apr 2001 12:40:42 -0800 (PST) Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id NAA16653 for ; Tue, 17 Apr 2001 13:39:34 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id NAA26423 for linux-india-programmers@lists.linux-india.org; Tue, 17 Apr 2001 13:35:38 -0700 Date: Tue, 17 Apr 2001 13:35:38 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: kernel crash log Message-ID: <20010417133538.A26406@sharmas.dhs.org> References: <20010416165820.A23461@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 amitk@ittc.ukans.edu on Tue, Apr 17, 2001 at 02:11:49PM -0500 X-Archive-Number: 200104/138 X-Sequence-Number: 2211 On Tue, Apr 17, 2001 at 02:11:49PM -0500, Amit Kucheria wrote: > Arun, i have a small question. > > How is kdb different from running gdb on an 'active' kernel ? > I know kdb is an SGI addition (i think), but i havent ever used it, > being content with gdb. What does it provide, that gdb'ing doesnt. If you're just examining the state of the running kernel, gdb is probably as good as kdb. However, if you're trying to put breakpoints and catch asynchronous events, then gdb is no good. Bottomline: the kernel code can "invoke" kdb when certain events happen, but they can't do the same for a gdb on the same machine because it depends on that very kernel to run. However, when you run gdb on a different machine, the capabilities are very similar. -Arun From linux-india-programmers-owner@lists.linux-india.org Tue Apr 17 20:52:10 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 98F3B4A06B for ; Tue, 17 Apr 2001 20:51:53 -0700 (PDT) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id JAA09598 for ; Wed, 18 Apr 2001 09:26:39 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id JAA18739 for ; Wed, 18 Apr 2001 09:13:26 +0530 Date: Wed, 18 Apr 2001 09:13:26 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: changing the stack size..Tcl In-Reply-To: <20010417085532.A25698@sharmas.dhs.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/139 X-Sequence-Number: 2212 On Tue, 17 Apr 2001, Arun Sharma wrote: > > Any idea who's reducing the stack size, > Have you checked your shell's ulimits ? umm but i get a a size of 8192 in the ordinary (bash) shell, its only when i launch tclsh, that this happens. I looked into their source, nothing there, could it be an option to gcc or ld ? i.e. reducing the available stack -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 00:14:59 2001 Received: from saraswati.svrec.ernet.in (unknown [164.100.206.29]) by www.aunet.org (Postfix) with ESMTP id A8CC649F05 for ; Wed, 18 Apr 2001 00:14:07 -0700 (PDT) Received: from vikram.svrec.ernet.in (IDENT:97co266@vikram.svrec.ernet.in [202.141.85.15]) by saraswati.svrec.ernet.in (8.9.3/8.9.3) with ESMTP id MAA11911 for ; Wed, 18 Apr 2001 12:42:42 +0530 Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id MAA23219 for ; Wed, 18 Apr 2001 12:37:45 +0530 Date: Wed, 18 Apr 2001 12:37:45 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: error in reading frame-buffer device Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/140 X-Sequence-Number: 2213 dear friends i want to open /dev/fb* for doing ioctl on it my problem is open always returns -1 what may be the reason ?? the code is given below one more observation if i try to use "cp" on /dev/fb[0-7] system says that /dev/fb1 : no such device but "ls" shows its there ex. [root $] cp /dev/fb1 ~shubh/frameb cp : /dev/fb1 : no such device the code of the program is as following #include #include #include int main() { int fbfd = 0; fbfd = open("/dev/fb0", O_RDWR); if (fbfd<0) { printf("Error: cannot open framebuffer device.\n"); printf("%d",fbfd) /***** this prints -1 *******/ exit(1); } printf("The framebuffer device was opened successfully.\n"); close(fbfd); return 0; } TIA shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 00:27:18 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 6C2C04A5CB for ; Wed, 18 Apr 2001 00:27:13 -0700 (PDT) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id NAA20212 for ; Wed, 18 Apr 2001 13:01:58 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id MAA29028 for ; Wed, 18 Apr 2001 12:48:37 +0530 Date: Wed, 18 Apr 2001 12:48:36 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/141 X-Sequence-Number: 2214 On Wed, 18 Apr 2001, shubhendu wrote: > i want to open /dev/fb* for doing ioctl on it > my problem is open always returns -1 i hope the program was running with root permissions. -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 01:48:39 2001 Received: from amour.blr.in.yahoo.com (unknown [203.200.52.16]) by www.aunet.org (Postfix) with ESMTP id 46C4149F1B for ; Wed, 18 Apr 2001 01:48:26 -0700 (PDT) Received: (from binand@localhost) by amour.blr.in.yahoo.com (8.11.1/8.9.3) id f3I8kh946729 for linux-india-programmers@lists.linux-india.org; Wed, 18 Apr 2001 14:16:43 +0530 (IST) (envelope-from dnanib@yahoo.com) X-Authentication-Warning: amour.blr.in.yahoo.com: binand set sender to dnanib@yahoo.com using -f Date: Wed, 18 Apr 2001 14:16:43 +0530 From: "Binand Raj S." To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device Message-ID: <20010418141643.A46701@yahoo-inc.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.2.5i In-Reply-To: ; from 97co266@svrec.ernet.in on Wed, Apr 18, 2001 at 12:37:45PM +0530 X-Operating-System: FreeBSD 4.1-YAHOO-20001209 X-Organization: Yahoo! X-Surviving-On: Oxygen, Coffee and Unix X-Archive-Number: 200104/142 X-Sequence-Number: 2215 shubhendu forced the electrons to say: > i want to open /dev/fb* for doing ioctl on it > my problem is open always returns -1 > what may be the reason ?? How do we know?? Did you try printing out strerror (errno)? > one more observation if i try to use "cp" on /dev/fb[0-7] > system says that /dev/fb1 : no such device but "ls" shows its > there Just having the /dev entry is not a substitute for having the actual DEVICE. Binand From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 01:54:31 2001 Received: from saraswati.svrec.ernet.in (unknown [164.100.206.29]) by www.aunet.org (Postfix) with ESMTP id B49734A00E for ; Wed, 18 Apr 2001 01:50:58 -0700 (PDT) Received: from vikram.svrec.ernet.in (IDENT:97co266@vikram.svrec.ernet.in [202.141.85.15]) by saraswati.svrec.ernet.in (8.9.3/8.9.3) with ESMTP id OAA01186 for ; Wed, 18 Apr 2001 14:19:39 +0530 Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id OAA29627 for ; Wed, 18 Apr 2001 14:14:41 +0530 Date: Wed, 18 Apr 2001 14:14:41 +0530 (IST) From: shubhendu <97co266@svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/143 X-Sequence-Number: 2216 hi Sreangsu > > i want to open /dev/fb* for doing ioctl on it > > my problem is open always returns -1 > > i hope the program was running with root permissions. > why this should make a difference ? well i swtiched over to root only after i was not getting right o/p from simple user shubh From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 02:07:47 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 712AE4A2B8 for ; Wed, 18 Apr 2001 02:07:41 -0700 (PDT) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA24597 for ; Wed, 18 Apr 2001 14:42:28 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id OAA00743 for ; Wed, 18 Apr 2001 14:29:14 +0530 Date: Wed, 18 Apr 2001 14:29:14 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/144 X-Sequence-Number: 2217 On Wed, 18 Apr 2001, shubhendu wrote: > hi Sreangsu > > i hope the program was running with root permissions. > > why this should make a difference ? i havent compiled frame-buffer support into the kernel so dont have any experience on it, but i think not anybody can write to the device...atleast they should not have that permission IMHO > well i swtiched over to root only after i was not getting > right o/p from simple user -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 02:07:58 2001 Received: from natsemi-bh.nsc.com (natsemi-bh.nsc.com [204.163.202.66]) by www.aunet.org (Postfix) with ESMTP id 1FA8F4A5A7 for ; Wed, 18 Apr 2001 02:07:50 -0700 (PDT) Received: (from uucp@localhost) by natsemi-bh.nsc.com (8.8.8/8.6.11) id CAA08124 for ; Wed, 18 Apr 2001 02:06:43 -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 xma007973; Wed, 18 Apr 01 02:06:01 -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 CAA29435 for ; Wed, 18 Apr 2001 02:05:58 -0700 (PDT) Received: from chakravakam by malkauns.malkauns.nsc.com (SMI-8.6/SMI-SVR4) id OAA24930; Wed, 18 Apr 2001 14:40:45 +0530 Date: Wed, 18 Apr 2001 14:46:13 +0500 (GMT-5) X-Sender: sojan@idc-sw1.nsc.com To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/145 X-Sequence-Number: 2218 Hi, Are you sure the framebuffer device is compiled in? 1. Do you get the penguin boot logo? 2. Check /proc/devices for the fb device (29). The "No such device" error you get is usually because of the driver not being loaded. Regards Sojan. On Wed, 18 Apr 2001, shubhendu wrote: > hi Sreangsu > > > > i want to open /dev/fb* for doing ioctl on it > > > my problem is open always returns -1 > > > > i hope the program was running with root permissions. > > > > why this should make a difference ? > > well i swtiched over to root only after i was not getting > right o/p from simple user > > 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 Wed Apr 18 02:14:09 2001 Received: from saraswati.svrec.ernet.in (unknown [164.100.206.29]) by www.aunet.org (Postfix) with ESMTP id 8AA254A00A for ; Wed, 18 Apr 2001 02:13:25 -0700 (PDT) Received: from vikram.svrec.ernet.in (IDENT:97co266@vikram.svrec.ernet.in [202.141.85.15]) by saraswati.svrec.ernet.in (8.9.3/8.9.3) with ESMTP id OAA01463 for ; Wed, 18 Apr 2001 14:40:58 +0530 Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id OAA30983 for ; Wed, 18 Apr 2001 14:36:00 +0530 Date: Wed, 18 Apr 2001 14:36:00 +0530 (IST) From: shubhendu <97co266@svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: <20010418141643.A46701@yahoo-inc.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/146 X-Sequence-Number: 2219 hi ! > > i want to open /dev/fb* for doing ioctl on it > > my problem is open always returns -1 > > what may be the reason ?? > > How do we know?? Did you try printing out strerror (errno)? > yes i have tried it gives o/p no such device > > Just having the /dev entry is not a substitute for having the actual > DEVICE. > what r the other possible file that may be managing frame buffer in linux RH 6.2 regards shubh From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 02:26:11 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 3D8354A04D for ; Wed, 18 Apr 2001 02:26:08 -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 f3I9Vms18904 for ; Wed, 18 Apr 2001 15:01:48 +0530 Message-ID: <3ADD5DD5.895E3DE@pspl.co.in> Date: Wed, 18 Apr 2001 14:56:45 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/147 X-Sequence-Number: 2220 Hi I guess SVGAlib offers some help on this. May be SDL. but not too sure. Also depends on your requirements... Shridhar shubhendu wrote: > what r the other possible file that may be managing frame buffer > in linux RH 6.2 From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 03:23:10 2001 Received: from saraswati.svrec.ernet.in (unknown [164.100.206.29]) by www.aunet.org (Postfix) with ESMTP id 602294A1A9 for ; Wed, 18 Apr 2001 03:21:26 -0700 (PDT) Received: from vikram.svrec.ernet.in (IDENT:97co266@vikram.svrec.ernet.in [202.141.85.15]) by saraswati.svrec.ernet.in (8.9.3/8.9.3) with ESMTP id OAA01534 for ; Wed, 18 Apr 2001 14:54:53 +0530 Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id OAA32179 for ; Wed, 18 Apr 2001 14:49:55 +0530 Date: Wed, 18 Apr 2001 14:49:55 +0530 (IST) From: shubhendu <97co266@vikram.svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/148 X-Sequence-Number: 2221 > Hi, > Are you sure the framebuffer device is compiled in? > 1. Do you get the penguin boot logo? > 2. Check /proc/devices for the fb device (29). > > The "No such device" error you get is usually because of the driver not > being loaded. > > Regards > Sojan. hi Sojan 1. i what i think there should always be a frame buffer device otherwise how X server can work on my machine .....( its my thinking may be wrong ) so having a penguin boot logo is not the sign of having a framebuffer device btw i dont get any logo at boot time 2. yes in /proc/devices it shows "fb" character device with major device no 29 regards shubh REC-Surat -------------------------- @> i love /( )\ linux ^ ^ -------------------------- From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 03:30:14 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 074684A14D for ; Wed, 18 Apr 2001 03:30:11 -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 f3IAZps20818 for ; Wed, 18 Apr 2001 16:05:51 +0530 Message-ID: <3ADD6CD7.695A4090@pspl.co.in> Date: Wed, 18 Apr 2001 16:00:47 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/149 X-Sequence-Number: 2222 shubhendu wrote: > i what i think there should always be a frame buffer device otherwise > how X server can work on my machine .....( its my thinking may be wrong ) > so having a penguin boot logo is not the sign of having a framebuffer > device AFAIK, X server has drivers for different chipset and hence does not need frame buffer. Frame buffer is only one of the ways to run into graphics mode(Almost if nothing else works). X can very well do without frame buffer. Shridhar From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 03:40:18 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 362834A531 for ; Wed, 18 Apr 2001 03:40:11 -0700 (PDT) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id QAA28829 for ; Wed, 18 Apr 2001 16:14:56 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id QAA04968 for ; Wed, 18 Apr 2001 16:01:38 +0530 Date: Wed, 18 Apr 2001 16:01:36 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: <3ADD6CD7.695A4090@pspl.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/150 X-Sequence-Number: 2223 On Wed, 18 Apr 2001, Shridhar Daithankar wrote: > X can very well do without frame buffer. moreover the frame buffers drivers are in the kernel space, and needs to be specially compiled in. ( i dont know whether the default kernels provided by the distros have this ) -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 03:45:12 2001 Received: from nda.vsnl.net.in (giasdl01.vsnl.net.in [202.54.15.1]) by www.aunet.org (Postfix) with ESMTP id 5B4454A567 for ; Wed, 18 Apr 2001 03:45:10 -0700 (PDT) Received: from dsfinternet.com (unknown [203.197.196.230]) by nda.vsnl.net.in (Postfix) with ESMTP id C279D40F14 for ; Wed, 18 Apr 2001 16:20:06 +0000 (IST) Received: from tomcat.dsf (ws200.dsf [192.168.1.200]) by dsfinternet.com (8.9.3/8.9.3) with SMTP id QAA25809 for ; Wed, 18 Apr 2001 16:10:50 +0530 Received: (qmail 1795 invoked by uid 537); 18 Apr 2001 10:43:13 -0000 Date: Wed, 18 Apr 2001 16:13:13 +0530 From: Sandip Bhattacharya To: linux-india-programmers@lists.linux-india.org Subject: CVS permission problem on commit Message-ID: <20010418161313.A1697@bigfoot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.9i X-HomePage: http://www.sandipb.net X-OS: Linux tomcat.dsf 2.4.2 i686 unknown X-Archive-Number: 200104/151 X-Sequence-Number: 2224 Hi! I am facing this irritating problem with cvs. Whenever I commit a file, CVS changes the permission of the file to read-only. While I am the owner of the file, this requires overriding the readonly flag everytime I save, and Emacs even refuses to let me edit the file! I don't recall this error cropping up before. Wonder whether it has something to do with directory permissions or some other new settings I am using now. BTW, all the directories in my checked out area are setgid to my group. Could this make a difference? TIA, Sandip From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 04:12:01 2001 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id 1C8894A4A7 for ; Wed, 18 Apr 2001 04:11:33 -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 QAA21967 for ; Wed, 18 Apr 2001 16:44:40 +0530 (IST) Received: from ajayd.h1.iitk.ac.in (IDENT:root@[172.31.76.23]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id QAA11532 for ; Wed, 18 Apr 2001 16:29:48 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.h1.iitk.ac.in (8.11.0/8.11.0) with ESMTP id f3IB8i104835 for ; Wed, 18 Apr 2001 16:38:44 +0530 X-Authentication-Warning: ajayd.h1.iitk.ac.in: ajayd owned process doing -bs Date: Wed, 18 Apr 2001 16:38:44 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/152 X-Sequence-Number: 2225 IIRC framebuffer is not supported on i810/i815 On Wed, 18 Apr 2001, shubhendu wrote: > i what i think there should always be a frame buffer device otherwise > how X server can work on my machine .....( its my thinking may be wrong ) > so having a penguin boot logo is not the sign of having a framebuffer > device -- #!!! 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 Apr 18 04:13:26 2001 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id 932E84A6F9 for ; Wed, 18 Apr 2001 04:13: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 QAA22080 for ; Wed, 18 Apr 2001 16:46:02 +0530 (IST) Received: from ajayd.h1.iitk.ac.in (IDENT:root@[172.31.76.23]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id QAA11709 for ; Wed, 18 Apr 2001 16:31:11 +0530 (IST) Received: from localhost (ajayd@localhost) by ajayd.h1.iitk.ac.in (8.11.0/8.11.0) with ESMTP id f3IBA8104842 for ; Wed, 18 Apr 2001 16:40:08 +0530 X-Authentication-Warning: ajayd.h1.iitk.ac.in: ajayd owned process doing -bs Date: Wed, 18 Apr 2001 16:40:08 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-programmers@lists.linux-india.org Subject: Re: CVS permission problem on commit In-Reply-To: <20010418161313.A1697@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/153 X-Sequence-Number: 2226 On Wed, 18 Apr 2001, Sandip Bhattacharya wrote: > Hi! > I am facing this irritating problem with cvs. Whenever I commit a > file, CVS changes the permission of the file to read-only. While I am > the owner of the file, this requires overriding the readonly flag > everytime I save, and Emacs even refuses to let me edit the file! You need to open the file for editing after a commit. The general method is cvs edit [file] cvs update cvs commit cvs edit ..... -- #!!! 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 Apr 18 04:33:34 2001 Received: from saraswati.svrec.ernet.in (unknown [164.100.206.29]) by www.aunet.org (Postfix) with ESMTP id 8FF564A295 for ; Wed, 18 Apr 2001 04:28:44 -0700 (PDT) Received: from vikram.svrec.ernet.in (IDENT:97co266@vikram.svrec.ernet.in [202.141.85.15]) by saraswati.svrec.ernet.in (8.9.3/8.9.3) with ESMTP id QAA02777 for ; Wed, 18 Apr 2001 16:57:13 +0530 Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id QAA05604 for ; Wed, 18 Apr 2001 16:52:16 +0530 Date: Wed, 18 Apr 2001 16:52:16 +0530 (IST) From: shubhendu <97co266@svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/154 X-Sequence-Number: 2227 On Wed, 18 Apr 2001, sreangsu acharyya wrote: > On Wed, 18 Apr 2001, Shridhar Daithankar wrote: > > > X can very well do without frame buffer. > > moreover the frame buffers drivers are in the kernel space, and needs to > be specially compiled in. ( i dont know whether the default kernels > provided by the distros have this ) > so what should be the final moral of the story 1. do RH6.2 default installation have any thing like frame buffer ^^^^^^^^^^^^^^^^^^^^^ 2. If yes where ?? 3. If not Do compiling kernel with such support will enable me to do so what i have studied in how graphics is managed in OS for machine independence is using a framebuffer on wich our program can write and now its task of OS to convert it to physical display, m i right ....? so same should be the things with linux as well yes it is possible that that space is in kernel space .... shubh From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 04:45:56 2001 Received: from saraswati.svrec.ernet.in (unknown [164.100.206.29]) by www.aunet.org (Postfix) with ESMTP id 7F12D4A5EC for ; Wed, 18 Apr 2001 04:45:13 -0700 (PDT) Received: from vikram.svrec.ernet.in (IDENT:97co266@vikram.svrec.ernet.in [202.141.85.15]) by saraswati.svrec.ernet.in (8.9.3/8.9.3) with ESMTP id RAA03032 for ; Wed, 18 Apr 2001 17:13:37 +0530 Received: from localhost (97co266@localhost) by vikram.svrec.ernet.in (8.8.7/8.8.7) with ESMTP id RAA06312 for ; Wed, 18 Apr 2001 17:08:40 +0530 Date: Wed, 18 Apr 2001 17:08:39 +0530 (IST) From: shubhendu <97co266@svrec.ernet.in> To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: <3ADD6CD7.695A4090@pspl.co.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/155 X-Sequence-Number: 2228 > > device > > AFAIK, X server has drivers for different chipset and hence does not need frame > buffer. Frame buffer is only one of the ways to run into graphics mode(Almost if > nothing else works). hi shridhar,sriangsu pls have a look at /usr/src/linux-2.2.14/Documentation/fb/framebuffer.txt line 43 to 57 ( hopefully line no will be same for yr m/c as well mine in RH 6.2) it clearly says that The frame buffer devices are also `normal' memory devices, this means, you can read and write their contents. You can, for example, make a screen snapshot by cp /dev/fb0 myfile There also can be more than one frame buffer at a time, e.g. if you have a graphics card in addition to the built-in hardware. The corresponding frame buffer devices (/dev/fb0 and /dev/fb1 etc.) work independently. Application software that uses the frame buffer device (e.g. the X server) ^^^^^^^^^^^^^^^^^^^^ will use /dev/fb0 by default this is a part of kernel documentation comming with RH distribution so hopefully should be correct regards shubh From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 04:52:05 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id 4AA5B4A134 for ; Wed, 18 Apr 2001 04:52:03 -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 f3IBvfs22946 for ; Wed, 18 Apr 2001 17:27:41 +0530 Message-ID: <3ADD8008.2AD8C09B@pspl.co.in> Date: Wed, 18 Apr 2001 17:22:40 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/156 X-Sequence-Number: 2229 shubhendu wrote: > > > > device > > > > AFAIK, X server has drivers for different chipset and hence does not need frame > > buffer. Frame buffer is only one of the ways to run into graphics mode(Almost if > > nothing else works). > > this is a part of kernel documentation comming with RH distribution > so hopefully should be correct > Yes it's correct. Kernel provies framebuffer for graphical display. However X comes with it's own set of drivers and uses them. If any of pre-built drivers in X does not work, you can opt to use framebuffer driver. So both kernel and X provides their own graphics driver. It's been a long debate about whose duty it is and who has done it better. As a user we have more than one choices. (But it's not always better. If you ever run into troubles with X and you are using frame buffer, you need to manage two beasts, kernel and X. According to some reviews I read, it's a *real* scary job....;-)) Shridhar From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 05:29:41 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 91A434A113 for ; Wed, 18 Apr 2001 05:29:32 -0700 (PDT) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id SAA03755 for ; Wed, 18 Apr 2001 18:04:17 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id RAA10028 for ; Wed, 18 Apr 2001 17:51:05 +0530 Date: Wed, 18 Apr 2001 17:51:05 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/157 X-Sequence-Number: 2230 On Wed, 18 Apr 2001, shubhendu wrote: > pls have a look at /usr/src/linux-2.2.14/Documentation/fb/framebuffer.txt sure will. > The frame buffer devices are also `normal' memory devices, this means, you > can read and write their contents. ok till here, one may need root permissions though >You can, for example, make a screen > snapshot by > > cp /dev/fb0 myfile > > There also can be more than one frame buffer at a time, e.g. if you have a > graphics card in addition to the built-in hardware. The corresponding > frame > buffer devices (/dev/fb0 and /dev/fb1 etc.) work independently. > > Application software that uses the frame buffer device (e.g. the X server) ^^^^^^^^^^^^^^^^^^^^ X will use the framebuffer device if specially asked to do so through the XF86Config file.. so no conclusions as yet, i have to checkup if the default kernel is compiled with the framebuffer or atleast has it as a module. -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 06:08:13 2001 Received: from trinetra.ncb.ernet.in (unknown [202.141.136.157]) by www.aunet.org (Postfix) with ESMTP id 0215E49EFC for ; Wed, 18 Apr 2001 06:08:06 -0700 (PDT) Received: from gdrd05 (gdrd05.ncb.ernet.in [172.16.1.105]) by trinetra.ncb.ernet.in (8.9.3/8.8.7) with SMTP id SAA21342 for ; Wed, 18 Apr 2001 18:41:42 +0530 Message-ID: <00b901c0c809$21bd2a40$690110ac@ncb.ernet.in> Reply-To: "Ajey Y Gore" From: "Ajey Y Gore" To: References: Subject: RH 7.0 Date: Wed, 18 Apr 2001 18:41:50 +0530 Organization: National Centre for Software Technology. 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: 200104/158 X-Sequence-Number: 2231 I want to know about RH 7.0 Mirror site in India? -ajey From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 06:25:44 2001 Received: from utopia.kingsly.net (unknown [203.200.5.83]) by www.aunet.org (Postfix) with ESMTP id 8123D49EFC for ; Wed, 18 Apr 2001 06:25:40 -0700 (PDT) Received: from localhost (kingsly@localhost) by utopia.kingsly.net (8.9.3/8.9.3) with ESMTP id SAA01081 for ; Wed, 18 Apr 2001 18:50:36 +0530 X-Authentication-Warning: utopia.kingsly.net: kingsly owned process doing -bs Date: Wed, 18 Apr 2001 18:50:36 +0530 (IST) From: Kingsly John X-Sender: kingsly@utopia.kingsly.net To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/159 X-Sequence-Number: 2232 On Wed, 18 Apr 2001 sojan@malkauns.nsc.com wrote: |1. Do you get the penguin boot logo? Do all systems with fb support give a penquin boot logo ??? Kingsly .:: Kingsly John ICQ 14787510 ::. -------------------------------------------------- .:: Linux 2.4.3 #7 Tue Apr 17 18:48:39 IST 2001 i686 ::. -------------------------------------------------------- `:. Posted to the list on Wed Apr 18 18:50:00 IST 2001 .:' From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 07:10:53 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id D47544A69A for ; Wed, 18 Apr 2001 07:10:48 -0700 (PDT) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id TAA07931 for ; Wed, 18 Apr 2001 19:45:33 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id TAA14207 for ; Wed, 18 Apr 2001 19:32:19 +0530 Date: Wed, 18 Apr 2001 19:32:19 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/160 X-Sequence-Number: 2233 On Wed, 18 Apr 2001, sreangsu acharyya wrote: > X will use the framebuffer device if specially asked to do so through the > XF86Config file.. eeeks mental typo, that would be a seperate Xserver using the frame buffer. Most likely the grame buffer drovers in your kernel do not have support for your graphics card. I am assuming that the kernel has the frame-buffer compiled in -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 07:36:07 2001 Received: from aditya.pune.gsslco.co.in (unknown [203.129.226.254]) by www.aunet.org (Postfix) with ESMTP id 162C24A13E for ; Wed, 18 Apr 2001 07:36:01 -0700 (PDT) Received: from phoenix.pune.gsslco.co.in (IDENT:sreangsua@phoenix.pune.gsslco.co.in [202.54.80.57]) by aditya.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id UAA08941 for ; Wed, 18 Apr 2001 20:10:45 +0530 (IST) Received: from localhost (sreangsua@localhost) by phoenix.pune.gsslco.co.in (8.9.3/8.9.3) with ESMTP id TAA15083 for ; Wed, 18 Apr 2001 19:57:32 +0530 Date: Wed, 18 Apr 2001 19:57:32 +0530 (IST) From: sreangsu acharyya X-Sender: sreangsua@phoenix.pune.gsslco.co.in To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/161 X-Sequence-Number: 2234 On Wed, 18 Apr 2001, sreangsu acharyya wrote: > buffer. Most likely the grame buffer drovers in your kernel do not have atrocious typos aside, it seems one needs to give some boot parameters to the kernel to enable the fb stuff. Thats what i comprehended from a quick look at the framebuffer Howto. Try giving video=vga16 and see if anything loads -- sreangsu From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 07:39:53 2001 Received: from www.pspl.co.in (www.pspl.co.in [202.54.11.65]) by www.aunet.org (Postfix) with ESMTP id D53D34A36D for ; Wed, 18 Apr 2001 07:39:45 -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 f3IEjNs26614 for ; Wed, 18 Apr 2001 20:15:23 +0530 Message-ID: <3ADDA753.F7F751DB@pspl.co.in> Date: Wed, 18 Apr 2001 20:10:19 +0530 From: Shridhar Daithankar X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200104/162 X-Sequence-Number: 2235 IIRC, PCQ once came up with the article regarding frame buffer. Somewhere last year. Search on PCQ linux articles section on their website/ When I read kernel compile in first para. I just dumped it. I said I don't need this fancy at the cost of kernel compile. Was a bit timid then....;-) Shridhar sreangsu acharyya wrote: > > On Wed, 18 Apr 2001, sreangsu acharyya wrote: > > > buffer. Most likely the grame buffer drovers in your kernel do not have > > atrocious typos aside, it seems one needs to give some boot parameters to > the kernel to enable the fb stuff. Thats what i comprehended from a quick > look at the framebuffer Howto. Try giving video=vga16 and see if anything > loads From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 08:31:54 2001 Received: from utopia.kingsly.net (unknown [203.200.1.42]) by www.aunet.org (Postfix) with ESMTP id A38044A29A for ; Wed, 18 Apr 2001 08:31:49 -0700 (PDT) Received: from localhost (kingsly@localhost) by utopia.kingsly.net (8.9.3/8.9.3) with ESMTP id UAA00876 for ; Wed, 18 Apr 2001 20:25:32 +0530 X-Authentication-Warning: utopia.kingsly.net: kingsly owned process doing -bs Date: Wed, 18 Apr 2001 20:25:32 +0530 (IST) From: Kingsly John X-Sender: kingsly@utopia.kingsly.net To: linux-india-programmers@lists.linux-india.org Subject: Re: RH 7.0 In-Reply-To: <00b901c0c809$21bd2a40$690110ac@ncb.ernet.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200104/163 X-Sequence-Number: 2236 On Wed, 18 Apr 2001, Ajey Y Gore wrote: |I want to know about RH 7.0 Mirror site in India? Hathway has a mirror for linuxberg I think.... and you may find RH7.x there. Kingsly .:: Kingsly John ICQ 14787510 ::. -------------------------------------------------- .:: Linux 2.4.3 #7 Tue Apr 17 18:48:39 IST 2001 i686 ::. -------------------------------------------------------- `:. Posted to the list on Wed Apr 18 20:25:05 IST 2001 .:' From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 10:08:35 2001 Received: from snipe.mail.pas.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by www.aunet.org (Postfix) with ESMTP id 6E32C4A2E0 for ; Wed, 18 Apr 2001 10:08:29 -0700 (PDT) Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by snipe.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA11399 for ; Wed, 18 Apr 2001 10:07:19 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id KAA28831 for linux-india-programmers@lists.linux-india.org; Wed, 18 Apr 2001 10:03:28 -0700 Date: Wed, 18 Apr 2001 10:03:28 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: CVS permission problem on commit Message-ID: <20010418100328.B28786@sharmas.dhs.org> References: <20010418161313.A1697@bigfoot.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from ajayd@iitk.ac.in on Wed, Apr 18, 2001 at 04:40:08PM +0530 X-Archive-Number: 200104/164 X-Sequence-Number: 2237 On Wed, Apr 18, 2001 at 04:40:08PM +0530, Dwivedi Ajay kumar wrote: > On Wed, 18 Apr 2001, Sandip Bhattacharya wrote: > > > Hi! > > I am facing this irritating problem with cvs. Whenever I commit a > > file, CVS changes the permission of the file to read-only. While I am > > the owner of the file, this requires overriding the readonly flag > > everytime I save, and Emacs even refuses to let me edit the file! > > You need to open the file for editing after a commit. The general > method is > cvs edit [file] > cvs update > cvs commit > cvs edit > ..... This is true of other revision control systems, but I don't think this was the default behavior with CVS. Has it changed recently ? -Arun From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 10:08:42 2001 Received: from swan.mail.pas.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by www.aunet.org (Postfix) with ESMTP id 1C2D84A2E0 for ; Wed, 18 Apr 2001 10:06:11 -0700 (PDT) Received: from sharmas.dhs.org (cpe-66-1-147-119.ca.sprintbbd.net [66.1.147.119]) by swan.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id KAA16798 for ; Wed, 18 Apr 2001 10:04:50 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id KAA28815 for linux-india-programmers@lists.linux-india.org; Wed, 18 Apr 2001 10:01:03 -0700 Date: Wed, 18 Apr 2001 10:01:03 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: error in reading frame-buffer device Message-ID: <20010418100103.A28786@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 sreangsua@geometricsoftware.com on Wed, Apr 18, 2001 at 12:48:36PM +0530 X-Archive-Number: 200104/165 X-Sequence-Number: 2238 On Wed, Apr 18, 2001 at 12:48:36PM +0530, sreangsu acharyya wrote: > On Wed, 18 Apr 2001, shubhendu wrote: > > > i want to open /dev/fb* for doing ioctl on it > > my problem is open always returns -1 > > i hope the program was running with root permissions. > Actually a better option is to: addgroup fbusers add yourself to that group chown root:fbusers /dev/fb* chmod g+rw /dev/fb* -Arun From linux-india-programmers-owner@lists.linux-india.org Wed Apr 18 11:07:48 2001 Received: by www.aunet.org (Postfix, from userid 1000) id 033F14A1A1; Wed, 18 Apr 2001 11:07:46 -0700 (PDT) Date: Wed, 18 Apr 2001 11:07:45 -0700 From: Sudhakar Chandra To: linux-india-programmers@lists.linux-india.org Subject: [Announce] LIP list being moved to lists.sourceforge.net Message-ID: <20010418110742.A4700@aunet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Archive-Number: 200104/166 X-Sequence-Number: 2239 Hi, This is a VERY IMPORTANT announcement. So please take a few minutes to read through it. As I announced a couple of months back, I am retiring from my post of List Admin. After a lengthy search, I found that the best place to move the LI mailing lists is lists.sourceforge.net. I have decided to start the move beginning with the LIP mailing list. A few hours after I send out this email, I will begin migrating the user database from my machine over to lists.sourceforge.net After migrating the usert databse, I will also send out a test message from the lists's new home. Please be patient. I do not expect any large scale breakage. But I do expect (as any good admin should) at least one or two things to break a bit. Please send me a personal email at thaths@aunet.org giving me full details if you encounter a problem with the new home of the LIP mailing list. Also, I'll update my /etc/aliases file to redirect incoming LIP postings to the new LIP list to take care of messages addressed to the old list already in the ether. After a week of seeing how things go, I will migrate the LIH anf LIG lists. Outgoing List Admin -- pub 1024R/9B7FE6BD 1998-03-25 Sudhakar Chandrasekharan Key fingerprint = 8A 84 2E 67 10 9A 64 03 24 38 B6 AB 1B 6E 8C E4 uid Sudhakar Chandrasekharan