From linux-india-programmers-owner@lists.linux-india.org Wed Aug 2 13:48:03 2000 Received: from eth.net (unknown [202.9.145.10]) by www.aunet.org (Postfix) with ESMTP id 5F58938071 for ; Mon, 31 Jul 2000 22:57:08 -0700 (PDT) Received: from eth.net ([10.2.1.41]) by eth.net with Microsoft SMTPSVC(5.5.1877.117.11); Tue, 1 Aug 2000 11:23:07 +0530 Received: from cranks ([202.9.150.168]) by eth.net with Microsoft SMTPSVC(5.5.1877.357.35); Tue, 1 Aug 2000 11:25:01 +0530 Message-ID: <003f01bffb7e$83e5f4c0$a89609ca@cranks> Reply-To: "Chetan Gopal Kashinath" From: "Chetan Gopal Kashinath" To: "LIP" Subject: 's' bit for class file Date: Tue, 1 Aug 2000 11:34:19 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-Archive-Number: 200008/1 hi everybody, Ajay, thanks :-) the System.getProperty("user.name") checks the effective user id and that is exactly what is required..... but there is a small prob no class file has execute access but can be executed hence even setting the s-bit of the class file wont help.... only the owner of the file and root can execute getProperty()... here is what i have done public PermissionFileOperation(){ // the constructor System.out.println("executing cons of pfo"); System.out.println("calling get user name"); GetUserName(); } private void GetUserName(){ System.out.println("get user name executing ....... "); UserName=System.getProperty("user.name"); System.out.println(UserName); } now when owner runs ..... o/p is --------------------------------- executing cons of pfo calling get user name get user name executing project ( owner ) when root runs it ----------------- executing cons of pfo calling get user name get user name executing root when any other user runs it ---------------------------- executing cons of pfo what might be the reason ???? the same thing happens when 1. no class file has execute permissions 2. the class files have execute permission to everybody 3. the s-bit of the class file has been set i even tried writing a shell script to run the class file and setting its s-bit..... no use :-( can anybody explain whats happening ??? thanks - chetu From linux-india-programmers-owner@lists.linux-india.org Wed Aug 2 13:53:15 2000 Received: from eth.net (unknown [202.9.145.10]) by www.aunet.org (Postfix) with ESMTP id D79A338050 for ; Wed, 2 Aug 2000 06:50:54 -0700 (PDT) Received: from eth.net ([10.2.1.41]) by eth.net with Microsoft SMTPSVC(5.5.1877.117.11); Wed, 2 Aug 2000 19:16:35 +0530 Received: from cranks ([202.9.170.136]) by eth.net with Microsoft SMTPSVC(5.5.1877.357.35); Wed, 2 Aug 2000 19:18:15 +0530 Message-ID: <000d01bffc89$d301e8a0$88aa09ca@cranks> Reply-To: "Chetan Gopal Kashinath" From: "Chetan Gopal Kashinath" To: "LIP" Subject: Runtime.exec() Date: Wed, 2 Aug 2000 19:27:37 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-Archive-Number: 200008/2 hi, i am having problems with this method.... it wont let me change my current working direc... and IOException saying : cd: not found occurs, chdir also has the same prob... but mv, rm, etc.. works fine..... anybody who has had the same prob b4 ??? any solutions ?? this is what i am trying to do 1. read a users login name as command line parameter 2. change into his home directory ( if permitted ) 3. run a java class file ( whose suid bit has been set... ) i am doing step 2 because "java " works BUT "java " does not work :-( thank you - chetu From linux-india-programmers-owner@lists.linux-india.org Sun Aug 6 10:36:36 2000 Received: by www.aunet.org (Postfix, from userid 1000) id 5207C4A00A; Sun, 6 Aug 2000 10:36:19 -0700 (PDT) Date: Sun, 6 Aug 2000 10:36:19 -0700 From: Sudhakar Chandra To: linux-delhi@lists.linux-india.org, linux-india-help@lists.linux-india.org, linux-india-general@lists.linux-india.org, linux-india-programmers@lists.linux-india.org Subject: [Announce] LI mailing lists restored Message-ID: <20000806103619.A2398@aunet.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Mutt/1.0.1i X-Archive-Number: 200008/2 Hi, As all of you should have figured out by now the Linux India mailing lists were down for over 3 days. The hard disk on lists.linux-india.org started getting corrupted and I decided to bring the machine down. A quick fsck-ing of the disk revealed that a lot of my configuration was lost. Luckily, the subscriber lists for the various mailing lists and the archives for most were intact. I bought a new hard disk and installed Debian 2.2 / frozen / potato on it. I am slowly recreating the environment that existed on this machine. The first step in this process is the recreation of the mailing lists. Here are some notes about the recreated lists: * The archives of linux-delhi were lost. Raju (or anyone), if you have mbox files of the archives, please email me. * If you had ever set a password for your subscription to majordomo2, it has been changed. You will have to reset your password. * The IRC server will be available in a couple of days. * As far as I can tell, everything is fine. If anything is not working properly, please email me with full information. * Some of the filtering for HTML and other formatted emails is lost. Please bear with me as I recreate those filters from scratch. Thank you for your patience. Your Friendly List Admin From linux-india-programmers-owner@lists.linux-india.org Sun Aug 6 10:45:16 2000 Received: from www.cdfd.org.in (unknown [202.54.67.145]) by www.aunet.org (Postfix) with ESMTP id 282624A017; Sun, 6 Aug 2000 10:44:55 -0700 (PDT) Received: from localhost (indraneel@localhost) by www.cdfd.org.in (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id XAA12594; Sun, 6 Aug 2000 23:20:41 -0700 (PDT) Date: Sun, 6 Aug 2000 23:20:41 -0700 (PDT) From: Indraneel Majumdar To: linux-india-help@HOST.aunet.org Cc: linux-delhi@lists.linux-india.org, linux-india-help@lists.linux-india.org, linux-india-general@lists.linux-india.org, linux-india-programmers@lists.linux-india.org Subject: Re: [LIH] [Announce] LI mailing lists restored In-Reply-To: <20000806103619.A2398@aunet.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/3 Thank you for bravely maintaining the lists. All of the listed stand beside you. On Sun, 6 Aug 2000, Sudhakar Chandra wrote: > Hi, > > As all of you should have figured out by now the Linux India mailing lists > were down for over 3 days. The hard disk on lists.linux-india.org started > getting corrupted and I decided to bring the machine down. A quick > fsck-ing of the disk revealed that a lot of my configuration was lost. > Luckily, the subscriber lists for the various mailing lists and the > archives for most were intact. > > I bought a new hard disk and installed Debian 2.2 / frozen / potato on it. > I am slowly recreating the environment that existed on this machine. The > first step in this process is the recreation of the mailing lists. > > Here are some notes about the recreated lists: > > * The archives of linux-delhi were lost. Raju (or anyone), if you have > mbox files of the archives, please email me. > > * If you had ever set a password for your subscription to majordomo2, it > has been changed. You will have to reset your password. > > * The IRC server will be available in a couple of days. > > * As far as I can tell, everything is fine. If anything is not working > properly, please email me with full information. > > * Some of the filtering for HTML and other formatted emails is lost. > Please bear with me as I recreate those filters from scratch. > > Thank you for your patience. > > Your Friendly List Admin > > ---------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIH > From linux-india-programmers-owner@lists.linux-india.org Sun Aug 6 11:17:33 2000 Received: from tango.SoftHome.net (tango.SoftHome.net [204.144.231.49]) by www.aunet.org (Postfix) with SMTP id D5E034A02C for ; Sun, 6 Aug 2000 11:17:31 -0700 (PDT) Received: (qmail 17885 invoked by uid 417); 6 Aug 2000 18:25:49 -0000 Received: from unknown (HELO d) (203.197.210.178) by smtpb.softhome.net with SMTP; 6 Aug 2000 18:25:49 -0000 Date: Sun, 6 Aug 2000 23:47:31 -0800 From: deepak yadav Reply-To: deepakyadav@india.com To: linux-india-programmers , linux-delhi@lists.linux-india.or Subject: info on backup utility X-mailer: FoxMail 2.1 [en] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <20000806181731.D5E034A02C@www.aunet.org> X-Archive-Number: 200008/4 hi i want to make a backup utility for a LAN as my minor project in college. help me with links on this topic. thanks ----------------------------- reply soon bye __ deepak __ have a great day ICQ 30662394 -- No program done by an undergrad will work after she graduates. From linux-india-programmers-owner@lists.linux-india.org Mon Aug 7 00:18:35 2000 Received: from giasdl01.vsnl.net.in (giasdl01.vsnl.net.in [202.54.15.1]) by www.aunet.org (Postfix) with ESMTP id 062A74A029 for ; Mon, 7 Aug 2000 00:18:24 -0700 (PDT) Received: from d ([202.54.101.198]) by giasdl01.vsnl.net.in (8.9.2/8.9.2) with SMTP id MAA26750 for ; Mon, 7 Aug 2000 12:50:48 +0500 (GMT+0500) Message-Id: <200008070750.MAA26750@giasdl01.vsnl.net.in> Date: Mon, 7 Aug 2000 12:48:17 -0800 From: deepak yadav Reply-To: deepakyadav@india.com To: linux-india-programmers Subject: servlets : RequestDispatcher X-mailer: FoxMail 2.1 [en] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/5 hi i am making a website using servlets(jsdk2.1) . i am sending an html page using RequestDispatcher . my problem is that when i use doGet method the servlets sends the page but if i change it to doPost and call the servlet through some form , the browser shows up "cannot find server error" . though the window in which servletserver is running does nt show any error. the RequestDispatcher object is not null but it is still not forwarding the request. also please tell if there are any specific mailing list for servlets (general java lists would also do). thanks ----------------------------- reply soon bye __ deepak __ have a great day ICQ 30662394 -- Computers talk to each other worse than their designers do. From linux-india-programmers-owner@lists.linux-india.org Mon Aug 7 02:59:24 2000 Received: from edelweb.fr (edelweb.fr [193.51.12.16]) by www.aunet.org (Postfix) with ESMTP id A59B04A029 for ; Mon, 7 Aug 2000 02:59:19 -0700 (PDT) Received: from exchange.intranet.globeid.com (localhost.edelweb.fr [127.0.0.1]) by edelweb.fr with ESMTP id LAA01209 for ; Mon, 7 Aug 2000 11:59:10 +0200 (MET DST) Received: from exchange.intranet.globeid.com (globeid-67.26.rev.fr.colt.net [213.41.26.67]) by edelweb.fr (nospam/1.3); Mon, 7 Aug 2000 11:59:10 +0200 (MET DST) Received: from chet ([10.70.8.14]) by exchange.intranet.globeid.com with Microsoft SMTPSVC(5.0.2172.1); Mon, 7 Aug 2000 11:57:13 +0200 Message-ID: <004101c00057$90a633e0$0e08460a@paris.globeid.com> From: "Ouriel Grynszpan" To: "linux-india-programmers" References: <20000806181731.D5E034A02C@www.aunet.org> Subject: Re: info on backup utility Date: Mon, 7 Aug 2000 12:09:25 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-OriginalArrivalTime: 07 Aug 2000 09:57:13.0565 (UTC) FILETIME=[DC5C98D0:01C00055] X-Archive-Number: 200008/6 hello, You could check the Amanda site (which is a generic backup utility for UNIX) : http://www.amanda.org It could inspire you with ideas. Ouriel ----- Original Message ----- From: "deepak yadav" To: "linux-india-programmers" ; "linux-delhi@lists.linux-india.or" Sent: Monday, August 07, 2000 9:47 AM Subject: [LIP] info on backup utility > hi > i want to make a backup utility for a LAN as my minor project in college. help me with links on this topic. > thanks > > > > ----------------------------- > reply soon > bye > > __ deepak __ > > have a great day > ICQ 30662394 > > -- No program done by an undergrad will work after she graduates. > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ From linux-india-programmers-owner@lists.linux-india.org Mon Aug 7 03:42:32 2000 Received: from shardagate.mahindrabt.com (unknown [206.102.1.162]) by www.aunet.org (Postfix) with ESMTP id 2DDAE4A014 for ; Mon, 7 Aug 2000 03:42:28 -0700 (PDT) Received: (from uucp@localhost) by shardagate.mahindrabt.com (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id QAA02558; Mon, 7 Aug 2000 16:12:14 +0530 Received: from UNKNOWN(10.4.0.15), claiming to be "intranet.pune.mahindrabt.com" via SMTP by shardagate, id smtpdaIfTFB; Mon Aug 7 16:12:10 2000 Received: from [10.5.2.167] (IDENT:rajeevj@[10.5.2.167]) by intranet.pune.mahindrabt.com (8.9.3/8.9.3) with ESMTP id QAA15764; Mon, 7 Aug 2000 16:09:16 +0530 Date: Mon, 7 Aug 2000 16:13:35 +0530 (IST) From: Rajeev Jha X-Sender: rajeevj@localhost.localdomain To: deepakyadav@india.com Cc: linux-india-programmers Subject: Re: servlets : RequestDispatcher In-Reply-To: <200008070750.MAA26750@giasdl01.vsnl.net.in> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/7 hi list india has the highest number of java-related lists, just go to java.sun.com and find out , it is another thing how most of them are you wrote >>hi you wrote >>also please tell if there are any specific mailing list for servlets (general java lists would also do). you wrote >> you wrote >>thanks you wrote >> Alcohol, hashish, prussic acid, strychnine are weak dilutions. The surest poison is time. -- Emerson, "Society and Solitude" RedHat 6.1 Cartman kernel 2.2.12-20 Composed in pine ___________________________________________________________ | Rajeev Jha | Email : rajeevj@mahindrabt.com (20) 5424301 -1126 | Sharda centre ______________________|______________________________________ From linux-india-programmers-owner@lists.linux-india.org Mon Aug 7 18:37:30 2000 Received: from eth.net (unknown [202.9.145.10]) by www.aunet.org (Postfix) with ESMTP id 05FF54A049 for ; Mon, 7 Aug 2000 18:37:23 -0700 (PDT) Received: from eth.net ([10.2.1.41]) by eth.net with Microsoft SMTPSVC(5.5.1877.117.11); Tue, 8 Aug 2000 07:03:08 +0530 Received: from cranks ([202.9.150.148]) by eth.net with Microsoft SMTPSVC(5.5.1877.357.35); Tue, 8 Aug 2000 06:57:59 +0530 Message-ID: <000401c000d9$52f58820$949609ca@cranks> Reply-To: "Chetan Gopal Kashinath" From: "Chetan Gopal Kashinath" To: References: Subject: Re: servlets : RequestDispatcher Date: Mon, 7 Aug 2000 22:37:46 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Archive-Number: 200008/8 ----- Original Message ----- From: deepak yadav Subject: [LIP] servlets : RequestDispatcher > hi > i am making a website using servlets(jsdk2.1) . i am sending an html page using RequestDispatcher . my problem is that when i use doGet method the servlets sends the page but if i change it to doPost and call the servlet through some form , the browser shows up "cannot find server error" . though the window in which servletserver is running does nt show any error. the RequestDispatcher object is not null but it is still not forwarding the request. > hi deepak, i am not very sure but this may be ur problem..... in ur html page.... the submit button tag has a property---- method="foo" if foo.equals(get) then the request is handled by doGet() in ur servlet and if the foo.equals(post) then doPost() handles the request.... if u change the doGet() method to doPost() method...... u should change ur html code accordingly. hope this helped ;-) - chetu From linux-india-programmers-owner@lists.linux-india.org Mon Aug 7 20:49:43 2000 Received: from md3.vsnl.net.in (md3.vsnl.net.in [202.54.6.35]) by www.aunet.org (Postfix) with ESMTP id 3F0C74A19F for ; Mon, 7 Aug 2000 20:49:38 -0700 (PDT) Received: from server.mcs.com ([210.212.251.19]) by md3.vsnl.net.in (8.9.3/8.9.3) with ESMTP id JAA16406 for ; Tue, 8 Aug 2000 09:11:18 +0530 (IST) Received: from localhost (anand@localhost) by server.mcs.com (8.9.3/8.8.7) with ESMTP id JAA01149 for ; Tue, 8 Aug 2000 09:08:54 +0530 Date: Tue, 8 Aug 2000 09:08:54 +0530 (IST) From: "Lakshmi Anand K." X-Sender: anand@server.mcs.com To: Linux India Programmers List Subject: Java Doubts Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/9 Hi, We are developing software in JSP (have successfully switched from VB :) We have the following problems: 1. How do I get a Calender from a Date object and Vice versa? 2. With date, month and year known how do I get Date object for it? 3. How do I print out reports? Please help. ---------------- Lakshmi Anand K. MSPV Group, Pavoorchatram From linux-india-programmers-owner@lists.linux-india.org Thu Aug 10 04:04:10 2000 Received: from accord-soft.com (unknown [164.164.69.252]) by www.aunet.org (Postfix) with ESMTP id 91A3C4A31F for ; Thu, 10 Aug 2000 04:04:00 -0700 (PDT) Received: from accord-soft.com (R.k.patil [192.168.1.15]) by accord-soft.com (8.9.3/8.9.3) with ESMTP id PAA20074 for ; Thu, 10 Aug 2000 15:54:04 +0530 Message-ID: <399282C3.375C10C9@accord-soft.com> Date: Thu, 10 Aug 2000 15:54:03 +0530 From: RK Patil Organization: Accord Software & Systems Pvt. Ltd. X-Mailer: Mozilla 4.7 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: LIP Subject: TEST MESSAGE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/10 From linux-india-programmers-owner@lists.linux-india.org Mon Aug 14 00:32:22 2000 Received: from mailweb4.rediffmail.com (unknown [202.54.124.149]) by www.aunet.org (Postfix) with SMTP id 17E0C4A02C for ; Mon, 14 Aug 2000 00:32:08 -0700 (PDT) Received: (qmail 12197 invoked by uid 510); 14 Aug 2000 07:29:21 -0000 Date: 14 Aug 2000 07:29:21 -0000 Message-ID: <20000814072921.12196.qmail@mailweb4.rediffmail.com> MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: setting our own Cursor in Java From: "OxCAFE BABE" Content-ID: Content-type: text/plain Content-Description: Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/11 Hi all! Can someone guide me how I can set the cursor in java(1.1.8). I dont want to use the predefined cursors, but want to use a Gif image as the cursor. Regards, CAFEBABE _________________________________________________ Get Your Free Email At, http://www.rediffmail.com Partcipate in crazy Re.1 auctions at http://www.rediff.com/auctions From linux-india-programmers-owner@lists.linux-india.org Mon Aug 14 03:12:46 2000 Received: from svrhydmail.hydbad.tcs.co.in (unknown [196.12.38.40]) by www.aunet.org (Postfix) with SMTP id 70BE34A0B2 for ; Mon, 14 Aug 2000 03:12:38 -0700 (PDT) Received: from hydbad.tcs.co.in ([172.19.8.214]) by svrhydmail.hydbad.tcs.co.in (Lotus SMTP MTA v4.6.3 (733.2 10-16-1998)) with SMTP id 6525693B.00382FD1; Mon, 14 Aug 2000 15:43:42 +0530 Message-ID: <39971CB0.6748B171@hydbad.tcs.co.in> Date: Mon, 14 Aug 2000 03:39:52 +0530 From: " Ravi Prakash B.V." X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Linux India Programmers Subject: java script: crypto Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/12 Hi to all, I am using "crypto.signTo" function for signing a document. It is working nicely with netscape but it is giving an error with IE saying that "crypto is not a object". Can u please help in it or suggest for some other equivalent code in anyother client side scripting language. Thanks in advance & regards, Ravi Prakash From linux-india-programmers-owner@lists.linux-india.org Mon Aug 14 05:33:20 2000 Received: from mailscan.teil.soft.net (unknown [164.164.10.219]) by www.aunet.org (Postfix) with SMTP id 50C214A1C6 for ; Mon, 14 Aug 2000 05:32:25 -0700 (PDT) Received: FROM teil.soft.net BY mailscan.teil.soft.net ; Mon Aug 14 18:03:32 2000 +0500 Received: from teil.soft.net (¤¤ °164.10.176 [164.164.10.176] (may be forged)) by teil.soft.net (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id SAA86957 for ; Mon, 14 Aug 2000 18:00:16 +0530 (IST) Message-ID: <3997E853.6D02D259@teil.soft.net> Date: Mon, 14 Aug 2000 18:08:43 +0530 From: "Madhu Sudhan.S" X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: Linux India Programmers Subject: Shell-Creation. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/13 Hello Everybody, Can any one on the list please educate me on how to Create a private Unix Shell of my own, allowing only a few basic simple commands on that to work on that, like the ls, cd, etc.,. Other commands, like su, etc., should throw an error "Command not found". Anticipating quick reply ...... Regards Madhu Sudhan.S From linux-india-programmers-owner@lists.linux-india.org Mon Aug 14 05:57:18 2000 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id D3F2D4A00F for ; Mon, 14 Aug 2000 05:56:58 -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 SAA29516 for ; Mon, 14 Aug 2000 18:28:18 +0530 (IST) Received: from ajayd.cc.iitk.ac.in ([172.31.80.32]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id SAA19576 for ; Mon, 14 Aug 2000 18:21:00 +0530 (IST) Date: Mon, 14 Aug 2000 18:25:15 +0530 (IST) From: Dwivedi Ajay kumar To: Linux India Programmers Subject: Re: Shell-Creation. In-Reply-To: <3997E853.6D02D259@teil.soft.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/14 On Mon, 14 Aug 2000, Madhu Sudhan.S wrote: > Can any one on the list please educate me on how to Create a private > Unix Shell of my own, allowing only a few basic simple commands on that There is a thing like bash --restricted. It does restrict changing the PATH variable and cd'ing above the home directory. I hope you can set the PATH variable to ~/bin, copy the commands you want him to use to ~/bin. The shell will not allow it to use the commands like /usr/bin or anyother with a / in the command. > to work on that, like the ls, cd, etc.,. Other commands, like su, etc., > should > throw an error "Command not found". Hopefully reading the docs will give u the complete info. Bye and EnjoyLife.... -- #!!! 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 Aug 16 02:34:09 2000 Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202]) by www.aunet.org (Postfix) with ESMTP id 8D0F94A208 for ; Wed, 16 Aug 2000 02:34:07 -0700 (PDT) Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19]) by atlrel2.hp.com (Postfix) with ESMTP id EC6A41157 for ; Wed, 16 Aug 2000 05:33:20 -0400 (EDT) Received: from kayak.india.hp.com (kayak.india.hp.com [15.10.44.200]) by l3107mxr.atl.hp.com (Postfix) with ESMTP id 6187D4FD86 for ; Wed, 16 Aug 2000 04:33:12 -0400 (EDT) Received: from india.hp.com (nt4175.india.hp.com [15.10.41.75]) by kayak.india.hp.com with ESMTP (8.9.3 (PHNE_18979)/8.7.1) id PAA19378 for ; Wed, 16 Aug 2000 15:04:47 +0530 (IST) Message-ID: <399A5FA6.D4444B8@india.hp.com> Date: Wed, 16 Aug 2000 15:02:22 +0530 From: "Satheesh Kumar. N.K" Organization: Hewlett-Packard, India Software Operations X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: "linux-india-programmers@lists.linux-india.org" Subject: Thread Programming Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/15 Hi, Can you please suggest me a reference guide/book for Thread Programming under Linux/Unix environment? Thanks in advance. Satheesh From linux-india-programmers-owner@lists.linux-india.org Wed Aug 16 02:42:29 2000 Received: from arianne.ishoni.com (unknown [164.164.83.132]) by www.aunet.org (Postfix) with ESMTP id C46CA4A156 for ; Wed, 16 Aug 2000 02:42:15 -0700 (PDT) Received: from kedar.in.ishoni.com (IDENT:kedar@kedar.in.ishoni.com [192.168.1.75]) by arianne.ishoni.com (8.9.3/8.9.3) with ESMTP id PAA30722 for ; Wed, 16 Aug 2000 15:14:46 +0530 Date: Wed, 16 Aug 2000 15:16:44 +0530 (IST) From: Kedar Patankar X-Sender: kedar@kedar.in.ishoni.com To: "linux-india-programmers@lists.linux-india.org" Subject: Re: Thread Programming In-Reply-To: <399A5FA6.D4444B8@india.hp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/16 > Can you please suggest me a reference guide/book for Thread Programming > under Linux/Unix environment? Oreilly's book on PThreads. I think an indian edition is also available. From linux-india-programmers-owner@lists.linux-india.org Wed Aug 16 02:43:20 2000 Received: from nwd2dns5.analog.com (nwd2gtw1.analog.com [137.71.23.34]) by www.aunet.org (Postfix) with ESMTP id BB5384A2B3 for ; Wed, 16 Aug 2000 02:43:06 -0700 (PDT) Received: from nwd2gtw1 (root@nwd2gtw1dmz1 [137.71.25.98]) by nwd2dns5.analog.com (8.9.3 (PHNE_18979)/8.9.3) with SMTP id FAA10136 for ; Wed, 16 Aug 2000 05:42:19 -0400 (EDT) Received: from ipdc_tokyo.spd.analog.com (root@ipdc_tokyo.spd.analog.com [137.71.79.135]) by zeus.spd.analog.com (8.8.6/8.8.6) with ESMTP id FAA00094 for ; Wed, 16 Aug 2000 05:42:13 -0400 (EDT) Received: from analog.com (IDENT:kouzik@ipdc_tokyo.spd.analog.com [137.71.79.135]) by ipdc_tokyo.spd.analog.com (8.9.3/8.8.7) with ESMTP id PAA12800 for ; Wed, 16 Aug 2000 15:17:05 +0530 Message-ID: <399A6319.A3F9289F@analog.com> Date: Wed, 16 Aug 2000 15:17:05 +0530 From: Kousik Nandy Organization: Analog Devices Inc. X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Thread Programming References: <399A5FA6.D4444B8@india.hp.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/17 "Satheesh Kumar. N.K" wrote: > Can you please suggest me a reference guide/book for Thread > Programming under Linux/Unix environment? Have a look at http://pauillac.inria.fr/~xleroy/linuxthreads/ HTH, Kousik -- Kousik Nandy ANALOG DEVICES, 26 Palmgrove Road Bangalore-47 INDIA Ring: 91 80 5305467 x 2225 Fax: 91 80 5305198 From linux-india-programmers-owner@lists.linux-india.org Wed Aug 16 03:44:53 2000 Received: from moses.myownemail.com (unknown [208.24.118.204]) by www.aunet.org (Postfix) with SMTP id 0C31B4A0B0 for ; Wed, 16 Aug 2000 03:44:50 -0700 (PDT) Received: from jazzandjava.com [208.24.118.204] by moses.myownemail.com (SMTPD32-6.00) id A28C6210084; Wed, 16 Aug 2000 05:53:00 -0500 Message-ID: <199122000831610530466@jazzandjava.com> X-EM-Version: 5, 0, 0, 4 X-EM-Registration: #01E0520310450300B900 X-Priority: 3 X-Mailer: My Own Email v4.00 alpha From: "Sandeep Sundaram" To: linux-india-programmers@lists.linux-india.org Subject: boot problems Date: Wed, 16 Aug 2000 05:53:00 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Archive-Number: 200008/18 Hi, I am running RH 6.1 on my machine. During boot up, the system takes a very long time for starting the system logger. It stays at that point for almost 8 minutes. I faced similar problems with http and sendmail, which I have disabled now. But I am not able to figure out as to why the system logger is taking such a long time. I have not been able to find a work around for this. Any help regarding this will be appreciated. TIA, Sandeep Sundaram ---------------------------------------------------------------------------- --------------------------------------------------------- People say that there is a WOMAN behind the SUCCESS of every MAN. Well, experience says that FARTHER the woman, MORE the success !! ---------------------------------------------------------------------------- ------------------------------------------------------- _____________________________________________ Free email with personality! Over 200 domains! http://www.MyOwnEmail.com From linux-india-programmers-owner@lists.linux-india.org Wed Aug 16 07:12:53 2000 Received: from hotmail.com (f52.law8.hotmail.com [216.33.241.52]) by www.aunet.org (Postfix) with ESMTP id 26E1B4A00F for ; Wed, 16 Aug 2000 07:12:52 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 16 Aug 2000 07:12:05 -0700 Received: from 203.197.135.102 by lw8fd.law8.hotmail.msn.com with HTTP; Wed, 16 Aug 2000 GMT X-Originating-IP: [203.197.135.102] From: "Adityan Murthy" To: linux-india-programmers@lists.linux-india.org Subject: Turbo C++, DJGPP and GNU C/C++ Date: Wed, 16 Aug 2000 19:42:05 IST Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Aug 2000 14:12:05.0419 (UTC) FILETIME=[F4BC17B0:01C0078B] X-Archive-Number: 200008/19 Hi All! I have a DOS based paintbrush like program that i wrote in Turbo C++. I managed to get Graphics working under DJGPP and would like to port my program. Unfortunately, there seems to be no Graphics Library (similar to Graphics.h under Turbo C++) which i can use to call some of the commonly used graphic routines like line, circle etc. Are there any such libraries? Also, I am very much interested in porting the program to Linux too. Will the same graphics commands in DJGPP work under GNU C/C++? If not, what is the method of accessing the Video memory using GNU C/c++? Thanks in advance, Adityan ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com From linux-india-programmers-owner@lists.linux-india.org Wed Aug 16 09:44:14 2000 Received: from brahma.roc.com (unknown [202.54.67.219]) by www.aunet.org (Postfix) with ESMTP id EF76B4A115 for ; Wed, 16 Aug 2000 09:44:06 -0700 (PDT) Received: from SCORPIO (root@machine12.roc.com [172.16.1.22]) by brahma.roc.com (8.8.5/8.8.5) with SMTP id WAA22250 for ; Wed, 16 Aug 2000 22:18:16 +0530 (IST) From: Rajesh Bhattacharya Reply-To: rajub@trinc.com Organization: Intoto Software(I) Pvt. Ltd. To: linux-india-programmers@lists.linux-india.org Date: Wed, 16 Aug 2000 22:10:36 -0500 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <00081622130500.02697@SCORPIO> Content-Transfer-Encoding: quoted-printable X-Archive-Number: 200008/20 Hi All, Is there any standard function call (except inet_aton kind of stuff) that checks only for the validity of IP address? Cheers, Rajesh. =20 From linux-india-programmers-owner@lists.linux-india.org Wed Aug 16 11:04:55 2000 Received: from cix.exocore.com (unknown [202.141.1.225]) by www.aunet.org (Postfix) with ESMTP id B01CE4A12C for ; Wed, 16 Aug 2000 11:04:49 -0700 (PDT) Received: (from madhu@localhost) by cix.exocore.com (8.9.3/8.8.7) id XAA17906 for linux-india-programmers@lists.linux-india.org; Wed, 16 Aug 2000 23:33:51 +0530 Date: Wed, 16 Aug 2000 23:33:51 +0530 From: "Madhu M. Kurup" To: linux-india-programmers@lists.linux-india.org Subject: Re: Turbo C++, DJGPP and GNU C/C++ Message-ID: <20000816233351.A17892@exocore.com> Reply-To: "Madhu M. Kurup" References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from ad_it@hotmail.com on Wed, Aug 16, 2000 at 07:42:05PM +0200 X-Archive-Number: 200008/21 Adityan Murthy encoded : >managed to get Graphics working under DJGPP and would like to port my >program. Unfortunately, there seems to be no Graphics Library (similar to >Graphics.h under Turbo C++) which i can use to call some of the commonly >used graphic routines like line, circle etc. Are there any such libraries? Obviously, you haven't heard of Allegro, the library under which Quake was developed! :-)) Go to http://www.midpec.com or http://www.delorie.com/djgpp there is a conversion utility I think that can convert your BC pgms into Allegro format. I wonder if it's any use, anyone else's input on this would be welcome. >Also, I am very much interested in porting the program to Linux too. Will >the same graphics commands in DJGPP work under GNU C/C++? If not, what is >the method of accessing the Video memory using GNU C/c++? That I think is the beauty of Allegro, develop on DOS and turn the code around and recpile on Linux to get a port working, right out of the box! And before anyone asks, the DOS version also supports ncurses, so you can create your favourite TUI (Text UserInterface) on DOS and port happily to Linux! Cheerio, M Madhu M Kurup /* Nemo Me Impune Lacessit */ madhu@exocore.com From linux-india-programmers-owner@lists.linux-india.org Wed Aug 16 11:16:42 2000 Received: from giasbg01.vsnl.net.in (giasbg01.vsnl.net.in [202.54.12.17]) by www.aunet.org (Postfix) with ESMTP id 2B6C94A19D for ; Wed, 16 Aug 2000 11:16:38 -0700 (PDT) Received: from localhost.localdomain (IDENT:root@[203.200.0.117]) by giasbg01.vsnl.net.in (8.9.3/8.9.3) with ESMTP id XAA15667 for ; Wed, 16 Aug 2000 23:50:17 +0500 (GMT+0500) Received: (from mrinal@localhost) by localhost.localdomain (8.9.3/8.9.3) id XAA05013 for linux-india-programmers@lists.linux-india.org; Wed, 16 Aug 2000 23:45:45 +0530 Date: Wed, 16 Aug 2000 23:45:45 +0530 From: Mrinal Kalakrishnan To: linux-india-programmers@lists.linux-india.org Subject: Re: Turbo C++, DJGPP and GNU C/C++ Message-ID: <20000816234545.A4829@india.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <20000816233351.A17892@exocore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.6i In-Reply-To: <20000816233351.A17892@exocore.com>; from madhu@exocore.com on Wed, Aug 16, 2000 at 11:33:51PM +0530 X-Mailer: Mutt 1.3.6i (2000-07-28) X-Operating-System: Linux 2.2.16 X-Editor: VIM - Vi IMproved 5.6 X-URL: http://www.geocities.com/mrinal/ Organization: Jobless after finishing school! X-Archive-Number: 200008/22 Hi, Madhu M. Kurup typed: > And before anyone asks, the DOS version also supports ncurses, so > you can create your favourite TUI (Text UserInterface) on DOS and > port happily to Linux! Grrr... why couldn't you tell me this when I needed it?! I desperately needed a DOS+Linux screen library, and posted the list about it as well. I finally ended up not making a TUI at all.. leaving it at just "printf"s! :-) -- Mrinal Kalakrishnan http://mrinal.dhs.org/ Linux 2.2.16 || PGP:B1E86F5B || Mutt 1.3.6i (2000-07-28) || VIM 5.6 -- But what can you do with it? -- ubiquitous cry from Linux-user partner. (Submitted by Andy Pearce, ajp@hpopd.pwd.hp.com) From linux-india-programmers-owner@lists.linux-india.org Wed Aug 16 12:10:43 2000 Received: from web2102.mail.yahoo.com (web2102.mail.yahoo.com [128.11.68.246]) by www.aunet.org (Postfix) with SMTP id A69AC4A0AC for ; Wed, 16 Aug 2000 12:10:41 -0700 (PDT) Received: (qmail 3586 invoked by uid 60001); 16 Aug 2000 19:09:53 -0000 Message-ID: <20000816190953.3585.qmail@web2102.mail.yahoo.com> Received: from [202.144.64.4] by web2102.mail.yahoo.com; Wed, 16 Aug 2000 12:09:53 PDT Date: Wed, 16 Aug 2000 12:09:53 -0700 (PDT) From: Rajeev Joseph Reply-To: rajeevjsv@yahoo.com Subject: Re: Turbo C++, DJGPP and GNU C/C++ To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200008/23 Well, for DOS get Allegro For linux, ud have to use something like SVGALib or the XServer to actually do graphics, cuz i dont think the linux os lets u access video memory like in DOS. rajeev jsv aka mrmojorisin --- Adityan Murthy wrote: > Hi All! > > I have a DOS based paintbrush like program that i > wrote in Turbo C++. I > managed to get Graphics working under DJGPP and > would like to port my > program. Unfortunately, there seems to be no > Graphics Library (similar to > Graphics.h under Turbo C++) which i can use to call > some of the commonly > used graphic routines like line, circle etc. Are > there any such libraries? > > Also, I am very much interested in porting the > program to Linux too. Will > the same graphics commands in DJGPP work under GNU > C/C++? If not, what is > the method of accessing the Video memory using GNU > C/c++? > > Thanks in advance, > > Adityan > ________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com > > > --------------------------------------------- > An alpha version of a web based tool to manage > your subscription with this mailing list is at > http://lists.linux-india.org/cgi-bin/mj_wwwusr __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Wed Aug 16 21:52:23 2000 Received: from svrhydmail.hydbad.tcs.co.in (unknown [196.12.38.40]) by www.aunet.org (Postfix) with SMTP id F1E194A09A for ; Wed, 16 Aug 2000 21:52:13 -0700 (PDT) Received: from hydbad.tcs.co.in ([172.19.8.214]) by svrhydmail.hydbad.tcs.co.in (Lotus SMTP MTA v4.6.3 (733.2 10-16-1998)) with SMTP id 6525693E.001AD791; Thu, 17 Aug 2000 10:23:11 +0530 Message-ID: <399AC61A.1284206@hydbad.tcs.co.in> Date: Wed, 16 Aug 2000 22:19:30 +0530 From: " Ravi Prakash B.V." X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Linux India Programmers Subject: Re: java script: crypto References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/24 Hi to all, I didnt receive any reply till now... Can anyone help in it....yaar.. Thanks, Ravi Prakash " Ravi Prakash B.V." wrote: > Hi to all, > I am using "crypto.signTo" function for signing a document. It is > working nicely with netscape but it is giving an error with IE saying > that "crypto is not a object". > Can u please help in it or suggest for some other equivalent code in > anyother client side scripting language. > > Thanks in advance & regards, > Ravi Prakash > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. From linux-india-programmers-owner@lists.linux-india.org Thu Aug 17 10:44:14 2000 Received: from bom3.vsnl.net.in (bom3.vsnl.net.in [202.54.4.24]) by www.aunet.org (Postfix) with ESMTP id 10AB44A221 for ; Thu, 17 Aug 2000 10:43:53 -0700 (PDT) Received: from linbox.linux.org ([202.54.92.94]) by bom3.vsnl.net.in (8.9.0/8.9.0) with ESMTP id XAA32732 for ; Thu, 17 Aug 2000 23:12:35 +0530 (IST) Received: (from gautam@localhost) by linbox.linux.org (8.9.3/8.9.3) id VAA01010 for linux-india-programmers@lists.linux-india.org; Thu, 17 Aug 2000 21:52:28 +0530 Date: Thu, 17 Aug 2000 21:52:27 +0530 From: Gautam Mani To: LIP Subject: sendmail problem Message-ID: <20000817215227.B964@linbox.linux.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline User-Agent: Mutt/1.2i X-Operating-System: Linux 2.4.0-test6 i586 X-Archive-Number: 200008/25 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I work on a Linux box at work and want to send mail to our mailserver throu= gh sendmail. I use the DS (smart host) option in the sendmail.cf file. My prob= lem=20 is that how can I avoid making sendmail do a host lookup? All I want it to = do is just blindly relay non-local mail to the external mail-server. Any solutions? Bye. Gautam --=20 To iterate is human, to recurse, divine. --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.0 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE5nBFDcQskLqN/QKARAvn2AJ9OUl5IN1kzlocAv29XRFRmS9QZWQCfVFp1 q7wH6w89f1lLcMr+APAeMG8= =irwK -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6-- From linux-india-programmers-owner@lists.linux-india.org Thu Aug 17 23:06:17 2000 Received: from svrhydmail.hydbad.tcs.co.in (unknown [196.12.38.40]) by www.aunet.org (Postfix) with SMTP id A21E54A123 for ; Thu, 17 Aug 2000 23:06:07 -0700 (PDT) Received: from hydbad.tcs.co.in ([172.19.8.214]) by svrhydmail.hydbad.tcs.co.in (Lotus SMTP MTA v4.6.3 (733.2 10-16-1998)) with SMTP id 6525693F.00219AD8; Fri, 18 Aug 2000 11:37:03 +0530 Message-ID: <399C28F0.254BE7F9@hydbad.tcs.co.in> Date: Thu, 17 Aug 2000 23:33:28 +0530 From: " Ravi Prakash B.V." X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.12-20smp i686) X-Accept-Language: en MIME-Version: 1.0 To: Linux India Programmers Subject: openLDAP error Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/26 Hi to all, I am trying to configure openLDAP. As given in the documentation in the openLDAP site i have succedded in setting the initial configurations. But when i am trying to add a dn(distinguished name) entry it gives the error "LDAP ADD:No Such Object". I have gone through the faq but all of the suggestions that have been menntioned are working properly.But eventhough i am getting this error. Can anyone help in solving this one out. Moreover I didnt find any proper documentation for this LDAP. Is there any site or link where i can get a proper documentation about how it works. Thanks in advance, Ravi From linux-india-programmers-owner@lists.linux-india.org Fri Aug 18 02:22:08 2000 Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210]) by www.aunet.org (Postfix) with ESMTP id C168A49F61 for ; Fri, 18 Aug 2000 02:21:52 -0700 (PDT) Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19]) by atlrel1.hp.com (Postfix) with ESMTP id 4C31A1A9 for ; Fri, 18 Aug 2000 05:20:54 -0400 (EDT) Received: from kayak.india.hp.com (kayak.india.hp.com [15.10.44.200]) by l3107mxr.atl.hp.com (Postfix) with ESMTP id B44084FD84 for ; Fri, 18 Aug 2000 04:20:48 -0400 (EDT) Received: from india.hp.com (nt4175.india.hp.com [15.10.41.75]) by kayak.india.hp.com with ESMTP (8.9.3 (PHNE_18979)/8.7.1) id OAA21571 for ; Fri, 18 Aug 2000 14:52:25 +0530 (IST) Message-ID: <399CFFDE.A5CF6678@india.hp.com> Date: Fri, 18 Aug 2000 14:50:30 +0530 From: "Satheesh Kumar. N.K" Organization: Hewlett-Packard, India Software Operations X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: boot problems References: <199122000831610530466@jazzandjava.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/27 Sandeep, I faced similar problem with httpd and sendmail. I stumbled upon a solution(?), which worked for me. I don't know the actual cause. I think httpd/sendmail wait for maybe, some kind of response from the local system using system name. I noticed that ping on the local system was not working. However, ping on loopback interface IP address was working well. I sensed some kinda config problem. I just did a n/w configuration from scratch and it worked for me!! I don't know 'bout system logger. I know it all appears vague, but lemme tell u again, it worked for me :-) Satheesh Sandeep Sundaram wrote: > Hi, > > I am running RH 6.1 on my machine. During boot up, the system takes > a very long time for starting the system logger. It stays at that point for > almost 8 minutes. I faced similar problems with http and sendmail, which I > have disabled now. But I am not able to figure out as to why the system > logger is taking such a long time. I have not been able to find a work > around for this. Any help regarding this will be appreciated. > > TIA, > > Sandeep Sundaram > > ---------------------------------------------------------------------------- > --------------------------------------------------------- > People say that there is a WOMAN behind the SUCCESS of every MAN. > Well, experience says that FARTHER the woman, MORE the success !! > ---------------------------------------------------------------------------- > ------------------------------------------------------- > > _____________________________________________ > Free email with personality! Over 200 domains! > http://www.MyOwnEmail.com > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. From linux-india-programmers-owner@lists.linux-india.org Fri Aug 18 02:23:20 2000 Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210]) by www.aunet.org (Postfix) with ESMTP id 26B7F4A0A1 for ; Fri, 18 Aug 2000 02:23:18 -0700 (PDT) Received: from l3107mxr.atl.hp.com (l3107mxr.atl.hp.com [15.19.254.19]) by atlrel1.hp.com (Postfix) with ESMTP id F3F2317E for ; Fri, 18 Aug 2000 05:22:23 -0400 (EDT) Received: from kayak.india.hp.com (kayak.india.hp.com [15.10.44.200]) by l3107mxr.atl.hp.com (Postfix) with ESMTP id 7C97D4FD90 for ; Fri, 18 Aug 2000 04:22:18 -0400 (EDT) Received: from india.hp.com (nt4175.india.hp.com [15.10.41.75]) by kayak.india.hp.com with ESMTP (8.9.3 (PHNE_18979)/8.7.1) id OAA21576 for ; Fri, 18 Aug 2000 14:53:55 +0530 (IST) Message-ID: <399D0038.82DC4E2F@india.hp.com> Date: Fri, 18 Aug 2000 14:52:00 +0530 From: "Satheesh Kumar. N.K" Organization: Hewlett-Packard, India Software Operations X-Mailer: Mozilla 4.04 [en] (WinNT; I) MIME-Version: 1.0 To: "linux-india-programmers@lists.linux-india.org" Subject: C startup routine Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/28 I was trying to grep the libc source code for the routine which invokes 'main' routine of application programs. Can someone tell me the name of this routine, the filename and the patch in libc sources?? Thanks in advance. Satheesh From linux-india-programmers-owner@lists.linux-india.org Fri Aug 18 02:36:04 2000 Received: from mailscan.teil.soft.net (unknown [164.164.10.219]) by www.aunet.org (Postfix) with SMTP id A500B4A107 for ; Fri, 18 Aug 2000 02:35:42 -0700 (PDT) Received: FROM teil.soft.net BY mailscan.teil.soft.net ; Fri Aug 18 15:06:44 2000 +0500 Received: from teil.soft.net (¤¤ °164.10.176 [164.164.10.176] (may be forged)) by teil.soft.net (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id PAA11097 for ; Fri, 18 Aug 2000 15:03:21 +0530 (IST) Message-ID: <399D04DD.6CB079DA@teil.soft.net> Date: Fri, 18 Aug 2000 15:11:50 +0530 From: "Madhu Sudhan.S" X-Mailer: Mozilla 4.6 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Shell-Creation. References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/29 Hi everybody, I was expecting few replies from all of U. Any more pointers to the same->, I want a shell which has root permissions of wring some system files under /etc, but should not have many other commands which usual shells have. Thanks in anticipation, Madhu Sudhan.S Dwivedi Ajay kumar wrote: > On Mon, 14 Aug 2000, Madhu Sudhan.S wrote: > > > Can any one on the list please educate me on how to Create a private > > Unix Shell of my own, allowing only a few basic simple commands on that > > There is a thing like bash --restricted. It does restrict > changing the PATH variable and cd'ing above the home directory. I hope you > can set the PATH variable to ~/bin, copy the commands you want him to use > to ~/bin. The shell will not allow it to use the commands like /usr/bin or > anyother with a / in the command. > > > to work on that, like the ls, cd, etc.,. Other commands, like su, etc., > > should > > throw an error "Command not found". > > Hopefully reading the docs will give u the complete info. > > Bye and EnjoyLife.... > -- > > #!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY) > > Ajay kumar Dwivedi > ajayd@iitk.ac.in > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP From linux-india-programmers-owner@lists.linux-india.org Fri Aug 18 02:59:48 2000 Received: from md4.vsnl.net.in (md4.vsnl.net.in [202.54.6.60]) by www.aunet.org (Postfix) with ESMTP id B6DB74A144 for ; Fri, 18 Aug 2000 02:58:06 -0700 (PDT) Received: from pagladashu.lateralsoftware.com ([203.199.229.249]) by md4.vsnl.net.in (8.9.3/8.9.3) with SMTP id PAA02441 for ; Fri, 18 Aug 2000 15:32:25 +0530 (IST) From: Archan Paul Reply-To: kernelcoder@yahoo.com To: linux-india-programmers@lists.linux-india.org Subject: Re: boot problems Date: Fri, 18 Aug 2000 15:13:28 +0530 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain References: <199122000831610530466@jazzandjava.com> In-Reply-To: <199122000831610530466@jazzandjava.com> MIME-Version: 1.0 Message-Id: <00081815182305.01271@pagladashu.lateralsoftware.com> Content-Transfer-Encoding: 8bit X-Archive-Number: 200008/30 Hi Sandeep, this is a typical RH62 problem.... Linuxconf-->Config-->Networking-->Client Tasks --> Basic Host Information then write the FQDN(fully qualified domain name) in "Host Name" tag then clear the "Primary Name + Domain" and "Aliases " Tag... and then reboot Hope ur prob will be solved..... thanx Archan Paul Lateral Linux Labs archanp@bigfoot.com ps. BTW, if u made some thing wrong with ur hostname configurations then clear it...... On Wed, 16 Aug 2000, you wrote: > Hi, > > I am running RH 6.1 on my machine. During boot up, the system takes > a very long time for starting the system logger. It stays at that point for > almost 8 minutes. I faced similar problems with http and sendmail, which I > have disabled now. But I am not able to figure out as to why the system > logger is taking such a long time. I have not been able to find a work > around for this. Any help regarding this will be appreciated. > > TIA, > > Sandeep Sundaram > From linux-india-programmers-owner@lists.linux-india.org Fri Aug 18 03:00:03 2000 Received: from md4.vsnl.net.in (md4.vsnl.net.in [202.54.6.60]) by www.aunet.org (Postfix) with ESMTP id B280B4A14D for ; Fri, 18 Aug 2000 02:58:08 -0700 (PDT) Received: from pagladashu.lateralsoftware.com ([203.199.229.249]) by md4.vsnl.net.in (8.9.3/8.9.3) with SMTP id PAA02472 for ; Fri, 18 Aug 2000 15:32:27 +0530 (IST) From: Archan Paul Reply-To: kernelcoder@yahoo.com To: linux-india-programmers@lists.linux-india.org Subject: Re: Shell-Creation. Date: Fri, 18 Aug 2000 15:19:08 +0530 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain References: In-Reply-To: MIME-Version: 1.0 Message-Id: <00081815212806.01271@pagladashu.lateralsoftware.com> Content-Transfer-Encoding: 8bit X-Archive-Number: 200008/31 Hi Madhu, I had written a very simple simulation of Shell for demonstration in my old days .... If u want, then I will send u the code.... (provided I have to search my old archieve CDs) It was written on the top of Linux-bash... Archan Paul Lateral Linux Labs archanp@bigfoot.com On Mon, 14 Aug 2000, you wrote: > On Mon, 14 Aug 2000, Madhu Sudhan.S wrote: > > > Can any one on the list please educate me on how to Create a private > > Unix Shell of my own, allowing only a few basic simple commands on that > > There is a thing like bash --restricted. It does restrict > changing the PATH variable and cd'ing above the home directory. I hope you > can set the PATH variable to ~/bin, copy the commands you want him to use > to ~/bin. The shell will not allow it to use the commands like /usr/bin or > anyother with a / in the command. > > > to work on that, like the ls, cd, etc.,. Other commands, like su, etc., > > should > > throw an error "Command not found". > > Hopefully reading the docs will give u the complete info. > > Bye and EnjoyLife.... > -- > > #!!! 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 Fri Aug 18 03:00:09 2000 Received: from md4.vsnl.net.in (md4.vsnl.net.in [202.54.6.60]) by www.aunet.org (Postfix) with ESMTP id 427894A03F for ; Fri, 18 Aug 2000 02:58:10 -0700 (PDT) Received: from pagladashu.lateralsoftware.com ([203.199.229.249]) by md4.vsnl.net.in (8.9.3/8.9.3) with SMTP id PAA02496 for ; Fri, 18 Aug 2000 15:32:29 +0530 (IST) From: Archan Paul Reply-To: kernelcoder@yahoo.com To: linux-india-programmers@lists.linux-india.org Subject: Re: Turbo C++, DJGPP and GNU C/C++ Date: Fri, 18 Aug 2000 15:23:09 +0530 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain References: <20000816233351.A17892@exocore.com> <20000816234545.A4829@india.com> In-Reply-To: <20000816234545.A4829@india.com> MIME-Version: 1.0 Message-Id: <00081815245607.01271@pagladashu.lateralsoftware.com> Content-Transfer-Encoding: 8bit X-Archive-Number: 200008/31 Hi all, Use SDL.... It is great.... I am using that to do the stuff. BTW, the Tc++ based BGI lib based progs won't work in Linux... Archan Paul Lateral Linux Labs archanp@bigfoot.com ps. Please don't ask me on SDL i am learning On Wed, 16 Aug 2000, you wrote: > Hi, > > Madhu M. Kurup typed: > > And before anyone asks, the DOS version also supports ncurses, so > > you can create your favourite TUI (Text UserInterface) on DOS and > > port happily to Linux! > > Grrr... why couldn't you tell me this when I needed it?! I desperately > needed a DOS+Linux screen library, and posted the list about it as > well. I finally ended up not making a TUI at all.. leaving it at just > "printf"s! :-) > > -- > Mrinal Kalakrishnan http://mrinal.dhs.org/ > Linux 2.2.16 || PGP:B1E86F5B || Mutt 1.3.6i (2000-07-28) || VIM 5.6 From linux-india-programmers-owner@lists.linux-india.org Fri Aug 18 05:51:07 2000 Received: from mail-relay-vsat2.ernet.in (unknown [202.41.99.9]) by www.aunet.org (Postfix) with ESMTP id 633714A021 for ; Fri, 18 Aug 2000 05:50:39 -0700 (PDT) Received: from vishak.reccal.ernet.in ([202.41.105.25]) by mail-relay-vsat2.ernet.in (8.9.3/8.9.3) with ESMTP id QAA24369 for ; Fri, 18 Aug 2000 16:27:54 +0530 Received: (from hrms@localhost) by vishak.reccal.ernet.in (8.8.7/8.8.7) id SAA32599; Fri, 18 Aug 2000 18:02:31 +0530 Date: Fri, 18 Aug 2000 18:02:30 +0530 (IST) From: "Mr. H. R. MAHADEVASWAMY" To: linux-india-programmers@lists.linux-india.org Subject: problems with allocating large amounts of memory. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/32 I'm trying out a fractal image compression algorithm which requires large amounts of memory (more than the default heap size). I need to increase the amount of heap space available or if necessary make malloc allocate more memory than is available as RAM (32 Mb) by swapping or something. If anyone out there has a solution to this, do let me know at the earliest. Please mail me personally because I am not a subscriber of this list. P.S. I am using the gcc compiler. thanks in advance. ######################################################### H.R.MAHADEVASWAMY M.Tech.,MISTE, MIETE Research Scholar Ph: 91-0495-286318(room) ECED, REC, Calicut 286718(Lab) Kerala, India 286660(Residence) Pin : 673 601 email : hrms@vishak.reccal.ernet.in ######################################################### From linux-india-programmers-owner@lists.linux-india.org Fri Aug 18 07:59:35 2000 Received: from web1611.mail.yahoo.com (web1611.mail.yahoo.com [128.11.23.177]) by www.aunet.org (Postfix) with SMTP id 7693049F63 for ; Fri, 18 Aug 2000 07:59:33 -0700 (PDT) Received: (qmail 26485 invoked by uid 60001); 18 Aug 2000 13:11:57 -0000 Message-ID: <20000818131157.26484.qmail@web1611.mail.yahoo.com> Received: from [205.227.43.15] by web1611.mail.yahoo.com; Fri, 18 Aug 2000 06:11:57 PDT Date: Fri, 18 Aug 2000 06:11:57 -0700 (PDT) From: =?iso-8859-1?q?Arvind=20Devarajan?= Reply-To: arvindd@india.com Subject: Re: boot problems 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: 200008/33 hi sandeep/archan, i had a similar problem too... solved it by adding these lines in /etc/hosts (basically, archan's way of doing it with linuxconf would do this too): . by the way, if your PC is a standalone PC, you can choose any host name, and any domain name - it does not matter. the default /etc/hosts file should work i guess: 127.0.0.1 localhost localhost.localdomain to this, you could add this line: 127.0.0.1 myhost myhost.mydomain and, makesure that the file /etc/sysconfig/network contains the line: HOSTNAME="myhost" rgds, arvind. --- Archan Paul wrote: > Hi Sandeep, > this is a typical RH62 problem.... > > Linuxconf-->Config-->Networking-->Client Tasks --> > Basic Host Information > then write the FQDN(fully qualified domain name) in > "Host Name" tag > then clear the "Primary Name + Domain" and "Aliases > " Tag... > and then reboot > > Hope ur prob will be solved..... > > thanx > Archan Paul > Lateral Linux Labs > archanp@bigfoot.com > > ps. BTW, if u made some thing wrong with ur hostname > configurations then clear > it...... > > On Wed, 16 Aug 2000, you wrote: > > Hi, > > > > I am running RH 6.1 on my machine. During > boot up, the system takes > > a very long time for starting the system logger. > It stays at that point for > > almost 8 minutes. I faced similar problems with > http and sendmail, which I > > have disabled now. But I am not able to figure out > as to why the system > > logger is taking such a long time. I have not been > able to find a work > > around for this. Any help regarding this will be > appreciated. > > > > TIA, > > > > Sandeep Sundaram > > > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Fri Aug 18 09:01:30 2000 Received: from ewey.excite.com (ewey-rwcmta.excite.com [198.3.99.191]) by www.aunet.org (Postfix) with ESMTP id 7049D4A00E for ; Fri, 18 Aug 2000 09:01:29 -0700 (PDT) Received: from knuckles.excite.com ([199.172.148.179]) by ewey.excite.com (InterMail vM.4.01.02.39 201-229-119-122) with ESMTP id <20000818160034.CFUK24890.ewey.excite.com@knuckles.excite.com> for ; Fri, 18 Aug 2000 09:00:34 -0700 Message-ID: <704490.966614434002.JavaMail.imail@knuckles.excite.com> Date: Fri, 18 Aug 2000 09:00:34 -0700 (PDT) From: honne gowda gowda To: linux-india-programmers@lists.linux-india.org Subject: driver for AD1674 based ADC Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Excite Inbox X-Sender-Ip: 203.197.174.49 X-Archive-Number: 200008/34 hello, i am doing project on data acquisition sytem on linux, i am having an ADI card which includes ADC(AD1674), 3 timers, 2 DAC(AD7541).the project is using linux as the OS. but i didn't find the neccessary driver for this card. can anybody point me to get the driver for this ADC. i don't know how to write an driver. thanks in advance honne _______________________________________________________ Say Bye to Slow Internet! http://www.home.com/xinbox/signup.html From linux-india-programmers-owner@lists.linux-india.org Fri Aug 18 11:25:12 2000 Received: from netscape.com (h-205-217-237-47.netscape.com [205.217.237.47]) by www.aunet.org (Postfix) with ESMTP id 04E884A00A for ; Fri, 18 Aug 2000 11:25:11 -0700 (PDT) Received: from judge.mcom.com (judge.mcom.com [205.217.237.53]) by netscape.com (8.10.0/8.10.0) with ESMTP id e7IIIbY01302 for ; Fri, 18 Aug 2000 11:18:37 -0700 (PDT) Received: from netscape.com ([208.12.45.34]) by judge.mcom.com (Netscape Messaging Server 4.15) with ESMTP id FZI34E01.ONW for ; Fri, 18 Aug 2000 11:24:14 -0700 Message-ID: <399D7F4E.6F972AF6@netscape.com> Date: Fri, 18 Aug 2000 11:24:14 -0700 From: Sudhakar Chandra Organization: A Doubleplusgood Mega Corporation X-Mailer: Mozilla 4.75b1 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en, fr MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: java script: crypto References: <399AC61A.1284206@hydbad.tcs.co.in> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/35 " Ravi Prakash B.V." proclaimed: > I didnt receive any reply till now... Can anyone help in it....yaar.. I suggetst that you search http://developer.microsoft.com/ Thaths -- Marge: Besides, it's not just his chiseled good looks. "People" magazine says he's a devoted father, goes to church every week, and likes to fix things around the.... Homer, let's make love. Homer: Uh, okay. [The lights go out. The lights come on] Homer: Uh, you're thinking about me, right? Marge: Of course, Homey. Aren't you thinking about me? Homer: I will now. [The lights go off again] Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave From linux-india-programmers-owner@lists.linux-india.org Fri Aug 18 11:26:25 2000 Received: from netscape.com (h-205-217-237-46.netscape.com [205.217.237.46]) by www.aunet.org (Postfix) with ESMTP id F2B544A00C for ; Fri, 18 Aug 2000 11:26:23 -0700 (PDT) Received: from judge.mcom.com (judge.mcom.com [205.217.237.53]) by netscape.com (8.10.0/8.10.0) with ESMTP id e7IIFre15904 for ; Fri, 18 Aug 2000 11:15:53 -0700 (PDT) Received: from netscape.com ([208.12.45.34]) by judge.mcom.com (Netscape Messaging Server 4.15) with ESMTP id FZI36F00.WOC for ; Fri, 18 Aug 2000 11:25:27 -0700 Message-ID: <399D7F97.1CB2F553@netscape.com> Date: Fri, 18 Aug 2000 11:25:27 -0700 From: Sudhakar Chandra Organization: A Doubleplusgood Mega Corporation X-Mailer: Mozilla 4.75b1 [en] (X11; U; Linux 2.2.17 i686) X-Accept-Language: en, fr MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: openLDAP error References: <399C28F0.254BE7F9@hydbad.tcs.co.in> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/36 " Ravi Prakash B.V." proclaimed: > I am trying to configure openLDAP. As given in the documentation in the > openLDAP site i have succedded in setting the initial configurations. > But when i am trying to add a dn(distinguished name) entry it gives > the error "LDAP ADD:No Such Object". This is NOT a programming question. It is more of a tech support question. Please do not post these to the linux-india-programmers list. The linux-india-help list is a better place to post these. Thaths -- Marge: Besides, it's not just his chiseled good looks. "People" magazine says he's a devoted father, goes to church every week, and likes to fix things around the.... Homer, let's make love. Homer: Uh, okay. [The lights go out. The lights come on] Homer: Uh, you're thinking about me, right? Marge: Of course, Homey. Aren't you thinking about me? Homer: I will now. [The lights go off again] Sudhakar C13n http://www.aunet.org/thaths/ Lead Indentured Slave From linux-india-programmers-owner@lists.linux-india.org Sat Aug 19 00:05:12 2000 Received: from web9203.mail.yahoo.com (web9203.mail.yahoo.com [216.136.129.36]) by www.aunet.org (Postfix) with SMTP id B73924A042 for ; Sat, 19 Aug 2000 00:04:57 -0700 (PDT) Message-ID: <20000819070359.16005.qmail@web9203.mail.yahoo.com> Received: from [164.100.244.230] by web9203.mail.yahoo.com; Sat, 19 Aug 2000 00:03:59 PDT Date: Sat, 19 Aug 2000 00:03:59 -0700 (PDT) From: Amwillsu Varghese To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200008/37 I have just installed the Linux OS as our server yesterday. I also have installed the Squid package. But now the problem is i am unable to get Hotmail on the network computers. --Amwillsu Varghese __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Sat Aug 19 01:13:01 2000 Received: from www.cdfd.org.in (unknown [202.54.67.145]) by www.aunet.org (Postfix) with ESMTP id 59E044A0D2 for ; Sat, 19 Aug 2000 01:12:29 -0700 (PDT) Received: from localhost (indraneel@localhost) by www.cdfd.org.in (980427.SGI.8.8.8/970903.SGI.AUTOCF) via SMTP id NAA22150 for ; Sat, 19 Aug 2000 13:47:34 -0700 (PDT) Date: Sat, 19 Aug 2000 13:47:30 -0700 (PDT) From: Indraneel Majumdar To: linux-india-programmers@lists.linux-india.org Subject: Re: In-Reply-To: <20000819070359.16005.qmail@web9203.mail.yahoo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Archive-Number: 200008/38 Don't worry, that is a known problem with the M$ "passport protocol". Just ask your users to change their accounts - will be better in the long run for them, you, and other administrators who will be dealing with your users. \Indraneel On Sat, 19 Aug 2000, Amwillsu Varghese wrote: > I have just installed the Linux OS as our server > yesterday. I also have installed the Squid package. > But now the problem is i am unable to get Hotmail on > the network computers. >=20 > --Amwillsu Varghese >=20 /************************************************************************. # Indraneel Majumdar =A1 E-mail: indraneel@123india.com # # Bioinformatics Unit (EMBNET node), =A1 URL: http://scorpius.iwarp.com # # Centre for DNA Fingerprinting and Diagnostics, # # Hyderabad, India - 500076 # `************************************************************************/ From linux-india-programmers-owner@lists.linux-india.org Sat Aug 19 07:10:19 2000 Received: from inbound.satyam.net.in (unknown [202.144.76.6]) by www.aunet.org (Postfix) with ESMTP id 5C59D4A174 for ; Sat, 19 Aug 2000 07:09:58 -0700 (PDT) Received: from computer3 (210.214.109.142) by inbound.satyam.net.in (NPlex 4.5.051) id 399D630F00011913 for linux-india-programmers@lists.linux-india.org; Sat, 19 Aug 2000 14:05:08 +0000 Message-ID: <000d01c0098d$f179bd60$8e6dd6d2@computer3> From: "Madhusudhan Rao" To: References: <20000819070359.16005.qmail@web9203.mail.yahoo.com> Subject: Re: Date: Sat, 19 Aug 2000 11:31:04 +0800 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: 200008/39 i had a similar problem. it could be a problem with your routing. go to resolv.conf under /etc/ppp or under /etc. you will find the nameserver IP (202.144.105.4 for satyamonline in hyderabad.) then give the command: route add -host 202.144.105.4 eth0 it should work. for more details see man pages for route. madhu ----- Original Message ----- From: Amwillsu Varghese To: Sent: Saturday, August 19, 2000 3:03 PM Subject: [LIP] > I have just installed the Linux OS as our server > yesterday. I also have installed the Squid package. > But now the problem is i am unable to get Hotmail on > the network computers. > > --Amwillsu Varghese > > __________________________________________________ > Do You Yahoo!? > Send instant messages & get email alerts with Yahoo! Messenger. > http://im.yahoo.com/ > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. From linux-india-programmers-owner@lists.linux-india.org Sat Aug 19 10:47:17 2000 Received: from giasdl01.vsnl.net.in (giasdl01.vsnl.net.in [202.54.15.1]) by www.aunet.org (Postfix) with ESMTP id 8A5B44A222 for ; Sat, 19 Aug 2000 10:46:46 -0700 (PDT) Received: from d ([203.197.210.150]) by giasdl01.vsnl.net.in (8.9.2/8.9.2) with SMTP id XAA26834 for ; Sat, 19 Aug 2000 23:18:15 +0500 (GMT+0500) Message-Id: <200008191818.XAA26834@giasdl01.vsnl.net.in> Date: Sat, 19 Aug 2000 23:15:33 +0500 From: pipeline Reply-To: deepak2000@india.com To: "linux-india-programmers@lists.linux-india.org" Subject: Re: Re: Shell-Creation. X-mailer: FoxMail 2.1 [en] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/40 At 8/18/00 3:11:00 PM, you wrote: >Hi everybody, >I was expecting few replies from all of U. >Any more pointers to the same->, I want a shell >which has root permissions of wring some system files under >/etc, but should not have many other commands which usual shells >have. >Thanks in anticipation, >Madhu Sudhan.S > >Dwivedi Ajay kumar wrote: > >> On Mon, 14 Aug 2000, Madhu Sudhan.S wrote: >> >> > Can any one on the list please educate me on how to Create a private >> > Unix Shell of my own, allowing only a few basic simple commands on that >> >> There is a thing like bash --restricted. It does restrict >> changing the PATH variable and cd'ing above the home directory. I hope you >> can set the PATH variable to ~/bin, copy the commands you want him to use >> to ~/bin. The shell will not allow it to use the commands like /usr/bin or >> anyother with a / in the command. >> >> > to work on that, like the ls, cd, etc.,. Other commands, like su, etc., >> > should >> > throw an error "Command not found". >> >> Hopefully reading the docs will give u the complete info. make a simple program which runs on bash , accept commands ,strip off the path from the command (if any) just add the path of dir where u keep the binaries u wanna run & exec it . restricting CD to particular dir & its subdirs can be implemented using system calls . one way to do that is save CWD,, change to the specified dir , check if new CWD starts with your home dir . if yes its ok else CD to old CWD & print error do u want code ? _________ deepak >> >> Bye and EnjoyLife.... >> -- >> >> #!!! If anything can go wrong, _FIX_ it. (To hell with MURPHY) >> >> Ajay kumar Dwivedi >> ajayd@iitk.ac.in >> >> --------------------------------------------- >> The mailing list archives are available at >> http://lists.linux-india.org/cgi-bin/wilma/LIP > > >--------------------------------------------- >LIP is all for free speech. But it was created >for a purpose. Violations of the rules of >this list will result in stern action. > > ----------------------------- reply soon bye __ deepak __ have a great day ICQ 30662394 -- The world is coming to an end... SAVE YOUR BUFFERS!! From linux-india-programmers-owner@lists.linux-india.org Sat Aug 19 14:07:12 2000 Received: from nick.nikhilwiz.net (unknown [202.160.239.75]) by www.aunet.org (Postfix) with ESMTP id 4FA254A027; Sat, 19 Aug 2000 14:06:47 -0700 (PDT) Received: (from nikhil@localhost) by nick.nikhilwiz.net (8.9.3/8.9.3) id CAA01278; Sun, 20 Aug 2000 02:34:15 +0530 X-Authentication-Warning: nick.nikhilwiz.net: nikhil set sender to nikhilwiz@yahoo.com using -f Date: Sun, 20 Aug 2000 02:34:15 +0530 From: Nick Hill To: ilughyd@egroups.com Cc: linux-india-programmers@lists.linux-india.org, linux-india-help@lists.linux-india.org Subject: Announce - The GNOME Messaging System Message-ID: <20000820023414.B205@nick.nikhilwiz.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i X-Operating-System: Linux nick 2.2.13 X-Archive-Number: 200008/41 Hi. I just uploaded some lil' creation of mine up onto sourceforge. Its basically a IM system. The server is in C, using completely portable code. BSD socks et al. I wrote a client for it on GNOME/GTK+ using glade. The protocol is _extremely_ lightweight. I know a lot the community banks on text protocols, but i preferred a binary protocol for speed. The server handles user auth/notification/messaging, and offline messaging. Most of the functionality lies in the client. There are a lot of dead locks in the my client code. I have exams till next month, so I thought someone may like to hack on it meanwhile. There is _no_ documentation with it. no tarballs, no installation scripts. I've only put it on CVS. If u've never heard of CVS, or dunno what to do with it, better stay away. ;P there are 2 modules : server -- this is the server code gnomemsg -- GNOME/GTK+ client CVS instructions: $ export CVSROOT=:pserver:anonymous@cvs.gnomemsg.sourceforge.net:/cvsroot/gnomemsg $ cvs login Any questions, advices, hate mail, bugs, patches, features needed/coded, NO_spam - drop them in muh mail buxa. Nikhil. From linux-india-programmers-owner@lists.linux-india.org Sat Aug 19 14:49:32 2000 Received: from nick.nikhilwiz.net (unknown [202.160.239.149]) by www.aunet.org (Postfix) with ESMTP id 4F9484A0D3 for ; Sat, 19 Aug 2000 14:49:09 -0700 (PDT) Received: (from nikhil@localhost) by nick.nikhilwiz.net (8.9.3/8.9.3) id DAA01401 for linux-india-programmers@lists.linux-india.org; Sun, 20 Aug 2000 03:08:59 +0530 X-Authentication-Warning: nick.nikhilwiz.net: nikhil set sender to nikhilwiz@yahoo.com using -f Date: Sun, 20 Aug 2000 03:08:59 +0530 From: Nick Hill To: linux-india-programmers@lists.linux-india.org Subject: Re: C startup routine Message-ID: <20000820030859.H205@nick.nikhilwiz.net> References: <399D0038.82DC4E2F@india.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <399D0038.82DC4E2F@india.hp.com>; from nksk@india.hp.com on Fri, Aug 18, 2000 at 02:52:00PM +0530 X-Operating-System: Linux nick 2.2.13 X-Archive-Number: 200008/42 On Fri, Aug 18, 2000 at 02:52:00PM +0530, Satheesh Kumar. N.K wrote: > I was trying to grep the libc source code for the routine which invokes > 'main' routine of application programs. Can someone tell me > the name of this routine, the filename and the patch in libc sources?? > look for init.c. I dont remember its location. but the main() is called from there... Nikhil. From linux-india-programmers-owner@lists.linux-india.org Sun Aug 20 01:23:14 2000 Received: from glitch.crosswinds.net (glitch.crosswinds.net [209.208.163.35]) by www.aunet.org (Postfix) with ESMTP id AF5344A05C for ; Sun, 20 Aug 2000 01:22:54 -0700 (PDT) Received: from crosswinds.net (IDENT:ajay@PPP49-84.ahd.vsnl.net.in [202.54.49.84]) by glitch.crosswinds.net (8.9.3/8.9.3) with ESMTP id EAA92288 for ; Sun, 20 Aug 2000 04:21:48 -0400 (EDT) (envelope-from ajay@crosswinds.net) Message-ID: <3968F57C.DC88CDCB@crosswinds.net> Date: Sun, 09 Jul 2000 17:58:21 -0400 From: Ajay Dudani X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12 i586) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: keyword filter... Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/43 Hi, I am making an internet monitoring and filtering tool, something that monitors and filters traffic to and from Internet to an intranet. I am looking for something that allows me to see the contents of the packets being transmitted....so that i can parse the headers of the incoming HTML data and filter them if at all they contain censored _keywords_ ...i know this would be a bottle neck....bu then is ther any other option for keyword filtering.... -- .+'''+. a j a y @crosswinds.net `+.,.+' Ajay Dudani From linux-india-programmers-owner@lists.linux-india.org Sun Aug 20 01:32:46 2000 Received: from glitch.crosswinds.net (glitch.crosswinds.net [209.208.163.35]) by www.aunet.org (Postfix) with ESMTP id 7FDE84A0B2 for ; Sun, 20 Aug 2000 01:32:34 -0700 (PDT) Received: from crosswinds.net (IDENT:ajay@PPP49-84.ahd.vsnl.net.in [202.54.49.84]) by glitch.crosswinds.net (8.9.3/8.9.3) with ESMTP id EAA01059 for ; Sun, 20 Aug 2000 04:30:56 -0400 (EDT) (envelope-from ajay@crosswinds.net) Message-ID: <3968F7AF.FB998A32@crosswinds.net> Date: Sun, 09 Jul 2000 18:07:43 -0400 From: Ajay Dudani X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12 i586) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: login tracking Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/44 Hi Is there any way by means of which i could keep a track of when and from which IP does a user log into the linux server....i need to get the user login and logout information in real time. i am thinking of having a program running on the server that will monitor all logins and logouts and put it into a database (putting in database is the prime purpose)....then other programs can get this info from databse.... The thing is where and how should i implement this monitor. -- .+'''+. a j a y @crosswinds.net `+.,.+' Ajay Dudani From linux-india-programmers-owner@lists.linux-india.org Sun Aug 20 04:55:38 2000 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id 234814A0B4 for ; Sun, 20 Aug 2000 04:55:10 -0700 (PDT) Received: from qasid.cc.iitk.ac.in (qasid.cc.iitk.ac.in [172.31.1.16]) by mail.iitk.ac.in (8.9.2/8.9.2) with ESMTP id OAA02058 for ; Sun, 20 Aug 2000 14:52:38 +0530 (IST) Received: from ajayd.cc.iitk.ac.in ([172.31.80.32]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id OAA05949 for ; Sun, 20 Aug 2000 14:45:10 +0530 (IST) Date: Sun, 20 Aug 2000 14:49:24 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-programmers@lists.linux-india.org Subject: Re: login tracking In-Reply-To: <3968F7AF.FB998A32@crosswinds.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/45 On Sun, 9 Jul 2000, Ajay Dudani wrote: > Hi > > Is there any way by means of which i could keep a track of when and from > which IP does a user log into the linux server....i need to get the user > login and logout information in real time. > Have u tried the "last" command?? IMO The wtmp stores all the information u want. man last and who for details. Bye and EnjoyLife... -- #!!! 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 Sun Aug 20 05:34:53 2000 Received: from pes.edu (unknown [202.54.85.50]) by www.aunet.org (Postfix) with ESMTP id 742114A036 for ; Sun, 20 Aug 2000 05:34:31 -0700 (PDT) Received: from localhost (omicron@localhost) by pes.edu (8.9.3/8.9.3) with ESMTP id SAA01247 for ; Sun, 20 Aug 2000 18:06:51 +0530 Date: Sun, 20 Aug 2000 18:06:51 +0530 (IST) From: Sridhar To: linux-india-programmers@lists.linux-india.org Subject: Re: keyword filter... In-Reply-To: <3968F57C.DC88CDCB@crosswinds.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/46 hi how about sniffing ? ;-) cheers cheedu On Sun, 9 Jul 2000, Ajay Dudani wrote: > Hi, > > I am making an internet monitoring and filtering tool, something that > monitors and filters traffic to and from Internet to an intranet. I am > looking for something that allows me to see the contents of the packets > being transmitted....so that i can parse the headers of the incoming > HTML data and filter them if at all they contain censored _keywords_ > ...i know this would be a bottle neck....bu then is ther any other > option for keyword filtering.... > > > -- > .+'''+. > a j a y @crosswinds.net > `+.,.+' Ajay Dudani > > > > > --------------------------------------------- > 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 > -- -- Domain name : cheedu.dyndns.org Smile... Tomorrow will be worse ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From linux-india-programmers-owner@lists.linux-india.org Sun Aug 20 05:36:49 2000 Received: from pes.edu (unknown [202.54.85.50]) by www.aunet.org (Postfix) with ESMTP id 521CE4A0D5 for ; Sun, 20 Aug 2000 05:36:43 -0700 (PDT) Received: from localhost (omicron@localhost) by pes.edu (8.9.3/8.9.3) with ESMTP id SAA01259 for ; Sun, 20 Aug 2000 18:09:04 +0530 Date: Sun, 20 Aug 2000 18:09:04 +0530 (IST) From: Sridhar To: linux-india-programmers@lists.linux-india.org Subject: Re: login tracking In-Reply-To: <3968F7AF.FB998A32@crosswinds.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/47 hi easy. depends on the kind of login. if it's telnet , etc, u can use tcp wrappers ( check out the %u,%c) to get the details and then redirect it to a file. about the realtime, logging is always so. cheers cheedu On Sun, 9 Jul 2000, Ajay Dudani wrote: > Hi > > Is there any way by means of which i could keep a track of when and from > which IP does a user log into the linux server....i need to get the user > login and logout information in real time. > > i am thinking of having a program running on the server that will > monitor all logins and logouts and put it into a database (putting in > database is the prime purpose)....then other programs can get this info > from databse.... > > The thing is where and how should i implement this monitor. > > -- > .+'''+. > a j a y @crosswinds.net > `+.,.+' Ajay Dudani > > > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP > -- -- Domain name : cheedu.dyndns.org Smile... Tomorrow will be worse ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From linux-india-programmers-owner@lists.linux-india.org Sun Aug 20 08:37:49 2000 Received: from glitch.crosswinds.net (glitch.crosswinds.net [209.208.163.35]) by www.aunet.org (Postfix) with ESMTP id 32E1C4A032 for ; Sun, 20 Aug 2000 08:37:32 -0700 (PDT) Received: from crosswinds.net (IDENT:ajay@PPP49-67.ahd.vsnl.net.in [202.54.49.67]) by glitch.crosswinds.net (8.9.3/8.9.3) with ESMTP id LAA12935 for ; Sun, 20 Aug 2000 11:35:55 -0400 (EDT) (envelope-from ajay@crosswinds.net) Message-ID: <39695782.49B9B20E@crosswinds.net> Date: Mon, 10 Jul 2000 00:56:34 -0400 From: Ajay Dudani X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.14-12 i586) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: keyword filter... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/48 Sridhar wrote: > hi > how about sniffing ? ;-) > > cheers > cheedu thanks, i did find ngrep..... a network layer utility that works similar to grep on linux...cool thing. -- .+'''+. a j a y @crosswinds.net `+.,.+' Ajay Dudani From linux-india-programmers-owner@lists.linux-india.org Sun Aug 20 10:13:32 2000 Received: from cal3.vsnl.net.in (cal3.vsnl.net.in [202.54.9.23]) by www.aunet.org (Postfix) with ESMTP id 6EDC24A00C for ; Sun, 20 Aug 2000 10:13:26 -0700 (PDT) Received: from default (ppp123-78.pppcal.vsnl.net.in [203.197.123.78]) by cal3.vsnl.net.in (8.9.0/8.9.0) with ESMTP id WAA20766 for ; Sun, 20 Aug 2000 22:46:28 +0500 (GMT+0500) Message-Id: <200008201746.WAA20766@cal3.vsnl.net.in> From: "Soumava Das" To: linux-india-programmers@lists.linux-india.org Date: Sun, 20 Aug 2000 22:39:18 +0530 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Front End Tool for MySQL in Linux X-mailer: Pegasus Mail for Win32 (v3.12b) X-Archive-Number: 200008/49 Hi, I am developing a package using MySQL as the backend ( the OS is Linux) . For this I need a front end tool like Oracle's SQL Forms. But, I could not find any such tools. It is not a web based package. The client machines are running Win 9x. The package needs a report generator also. Any information about such a tool will be highly appreciated. ( I do not want to use Oracle and am hoping that I would not need to do so. ) Soumava From linux-india-programmers-owner@lists.linux-india.org Sun Aug 20 11:11:22 2000 Received: from shardagate.mahindrabt.com (unknown [206.102.1.162]) by www.aunet.org (Postfix) with ESMTP id C8A814A0FC for ; Sun, 20 Aug 2000 11:11:10 -0700 (PDT) Received: (from uucp@localhost) by shardagate.mahindrabt.com (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id XAA16026 for ; Sun, 20 Aug 2000 23:39:56 +0530 Received: from UNKNOWN(10.4.0.15), claiming to be "intranet.pune.mahindrabt.com" via SMTP by shardagate, id smtpd3I4eO6; Sun Aug 20 23:39:47 2000 Received: from [10.5.3.208] (IDENT:rajeevj@[10.5.3.208]) by intranet.pune.mahindrabt.com (8.9.3/8.9.3) with ESMTP id XAA31041 for ; Sun, 20 Aug 2000 23:36:32 +0530 Date: Sun, 20 Aug 2000 23:41:35 +0530 (IST) From: Rajeev Jha X-Sender: rajeevj@localhost.localdomain To: Linux India Programmers Subject: Re: Shell-Creation. In-Reply-To: <3997E853.6D02D259@teil.soft.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/50 hi list if u mean writing your own shell then see : stevens chapter1 : advance programming in unix environment . fork(), execlp(), perror(), waitpid() would do a bare-bone shell , to load commands with options(ls -l) i dunno.. HTH you wrote >>Hello Everybody, you wrote >> you wrote >>Can any one on the list please educate me on how to Create a private you wrote >>Unix Shell of my own, allowing only a few basic simple commands on that you wrote >>to work on that, like the ls, cd, etc.,. Other commands, like su, etc., Millions long for immortality who do not know what to do with themselves on a rainy Sunday afternoon. -- Susan Ertz RedHat 6.1 Cartman kernel 2.2.12-20 Composed in pine ___________________________________________________________ | Rajeev Jha | Email : rajeevj@mahindrabt.com (20) 5424301 -1126 | Sharda centre ______________________|______________________________________ From linux-india-programmers-owner@lists.linux-india.org Sun Aug 20 22:03:23 2000 Received: from unknown-147.101.pilot.net (unknown-147-101.pilot.net [198.232.147.101]) by www.aunet.org (Postfix) with ESMTP id 7CEA44A052 for ; Sun, 20 Aug 2000 22:03:22 -0700 (PDT) Received: from unknown-24-5.pilot.net (unknown-24-5.pilot.net [206.189.24.5]) by unknown-147.101.pilot.net with ESMTP id WAA09710 for ; Sun, 20 Aug 2000 22:02:16 -0700 (PDT) Received: from new01xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-24-5.pilot.net with ESMTP id WAA08955 for ; Sun, 20 Aug 2000 22:02:12 -0700 (PDT) Received: by new01xbindge.geind.ge.com with Internet Mail Service (5.5.2652.35) id ; Mon, 21 Aug 2000 10:39:05 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E0193BD53@ban03xbindge.geind.ge.com> From: "Joshi, Mohan (CORP, CIM)" To: linux-india-programmers@lists.linux-india.org Subject: RE: Front End Tool for MySQL in Linux Date: Mon, 21 Aug 2000 10:39:31 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2652.35) Content-Type: text/plain X-Archive-Number: 200008/51 Hi Das, There is a front end tool to access MySQL you can try this http://www.urbanresearch.com/software/utils/urbsql/index.html This tool may serve your purpose. Regards Mohan > ---------- > From: Soumava Das[SMTP:soumava@vsnl.com] > Reply To: linux-india-programmers@lists.linux-india.org > Sent: Sunday, August 20, 2000 10:39 PM > To: linux-india-programmers@lists.linux-india.org > Subject: [LIP] Front End Tool for MySQL in Linux > > Hi, > I am developing a package using MySQL as the backend ( the OS is > Linux) . For this I need a front end tool like Oracle's SQL Forms. But, I > could > not find any such tools. It is not a web based package. The client > machines > are running Win 9x. The package needs a report generator also. > Any information about such a tool will be highly appreciated. ( I do > not > want to use Oracle and am hoping that I would not need to do so. ) > > Soumava > > --------------------------------------------- > Find out more about this and other Linux India > mailing lists at http://lists.linux-india.org/ > From linux-india-programmers-owner@lists.linux-india.org Sun Aug 20 23:35:52 2000 Received: from mailscan.teil.soft.net (unknown [164.164.10.219]) by www.aunet.org (Postfix) with SMTP id D19E24A138 for ; Sun, 20 Aug 2000 23:35:25 -0700 (PDT) Received: FROM teil.soft.net BY mailscan.teil.soft.net ; Mon Aug 21 12:06:05 2000 +0500 Received: from teil.soft.net (asit [164.164.10.248]) by teil.soft.net (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id MAA72419 for ; Mon, 21 Aug 2000 12:02:48 +0530 (IST) Message-ID: <39A0CE30.1F6DD58D@teil.soft.net> Date: Mon, 21 Aug 2000 12:07:37 +0530 From: Sanjay X-Mailer: Mozilla 4.5 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: "linux-india-programmers@lists.linux-india.org" Subject: Process Information.. Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/52 Hi list, how do I get the size ( process memory ) of a particular process given its PID ? top command does give this, but any API ? regards, Sanjay. From linux-india-programmers-owner@lists.linux-india.org Sun Aug 20 23:59:34 2000 Received: from nwd2dns5.analog.com (nwd2gtw1.analog.com [137.71.23.34]) by www.aunet.org (Postfix) with ESMTP id 9A4514A0DC for ; Sun, 20 Aug 2000 23:59:32 -0700 (PDT) Received: from nwd2gtw1 (root@nwd2gtw1dmz1 [137.71.25.98]) by nwd2dns5.analog.com (8.9.3 (PHNE_18979)/8.9.3) with SMTP id CAA20694 for ; Mon, 21 Aug 2000 02:58:25 -0400 (EDT) Received: from ipdc_tokyo.spd.analog.com (root@ipdc_tokyo.spd.analog.com [137.71.79.135]) by zeus.spd.analog.com (8.8.6/8.8.6) with ESMTP id CAA11805 for ; Mon, 21 Aug 2000 02:58:13 -0400 (EDT) Received: from analog.com (IDENT:kouzik@ipdc_tokyo.spd.analog.com [137.71.79.135]) by ipdc_tokyo.spd.analog.com (8.9.3/8.8.7) with ESMTP id MAA05033 for ; Mon, 21 Aug 2000 12:33:13 +0530 Message-ID: <39A0D431.D724799F@analog.com> Date: Mon, 21 Aug 2000 12:33:13 +0530 From: Kousik Nandy Organization: Analog Devices Inc. X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-12 i686) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Process Information.. References: <39A0CE30.1F6DD58D@teil.soft.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/53 Sanjay wrote: > how do I get the size ( process memory ) of a particular > process given its PID ? What about reading the file "/proc//stat" or the file "/proc//status" ? Format of the "stat" file will be in "man proc". HTH Kousik From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 01:55:57 2000 Received: from hotmail.com (f72.law3.hotmail.com [209.185.241.72]) by www.aunet.org (Postfix) with ESMTP id 7D3B34A128 for ; Mon, 21 Aug 2000 01:55:53 -0700 (PDT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 21 Aug 2000 01:54:46 -0700 Received: from 202.56.255.130 by lw3fd.law3.hotmail.msn.com with HTTP; Mon, 21 Aug 2000 GMT X-Originating-IP: [202.56.255.130] From: "Muthu Mohan" To: linux-india-programmers@lists.linux-india.org Subject: Re: How to capture an Application Crash (coredump)? Date: Mon, 21 Aug 2000 14:24:46 IST Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Aug 2000 08:54:46.0727 (UTC) FILETIME=[74DAFD70:01C00B4D] X-Archive-Number: 200008/54 Dear Friends, I want to write an utility which will capture an Linux Application Crash(coredump) and log the details in a text file. Is there any method to do so? Please enlighten me with some ideas / pointers. TIA, Regards, T. Muthu Mohan. ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 02:17:44 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 71B3C4A0A8 for ; Mon, 21 Aug 2000 02:17:27 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id OAA16622 for ; Mon, 21 Aug 2000 14:41:38 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id OAA25024 for ; Mon, 21 Aug 2000 14:44:24 +0500 (GMT) Received: from yaksha.wipinfo.soft.net ([192.168.2.78]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAABB5; Mon, 21 Aug 2000 14:45:19 +0530 Date: Mon, 21 Aug 2000 15:00:12 +0530 (IST) From: "Sharad Joshi" X-Sender: sharadj@yaksha.wipinfo.soft.net Reply-To: Sharad Joshi To: Muthu Mohan Cc: linux-india-programmers@lists.linux-india.org Subject: Re: How to capture an Application Crash (coredump)? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/55 Core file is a sort of log in itself. What else do you want to log? If you just want what app crashed, you can do 'gdb -c core' to get the app name. Sharad. On Mon, 21 Aug 2000, Muthu Mohan wrote: + I want to write an utility which will capture an Linux Application + Crash(coredump) and log the details in a text file. Is there any method to + do so? Please enlighten me with some ideas / pointers. From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 05:24:59 2000 Received: from MailAndNews.com (unknown [199.29.68.161]) by www.aunet.org (Postfix) with ESMTP id 063BD4A129 for ; Mon, 21 Aug 2000 05:24:51 -0700 (PDT) X-WM-Posted-At: MailAndNews.com; Mon, 21 Aug 00 08:23:41 -0400 X-WebMail-UserID: kameshj Date: Mon, 21 Aug 2000 08:23:41 -0400 From: kamesh jayachandran To: linux-india-programmers@lists.linux-india.org X-EXP32-SerialNo: 00000000 Subject: segmentation fault Message-ID: <39ECD773@MailAndNews.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: InterChange (Hydra) SMTP v3.61.07 X-Archive-Number: 200008/56 Hai lip, I am getting segmentation fault while running the following quicksort program. My queries are 1)what is segmentation fault? 2)Will it always lead to dumping of core I hereby paste the program throwing segmentation fault //program starts here #include void quicksort(int [],int,int); int partition(int [],int,int); main() { int i=10,x[10]; printf("enter the numbers\n"); for(i=0;i<10;i++) scanf("%d",&x[i]); quicksort(x,0,9); printf("elements of the array are\n"); for(i=0;i<10;i++) printf("%d",x[i]); } void quicksort(int x[],int lb,int ub) { int j; j=partition(x,lb,ub); quicksort(x,lb,j-1); quicksort(x,j+1,ub); } int partition(int x[],int lb,int ub) { int t=x[lb]; int down=lb,up=ub; int temp; if(lb>=ub) return 0; while(down=x[down]) down++; while(t<=x[up]) up--; if(down; Mon, 21 Aug 2000 05:33:34 -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 e7LCcrI15457 for ; Mon, 21 Aug 2000 18:08:53 +0530 Message-ID: <39A121AF.C7D43F13@pspl.co.in> Date: Mon, 21 Aug 2000 18:03:51 +0530 From: Shridhar Daithankar Organization: Persistent Systems Pvt. Ltd. X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: segmentation fault References: <39ECD773@MailAndNews.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/57 Hi kamesh jayachandran wrote: > Hai lip, > I am getting segmentation fault while running the following quicksort program. > My queries are > 1)what is segmentation fault? Your program tried to access memory that was NULL or beyond your address space. So the strict metron Ms. Kernel decided to punish this naughty student by terminating it's life. However for parents, she decided to send the last(in memory) photograph. That's what you call core. In essence core is photocopy of program address space when it got terminated. Now you find it, why it terminated, by doing a post mortem. My advice, hunt down every pointer. No other way(usually) segfault happens. > > 2)Will it always lead to dumping of core Not necessary. I have received segfault without core. But I don't remember how? > > I hereby paste the program throwing segmentation fault > //program starts here > #include > void quicksort(int [],int,int); > int partition(int [],int,int); > main() > { > Straight from Tanubaum!!. Good Way to learn.... Bye Shridhar From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 06:08:36 2000 Received: from smartcc.cysphere.com (unknown [203.197.248.137]) by www.aunet.org (Postfix) with ESMTP id 2CD5B4A0BD for ; Mon, 21 Aug 2000 06:08:25 -0700 (PDT) Received: (from kapil@localhost) by smartcc.cysphere.com (8.9.3/8.9.3) id SAA17232 for linux-india-programmers@lists.linux-india.org; Mon, 21 Aug 2000 18:37:14 +0530 Date: Mon, 21 Aug 2000 18:37:14 +0530 From: Kapil Bhalla To: linux-india-programmers@lists.linux-india.org Subject: Re: segmentation fault Message-ID: <20000821183714.A16087@smartcc.cysphere.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <39ECD773@MailAndNews.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: <39ECD773@MailAndNews.com>; from kameshj@MailAndNews.com on Mon, Aug 21, 2000 at 08:23:41AM -0400 X-Operating-System: Linux smartcc 2.2.14-12 X-Reply-to: kapil@cysphere.com X-Archive-Number: 200008/58 On Mon, Aug 21, 2000 at 08:23:41AM -0400, kamesh jayachandran wrote: > Hai lip, > I am getting segmentation fault while running the following quicksort program. > My queries are > 1)what is segmentation fault? > 2)Will it always lead to dumping of core > I hereby paste the program throwing segmentation fault > //program starts here > > #include > void quicksort(int [],int,int); > int partition(int [],int,int); > main() > { > int i=10,x[10]; > printf("enter the numbers\n"); > for(i=0;i<10;i++) > scanf("%d",&x[i]); > quicksort(x,0,9); > printf("elements of the array are\n"); > for(i=0;i<10;i++) > printf("%d",x[i]); > } > void quicksort(int x[],int lb,int ub) > { > int j; > j=partition(x,lb,ub); > quicksort(x,lb,j-1); > quicksort(x,j+1,ub); > } > int partition(int x[],int lb,int ub) > { > int t=x[lb]; > int down=lb,up=ub; > int temp; > if(lb>=ub) > return 0; > while(down { > while(t>=x[down]) > down++; > while(t<=x[up]) > up--; > if(down { > temp=x[down]; > x[down]=x[up]; > x[up]=temp; > } > } > temp=x[up]; > x[up]=t; > x[lb]=temp; > return up; > } > //program ends here I have a piece of advice for you, first learn C then try to write code. Your prog in the above case will never work. Kapil Bhalla From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 06:33:46 2000 Received: from web5302.mail.yahoo.com (web5302.mail.yahoo.com [216.115.106.111]) by www.aunet.org (Postfix) with SMTP id BA6544A0E3 for ; Mon, 21 Aug 2000 06:25:44 -0700 (PDT) Message-ID: <20000821132433.16831.qmail@web5302.mail.yahoo.com> Received: from [202.54.79.74] by web5302.mail.yahoo.com; Mon, 21 Aug 2000 06:24:33 PDT Date: Mon, 21 Aug 2000 06:24:33 -0700 (PDT) From: Santosh Singh Subject: System calls in Interrupt service Routine To: linux-india-programmers@lists.linux-india.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Archive-Number: 200008/59 Hi, Ihave developed a parallel port device driver and based on external interrupt i want to execute some system call from within the Interrupt Service Routine. Any suggestion please. Thanks in advance. ----Santosh __________________________________________________ Do You Yahoo!? Yahoo! Mail – Free email you can access from anywhere! http://mail.yahoo.com/ From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 08:51:30 2000 Received: from jester.ti.com (jester.ti.com [192.94.94.1]) by www.aunet.org (Postfix) with ESMTP id 6F9994A02F for ; Mon, 21 Aug 2000 08:44:25 -0700 (PDT) Received: from dlep6.itg.ti.com ([157.170.188.9]) by jester.ti.com (8.10.1/8.10.1) with ESMTP id e7LFgHX14157 for ; Mon, 21 Aug 2000 10:42:17 -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 KAA27915 for ; Mon, 21 Aug 2000 10:43:11 -0500 (CDT) Received: from mailsvr.india.ti.com (mailsvr.india.ti.com [157.87.101.6]) by dlep6.itg.ti.com (8.9.3/8.9.3) with ESMTP id KAA27832 for ; Mon, 21 Aug 2000 10:43:09 -0500 (CDT) Received: from apdsparc95.india.ti.com (apdsparc95.india.ti.com [157.87.96.139]) by mailsvr.india.ti.com (8.8.8/8.8.8) with ESMTP id VAA09749 for ; Mon, 21 Aug 2000 21:13:10 +0530 (IST) Received: from india.ti.com (localhost [127.0.0.1]) by apdsparc95.india.ti.com (8.6.12/8.6.10) with ESMTP id VAA17070 for ; Mon, 21 Aug 2000 21:13:05 +0530 Message-ID: <39A14E09.B6E60D7D@india.ti.com> Date: Mon, 21 Aug 2000 21:13:05 +0530 From: Sumit Rangawala 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: Source of malloc References: <39ECD773@MailAndNews.com> <39A121AF.C7D43F13@pspl.co.in> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/60 Hi, Any pointer to get the source of malloc library function. Thanks in advance Sumit From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 10:39:08 2000 Received: from scooby.cheedu.dyndns.org (PPP-185-153.bng.vsnl.net.in [203.197.185.153]) by www.aunet.org (Postfix) with ESMTP id 0952B4A1DB for ; Mon, 21 Aug 2000 10:38:34 -0700 (PDT) Received: from localhost (omicron@localhost) by scooby.cheedu.dyndns.org (8.9.3/8.9.3) with ESMTP id XAA00917 for ; Mon, 21 Aug 2000 23:40:58 -0400 From: omicron@pes.edu X-Authentication-Warning: scooby.cheedu.dyndns.org: omicron owned process doing -bs Date: Mon, 21 Aug 2000 23:40:58 -0400 (EDT) X-Sender: omicron@scooby.cheedu.dyndns.org Reply-To: omicron@pes.edu To: Linux India Programmers Subject: Re: Shell-Creation. In-Reply-To: <3997E853.6D02D259@teil.soft.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/61 hi madhu i've a very simple, crude, barebones program that does a sort of create a shell. i remember i used it to escape the command logging by bash and also the display of commands by w.it's old and uses gets() which u r not supposed to. --------start of program------ #include void main() { do { printf("command:>"); gets(str); if (strcmp(str,"exit")==0) exit(0); system(str); } while 1; } --------end------------ me thinks it works( it worked long ago) , but i dont know if it has mistakes. *BUT YOU CANNOT USE ANY INTERNAL COMMANDS !!!!!! *. means cd also wont work ! hope this gives u the idea ;-) cheers cheedu On Mon, 14 Aug 2000, Madhu Sudhan.S wrote: > Hello Everybody, > > Can any one on the list please educate me on how to Create a private > Unix Shell of my own, allowing only a few basic simple commands on that > to work on that, like the ls, cd, etc.,. Other commands, like su, etc., > should > throw an error "Command not found". > > Anticipating quick reply ...... > > Regards > Madhu Sudhan.S > > > --------------------------------------------- > 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 > -- ***** cogito cogito ergo cogito sum: i think that i think, therefore i think that i am. --Devils Dictionary -- From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 11:35:23 2000 Received: from giasdl01.vsnl.net.in (giasdl01.vsnl.net.in [202.54.15.1]) by www.aunet.org (Postfix) with ESMTP id C583C4A0E4 for ; Mon, 21 Aug 2000 11:35:15 -0700 (PDT) Received: from d ([203.197.193.89]) by giasdl01.vsnl.net.in (8.9.2/8.9.2) with SMTP id AAA26521 for ; Tue, 22 Aug 2000 00:06:45 +0500 (GMT+0500) Message-Id: <200008211906.AAA26521@giasdl01.vsnl.net.in> Date: Tue, 22 Aug 2000 0:4:6 +0500 From: pipeline Reply-To: deepakyadav@india.com To: "linux-india-programmers@lists.linux-india.org" Subject: Re: RE: Front End Tool for MySQL in Linux X-mailer: FoxMail 2.1 [en] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/62 there is another called phpMyAdmin using PHP At 8/21/00 10:39:00 AM, you wrote: >Hi Das, > > There is a front end tool to access MySQL you can try this > >http://www.urbanresearch.com/software/utils/urbsql/index.html > > This tool may serve your purpose. > >Regards >Mohan > >> Hi, >> I am developing a package using MySQL as the backend ( the OS is >> Linux) . For this I need a front end tool like Oracle's SQL Forms. But, I >> could >> not find any such tools. It is not a web based package. The client >> machines >> are running Win 9x. The package needs a report generator also. >> Any information about such a tool will be highly appreciated. ( I do >> not >> want to use Oracle and am hoping that I would not need to do so. ) >> >> Soumava ----------------------------- reply soon bye __ deepak __ have a great day ICQ 30662394 -- The law of gravity was enacted by the British Parliament. From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 11:35:27 2000 Received: from giasdl01.vsnl.net.in (giasdl01.vsnl.net.in [202.54.15.1]) by www.aunet.org (Postfix) with ESMTP id 26A8B4A10C for ; Mon, 21 Aug 2000 11:35:17 -0700 (PDT) Received: from d ([203.197.193.89]) by giasdl01.vsnl.net.in (8.9.2/8.9.2) with SMTP id AAA11039 for ; Tue, 22 Aug 2000 00:06:46 +0500 (GMT+0500) Message-Id: <200008211906.AAA11039@giasdl01.vsnl.net.in> Date: Tue, 22 Aug 2000 0:4:7 +0500 From: pipeline Reply-To: deepakyadav@india.com To: "linux-india-programmers@lists.linux-india.org" Subject: Re: segmentation fault X-mailer: FoxMail 2.1 [en] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/63 the quicksort function uses recursion , but is there some terminating condition in it ? At 8/21/00 8:23:00 AM, you wrote: >Hai lip, >I am getting segmentation fault while running the following quicksort program. >My queries are >1)what is segmentation fault? >2)Will it always lead to dumping of core >I hereby paste the program throwing segmentation fault >//program starts here >#include >void quicksort(int [],int,int); >int partition(int [],int,int); > main() >{ > int i=10,x[10]; > printf("enter the numbers\n"); > for(i=0;i<10;i++) > scanf("%d",&x[i]); > quicksort(x,0,9); > printf("elements of the array are\n"); > for(i=0;i<10;i++) > printf("%d",x[i]); >} > void quicksort(int x[],int lb,int ub) >{ > int j; > j=partition(x,lb,ub); > quicksort(x,lb,j-1); > quicksort(x,j+1,ub); >} >int partition(int x[],int lb,int ub) >{ >int t=x[lb]; >int down=lb,up=ub; >int temp; >if(lb>=ub) >return 0; >while(down{ >while(t>=x[down]) >down++; >while(t<=x[up]) >up--; >if(down{ > temp=x[down]; > x[down]=x[up]; > x[up]=temp; >} >} >temp=x[up]; >x[up]=t; >x[lb]=temp; >return up; >} >//program ends here >thanks in advance >kamesh jayachandran > >------------------------------------------------------------ > Get your FREE web-based e-mail and newsgroup access at: > http://MailAndNews.com > > Create a new mailbox, or access your existing IMAP4 or > POP3 mailbox from anywhere with just a web browser. >------------------------------------------------------------ > > >--------------------------------------------- >Find out more about this and other Linux India >mailing lists at http://lists.linux-india.org/ > > ----------------------------- reply soon bye __ deepak __ have a great day ICQ 30662394 -- Obstacles are what you see when you take your eyes off your goal. From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 20:42:07 2000 Received: from ipcellindia.com (unknown [216.15.213.21]) by www.aunet.org (Postfix) with ESMTP id 2BBB34A05A for ; Mon, 21 Aug 2000 20:41:54 -0700 (PDT) Date: Mon, 21 Aug 2000 22:34:45 -0500 Message-Id: <200008212234.AA133759456@ipcellindia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Vishwanath" Reply-To: To: Subject: how to transfer files across internet X-Mailer: X-Archive-Number: 200008/64 hello everybody, I have to transfer files across network and the problem with ftp is its interactive and i want it to be done through program. The file is at remote place and i want it here by running my program i tried with netcat it was of litlr help. thanx in advance. vishwanath From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 21:17:16 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 1E6C94A0A2 for ; Mon, 21 Aug 2000 21:17:00 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id JAA18505 for ; Tue, 22 Aug 2000 09:41:14 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id JAA25398 for ; Tue, 22 Aug 2000 09:44:02 +0500 (GMT) Received: from soflt.alc.wipinfo.soft.net ([192.168.220.205]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA2258; Tue, 22 Aug 2000 09:44:54 +0530 Date: Tue, 22 Aug 2000 09:50:54 +0530 (IST) From: "chetan kumar s" X-Sender: chetansk@soflt.alc.wipinfo.soft.net Reply-To: chetan.kumar@wipro.com To: Vishwanath Cc: linux-india-programmers@lists.linux-india.org Subject: Re: how to transfer files across internet In-Reply-To: <200008212234.AA133759456@ipcellindia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/65 On Mon, 21 Aug 2000, Vishwanath wrote: > hello everybody, > I have to transfer files across network and the problem with ftp is > its interactive and i want it to be done through program. The file is create a file .netrc in ur homedir. Add the following in the file machine login password macdef init get The do chomd 600 .netrc and ftp to remote_host Thanks Chetan S > at remote place and i want it here by running my program i tried with > netcat it was of litlr help. > thanx in advance. > vishwanath > > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. > From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 21:18:57 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 82E2B4A0DE for ; Mon, 21 Aug 2000 21:18:51 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id VAA08109 for linux-india-programmers@lists.linux-india.org; Mon, 21 Aug 2000 21:17:22 -0700 Date: Mon, 21 Aug 2000 21:17:22 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: Front End Tool for MySQL in Linux Message-ID: <20000821211722.A8088@sharmas.dhs.org> References: <200008201746.WAA20766@cal3.vsnl.net.in> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200008201746.WAA20766@cal3.vsnl.net.in>; from soumava@vsnl.com on Sun, Aug 20, 2000 at 10:39:18PM +0530 X-Archive-Number: 200008/66 On Sun, Aug 20, 2000 at 10:39:18PM +0530, Soumava Das wrote: > Hi, > I am developing a package using MySQL as the backend ( the OS is > Linux) . For this I need a front end tool like Oracle's SQL Forms. But, I could > not find any such tools. It is not a web based package. The client machines > are running Win 9x. The package needs a report generator also. > Any information about such a tool will be highly appreciated. ( I do not > want to use Oracle and am hoping that I would not need to do so. ) > Look for KMySQL. It's analogous to TOAD for Oracle. I know that's not what you're looking for - but it might still be interesting. -Arun From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 22:25:49 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 0009A4A049 for ; Mon, 21 Aug 2000 22:25:19 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id KAA24393 for ; Tue, 22 Aug 2000 10:49:30 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id KAA02976 for ; Tue, 22 Aug 2000 10:52:17 +0500 (GMT) Received: from yaksha.wipinfo.soft.net ([192.168.2.78]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAAE1B; Tue, 22 Aug 2000 10:53:08 +0530 Date: Tue, 22 Aug 2000 11:08:08 +0530 (IST) From: "Sharad Joshi" X-Sender: sharadj@yaksha.wipinfo.soft.net Reply-To: Sharad Joshi To: Vishwanath Cc: linux-india-programmers@lists.linux-india.org Subject: Re: how to transfer files across internet In-Reply-To: <200008212234.AA133759456@ipcellindia.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/67 On Mon, 21 Aug 2000, Vishwanath wrote: + hello everybody, + I have to transfer files across network and the problem with ftp is + its interactive and i want it to be done through program. The file is + at remote place and i want it here by running my program i tried with How about http? Send a message like this GET http:// HTTP1.1 look into the HTTP1.1 RFC for the exact syntax. The advantage with this is, you do not have to maintain any config files. HTH, Sharad. From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 23:03:27 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id B455D4A01D for ; Mon, 21 Aug 2000 23:03:20 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id LAA27136 for ; Tue, 22 Aug 2000 11:27:37 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id LAA06350 for ; Tue, 22 Aug 2000 11:30:24 +0500 (GMT) Received: from soflt.alc.wipinfo.soft.net ([192.168.220.205]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA42A5; Tue, 22 Aug 2000 11:31:15 +0530 Date: Tue, 22 Aug 2000 11:37:14 +0530 (IST) From: "chetan kumar s" X-Sender: chetansk@soflt.alc.wipinfo.soft.net Reply-To: chetan.kumar@wipro.com To: Sharad Joshi Cc: Vishwanath , linux-india-programmers@lists.linux-india.org Subject: Re: how to transfer files across internet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/68 On Tue, 22 Aug 2000, Sharad Joshi wrote: > On Mon, 21 Aug 2000, Vishwanath wrote: > > + hello everybody, > + I have to transfer files across network and the problem with ftp is > + its interactive and i want it to be done through program. The file is > + at remote place and i want it here by running my program i tried with > How about http? Send a message like this > > GET http:// HTTP1.1 > > look into the HTTP1.1 RFC for the exact syntax. The advantage with this > is, you do not have to maintain any config files. The disadvantage is that U need to maintain a http server :-) Thanks Chetan S > > HTH, > Sharad. > > > --------------------------------------------- > LIP is all for free speech. But it was created > for a purpose. Violations of the rules of > this list will result in stern action. > From linux-india-programmers-owner@lists.linux-india.org Mon Aug 21 23:40:32 2000 Received: from mail.iitk.ac.in (unknown [210.212.54.10]) by www.aunet.org (Postfix) with ESMTP id B67A34A100 for ; Mon, 21 Aug 2000 23:39:51 -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 MAA02821 for ; Tue, 22 Aug 2000 12:10:44 +0530 (IST) Received: from ajayd.cc.iitk.ac.in ([172.31.80.32]) by qasid.cc.iitk.ac.in (8.9.2/8.9.2) with ESMTP id MAA19085 for ; Tue, 22 Aug 2000 12:03:11 +0530 (IST) Date: Tue, 22 Aug 2000 12:07:39 +0530 (IST) From: Dwivedi Ajay kumar To: linux-india-programmers@lists.linux-india.org Subject: Re: how to transfer files across internet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/69 On Tue, 22 Aug 2000, chetan kumar s wrote: > > How about http? Send a message like this > > > > GET http:// HTTP1.1 > > > > look into the HTTP1.1 RFC for the exact syntax. The advantage with this > > is, you do not have to maintain any config files. > > > The disadvantage is that U need to maintain a http server :-) > I think even ftp can be done using the telnet 21 (or using the sockets). or better if u need to do it on command line : try wget: 1. wget [options] ftp:/// the options may include ur login and passwd, output file, no logging etc... 2. wget "ftp://:@/" Also u can use ncftp or ncftpget. -- #!!! 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 Aug 21 23:43:28 2000 Received: from agni.wipinfo.soft.net (agni.wipinfo.soft.net [164.164.6.20]) by www.aunet.org (Postfix) with ESMTP id 930AE4A031 for ; Mon, 21 Aug 2000 23:43:15 -0700 (PDT) Received: from vayu.wipinfo.soft.net (vayu [192.168.200.170]) by agni.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id MAA29839 for ; Tue, 22 Aug 2000 12:07:09 +0500 (GMT) Received: from sarovar.mail.wipro.com ([192.168.2.18]) by vayu.wipinfo.soft.net (8.9.3/8.9.3) with ESMTP id MAA09978 for ; Tue, 22 Aug 2000 12:09:55 +0500 (GMT) Received: from yaksha.wipinfo.soft.net ([192.168.2.78]) by sarovar.mail.wipro.com (Netscape Messaging Server 3.6) with ESMTP id AAA347; Tue, 22 Aug 2000 12:10:13 +0530 Date: Tue, 22 Aug 2000 12:25:18 +0530 (IST) From: "Sharad Joshi" X-Sender: sharadj@yaksha.wipinfo.soft.net Reply-To: Sharad Joshi To: chetan kumar s Cc: Vishwanath , linux-india-programmers@lists.linux-india.org Subject: Re: how to transfer files across internet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/70 + > How about http? Send a message like this + > + > GET http:// HTTP1.1 + > + > look into the HTTP1.1 RFC for the exact syntax. The advantage with this + > is, you do not have to maintain any config files. + + The disadvantage is that U need to maintain a http server :-) Oh.. i forgot to add, yeah the remote machine must be running http server, of course :) Locally, we do not need anything. Sharad. From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 02:38:57 2000 Received: from arianne.ishoni.com (unknown [164.164.83.132]) by www.aunet.org (Postfix) with ESMTP id DB4C24A03A for ; Tue, 22 Aug 2000 02:38:38 -0700 (PDT) Received: from kedar.in.ishoni.com (IDENT:kedar@kedar.in.ishoni.com [192.168.1.75]) by arianne.ishoni.com (8.9.3/8.9.3) with ESMTP id OAA21393 for ; Tue, 22 Aug 2000 14:18:54 +0530 Date: Tue, 22 Aug 2000 14:23:16 +0530 (IST) From: Kedar Patankar X-Sender: kedar@kedar.in.ishoni.com To: linux-india-programmers@lists.linux-india.org Subject: Re: how to transfer files across internet In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/71 > I think even ftp can be done using the telnet 21 (or using the Have a look at rsync too. Especially if you are going to xfer a big file repeatedly (say once every other day or so). It can work over a secure link - using ssh to form a tunnel. From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 03:20:04 2000 Received: from unknown-230-101.pilot.net (unknown-230-101.pilot.net [206.98.230.101]) by www.aunet.org (Postfix) with ESMTP id CF1054A02A for ; Tue, 22 Aug 2000 03:19:53 -0700 (PDT) Received: from unknown-239-164.pilot.net (unknown-239-164.pilot.net [206.189.239.164]) by unknown-230-101.pilot.net with ESMTP id GAA19505 for ; Tue, 22 Aug 2000 06:18:42 -0400 (EDT) Received: from new01xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-239-164.pilot.net with ESMTP id GAA05047 for ; Tue, 22 Aug 2000 06:18:40 -0400 (EDT) Received: by new01xbindge.geind.ge.com with Internet Mail Service (5.5.2652.35) id ; Tue, 22 Aug 2000 15:56:28 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E019C9B55@ban03xbindge.geind.ge.com> From: "Joshi, Mohan (CORP, CIM)" To: linux-india-programmers@lists.linux-india.org Subject: How to add additional classes to TOMCAT Date: Tue, 22 Aug 2000 13:08:04 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2652.35) Content-Type: text/plain X-Archive-Number: 200008/72 Hi List, I am trying to execute a servlet program using Apache-TOMCAT. I am using Oracle as back end data base. When I try to execute this servelet I am getting following error Error: 500 Location: /examples/servlet/Employee Internal Servlet Error: java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver at at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:597) at org.apache.tomcat.servlets.InvokerServlet.service(InvokerServlet.java:257) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC onnectionHandler.java:160) at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338 ) at java.lang.Thread.run(Thread.java:475) Tomcat is not getting the OraceDriver eventhough it is very much there in my CLASSPATH. How to add this to TOMCAT CLASSPATH? Regards Mohan From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 04:04:17 2000 Received: from md3.vsnl.net.in (md3.vsnl.net.in [202.54.6.35]) by www.aunet.org (Postfix) with ESMTP id C02394A043; Tue, 22 Aug 2000 04:02:06 -0700 (PDT) Received: from pagladashu.lateralsoftware.com ([203.199.224.82]) by md3.vsnl.net.in (8.9.3/8.9.3) with SMTP id QAA00969; Tue, 22 Aug 2000 16:26:04 +0530 (IST) From: Archan Paul Reply-To: kernelcoder@yahoo.com To: Linux India Programmers Subject: Fwd: Re: Shell-Creation. A simulation Code Date: Tue, 22 Aug 2000 16:30:21 +0530 X-Mailer: KMail [version 1.0.29] Content-Type: Multipart/Mixed; boundary="Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD" Cc: linux-india-help@lists.linux-india.org MIME-Version: 1.0 Message-Id: <00082216305200.01178@pagladashu.lateralsoftware.com> X-Archive-Number: 200008/73 --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Type: text/plain Content-Transfer-Encoding: 8bit Hi Madhu, Please see the attached code of a very basic simulated shell which i had written two yrs ago... It is just a basic code to make u understand. I have mined this code from my old data CD and it is working at least. Still I am in search of the code which is a complete shell (clone of csh) and written by me in the early last year. As soon as I get it, I will give u the code. Please compile the file using $gcc sunix.c under bash ... Linux Please don't use Wall to compile as it will give u hell warning .... Currently I don't have time to remove those :>) Thanx Archan Paul Lateral Linux Labs archanp@bigfoot.com PS. Thaths, Please allow this mail to be posted in the list along with attachment. :) On Tue, 22 Aug 2000, you wrote: > hi madhu > i've a very simple, crude, barebones program that does a sort of > create a shell. i remember i used it to escape the command logging by bash > and also the display of commands by w.it's old and uses gets() which u r > not supposed to. > --------start of program------ > #include > void main() > { > do { > printf("command:>"); > gets(str); > if (strcmp(str,"exit")==0) > exit(0); > system(str); > } while 1; > } > --------end------------ > me thinks it works( it worked long ago) , but i dont know if it > has mistakes. *BUT YOU CANNOT USE ANY INTERNAL COMMANDS !!!!!! *. means > cd also wont work ! hope this gives u the idea ;-) > > cheers > cheedu > > On Mon, 14 Aug 2000, Madhu Sudhan.S wrote: > > > Hello Everybody, > > > > Can any one on the list please educate me on how to Create a private > > Unix Shell of my own, allowing only a few basic simple commands on that > > to work on that, like the ls, cd, etc.,. Other commands, like su, etc., > > should > > throw an error "Command not found". > > > > Anticipating quick reply ...... > > > > Regards > > Madhu Sudhan.S > > > > > ------------------------------------------------------- --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Type: text/x-c; name="sunix1.c" Content-Transfer-Encoding: base64 Content-Description: simple shell simulation Content-Disposition: attachment; filename="sunix1.c" LyoNCiAqICAgICAgICAgU2ltdWxhdGlvbiBvZiBVTklYICAgICAgICAgICAN CiAqICAgICAgICAgKGMpIEFyY2hhbiBQYXVsJyBEZWMxOTk4IDxhcmNoYW5w QGJpZ2Zvb3QuY29tPg0KKi8NCg0KLyoNCiAqIFBsZWFzZSBkb24ndCBjb21w aWxlIHRoaXMgZmlsZSB1c2luZyBXYWxsLCAuLi4uLi4uLi4uIEl0IGlzIGdp dmUgdSBoZWxsIHdhcm5pbmcgOykNCiAqIEp1c3QgZG8gDQogKiAJJGdjYyBz dXVuaX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mKCJcbkRlc3Bhcml0eSBpbiBwYXNzd29yZCBy ZWNoZWNraW5nIik7DQoJCQkJfQkNCgkJCX0JDQoJCWZjbG9zZShmcEFkZFVz ZXIpOwkNCgkJfQ0KCWVsc2UNCgkJew0KCQlwcmludGYoIlxuUGVybWlzc2lv biBEZW5pZWQgISEgVG8gdXNlIHRoaXMgY29tbWFuZCwgbG9naW4gYXMgcm9v dCIpOw0KCQl9CQ0KCWV4aXQoMCk7CQ0KfQ0KDQptYWluKHZvaWQpDQp7DQoJ c3lzdGVtKCJ0cHV0IGNsZWFyIik7DQoJd2hpbGUoMSkgew0KCQlwcmludGYo IkhlcmUgdGhlIHNpbXVsYXRlZCBJTklUIHByb2Nlc3MgaGFzIHBpZCAlZCAi LCBnZXRwaWQoKSk7DQoJCWFsb2dpbigpOw0KCX0JDQp9DQo= --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD Content-Type: text/plain; name="alogin.dat" Content-Transfer-Encoding: base64 Content-Description: need file Content-Disposition: attachment; filename="alogin.dat" cm9vdCByb290Cg== --Boundary-=_nWlrBbmQBhCDarzOwKkYHIDdqSCD-- From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 04:13:33 2000 Received: from blue.csa.iisc.ernet.in (blue.csa.iisc.ernet.in [144.16.67.191]) by www.aunet.org (Postfix) with ESMTP id AD99A4A103; Tue, 22 Aug 2000 04:13:03 -0700 (PDT) Received: from localhost (alex@localhost) by blue.csa.iisc.ernet.in (8.9.3/8.9.3) with ESMTP id QAA08555; Tue, 22 Aug 2000 16:44:37 +0530 Date: Tue, 22 Aug 2000 16:44:33 +0530 (IST) From: Alex M Alex To: Archan Paul Cc: Linux India Programmers , linux-india-help@lists.linux-india.org Subject: Re: Fwd: Re: Shell-Creation. A simulation Code In-Reply-To: <00082216305200.01178@pagladashu.lateralsoftware.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/74 These are errors I got When I compiled your programm.. test.c: In function `main': test.c:6: `str' undeclared (first use in this function) test.c:6: (Each undeclared identifier is reported only once test.c:6: for each function it appears in.) test.c:10: parse error before `1' test.c:3: warning: return type of `main' is not `int' regards alex On Tue, 22 Aug 2000, Archan Paul wrote: > Hi Madhu, > Please see the attached code of a very basic simulated shell which i had > written two yrs ago... It is just a basic code to make u understand. > I have mined this code from my old data CD and it is working at least. Still I > am in search of the code which is a complete shell (clone of csh) and written > by me in the early last year. As soon as I get it, I will give u the code. > > Please compile the file using > $gcc sunix.c > under bash ... Linux > > Please don't use Wall to compile as it will give u hell warning .... Currently > I don't have time to remove those :>) > > Thanx > Archan Paul > Lateral Linux Labs > archanp@bigfoot.com > > PS. Thaths, Please allow this mail to be posted in the list along with > attachment. :) > > > On Tue, 22 Aug 2000, you wrote: > > hi madhu > > i've a very simple, crude, barebones program that does a sort of > > create a shell. i remember i used it to escape the command logging by bash > > and also the display of commands by w.it's old and uses gets() which u r > > not supposed to. > > --------start of program------ > > #include > > void main() > > { > > do { > > printf("command:>"); > > gets(str); > > if (strcmp(str,"exit")==0) > > exit(0); > > system(str); > > } while 1; > > } > > --------end------------ > > me thinks it works( it worked long ago) , but i dont know if it > > has mistakes. *BUT YOU CANNOT USE ANY INTERNAL COMMANDS !!!!!! *. means > > cd also wont work ! hope this gives u the idea ;-) > > > > cheers > > cheedu > > > > On Mon, 14 Aug 2000, Madhu Sudhan.S wrote: > > > > > Hello Everybody, > > > > > > Can any one on the list please educate me on how to Create a private > > > Unix Shell of my own, allowing only a few basic simple commands on that > > > to work on that, like the ls, cd, etc.,. Other commands, like su, etc., > > > should > > > throw an error "Command not found". > > > > > > Anticipating quick reply ...... > > > > > > Regards > > > Madhu Sudhan.S > > > > > > > > > > > > ------------------------------------------------------- > > > From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 05:38:54 2000 Received: from md3.vsnl.net.in (md3.vsnl.net.in [202.54.6.35]) by www.aunet.org (Postfix) with ESMTP id 1A8904A0AA for ; Tue, 22 Aug 2000 05:38:35 -0700 (PDT) Received: from pagladashu.lateralsoftware.com ([203.199.224.82]) by md3.vsnl.net.in (8.9.3/8.9.3) with SMTP id SAA08942 for ; Tue, 22 Aug 2000 18:02:38 +0530 (IST) From: Archan Paul Reply-To: kernelcoder@yahoo.com To: linux-india-programmers@lists.linux-india.org Subject: Re: Fwd: Re: Shell-Creation. A simulation Code Date: Tue, 22 Aug 2000 18:06:15 +0530 X-Mailer: KMail [version 1.0.29] Content-Type: text/plain References: In-Reply-To: MIME-Version: 1.0 Message-Id: <00082218073201.01178@pagladashu.lateralsoftware.com> Content-Transfer-Encoding: 8bit X-Archive-Number: 200008/75 Modify it accordingly!!! user int main(void) { ...... return 1; } Archan ps. In my box, it is not giving any error On Tue, 22 Aug 2000, you wrote: > These are errors I got When I compiled your programm.. > test.c: In function `main': > test.c:6: `str' undeclared (first use in this function) > test.c:6: (Each undeclared identifier is reported only once > test.c:6: for each function it appears in.) > test.c:10: parse error before `1' > test.c:3: warning: return type of `main' is not `int' > > regards > alex From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 06:09:38 2000 Received: from obiwan.cysphere.com (unknown [203.197.248.133]) by www.aunet.org (Postfix) with ESMTP id 59E364A0C2 for ; Tue, 22 Aug 2000 06:09:13 -0700 (PDT) Received: (from kapil@localhost) by obiwan.cysphere.com (8.9.3/8.9.3) id RAA00850 for linux-india-programmers@lists.linux-india.org; Tue, 22 Aug 2000 17:42:56 +0530 Date: Tue, 22 Aug 2000 17:42:56 +0530 From: Kapil Bhalla To: linux-india-programmers@lists.linux-india.org Subject: Re: Fwd: Re: Shell-Creation. A simulation Code Message-ID: <20000822174256.B787@obiwan.cysphere.com> Mail-Followup-To: linux-india-programmers@lists.linux-india.org References: <00082216305200.01178@pagladashu.lateralsoftware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: ; from alex@blue.csa.iisc.ernet.in on Tue, Aug 22, 2000 at 04:44:33PM +0530 X-Operating-System: Linux obiwan.cysphere.com 2.2.14-12 X-Reply-to: kapil@cysphere.com X-Archive-Number: 200008/76 On Tue, Aug 22, 2000 at 04:44:33PM +0530, Alex M Alex wrote: > These are errors I got When I compiled your programm.. > test.c: In function `main': > test.c:6: `str' undeclared (first use in this function) > test.c:6: (Each undeclared identifier is reported only once > test.c:6: for each function it appears in.) > test.c:10: parse error before `1' > test.c:3: warning: return type of `main' is not `int' > #include int main() { do { char *str; printf("command:>"); gets(str); if (strcmp(str,"exit")==0) exit(0); system(str); } while 1; exit(0); } This will not give any warning. Kapil Bhalla From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 08:06:37 2000 Received: from alice.bombay.retortsoft.com (unknown [203.199.65.139]) by www.aunet.org (Postfix) with ESMTP id 1E8D24A04D for ; Tue, 22 Aug 2000 08:06:24 -0700 (PDT) Received: from bombay.retortsoft.com ([192.168.125.4]) by alice.bombay.retortsoft.com (8.9.3/8.9.3) with ESMTP id UAA19854 for ; Tue, 22 Aug 2000 20:43:05 +0530 Message-ID: <39A29782.77FFBF12@bombay.retortsoft.com> Date: Tue, 22 Aug 2000 20:38:50 +0530 From: "Binand Raj S." Reply-To: binand@bombay.retortsoft.com Organization: Retort Software Pvt. Ltd. X-Mailer: Mozilla 4.73 [en] (Win98; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: Fwd: Re: Shell-Creation. A simulation Code References: <00082216305200.01178@pagladashu.lateralsoftware.com> <20000822174256.B787@obiwan.cysphere.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/77 Kapil Bhalla wrote: > #include > int main() > { > do { > char *str; > printf("command:>"); > gets(str); > if (strcmp(str,"exit")==0) > exit(0); > system(str); > } while 1; > exit(0); > } > This will not give any warning. It might not, but it is sure a candidate for buffer overflows. gets() reads into str, for which there is no memory allocated. Seg faults and/or another exploit is the outcome. Plus the usual flaws associated with system(). Binand > From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 11:26:57 2000 Received: from giasdl01.vsnl.net.in (giasdl01.vsnl.net.in [202.54.15.1]) by www.aunet.org (Postfix) with ESMTP id 7675B4A10C for ; Tue, 22 Aug 2000 11:26:53 -0700 (PDT) Received: from d ([203.197.224.37]) by giasdl01.vsnl.net.in (8.9.2/8.9.2) with SMTP id XAA21360 for ; Tue, 22 Aug 2000 23:58:19 +0500 (GMT+0500) Message-Id: <200008221858.XAA21360@giasdl01.vsnl.net.in> Date: Tue, 22 Aug 2000 23:55:42 +0500 From: pipeline Reply-To: deepakyadav@india.com To: linux-india-programmers Subject: zip file format X-mailer: FoxMail 2.1 [en] Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/78 hi i want to know the pkzip file format . i mean how & where various information is stored thanks ----------------------------- reply soon bye __ deepak __ have a great day ICQ 30662394 -- Don't kid yourself. Little is relevant, and nothing lasts forever. From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 21:09:29 2000 Received: from sharmas.dhs.org (c62443-a.frmt1.sfba.home.com [24.0.69.165]) by www.aunet.org (Postfix) with ESMTP id 609C74A130 for ; Tue, 22 Aug 2000 21:09:25 -0700 (PDT) Received: (from adsharma@localhost) by sharmas.dhs.org (8.9.3/8.9.3) id VAA11174 for linux-india-programmers@lists.linux-india.org; Tue, 22 Aug 2000 21:07:52 -0700 Date: Tue, 22 Aug 2000 21:07:52 -0700 From: Arun Sharma To: linux-india-programmers@lists.linux-india.org Subject: Re: How to add additional classes to TOMCAT Message-ID: <20000822210752.A11167@sharmas.dhs.org> References: <1196B5CB33DED311A73700508B6FEB1E019C9B55@ban03xbindge.geind.ge.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <1196B5CB33DED311A73700508B6FEB1E019C9B55@ban03xbindge.geind.ge.com>; from Mohan.Joshi@geind.ge.com on Tue, Aug 22, 2000 at 01:08:04PM +0530 X-Archive-Number: 200008/79 On Tue, Aug 22, 2000 at 01:08:04PM +0530, Joshi, Mohan (CORP, CIM) wrote: > Tomcat is not getting the OraceDriver eventhough it is very much > there in my CLASSPATH. How to add this to TOMCAT CLASSPATH? Tomcat was overwriting the classpath in the shell script that launches the java VM. You need to add your jars to that classpath. -Arun PS: edit build/tomcat/bin/tomcat.sh From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 21:15:59 2000 Received: from arianne.ishoni.com (unknown [164.164.83.132]) by www.aunet.org (Postfix) with ESMTP id 7878E4A174 for ; Tue, 22 Aug 2000 21:15:51 -0700 (PDT) Received: from kedar.in.ishoni.com (IDENT:kedar@kedar.in.ishoni.com [192.168.1.75]) by arianne.ishoni.com (8.9.3/8.9.3) with ESMTP id JAA01928 for ; Wed, 23 Aug 2000 09:48:32 +0530 Date: Wed, 23 Aug 2000 09:52:52 +0530 (IST) From: Kedar Patankar X-Sender: kedar@kedar.in.ishoni.com To: linux-india-programmers@lists.linux-india.org Subject: PHP3 and multiple select... In-Reply-To: <20000822210752.A11167@sharmas.dhs.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Archive-Number: 200008/80 Hi, This may be a dumb question, but I was not able to find the answer in the php3 documentation. Anyway here it is, How do I know what selection user has made in an HTML form having a "select multiple"?? I mean normal entries in a form get defined with the same $name in php3 on the server once the form is submitted. What happens in case of a "select multiple" and the user selecting multiple values?? Does PHP3 see it as $name=value1,value2 i.e. comma separated list of values?? TIA, Kedar. ---------------------------------------------------------------- Kedar N. Patankar. Senior Software Engineer. ishoni Networks ...Broadband for everyone http://www.ishoni.com email - kedar@ishoni.com Phone: +91-80-2292125 (Work) Fax: +91-80-2995545 (Work) ---------------------------------------------------------------- Be regular and orderly in your life, so that you may be violent and original in your work. From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 21:19:17 2000 Received: from unknown-147.101.pilot.net (unknown-147-101.pilot.net [198.232.147.101]) by www.aunet.org (Postfix) with ESMTP id 981934A1E6 for ; Tue, 22 Aug 2000 21:19:16 -0700 (PDT) Received: from unknown-24-4.pilot.net (unknown-24-4.pilot.net [206.189.24.4]) by unknown-147.101.pilot.net with ESMTP id VAA19628 for ; Tue, 22 Aug 2000 21:18:02 -0700 (PDT) Received: from new01xbindge.geind.ge.com (localhost [127.0.0.1]) by unknown-24-4.pilot.net with ESMTP id VAA19884 for ; Tue, 22 Aug 2000 21:18:00 -0700 (PDT) Received: by new01xbindge.geind.ge.com with Internet Mail Service (5.5.2652.35) id ; Wed, 23 Aug 2000 09:55:48 +0530 Message-ID: <1196B5CB33DED311A73700508B6FEB1E019FE55D@ban03xbindge.geind.ge.com> From: "Joshi, Mohan (CORP, CIM)" To: linux-india-programmers@lists.linux-india.org Subject: RE: How to add additional classes to TOMCAT Date: Wed, 23 Aug 2000 09:55:17 +0530 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2652.35) Content-Type: text/plain X-Archive-Number: 200008/81 Hi Arun, I checked the tomcat.sh file, but it stores CLASSPATH variable in to a temp variable & adds all its CLASSPATH, finally it appends the original CLASSPATH value. Tomcat does not seems to recognize .zip files in the CLASSPATH! I found a workaround for this, I have extracted this zip in a 95 machine & ftp the extracted structure into Linux machine. Regards Mohan > ---------- > From: Arun Sharma[SMTP:arun@sharmas.dhs.org] > Reply To: linux-india-programmers@lists.linux-india.org > Sent: Wednesday, August 23, 2000 9:37 AM > To: linux-india-programmers@lists.linux-india.org > Subject: Re: [LIP] How to add additional classes to TOMCAT > > On Tue, Aug 22, 2000 at 01:08:04PM +0530, Joshi, Mohan (CORP, CIM) wrote: > > Tomcat is not getting the OraceDriver eventhough it is very much > > there in my CLASSPATH. How to add this to TOMCAT CLASSPATH? > > Tomcat was overwriting the classpath in the shell script that launches > the java VM. You need to add your jars to that classpath. > > -Arun > > PS: edit build/tomcat/bin/tomcat.sh > > --------------------------------------------- > 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 Aug 22 21:30:12 2000 Received: from svrsdfbldg.tcscal.co.in (unknown [206.103.11.137]) by www.aunet.org (Postfix) with SMTP id 7DBAF4A213 for ; Tue, 22 Aug 2000 21:30:04 -0700 (PDT) Received: from iname.com ([172.18.10.102]) by svrsdfbldg.tcscal.co.in (Lotus SMTP MTA v4.6.6 (890.1 7-16-1999)) with SMTP id 65256944.0018CFEB; Wed, 23 Aug 2000 10:01:00 +0530 Message-ID: <39A35374.3E6ECC00@iname.com> Date: Wed, 23 Aug 2000 10:00:44 +0530 From: Robin Chatterjee Organization: Tata Consultancy Services X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: en MIME-Version: 1.0 To: linux-india-programmers@lists.linux-india.org Subject: Re: How to add additional classes to TOMCAT References: <1196B5CB33DED311A73700508B6FEB1E019FE55D@ban03xbindge.geind.ge.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archive-Number: 200008/82 check .tomcatrc It could be setting the path there. Also did you specifically add the jar file itself to the classpath ? just adding the directory is not enough. Cheerio Robin "Joshi, Mohan (CORP, CIM)" wrote: > > Hi Arun, > > I checked the tomcat.sh file, but it stores CLASSPATH variable in to > a temp variable & adds all its CLASSPATH, finally it appends the original > CLASSPATH value. > > Tomcat does not seems to recognize .zip files in the CLASSPATH! > > I found a workaround for this, I have extracted this zip in a 95 > machine & ftp the extracted structure into Linux machine. > > Regards > Mohan > > > ---------- > > From: Arun Sharma[SMTP:arun@sharmas.dhs.org] > > Reply To: linux-india-programmers@lists.linux-india.org > > Sent: Wednesday, August 23, 2000 9:37 AM > > To: linux-india-programmers@lists.linux-india.org > > Subject: Re: [LIP] How to add additional classes to TOMCAT > > > > On Tue, Aug 22, 2000 at 01:08:04PM +0530, Joshi, Mohan (CORP, CIM) wrote: > > > Tomcat is not getting the OraceDriver eventhough it is very much > > > there in my CLASSPATH. How to add this to TOMCAT CLASSPATH? > > > > Tomcat was overwriting the classpath in the shell script that launches > > the java VM. You need to add your jars to that classpath. > > > > -Arun > > > > PS: edit build/tomcat/bin/tomcat.sh > > > > --------------------------------------------- > > Find out more about this and other Linux India > > mailing lists at http://lists.linux-india.org/ > > > > --------------------------------------------- > The mailing list archives are available at > http://lists.linux-india.org/cgi-bin/wilma/LIP -- _END_ Robin S Chatterjee Yahoo pager ID -Robinchatterjee mailto:robinsc@iname.com mailto:robins_chatterjee@tcscal.co.in FAX 1-(815)550-6171 Robin's Poetry Pages http://www.geocities.com/singerosongs Robin's Perl Pages http://www.geocities.com/robinchatterjee From linux-india-programmers-owner@lists.linux-india.org Tue Aug 22 22:15:17 2000 Received: from blr.vsnl.net.in (blr.vsnl.net.in [202.54.12.6]) by www.aunet.org (Postfix) with ESMTP id 3B13E4A108 for ; Tue, 22 Aug 2000 22:15:13 -0700 (PDT) Received: from krishna (PPP-178-214.bng.vsnl.net.in [203.197.178.214]) by blr.vsnl.net.in (8.9.3/8.9.3) with SMTP id KAA12974 for ; Wed, 23 Aug 2000 10:39:53 +0530 (IST) Message-ID: <001b01c00cc1$1387eb30$0d01a8c0@domain.msl.com> From: "Krishna Srinivasan" To: References: Subject: Re: PHP3 and multiple select... Date: Wed, 23 Aug 2000 10:44:25 +0530 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: 200008/83 Hi, A multiple tag is defined as "