From Ben_Breuninger at digi.com Tue Apr 10 17:03:38 2001 From: Ben_Breuninger at digi.com (Ben Breuninger) Date: Mon Jan 17 14:29:19 2005 Subject: [TCLUG-DEVEL] real-time file monitoring at the kernel level Message-ID: <415A9F6DCFA0D211B78D0008C7A42FB30593744D@gopostal.digi.com> Hello, I'm looking for some help in the area of real-time file monitoring at the kernel level, and was wondering if someone would be able to help with my idea, or at least point me to a patch which is equivalent to what im looking for. My idea is further explained at http://flog.uncontrolled.org/. In a nutshell tho, basically im looking to modify the linux kernel and have a file descriptor in /proc which could be tail -f'd and see any read,write,access, or deletion of files, who did it and what time, in real time. I dont know how hard or easy this would be. If you can offer any support in doing this, or know of elsewhere someone already has done this, please email me. Thank you, benb@uncontrolled.org From Ben_Breuninger at digi.com Tue Apr 10 17:11:26 2001 From: Ben_Breuninger at digi.com (Ben Breuninger) Date: Mon Jan 17 14:29:19 2005 Subject: [TCLUG-DEVEL] Re: real-time file monitoring at the kernel level Message-ID: <415A9F6DCFA0D211B78D0008C7A42FB30593744E@gopostal.digi.com> er... sorry bout the url... try http://www.uncontrolled.org/flog/ thanks benb@uncontrolled.org -----Original Message----- From: Ben Breuninger Sent: Tuesday, April 10, 2001 5:04 PM To: 'tclug-devel@mn-linux.org' Subject: real-time file monitoring at the kernel level Hello, I'm looking for some help in the area of real-time file monitoring at the kernel level, and was wondering if someone would be able to help with my idea, or at least point me to a patch which is equivalent to what im looking for. My idea is further explained at http://flog.uncontrolled.org/. In a nutshell tho, basically im looking to modify the linux kernel and have a file descriptor in /proc which could be tail -f'd and see any read,write,access, or deletion of files, who did it and what time, in real time. I dont know how hard or easy this would be. If you can offer any support in doing this, or know of elsewhere someone already has done this, please email me. Thank you, benb@uncontrolled.org From tanner at real-time.com Wed Apr 11 00:00:01 2001 From: tanner at real-time.com (Bob Tanner) Date: Mon Jan 17 14:29:19 2005 Subject: [TCLUG-DEVEL] StringReader -> InputStream Message-ID: <20010411000001.V23448@real-time.com> How can I get a StringReader into a class that is part of the InputStream hierarchy? I use to use the StringBufferInputStream, but that is deprecated. -- Bob Tanner | Phone : (952)943-8700 http://www.mn-linux.org | Fax : (952)943-8500 Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 From tanner at real-time.com Wed Apr 11 00:04:45 2001 From: tanner at real-time.com (Bob Tanner) Date: Mon Jan 17 14:29:19 2005 Subject: [TCLUG-DEVEL] StringReader -> InputStream In-Reply-To: <20010411000001.V23448@real-time.com>; from tanner@real-time.com on Wed, Apr 11, 2001 at 12:00:01AM -0500 References: <20010411000001.V23448@real-time.com> Message-ID: <20010411000445.W23448@real-time.com> Quoting Bob Tanner (tanner@real-time.com): > How can I get a StringReader into a class that is part of the InputStream > hierarchy? > > I use to use the StringBufferInputStream, but that is deprecated. > I guess I should talking about what I want to do. I have a String of that represents a set of java.util.Properties, I want to load(InputStream) the Properties class from the String. String I create a StringReader and need to get some sort of InputStream so I can pass it to the load() method. -- Bob Tanner | Phone : (952)943-8700 http://www.mn-linux.org | Fax : (952)943-8500 Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 From jpschewe at mtu.net Wed Apr 11 08:20:26 2001 From: jpschewe at mtu.net (Jon Schewe) Date: Mon Jan 17 14:29:20 2005 Subject: [TCLUG-DEVEL] StringReader -> InputStream In-Reply-To: Bob Tanner's message of "Wed, 11 Apr 2001 00:04:45 -0500" References: <20010411000001.V23448@real-time.com> <20010411000445.W23448@real-time.com> Message-ID: Bob Tanner writes: > Quoting Bob Tanner (tanner@real-time.com): > > How can I get a StringReader into a class that is part of the InputStream > > hierarchy? > > > > I use to use the StringBufferInputStream, but that is deprecated. > > > > I guess I should talking about what I want to do. > > I have a String of that represents a set of java.util.Properties, I want to > load(InputStream) the Properties class from the String. > > String I create a StringReader and need to get some sort of InputStream so I can > pass it to the load() method. > How about using java.io.ByteArrayInputStream? I do find it irritating that there isn't a way to get from Reader to InputStream, but there is a way to get from InputStream to Reader, java.io.InputStreamReader. I suppose you could write one too: public class MyInputStream extends InputStream { public MyInputStream(final Reader delegate) { _delegate = delegate; } private Reader _delegate; public int read() { return _delegate.read(); } } -- Jon Schewe | http://mtu.net/~jpschewe | jpschewe@mtu.net For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord. - Romans 8:38-39 From tanner at real-time.com Wed Apr 11 13:12:57 2001 From: tanner at real-time.com (Bob Tanner) Date: Mon Jan 17 14:29:20 2005 Subject: [TCLUG-DEVEL] StringReader -> InputStream In-Reply-To: ; from jpschewe@mtu.net on Wed, Apr 11, 2001 at 08:20:26AM -0500 References: <20010411000001.V23448@real-time.com> <20010411000445.W23448@real-time.com> Message-ID: <20010411131257.M12636@real-time.com> Quoting Jon Schewe (jpschewe@mtu.net): > > > How can I get a StringReader into a class that is part of the InputStream > > > hierarchy? > > > > > > I use to use the StringBufferInputStream, but that is deprecated. > > > > How about using java.io.ByteArrayInputStream? I do find it irritating that > there isn't a way to get from Reader to InputStream, but there is a way to get > from InputStream to Reader, java.io.InputStreamReader. I ended up using the ByteArrayInputStream. :-( -- Bob Tanner | Phone : (952)943-8700 http://www.mn-linux.org | Fax : (952)943-8500 Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9 From chewie at wookimus.net Wed Apr 11 13:36:35 2001 From: chewie at wookimus.net (Chad C. Walstrom) Date: Mon Jan 17 14:29:20 2005 Subject: [TCLUG-DEVEL] StringReader -> InputStream In-Reply-To: <20010411131257.M12636@real-time.com>; from tanner@real-time.com on Wed, Apr 11, 2001 at 01:12:57PM -0500 References: <20010411000001.V23448@real-time.com> <20010411000445.W23448@real-time.com> <20010411131257.M12636@real-time.com> Message-ID: <20010411133635.L3989@wookimus.net> Bob Tanner wrote: > How can I get a StringReader into a class that is part of the > InputStream hierarchy? > > I use to use the StringBufferInputStream, but that is deprecated. Quoting Jon Schewe (jpschewe@mtu.net): > How about using java.io.ByteArrayInputStream? I do find it > irritating that there isn't a way to get from Reader to InputStream, > but there is a way to get from InputStream to Reader, > java.io.InputStreamReader. Bob Tanner wrote: > I ended up using the ByteArrayInputStream. :-( I looked at the methods and properties of java.util.Properties and the respective Readers and InputStreams. It seems that the biggest difference between the Reader and InputStream interfaces is that the Reder stream calls read with a character array parameter, and the InputStream calls read with a byte array parameter. It might be possible to create a concrete class ReaderInputStream that extends the InputStream interface and accepts a Reader object as it's parameter. You don't have to be as careful about converting from char[] to byte[] as you do the other way around, so converting the read() methods shouldn't be too much work. -- Chad Walstrom | a.k.a. ^chewie http://www.wookimus.net/ | s.k.a. gunnarr Key fingerprint = B4AB D627 9CBD 687E 7A31 1950 0CC7 0B18 206C 5AFD -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/tclug-devel/attachments/20010411/de371f92/attachment.pgp From dchristian at macalester.edu Sat Apr 21 11:28:38 2001 From: dchristian at macalester.edu (David Christian) Date: Mon Jan 17 14:29:20 2005 Subject: [TCLUG-DEVEL] /dev/pts Message-ID: Does anyone know where I can get some good information on /dev/pts? I know it does something with pseudo terminals but I don't quite understand it... Thanks, Dave From JERRY_GREGORY at udlp.com Mon Apr 23 08:26:43 2001 From: JERRY_GREGORY at udlp.com (JERRY_GREGORY@udlp.com) Date: Mon Jan 17 14:29:20 2005 Subject: [TCLUG-DEVEL] /dev/pts Message-ID: <005EE793.C21254@udlp.com> I don't know where you can get info on what it is, BUT I can tell you how I use it. I use pts-redir to redirect a ppp session to an ssh tunnel, thus creating a VPN link. It's documented on linuxdoc.org in the VPN-HOWTO. (pty-redir for previous releases was replaced by pty-redir in RH 7.0). Jerry G. jerryg@msplink.com ____________________Reply Separator____________________ Subject: [TCLUG-DEVEL] /dev/pts Author: David Christian Date: 4/21/2001 11:28 AM Does anyone know where I can get some good information on /dev/pts? I know it does something with pseudo terminals but I don't quite understand it... Thanks, Dave _______________________________________________ tclug-devel mailing list tclug-devel@mn-linux.org https://mailman.mn-linux.org/mailman/listinfo/tclug-devel Received: from portal.udlp.com ([10.1.1.245]) by ccmail.udlp.com with SMTP (IMA Internet Exchange 3.14) id 005EBE93; Sat, 21 Apr 2001 11:31:53 -0500 Received: from portal.udlp.com (root@localhost) by portal.udlp.com with ESMTP id LAA14013 for ; Sat, 21 Apr 2001 11:32:37 -0500 (CDT) Received: from borabora.msplink.com (msp-65-25-243-58.mn.rr.com [65.25.243.58]) by portal.udlp.com with ESMTP id LAA14009 for ; Sat, 21 Apr 2001 11:32:36 -0500 (CDT) Received: from sprite.real-time.com (IDENT:PcYAJnHhq1SPBDUOZ+QQbyHDi7fvoZC2@lists.real-time.com [206.10.253.8]) by borabora.msplink.com (8.11.0/8.11.0) with ESMTP id f3LGWY009560 for ; Sat, 21 Apr 2001 11:32:34 -0500 Received: from sprite.real-time.com (IDENT:HVRaKrHajCUdMCavt5t2NtyRuHaRxrJ6@localhost.localdomain [127.0.0.1]) by sprite.real-time.com (8.11.1/8.11.1) with ESMTP id f3LGUBt25054; Sat, 21 Apr 2001 11:30:11 -0500 Received: from apollo.cc.macalester.edu (apollo.cc.macalester.edu [141.140.1.2]) by sprite.real-time.com (8.11.1/8.11.1) with ESMTP id f3LGT1t25024 for ; Sat, 21 Apr 2001 11:29:02 -0500 Received: from macalester.edu by macalester.edu (PMDF V5.2-32 #38670) id <01K2NRN9CA4A000EWE@macalester.edu> for tclug-devel@mn-linux.org; Sat, 21 Apr 2001 11:28:38 CDT From: David Christian To: tclug-devel@mn-linux.org Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Subject: [TCLUG-DEVEL] /dev/pts Sender: tclug-devel-admin@mn-linux.org Errors-To: tclug-devel-admin@mn-linux.org X-BeenThere: tclug-devel@mn-linux.org X-Mailman-Version: 2.0.3 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Discussion of development issues specific to linux List-Unsubscribe: , List-Archive: Date: Sat, 21 Apr 2001 11:28:38 -0500 (CDT) From tanner at real-time.com Mon Apr 23 16:12:02 2001 From: tanner at real-time.com (Bob Tanner) Date: Mon Jan 17 14:29:20 2005 Subject: [TCLUG-DEVEL] Re: [TCLUG] Forms In-Reply-To: <74094AC981E9D4119E650008C78614FD19F260@msgpacios1.rhq.pac.dfo-mpo.gc.ca>; from JodrellD@pac.dfo-mpo.gc.ca on Mon, Apr 23, 2001 at 05:04:40PM -0400 References: <74094AC981E9D4119E650008C78614FD19F260@msgpacios1.rhq.pac.dfo-mpo.gc.ca> Message-ID: <20010423161202.E2527@real-time.com> Quoting JodrellD@pac.dfo-mpo.gc.ca (JodrellD@pac.dfo-mpo.gc.ca): > Hi, > > I don't know if this it the right place to ask this - I found you on the > internet. > > My problem is that my form is so big that it take too long to load so what I > did is divide it into sections making several different pages. > > How do I now have the form recognize all of the separate pages as being one > form - or - Is there a way to make the original one page form load faster? > > Thanks for your help with this Try tclug-devel@mn-linux.org :-) But you need to set up a session. Using servlets or php this is very easy. -- Bob Tanner | Phone : (952)943-8700 http://www.mn-linux.org | Fax : (952)943-8500 Key fingerprint = 02E0 2734 A1A1 DBA1 0E15 623D 0036 7327 93D9 7DA3 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/tclug-devel/attachments/20010423/3bcda829/attachment.pgp From dutchman at uswest.net Thu Apr 26 17:10:34 2001 From: dutchman at uswest.net (dutchman@uswest.net) Date: Mon Jan 17 14:29:20 2005 Subject: [TCLUG-DEVEL] Java on RH 7.1 Message-ID: <3AE89CDA.D0AED312@uswest.net> Greet the sun all: Has anybody successfully installed/run Java on a RH 7.1 box? I am getting a: /opt/jdk1.3/bin/i386/native_threads/java: error while loading shared libraries: libjvm.so: cannot load shared object file: No such file or directory My question is, did you have to alter the .java_wrapper or add the java library within your LD_LIBRARY_PATH? Perry Hoekstra From dchristian at macalester.edu Sun Apr 29 00:56:31 2001 From: dchristian at macalester.edu (David Christian) Date: Mon Jan 17 14:29:20 2005 Subject: [TCLUG-DEVEL] /dev/pts In-Reply-To: <005EE793.C21254@udlp.com> Message-ID: Right, well, I suppose I should answer my own question now that I've got the answer. It's a new-fangled way to do pseudo-terminals without having to search through the individual pseudo terminals to find one that's available. It's used with /dev/ptmx. Both of these are now pretty much hidden behind openpty, however, which can take care of that sort of stuff for you for the most part. I found all this out by searching for ptmx, which is much less common a letter combination than pts, and therefore only gave relevant results. Does anyone have a good source for *detailed* information on the /dev directory? Even the kernel documentation was only of limited help. Dave On Mon, 23 Apr 2001 JERRY_GREGORY@udlp.com wrote: > I don't know where you can get info on what it is, BUT I can tell you how I use > it. I use pts-redir to redirect a ppp session to an ssh tunnel, thus creating a > VPN link. It's documented on linuxdoc.org in the VPN-HOWTO. (pty-redir for > previous releases was replaced by pty-redir in RH 7.0). > > Jerry G. > jerryg@msplink.com > > ____________________Reply Separator____________________ > Subject: [TCLUG-DEVEL] /dev/pts > Author: David Christian > Date: 4/21/2001 11:28 AM > > Does anyone know where I can get some good information on /dev/pts? > > I know it does something with pseudo terminals but I don't quite > understand it... > > Thanks, > Dave > > _______________________________________________ > tclug-devel mailing list > tclug-devel@mn-linux.org > https://mailman.mn-linux.org/mailman/listinfo/tclug-devel > Received: from portal.udlp.com ([10.1.1.245]) by ccmail.udlp.com with SMTP > (IMA Internet Exchange 3.14) id 005EBE93; Sat, 21 Apr 2001 11:31:53 -0500 > Received: from portal.udlp.com (root@localhost) > by portal.udlp.com with ESMTP id LAA14013 > for ; Sat, 21 Apr 2001 11:32:37 -0500 (CDT) > Received: from borabora.msplink.com (msp-65-25-243-58.mn.rr.com [65.25.243.58]) > by portal.udlp.com with ESMTP id LAA14009 > for ; Sat, 21 Apr 2001 11:32:36 -0500 (CDT) > Received: from sprite.real-time.com > (IDENT:PcYAJnHhq1SPBDUOZ+QQbyHDi7fvoZC2@lists.real-time.com [206.10.253.8]) > by borabora.msplink.com (8.11.0/8.11.0) with ESMTP id f3LGWY009560 > for ; Sat, 21 Apr 2001 11:32:34 -0500 > Received: from sprite.real-time.com > (IDENT:HVRaKrHajCUdMCavt5t2NtyRuHaRxrJ6@localhost.localdomain [127.0.0.1]) > by sprite.real-time.com (8.11.1/8.11.1) with ESMTP id f3LGUBt25054; > Sat, 21 Apr 2001 11:30:11 -0500 > Received: from apollo.cc.macalester.edu (apollo.cc.macalester.edu [141.140.1.2]) > by sprite.real-time.com (8.11.1/8.11.1) with ESMTP id f3LGT1t25024 > for ; Sat, 21 Apr 2001 11:29:02 -0500 > Received: from macalester.edu by macalester.edu (PMDF V5.2-32 #38670) > id <01K2NRN9CA4A000EWE@macalester.edu> for tclug-devel@mn-linux.org; Sat, > 21 Apr 2001 11:28:38 CDT > From: David Christian > To: tclug-devel@mn-linux.org > Message-id: > MIME-version: 1.0 > Content-type: TEXT/PLAIN; charset=US-ASCII > Subject: [TCLUG-DEVEL] /dev/pts > Sender: tclug-devel-admin@mn-linux.org > Errors-To: tclug-devel-admin@mn-linux.org > X-BeenThere: tclug-devel@mn-linux.org > X-Mailman-Version: 2.0.3 > Precedence: bulk > List-Help: > List-Post: > List-Subscribe: , > > List-Id: Discussion of development issues specific to linux > > List-Unsubscribe: , > > List-Archive: > Date: Sat, 21 Apr 2001 11:28:38 -0500 (CDT) >