From mschw at athenet.net Wed May 6 19:49:25 2009 From: mschw at athenet.net (Mike Schwartz) Date: Wed, 6 May 2009 21:49:25 -0500 Subject: Interesting lookup processing Message-ID: <017201c9cebe$6f747120$4e5d5360$@net> I was looking at some programs written by another programmer over 10 years ago, and ran into this code that I didn't think would work reliably, but it has for over 10 years now: ----- : lookup INVEN K=2 (blah, blah) ----- Not INVEN Lookup INVEN = ARCINVEN k=2 (blah, blah) ----- : 3=INVEN(4) ----- I would have bet, internally, that filePro would get confused by the "dual" use of the word INVEN, especially if one part was found in the active inventory file and the next part was found in the archive inventory file. Is this something that potentially could be causing problems, or is this perfectly legitimate code? Thanks, Mike Schwartz From kenbrody at spamcop.net Wed May 6 20:07:03 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Wed, 06 May 2009 23:07:03 -0400 Subject: Interesting lookup processing In-Reply-To: <017201c9cebe$6f747120$4e5d5360$@net> References: <017201c9cebe$6f747120$4e5d5360$@net> Message-ID: <4A025057.70609@spamcop.net> Mike Schwartz wrote: > I was looking at some programs written by another programmer over 10 > years ago, and ran into this code that I didn't think would work reliably, > but it has for over 10 years now: > > ----- > : > lookup INVEN K=2 (blah, blah) > ----- > Not INVEN > Lookup INVEN = ARCINVEN k=2 (blah, blah) > ----- > : > 3=INVEN(4) > ----- > > > I would have bet, internally, that filePro would get confused by the > "dual" use of the word INVEN, especially if one part was found in the active > inventory file and the next part was found in the archive inventory file. > > Is this something that potentially could be causing problems, or is > this perfectly legitimate code? It's perfectly legal, and is, in fact, one of the reasons for having aliases on the lookups. No "confusion" occurs, since this is part of the design. A very common use is to perform one lookup, and if it fails, perform another one, perhaps to a different file, or a different key. This is precisely what your example does. It does a lookup into the inventory file, and if it fails, it then tries the archive file. -- Kenneth Brody From mschw at athenet.net Wed May 6 20:30:28 2009 From: mschw at athenet.net (Mike Schwartz) Date: Wed, 6 May 2009 22:30:28 -0500 Subject: Interesting lookup processing In-Reply-To: <4A025057.70609@spamcop.net> References: <017201c9cebe$6f747120$4e5d5360$@net> <4A025057.70609@spamcop.net> Message-ID: <017e01c9cec4$2bd39c10$837ad430$@net> > -----Original Message----- > From: Kenneth Brody [mailto:kenbrody at spamcop.net] > Sent: Wednesday, May 06, 2009 10:07 PM > To: mschw at athenet.net > Cc: 'filePro Mailing List' > Subject: Re: Interesting lookup processing > > Mike Schwartz wrote: > > I was looking at some programs written by another programmer > over 10 > > years ago, and ran into this code that I didn't think would work > reliably, > > but it has for over 10 years now: > > > > ----- > > : > > lookup INVEN K=2 (blah, blah) > > ----- > > Not INVEN > > Lookup INVEN = ARCINVEN k=2 (blah, blah) > > ----- > > : > > 3=INVEN(4) > > ----- > > > > > > I would have bet, internally, that filePro would get confused by > the > > "dual" use of the word INVEN, especially if one part was found in the > active > > inventory file and the next part was found in the archive inventory > file. > > > > Is this something that potentially could be causing problems, or > is > > this perfectly legitimate code? > > It's perfectly legal, and is, in fact, one of the reasons for having > aliases > on the lookups. No "confusion" occurs, since this is part of the > design. > > A very common use is to perform one lookup, and if it fails, perform > another > one, perhaps to a different file, or a different key. This is > precisely > what your example does. It does a lookup into the inventory file, and > if it > fails, it then tries the archive file. > > -- > Kenneth Brody OK. I've always used a different word (not the names of either of the files) because I assumed that the real names of the files became like reserved words, as far as aliases go. IE, ----- Lookup IVT = INVEN ----- Not IVT Lookup IVT = ARCINVEN ----- As long as I know that this won't cause any problems, I'll leave the code as-is. Maybe one of the reasons I started doing this was to keep the names as short as possible. It's hard to remember back over 25 years ago, to the days when Marve Wyman and I were feeling our way through the 0.75 and 0.80 beta versions of Profile 16!!! And, of course, Marve's not around anymore to jog my memory... (May he R.I.P) Thanks! Mike Schwartz From john at valar.com Wed May 6 23:18:50 2009 From: john at valar.com (John Esak) Date: Thu, 7 May 2009 02:18:50 -0400 Subject: Interesting lookup processing In-Reply-To: <017201c9cebe$6f747120$4e5d5360$@net> Message-ID: <200905070618.n476IoaT063287@admin114.securesites.net> Mike, I have been doing this code since the first day I ever programmed in filePro... Don't you do this.... Lookup npio=npio ... ... Not npio Lookup npio=npioarchive ... ... ... ... Why would you think this wouldn't work. The first lookup fails, it is not active, period. So the next lookup is done.... Etc. Incidentally, I'm not kidding about using this since the first time lookup was ever release with the r=free option. Like this... Lookup there=file k=25 i=N -nx Not there Lookup there=file r=free There(2)=this and that... Etc. If a rcord isn't there already... Make one and keep the processing after that the same. In other words if the record exists, update it, if it isn't, create it first and then hpdate it as if it was there... :-) With the incedibly complex code you've worked on in your career 'm really surprised you never saw this ubiquitous construction. John P.S. By the way, I'm not saying I thought this construction up... It was just always there... I's probably a Ken or a Dave or even a Howie.... Rmember, I had the luxury, honor, luck to be working at the company where we were thinking up this filePro program day by day from scratch. Nancy Palmquist, myself and a couple others joined when Ken, Dave, Howie, and Barry Wiseman were making do when lookup could not actually change the fields in a looked up file. In fact when Dave Roeger wrote that code ... So that lookup could actually "post" to aa looked up file... He decided to call it "dreport" in stead of "report"... Then all the "d" tools happened in pretty quick cuccession. This was a time, when one could literally walk into the programmers room (at say 2pm) where Ken, Dave and another one or two guys would just put something you needed into the code on the spot. "Hey, I need it to do this..." They would think for a second and then say, oh, good idea, but how about if it worked this way... You would usually end up saying.. "Oh, that's even better!" The 4pm version of the program would have it in there. Two days later, it would have 5 options and be documented. 1984 ws not only an amazing book only titled only 30 years too early... It was an absolutely amazing time to be working in the personal computer industry at its dawn... When Macintosh wasn't even a gleam... When IBM was the only way to go.. And they were making mistakes like buying operating system licenses from Microsoft instead of just buying the company outright. Within the next decade, Microsoft actually became *bigger* than IBM... And on and on.... Of course, it was all started at AT&T and even more so at Xeroc PARC. Like I have said over and over again here. It's a little earlier by 10 years, but get a hold of the book "Dealers In Lighting"... You will not be able to put it down, and you will be flabberghasted as to how the things you use ever minute of your life were invented. John > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co m] On Behalf Of Mike Schwartz > Sent: Wednesday, May 06, 2009 10:49 PM > To: 'filePro Mailing List' > Subject: Interesting lookup processing > > I was looking at some programs written by another > programmer over 10 > years ago, and ran into this code that I didn't think would > work reliably, > but it has for over 10 years now: > > ----- > : > lookup INVEN K=2 (blah, blah) > ----- > Not INVEN > Lookup INVEN = ARCINVEN k=2 (blah, blah) > ----- > : > 3=INVEN(4) > ----- > > > I would have bet, internally, that filePro would get > confused by the > "dual" use of the word INVEN, especially if one part was > found in the active > inventory file and the next part was found in the archive > inventory file. > > Is this something that potentially could be causing > problems, or is > this perfectly legitimate code? > > Thanks, > > Mike Schwartz > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From john at valar.com Wed May 6 23:36:50 2009 From: john at valar.com (John Esak) Date: Thu, 7 May 2009 02:36:50 -0400 Subject: Interesting lookup processing In-Reply-To: <200905070618.n476IoaT063287@admin114.securesites.net> Message-ID: <200905070636.n476aocF070558@admin114.securesites.net> Sorry, the book is "Dealers In Lightning" not "Dealers In Lighting" :-) If you get the latter, you'd probably learn how Home Depot was started... :-) John > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co m] On Behalf Of John Esak > Sent: Thursday, May 07, 2009 2:19 AM > To: mschw at athenet.net > Cc: filepro-list at lists.celestial.com > Subject: RE: Interesting lookup processing > > Mike, > I have been doing this code since the first day I ever programmed in > filePro... Don't you do this.... > > Lookup npio=npio ... ... > Not npio > Lookup npio=npioarchive ... ... > ... > ... > > Why would you think this wouldn't work. The first lookup > fails, it is not > active, period. So the next lookup is done.... Etc. > > Incidentally, I'm not kidding about using this since the > first time lookup > was ever release with the r=free option. Like this... > > Lookup there=file k=25 i=N -nx > Not there > Lookup there=file r=free > There(2)=this and that... Etc. > > If a rcord isn't there already... Make one and keep the > processing after > that the same. In other words if the record exists, update > it, if it isn't, > create it first and then hpdate it as if it was there... :-) > With the > incedibly complex code you've worked on in your career 'm > really surprised > you never saw this ubiquitous construction. > > John > > P.S. By the way, I'm not saying I thought this construction > up... It was > just always there... I's probably a Ken or a Dave or even a Howie.... > Rmember, I had the luxury, honor, luck to be working at the > company where we > were thinking up this filePro program day by day from scratch. Nancy > Palmquist, myself and a couple others joined when Ken, Dave, > Howie, and > Barry Wiseman were making do when lookup could not actually change the > fields in a looked up file. In fact when Dave Roeger wrote > that code ... So > that lookup could actually "post" to aa looked up file... He > decided to call > it "dreport" in stead of "report"... Then all the "d" tools > happened in > pretty quick cuccession. This was a time, when one could > literally walk > into the programmers room (at say 2pm) where Ken, Dave and > another one or > two guys would just put something you needed into the code on > the spot. > "Hey, I need it to do this..." They would think for a second > and then say, > oh, good idea, but how about if it worked this way... You > would usually end > up saying.. "Oh, that's even better!" The 4pm version of the > program would > have it in there. Two days later, it would have 5 options and > be documented. > 1984 ws not only an amazing book only titled only 30 years > too early... It > was an absolutely amazing time to be working in the personal computer > industry at its dawn... When Macintosh wasn't even a gleam... > When IBM was > the only way to go.. And they were making mistakes like > buying operating > system licenses from Microsoft instead of just buying the > company outright. > Within the next decade, Microsoft actually became *bigger* > than IBM... And > on and on.... > > > Of course, it was all started at AT&T and even more so at > Xeroc PARC. Like > I have said over and over again here. It's a little earlier > by 10 years, but > get a hold of the book "Dealers In Lighting"... You will not > be able to put > it down, and you will be flabberghasted as to how the things > you use ever > minute of your life were invented. > > John > > > > -----Original Message----- > > From: filepro-list-bounces+john=valar.com at lists.celestial.com > > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co > m] On Behalf Of Mike Schwartz > > Sent: Wednesday, May 06, 2009 10:49 PM > > To: 'filePro Mailing List' > > Subject: Interesting lookup processing > > > > I was looking at some programs written by another > > programmer over 10 > > years ago, and ran into this code that I didn't think would > > work reliably, > > but it has for over 10 years now: > > > > ----- > > : > > lookup INVEN K=2 (blah, blah) > > ----- > > Not INVEN > > Lookup INVEN = ARCINVEN k=2 (blah, blah) > > ----- > > : > > 3=INVEN(4) > > ----- > > > > > > I would have bet, internally, that filePro would get > > confused by the > > "dual" use of the word INVEN, especially if one part was > > found in the active > > inventory file and the next part was found in the archive > > inventory file. > > > > Is this something that potentially could be causing > > problems, or is > > this perfectly legitimate code? > > > > Thanks, > > > > Mike Schwartz > > > > > > > > _______________________________________________ > > Filepro-list mailing list > > Filepro-list at lists.celestial.com > > http://mailman.celestial.com/mailman/listinfo/filepro-list > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From mschw at athenet.net Thu May 7 06:44:17 2009 From: mschw at athenet.net (Mike Schwartz) Date: Thu, 7 May 2009 08:44:17 -0500 Subject: Interesting lookup processing In-Reply-To: <200905070618.n476IoaT063287@admin114.securesites.net> References: <017201c9cebe$6f747120$4e5d5360$@net> <200905070618.n476IoaT063287@admin114.securesites.net> Message-ID: <004d01c9cf19$eb354a40$c19fdec0$@net> Hi John: (top posted for you) Thanks for reminding me that an alias label could be the same as a real file name. If I saw you using the alias label npio to open the npio (or some other) file, I wouldn't have given the code a second thought. However, I do avoid using alias labels that have the same name as any real file, just for confusion sake, in case I decide to open the real files later on. I would have bet that the original example I listed would have failed, because I didn't think a real (non-aliased) file and an aliased file could be opened with the same name. Again, most likely some code I wrote back in the early years of filePro made me think that this was the case, and I've carried the misconception with me all these years. Thanks, Mike > Mike, > I have been doing this code since the first day I ever programmed in > filePro... Don't you do this.... > > Lookup npio=npio ... ... > Not npio > Lookup npio=npioarchive ... ... From rkreiss at gccconsulting.net Thu May 7 07:03:41 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Thu, 7 May 2009 10:03:41 -0400 Subject: OT: base64 decoding Message-ID: <013e01c9cf1c$a4ad1410$ee073c30$@net> Received an email from my wife which had been bounced back as undeliverable to another party. In the body of the email is text apparently encoded in base64. Windows xp - Outlook 2007. Are there an tools I can use to decode (make readable) this information. Subject: =?utf-8?B?UmVzdGF1cmFudCBJbnZpdGF0aW9uIGZyb20gU3VzYW4gS3JlaXNz?= Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From kenbrody at spamcop.net Thu May 7 08:26:26 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 07 May 2009 11:26:26 -0400 Subject: OT: base64 decoding In-Reply-To: <013e01c9cf1c$a4ad1410$ee073c30$@net> References: <013e01c9cf1c$a4ad1410$ee073c30$@net> Message-ID: <4A02FDA2.1010005@spamcop.net> Richard Kreiss wrote: > Received an email from my wife which had been bounced back as undeliverable > to another party. > > In the body of the email is text apparently encoded in base64. > > Windows xp - Outlook 2007. > > Are there an tools I can use to decode (make readable) this information. > > Subject: > =?utf-8?B?UmVzdGF1cmFudCBJbnZpdGF0aW9uIGZyb20gU3VzYW4gS3JlaXNz?= > Content-Type: text/html; charset=utf-8 > Content-Transfer-Encoding: base64 Well, I have a plugin for Thunderbird that does it: UmVzdGF1cmFudCBJbnZpdGF0aW9uIGZyb20gU3VzYW4gS3JlaXNz ==> Restaurant Invitation from Susan Kreiss I think I recall someone writing a BASE64 encode/decode in filePro some time back? (Or maybe someone was just talking about it, but didn't actually do it? It's been several years.) If you need, there are plenty of online BASE64 decoders available. Just search for "base64 decoder". http://www.opinionatedgeek.com/dotnet/tools/Base64Decode/ -- Kenneth Brody From john at valar.com Thu May 7 13:14:30 2009 From: john at valar.com (John Esak) Date: Thu, 7 May 2009 16:14:30 -0400 Subject: OT: base64 decoding In-Reply-To: <4A02FDA2.1010005@spamcop.net> Message-ID: <200905072014.n47KEU5g091212@admin114.securesites.net> It was me. I wrote the base64 conversion. I needed to because Mr. Mailman or whatever Dave Stauble's program was called Mail Manager or something like that I forget...used to have a feature in it that would let you take anything that was attached to an eamil as a base64 file and do something with it... Anything... It was a command you "named" and listed in a config text file somewhere on Unix. Then When any piece of mail to a particular named person came in, the program would detach any base64 attachment, and give it to the command or set of commands. First thing I did was convert it to regular text and then pass it into our order system. Getting that code now would be tough, not working for Nexus anymore. I might have it somewhere, but I doubt it. I essentially copied out a small C script I got from somewhere and just translated it to filePro lingo. It is so weird, strange, enlightening and fascinating to see how precisely the filePro if-then combination mimics the same functionality in C. This was not an exceedingly hard thing to do... In fact, I probably could have done it simply as a big "logic" problem. I mean, I don't think you would have to know anything about C or filePro, if you just nip and tuck the function in a way to make it into an if-then without the else... Then move it into a processing table, I don't think it was more than a dozen lines when it was done. However, and here's the rub. Getting this tiny conversion function inside the middle of a prc that opens the right file, checks the type of encoding, moves the data around to where you need it, etc., etc. Eventually, it becasme a large table that I just CALL'd I think. Any problems I had with it were always with the incoming data, separating it out of the mail message and mail files, and not the conversion. So, Richard, honestly, I would do just what ken suggested... Get a hold of one of the many conversions out there, and just pass your file to it. The whole thing could be done with file i/o now so much easier then whatever way I did it way back then. John > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co m] On Behalf Of Kenneth Brody > Sent: Thursday, May 07, 2009 11:26 AM > To: rkreiss at gccconsulting.net > Cc: filepro-list at lists.celestial.com > Subject: Re: OT: base64 decoding > > Richard Kreiss wrote: > > Received an email from my wife which had been bounced back > as undeliverable > > to another party. > > > > In the body of the email is text apparently encoded in base64. > > > > Windows xp - Outlook 2007. > > > > Are there an tools I can use to decode (make readable) this > information. > > > > Subject: > > =?utf-8?B?UmVzdGF1cmFudCBJbnZpdGF0aW9uIGZyb20gU3VzYW4gS3JlaXNz?= > > Content-Type: text/html; charset=utf-8 > > Content-Transfer-Encoding: base64 > > Well, I have a plugin for Thunderbird that does it: > > UmVzdGF1cmFudCBJbnZpdGF0aW9uIGZyb20gU3VzYW4gS3JlaXNz > ==> > Restaurant Invitation from Susan Kreiss > > I think I recall someone writing a BASE64 encode/decode in > filePro some time > back? (Or maybe someone was just talking about it, but > didn't actually do > it? It's been several years.) > > If you need, there are plenty of online BASE64 decoders > available. Just > search for "base64 decoder". > > http://www.opinionatedgeek.com/dotnet/tools/Base64Decode/ > > -- > Kenneth Brody > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From bill at celestial.com Thu May 7 13:29:57 2009 From: bill at celestial.com (Bill Campbell) Date: Thu, 7 May 2009 13:29:57 -0700 Subject: OT: base64 decoding In-Reply-To: <200905072014.n47KEU5g091212@admin114.securesites.net> References: <4A02FDA2.1010005@spamcop.net> <200905072014.n47KEU5g091212@admin114.securesites.net> Message-ID: <20090507202957.GA14292@ayn.mi.celestial.com> On Thu, May 07, 2009, John Esak wrote: >It was me. I wrote the base64 conversion. I needed to because Mr. Mailman >or whatever Dave Stauble's program was called Mail Manager or something like >that I forget...used to have a feature in it that would let you take >anything that was attached to an eamil as a base64 file and do something >with it... Anything... It was a command you "named" and listed in a config >text file somewhere on Unix. Then When any piece of mail to a particular >named person came in, the program would detach any base64 attachment, and >give it to the command or set of commands. First thing I did was convert it >to regular text and then pass it into our order system. Getting that code >now would be tough, not working for Nexus anymore. I might have it >somewhere, but I doubt it. > >I essentially copied out a small C script I got from somewhere and just >translated it to filePro lingo.... This sort of thing is easy to do with python or perl without having to resort to C. While I have written a lot of C code, it's very rare when I find something that cannot be done much more easily and quickly in python. On the other hand, I finally got around to figuring out how to build multi-part e-mail messages in python instead of just using the ``mutt -a'' command to create the messages. FWIW, I have been playing with OpenSolaris, and found that its ``mail'' command doesn't grok the -s option for subject. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Government spending? I don't know what it's all about. I don't know any more about this thing than an economist does, and, God knows, he doesn't know much. -- Will Rogers From john at valar.com Thu May 7 13:46:15 2009 From: john at valar.com (John Esak) Date: Thu, 7 May 2009 16:46:15 -0400 Subject: OT: base64 decoding In-Reply-To: <20090507202957.GA14292@ayn.mi.celestial.com> Message-ID: <200905072046.n47KkGVX008448@admin114.securesites.net> I've been working in Python too lately. Just running through the beginning book... And it is so powerful. I think I said this a year or so ago, too. But now, I'm actually putting together little python scripts to do things on my PDA which is Linux based and uses python for everything. Someone, probably Mark, then piped up how PERL is just as good or better... Don't remember, really.... Only thing I know is that learning python just enough to write small scripts gets you doing more stuff on a large basis faster than it ever happened for me in PERL. PERL seems to be concerned with the workings of things on a very small, granular basis, lots of string stuff and anything you need is in there somewhere. But, python gets you doing pragmatic usable things faster. Maybe, most people who use PERL (and Bill, I know you use it lots) think it's the thing to use for anything. I would have thought that and tried to immerse myself in it years and years ago, but never really actually did. Stepping through the beginning python book though has me doing things I understand and can use right away almost immediately, and good God, it integrates every damn thing out there and just *uses* it for you without you having to know the how and why of every little function. There is huge philosophy and community stuff out there on how and why and what python is ... I avoid it all. :-) I'm just learning to make scripts work first... And see how far it takes me. I'm already way better off than my first attempts at PERL. In the end run, I think it is just a matter of what suits a person on an indiividual basis. For those of us who cut our teeth on copying and changing Bourne scripts to accomplish what we wanted.... Python is very, very grok-able. :-) I think the book I went through and keep referring to is just simply Beginning Pyton and it's an O'Reill thing. (Watch, all the liberals out there are falling off their chairs and grabbing there throats.... :-) I don't have it right next to me, but I think the author is Asher & Lutz... No wait, it's called Learning Python. John > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co m] On Behalf Of Bill Campbell > Sent: Thursday, May 07, 2009 4:30 PM > To: filepro-list at lists.celestial.com; 'Kenneth Brody' > Subject: Re: OT: base64 decoding > > On Thu, May 07, 2009, John Esak wrote: > >It was me. I wrote the base64 conversion. I needed to > because Mr. Mailman > >or whatever Dave Stauble's program was called Mail Manager > or something like > >that I forget...used to have a feature in it that would let you take > >anything that was attached to an eamil as a base64 file and > do something > >with it... Anything... It was a command you "named" and > listed in a config > >text file somewhere on Unix. Then When any piece of mail to > a particular > >named person came in, the program would detach any base64 > attachment, and > >give it to the command or set of commands. First thing I > did was convert it > >to regular text and then pass it into our order system. > Getting that code > >now would be tough, not working for Nexus anymore. I might have it > >somewhere, but I doubt it. > > > >I essentially copied out a small C script I got from > somewhere and just > >translated it to filePro lingo.... > > This sort of thing is easy to do with python or perl without > having to resort to C. While I have written a lot of C code, > it's very rare when I find something that cannot be done much > more easily and quickly in python. > > On the other hand, I finally got around to figuring out how to > build multi-part e-mail messages in python instead of just using > the ``mutt -a'' command to create the messages. > > FWIW, I have been playing with OpenSolaris, and found that its > ``mail'' command doesn't grok the -s option for subject. > > Bill > -- > INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC > URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way > Voice: (206) 236-1676 Mercer Island, WA 98040-0820 > Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 > > Government spending? I don't know what it's all about. I don't know > any more about this thing than an economist does, and, God knows, he > doesn't know much. -- Will Rogers > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From bill at celestial.com Thu May 7 15:11:29 2009 From: bill at celestial.com (Bill Campbell) Date: Thu, 7 May 2009 15:11:29 -0700 Subject: OT: base64 decoding In-Reply-To: <200905072046.n47KkGVX008448@admin114.securesites.net> References: <20090507202957.GA14292@ayn.mi.celestial.com> <200905072046.n47KkGVX008448@admin114.securesites.net> Message-ID: <20090507221129.GA21032@ayn.mi.celestial.com> On Thu, May 07, 2009, John Esak wrote: >I've been working in Python too lately. Just running through the beginning >book... And it is so powerful. I think I said this a year or so ago, too. >But now, I'm actually putting together little python scripts to do things on >my PDA which is Linux based and uses python for everything. Someone, >probably Mark, then piped up how PERL is just as good or better... Don't I used perl for most of my work for about 15 years, but now work almost exclusively in python as I find it much easier to work with both for short scripts and large systems. In general I think the python syntax is far cleaner than perl's (I often have said the only modem noise I speak is perl :-), and that object oriented programming is *FAR* simpler in python than perl. IHMO, perl has far too much ``magic'', which makes it more difficult to figure out what it's doing unless perhaps one is as smart as Damian Conway, Randal, or Larry. One thing I do when writing python that would drive a Python Purist bonkers is that I use commented curly braces around blocks to make them easier to navigate and manipulate in the One True Editor, vi(m). I have tried learning emacs on several occassions, and have to admit I have never been successful. for i in range(10): #{ print i #} I do the same thing with shell scripts. for i in 1 2 3; do #{ echo $i done #} This allows me to use the ``%'' key to jump to matching braces, making it very easy to navigate around blocks, indent blocks, ... It took me a while to learn my way around python after 15 years of perl programming, but it wasn't too bad. One book I found fairly useful here as Martin C. Brown's ``Perl to Python Migation''. Other than that, my primary reference is the documentation on the python.org web site (and reading other people's code of course -- which is how I learned shell scripting 27 years agoin on Radio Shack Xenix). ... Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 When you have an efficient government, you have a dictatorship. -- Harry Truman From fairlite at fairlite.com Thu May 7 15:19:36 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 7 May 2009 18:19:36 -0400 Subject: OT: base64 decoding In-Reply-To: <20090507202957.GA14292@ayn.mi.celestial.com>; from bill@celestial.com on Thu, May 07, 2009 at 01:29:57PM -0700 References: <4A02FDA2.1010005@spamcop.net> <200905072014.n47KEU5g091212@admin114.securesites.net> <20090507202957.GA14292@ayn.mi.celestial.com> Message-ID: <20090507181936.A8771@iglou.com> >From inside the gravity well of a singularity, Bill Campbell shouted: > On the other hand, I finally got around to figuring out how to > build multi-part e-mail messages in python instead of just using > the ``mutt -a'' command to create the messages. It's also not hard to build your own, if you know the spec. Which is pertty trivial, honestly. I had to do that for multipart/form-data because not many things supported it natively at the time. The specs are more or less the same--MIME is MIME, for the most part. > FWIW, I have been playing with OpenSolaris, and found that its > ``mail'' command doesn't grok the -s option for subject. How frakking broken is THAT?! "I'll take a pass for $400, Alex..." mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From fairlite at fairlite.com Thu May 7 15:30:16 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 7 May 2009 18:30:16 -0400 Subject: OT: base64 decoding In-Reply-To: <200905072046.n47KkGVX008448@admin114.securesites.net>; from john@valar.com on Thu, May 07, 2009 at 04:46:15PM -0400 References: <20090507202957.GA14292@ayn.mi.celestial.com> <200905072046.n47KkGVX008448@admin114.securesites.net> Message-ID: <20090507183016.B8771@iglou.com> In the relative spacial/temporal region of Thu, May 07, 2009 at 04:46:15PM -0400, John Esak achieved the spontaneous generation of the following: > I've been working in Python too lately. Just running through the beginning > book... And it is so powerful. I think I said this a year or so ago, too. Very powerful. I can think of at least two games by name off the top of my head, and I know there are over a dozen more out there all written in Python or Stackless Python. EVE Online and Civilization IV are the two I can name off the top of my head. EVE is nothing short of amazing in scope and features. > But now, I'm actually putting together little python scripts to do things on > my PDA which is Linux based and uses python for everything. Someone, > probably Mark, then piped up how PERL is just as good or better... Don't > remember, really.... Only thing I know is that learning python just enough > to write small scripts gets you doing more stuff on a large basis faster > than it ever happened for me in PERL. PERL seems to be concerned with the > workings of things on a very small, granular basis, lots of string stuff and > anything you need is in there somewhere. But, python gets you doing > pragmatic usable things faster. Maybe, most people who use PERL (and Bill, > I know you use it lots) think it's the thing to use for anything. I would Well, there's the thing. My attitudes are subject to change over time. I used to think if it wasn't done in C, it wasn't worth writing. Then I got into perl and my attitudes about it completely changed. I tossed over C for perl and maintain just enough to port or debug C, but not develop in it even remotely cost effectively anymore compared to perl. I would seriously consider switching to python -if- I didn't have years invested in it, and a lack of time and energy to want to start from scratch in something new. There are parts of perl I'd still like to dink with that I've never gotten around to, actually. I know Bill switched, and he had a lot more invested in perl time-wise thatn I. I just...I dunno. When I need something done, I need to -do- it, and since I already have the base skills in one, I'm not likely to switch and dump one for the other for a particular project. And things aren't conducive to switching "for the fun of learning it" at this point in time like they have been in the past. > function. There is huge philosophy and community stuff out there on how and > why and what python is ... I avoid it all. :-) I'm just learning to make There is for perl as well. I'll post in the GUI perl/Tk group on USENET, but -not- in comp.lang.perl.misc unless my life depends on it. Those people will bitch about every single thing that's wrong with your formatting, and overlook the pertinent logic/syntax/flow issues entirely. They're largely useless, honestly. I tried them twice and gave up for good. They're zealots of the worst kind, I swear. The only religious programming bandwagon I'll hop on (or maybe start) is the use of the term "scripting". I consider it a pejorative. Programming is programming, whether it's done in C, perl, python, cobol, fortran, basic, bourne shell, or csh. I absolutely hate it when someone belittles something as "simply scripting" when just as much craftsmanship goes into it as if you wrote it in C. mark-> From fairlite at fairlite.com Thu May 7 15:37:24 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 7 May 2009 18:37:24 -0400 Subject: OT: base64 decoding In-Reply-To: <20090507221129.GA21032@ayn.mi.celestial.com>; from bill@celestial.com on Thu, May 07, 2009 at 03:11:29PM -0700 References: <20090507202957.GA14292@ayn.mi.celestial.com> <200905072046.n47KkGVX008448@admin114.securesites.net> <20090507221129.GA21032@ayn.mi.celestial.com> Message-ID: <20090507183724.C8771@iglou.com> Is it just me, or did Bill Campbell say: > IHMO, perl has far too much ``magic'', which makes it more > difficult to figure out what it's doing unless perhaps one is as > smart as Damian Conway, Randal, or Larry. Well, to be fair, perl was done very organically and started earlier than python. It started off small, and after 5.0 and then the next 5.x release (5.2?), it just grew. they changed and added a lot. So it's been a bit of a tack-on job. One can safely ignore 99% of the underlying stuff -until- one has a memory leak and needs to learn the intricacies of reference-counting garbage collection to make absolutely bloody sure that all references are dereferenced to clean up the leak. Usually this happens on its own, but there are exceptions... > Editor, vi(m). I have tried learning emacs on several > occassions, and have to admit I have never been successful. And sadly, I used to use emacs every day for five years or so, and then I ended up learning vi because emacs wasn't readily available on all the systems on which I was working. When I try to use emacs these days, I'm limited mostly to navigation, minor editing (back and forward words, delete words, etc.), and saving/exiting, quite sadly. It's a really gorgeous editor with a lot of features, but I'd have to go back and re-learn it again to use it to any decent end. And LaTeX and emacs is just pure awesome. I remember it fondly. But my command shell edit style will -always- be emacs mode. Always. I've tried vi mode and I absolutely hate it with a passion. So much so that I'll take the time to change it if someone needs me to work on a system. It saves me more time than it wastes. mark-> From bill at celestial.com Thu May 7 15:46:30 2009 From: bill at celestial.com (Bill Campbell) Date: Thu, 7 May 2009 15:46:30 -0700 Subject: OT: base64 decoding In-Reply-To: <20090507183016.B8771@iglou.com> References: <20090507202957.GA14292@ayn.mi.celestial.com> <200905072046.n47KkGVX008448@admin114.securesites.net> <20090507183016.B8771@iglou.com> Message-ID: <20090507224630.GA8464@ayn.mi.celestial.com> On Thu, May 07, 2009, Fairlight wrote: >In the relative spacial/temporal region of >Thu, May 07, 2009 at 04:46:15PM -0400, John Esak achieved the spontaneous >generation of the following: ... >The only religious programming bandwagon I'll hop on (or maybe start) is >the use of the term "scripting". I consider it a pejorative. Programming >is programming, whether it's done in C, perl, python, cobol, fortran, >basic, bourne shell, or csh. I absolutely hate it when someone belittles >something as "simply scripting" when just as much craftsmanship goes into >it as if you wrote it in C. It's interesting to note that Linux Journal's Products of the Year this year had two categories for programming languages, one for scripting, the other with no restrictions -- python was number 1 in each category. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Democracy must be sometihng more than two wolves and a sheep voting on what to have for dinner -- James Bovard From brian at aljex.com Thu May 7 16:42:40 2009 From: brian at aljex.com (Brian K. White) Date: Thu, 07 May 2009 19:42:40 -0400 Subject: OT: base64 decoding In-Reply-To: <4A02FDA2.1010005@spamcop.net> References: <013e01c9cf1c$a4ad1410$ee073c30$@net> <4A02FDA2.1010005@spamcop.net> Message-ID: <4A0371F0.5060503@aljex.com> Kenneth Brody wrote: > Richard Kreiss wrote: > >> Received an email from my wife which had been bounced back as undeliverable >> to another party. >> >> In the body of the email is text apparently encoded in base64. >> >> Windows xp - Outlook 2007. >> >> Are there an tools I can use to decode (make readable) this information. >> >> Subject: >> =?utf-8?B?UmVzdGF1cmFudCBJbnZpdGF0aW9uIGZyb20gU3VzYW4gS3JlaXNz?= >> Content-Type: text/html; charset=utf-8 >> Content-Transfer-Encoding: base64 >> > > Well, I have a plugin for Thunderbird that does it: > > UmVzdGF1cmFudCBJbnZpdGF0aW9uIGZyb20gU3VzYW4gS3JlaXNz > ==> > Restaurant Invitation from Susan Kreiss > > I think I recall someone writing a BASE64 encode/decode in filePro some time > back? (Or maybe someone was just talking about it, but didn't actually do > it? It's been several years.) > > If you need, there are plenty of online BASE64 decoders available. Just > search for "base64 decoder". > > http://www.opinionatedgeek.com/dotnet/tools/Base64Decode/ > I made a url encode/decode in filepro and in c. I think Nancy said she made a base64. -- bkw From boaz at mirrotek.com Thu May 7 19:03:21 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Thu, 07 May 2009 22:03:21 -0400 Subject: Print job still spooling after FORM command executed Message-ID: <4A0392E9.3000700@mirrotek.com> There is an older program on my system that I didn't write. While in IUA on an invoice record an @KEY command calls a separate processing table to print the invoice. The table calculates the necessary fields and then generates the printout with a FORM command. What I noticed today is that the job remains open for spooling in the queue after this is done and the queue doesn't close allowing the job to print until you exit out of IUA. Apparently it's always acted the same way, but I didn't know this since I don't run this program myself and no one told me about it. According to my reading of the manual FORM should close the spool and allow the job to print. What could stop this from happening? From kenbrody at spamcop.net Thu May 7 19:24:09 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 07 May 2009 22:24:09 -0400 Subject: Print job still spooling after FORM command executed In-Reply-To: <4A0392E9.3000700@mirrotek.com> References: <4A0392E9.3000700@mirrotek.com> Message-ID: <4A0397C9.6040708@spamcop.net> Boaz Bezborodko wrote: > There is an older program on my system that I didn't write. While in > IUA on an invoice record an @KEY command calls a separate processing > table to print the invoice. The table calculates the necessary fields > and then generates the printout with a FORM command. What I noticed > today is that the job remains open for spooling in the queue after this > is done and the queue doesn't close allowing the job to print until you > exit out of IUA. > > Apparently it's always acted the same way, but I didn't know this since > I don't run this program myself and no one told me about it. > > According to my reading of the manual FORM should close the spool and > allow the job to print. What could stop this from happening? If filePro thinks the output is going to a file, rather than a pipe, then it will not close the file after each form. What is the exact destination filePro has been told to use? -- Kenneth Brody From ScottWalker at RAMSystemsCorp.com Thu May 7 19:27:35 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Thu, 7 May 2009 22:27:35 -0400 Subject: PFME on/off Message-ID: <000001c9cf84$8dd885e0$a98991a0$@com> Is there a way to turn PFME on & off in processing? Regards, Scott Scott Walker RAM Systems Corp (704) 896-6549 ScottWalker at RAMSystemCorp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090507/1cc03deb/attachment-0001.html From kenbrody at spamcop.net Thu May 7 19:47:51 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 07 May 2009 22:47:51 -0400 Subject: PFME on/off In-Reply-To: <000001c9cf84$8dd885e0$a98991a0$@com> References: <000001c9cf84$8dd885e0$a98991a0$@com> Message-ID: <4A039D57.4070508@spamcop.net> Scott Walker wrote: > Is there a way to turn PFME on & off in processing? [...] No, PFME is read on startup. Changing it afterwards will have no effect on the current process. -- Kenneth Brody From ScottWalker at RAMSystemsCorp.com Thu May 7 19:54:10 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Thu, 7 May 2009 22:54:10 -0400 Subject: PFME on/off In-Reply-To: <4A039D57.4070508@spamcop.net> References: <000001c9cf84$8dd885e0$a98991a0$@com> <4A039D57.4070508@spamcop.net> Message-ID: <000001c9cf88$44068670$cc139350$@com> I knew changing PFME would not affect things during the current session. I was hoping there was a processing command to mimic it's behavior that could be set on and off in processing. Thanks anyhow. Regards, Scott -----Original Message----- From: Kenneth Brody [mailto:kenbrody at spamcop.net] Sent: Thursday, May 07, 2009 10:48 PM To: Scott Walker Cc: filepro-list at lists.celestial.com Subject: Re: PFME on/off Scott Walker wrote: > Is there a way to turn PFME on & off in processing? [...] No, PFME is read on startup. Changing it afterwards will have no effect on the current process. -- Kenneth Brody From john at valar.com Fri May 8 00:59:20 2009 From: john at valar.com (John Esak) Date: Fri, 8 May 2009 03:59:20 -0400 Subject: OT: base64 decoding In-Reply-To: <20090508053358.GB15620@ayn.mi.celestial.com> Message-ID: <200905080759.n487xKYf089585@admin114.securesites.net> Cool, thanks again, I didn't even know that was possible in shell... Bourne?? I'll check now. Hope it's just not all the enhanced shells like c, k, t, etc. I still (stupidly I know) use the Bourne shell a lot. I'm kind of forced to used bash though on so many machines, I'm sure it will work there. I guess my SCO (mostly Bourne) days are really pretty much over except for some old client/cousins and my own stupid home machine. :-) John > -----Original Message----- > From: Bill Campbell [mailto:bill at celestial.com] > Sent: Friday, May 08, 2009 1:34 AM > To: John Esak > Subject: Re: OT: base64 decoding > > On Thu, May 07, 2009, John Esak wrote: > >I like that tip... Thanks. > > John: > > You are welcome. > > That's something I started doing when debugging shell scripts. > > Another trick is to double the braces on compound statements: > > In python: > > if someboolean: #{{ > do something here on true > #} > elif anotherboolean: #{ > something else > #} > else: #{ > finally > #}} > > In shell scripts: > > if [ sometest ] ; then #{{ > something > #} > else #{ > something else > fi #}} > > ... > Bill > -- > INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC > URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way > Voice: (206) 236-1676 Mercer Island, WA 98040-0820 > Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 > > Scientists are explorers. Philosophers are tourists. -- > Richard Feynman > From boaz at mirrotek.com Fri May 8 05:29:32 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Fri, 08 May 2009 08:29:32 -0400 Subject: Print job still spooling after FORM command executed In-Reply-To: <4A0397C9.6040708@spamcop.net> References: <4A0392E9.3000700@mirrotek.com> <4A0397C9.6040708@spamcop.net> Message-ID: <4A0425AC.3090503@mirrotek.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: >> There is an older program on my system that I didn't write. While in >> IUA on an invoice record an @KEY command calls a separate processing >> table to print the invoice. The table calculates the necessary >> fields and then generates the printout with a FORM command. What I >> noticed today is that the job remains open for spooling in the queue >> after this is done and the queue doesn't close allowing the job to >> print until you exit out of IUA. >> >> Apparently it's always acted the same way, but I didn't know this >> since I don't run this program myself and no one told me about it. >> >> According to my reading of the manual FORM should close the spool and >> allow the job to print. What could stop this from happening? > > If filePro thinks the output is going to a file, rather than a pipe, > then it will not close the file after each form. What is the exact > destination filePro has been told to use? > It is going to a file. Is there a way to get it to close the file from within the processing table? From kenbrody at spamcop.net Fri May 8 08:26:41 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 08 May 2009 11:26:41 -0400 Subject: Print job still spooling after FORM command executed In-Reply-To: <4A0425AC.3090503@mirrotek.com> References: <4A0392E9.3000700@mirrotek.com> <4A0397C9.6040708@spamcop.net> <4A0425AC.3090503@mirrotek.com> Message-ID: <4A044F31.7060601@spamcop.net> Boaz Bezborodko wrote: > Kenneth Brody wrote: >> Boaz Bezborodko wrote: >>> There is an older program on my system that I didn't write. While in >>> IUA on an invoice record an @KEY command calls a separate processing >>> table to print the invoice. The table calculates the necessary >>> fields and then generates the printout with a FORM command. What I >>> noticed today is that the job remains open for spooling in the queue >>> after this is done and the queue doesn't close allowing the job to >>> print until you exit out of IUA. >>> >>> Apparently it's always acted the same way, but I didn't know this >>> since I don't run this program myself and no one told me about it. >>> >>> According to my reading of the manual FORM should close the spool and >>> allow the job to print. What could stop this from happening? >> If filePro thinks the output is going to a file, rather than a pipe, >> then it will not close the file after each form. What is the exact >> destination filePro has been told to use? >> > It is going to a file. Is there a way to get it to close the file from > within the processing table? If it's going to a file, then what is sending it to the spooler? I forget if PRINTER RESET will force the file to be closed in this scenario, but you can try it. -- Kenneth Brody From boaz at mirrotek.com Fri May 8 10:06:15 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Fri, 08 May 2009 13:06:15 -0400 Subject: Print job still spooling after FORM command executed In-Reply-To: <4A044F31.7060601@spamcop.net> References: <4A0392E9.3000700@mirrotek.com> <4A0397C9.6040708@spamcop.net> <4A0425AC.3090503@mirrotek.com> <4A044F31.7060601@spamcop.net> Message-ID: <4A046687.2050202@mirrotek.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: >> Kenneth Brody wrote: >>> Boaz Bezborodko wrote: >>>> There is an older program on my system that I didn't write. While >>>> in IUA on an invoice record an @KEY command calls a separate >>>> processing table to print the invoice. The table calculates the >>>> necessary fields and then generates the printout with a FORM >>>> command. What I noticed today is that the job remains open for >>>> spooling in the queue after this is done and the queue doesn't >>>> close allowing the job to print until you exit out of IUA. >>>> >>>> Apparently it's always acted the same way, but I didn't know this >>>> since I don't run this program myself and no one told me about it. >>>> >>>> According to my reading of the manual FORM should close the spool >>>> and allow the job to print. What could stop this from happening? >>> If filePro thinks the output is going to a file, rather than a pipe, >>> then it will not close the file after each form. What is the exact >>> destination filePro has been told to use? >>> >> It is going to a file. Is there a way to get it to close the file >> from within the processing table? > > If it's going to a file, then what is sending it to the spooler? > > I forget if PRINTER RESET will force the file to be closed in this > scenario, but you can try it. > I have a routine that bypasses the printout to a file if the selected output type is to a PDF file. I then run it through Bob Rasmussen's PrintWizard to do the conversion. I'll try PRINTER RESET, but will PRINTER FLUSH also work? From boaz at mirrotek.com Fri May 8 10:12:13 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Fri, 08 May 2009 13:12:13 -0400 Subject: Print job still spooling after FORM command executed In-Reply-To: <4A044F31.7060601@spamcop.net> References: <4A0392E9.3000700@mirrotek.com> <4A0397C9.6040708@spamcop.net> <4A0425AC.3090503@mirrotek.com> <4A044F31.7060601@spamcop.net> Message-ID: <4A0467ED.4000002@mirrotek.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: >> Kenneth Brody wrote: >>> Boaz Bezborodko wrote: >>>> There is an older program on my system that I didn't write. While >>>> in IUA on an invoice record an @KEY command calls a separate >>>> processing table to print the invoice. The table calculates the >>>> necessary fields and then generates the printout with a FORM >>>> command. What I noticed today is that the job remains open for >>>> spooling in the queue after this is done and the queue doesn't >>>> close allowing the job to print until you exit out of IUA. >>>> >>>> Apparently it's always acted the same way, but I didn't know this >>>> since I don't run this program myself and no one told me about it. >>>> >>>> According to my reading of the manual FORM should close the spool >>>> and allow the job to print. What could stop this from happening? >>> If filePro thinks the output is going to a file, rather than a pipe, >>> then it will not close the file after each form. What is the exact >>> destination filePro has been told to use? >>> >> It is going to a file. Is there a way to get it to close the file >> from within the processing table? > > If it's going to a file, then what is sending it to the spooler? > > I forget if PRINTER RESET will force the file to be closed in this > scenario, but you can try it. > OK, I wasn't sending it to the PDF option like I thought. I had set it to a different printer using PRINTER NAME, but otherwise doing a standard print. Using PRINTER RESET did resolve this problem, though. From fp at fpgroups.com Fri May 8 10:43:09 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Fri, 08 May 2009 13:43:09 -0400 Subject: South Florida based filePro users and/or developers Message-ID: <4A046F2D.7020702@fpgroups.com> Just wondering how many of you are in South Florida. I am involved with a couple of user groups and we meet a couple of times a month (PHP, MySQL and Web Developers). These meetings are very nice and one gets to meet people and expand on your network. This is something I tried to do for filePro when I first launched fpgroups.com - Perhaps, it might be worth trying to bring the idea back if only for a local community base. So, if you are in South Florida and would like to meet others involved with filePro and would like to explore networking possibilities, please drop me a note. I will to put together a list and contact you off list and hopefully, if nothing else, we will create a reason to get out of the house a have a drink ... Regards, Jose Lerebours From kenbrody at spamcop.net Fri May 8 11:05:41 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 08 May 2009 14:05:41 -0400 Subject: Print job still spooling after FORM command executed In-Reply-To: <4A0467ED.4000002@mirrotek.com> References: <4A0392E9.3000700@mirrotek.com> <4A0397C9.6040708@spamcop.net> <4A0425AC.3090503@mirrotek.com> <4A044F31.7060601@spamcop.net> <4A0467ED.4000002@mirrotek.com> Message-ID: <4A047475.9090504@spamcop.net> Boaz Bezborodko wrote: [...] >>>>> According to my reading of the manual FORM should close the spool >>>>> and allow the job to print. What could stop this from happening? >>>> If filePro thinks the output is going to a file, rather than a pipe, >>>> then it will not close the file after each form. What is the exact >>>> destination filePro has been told to use? >>>> >>> It is going to a file. Is there a way to get it to close the file >>> from within the processing table? >> If it's going to a file, then what is sending it to the spooler? >> >> I forget if PRINTER RESET will force the file to be closed in this >> scenario, but you can try it. >> > OK, I wasn't sending it to the PDF option like I thought. I had set it > to a different printer using PRINTER NAME, but otherwise doing a > standard print. Using PRINTER RESET did resolve this problem, though. Then we're back to the original statement/question: If it's going to a file rather than a pipe, then filePro won't close the file after each form. You say it's going to a file, you also say that it's also going to the spooler. Which is it? What is the exact destination for the printer name you gave? In this case, PRINTER RESET works because you used PRINTER NAME to change the destination, sent something there, and now you reset it back to the original printer, thereby closing the temporarily-redirected output. -- Kenneth Brody From ryanx at bulldogsoftware.com Fri May 8 11:27:48 2009 From: ryanx at bulldogsoftware.com (ryanx at bulldogsoftware.com) Date: Fri, 8 May 2009 14:27:48 -0400 Subject: ADV: fp2mysql available for try and buy Message-ID: <20090508182748.GA13782@bulldogsoftware.com> fp2mysql is now available both as a demo, limited to 100 records, and as a full version for only $129. Quickly and easily transfer all of your records to MySQL through an existing MyODBC datasource. All you need to do is point your datasource to an existing MySQL database. It does not need to have any pre-existing tables. fp2mysql does all of the work for you. Try now: http://bulldogsoftware.com Please feel free to contact me privately at ryan at bulldogsoftware.com if you have any questions. Many thanks. -- Ryan Powers Bulldog Software, Inc. http://www.bulldogsoftware.com ------------------------------------------------------------------------------- From boaz at mirrotek.com Fri May 8 11:38:10 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Fri, 08 May 2009 14:38:10 -0400 Subject: Print job still spooling after FORM command executed In-Reply-To: <4A047475.9090504@spamcop.net> References: <4A0392E9.3000700@mirrotek.com> <4A0397C9.6040708@spamcop.net> <4A0425AC.3090503@mirrotek.com> <4A044F31.7060601@spamcop.net> <4A0467ED.4000002@mirrotek.com> <4A047475.9090504@spamcop.net> Message-ID: <4A047C12.1000400@mirrotek.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: > [...] >>>>>> According to my reading of the manual FORM should close the spool >>>>>> and allow the job to print. What could stop this from happening? >>>>> If filePro thinks the output is going to a file, rather than a >>>>> pipe, then it will not close the file after each form. What is >>>>> the exact destination filePro has been told to use? >>>>> >>>> It is going to a file. Is there a way to get it to close the file >>>> from within the processing table? >>> If it's going to a file, then what is sending it to the spooler? >>> >>> I forget if PRINTER RESET will force the file to be closed in this >>> scenario, but you can try it. >>> >> OK, I wasn't sending it to the PDF option like I thought. I had set >> it to a different printer using PRINTER NAME, but otherwise doing a >> standard print. Using PRINTER RESET did resolve this problem, though. > > Then we're back to the original statement/question: > > If it's going to a file rather than a pipe, then filePro won't close > the file after each form. You say it's going to a file, you also say > that it's also going to the spooler. Which is it? > > What is the exact destination for the printer name you gave? > > In this case, PRINTER RESET works because you used PRINTER NAME to > change the destination, sent something there, and now you reset it > back to the original printer, thereby closing the > temporarily-redirected output. > I made a mistake the first time. It wasn't going to a file, but to a printer. The command executed was "PRINTER NAME office" where 'office' is the FilePro name for a Windows queue (\\fileservername\queuename) that services a PrintWizard service. That service then sends the print job to the printer. When I executed the printout the queue (\\fileservername\queuename) would show that it is still spooling until I exit IUA. Now, with PRINTER RESET, it stops spooling right away. From brian at aljex.com Fri May 8 11:41:04 2009 From: brian at aljex.com (Brian K. White) Date: Fri, 08 May 2009 14:41:04 -0400 Subject: Print job still spooling after FORM command executed In-Reply-To: <4A044F31.7060601@spamcop.net> References: <4A0392E9.3000700@mirrotek.com> <4A0397C9.6040708@spamcop.net> <4A0425AC.3090503@mirrotek.com> <4A044F31.7060601@spamcop.net> Message-ID: <4A047CC0.902@aljex.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: > >> Kenneth Brody wrote: >> >>> Boaz Bezborodko wrote: >>> >>>> There is an older program on my system that I didn't write. While in >>>> IUA on an invoice record an @KEY command calls a separate processing >>>> table to print the invoice. The table calculates the necessary >>>> fields and then generates the printout with a FORM command. What I >>>> noticed today is that the job remains open for spooling in the queue >>>> after this is done and the queue doesn't close allowing the job to >>>> print until you exit out of IUA. >>>> >>>> Apparently it's always acted the same way, but I didn't know this >>>> since I don't run this program myself and no one told me about it. >>>> >>>> According to my reading of the manual FORM should close the spool and >>>> allow the job to print. What could stop this from happening? >>>> >>> If filePro thinks the output is going to a file, rather than a pipe, >>> then it will not close the file after each form. What is the exact >>> destination filePro has been told to use? >>> >>> >> It is going to a file. Is there a way to get it to close the file from >> within the processing table? >> > > If it's going to a file, then what is sending it to the spooler? > > I forget if PRINTER RESET will force the file to be closed in this scenario, > but you can try it. > We do 100% of our printing to file since 4 or 5 years ago with no problems and that is exactly what we do. We always do printer reset and/or printer flush the last thing just before anything else is expected to touch the file. And we definitely have to do that. Whenever someone doesn't, there are the expected problems from the file not being flushed or released. When the printer flush command appeared I started inserting it before the reset sometimes but I can't think of any time where the reset didn't take care of everything. I use reset because aside from flushing the write buffer, I want to be as super duper sure as possible that the file is released, so if I entered clerk/report with -p /dev/null and/or the fp config file has the default print destination going to some spooler command or to /dev/null, then printer reset not only flushes the pending writes but also breaks all connection to the file. The general recipe is just to use command line options to prevent fp from touching or creating any files or start any pipes to the default spooler destination as clerk/report starts up, build a unique temp filename in a variable, use system() to create that temp file with whatever permissions you may need so that your external step later can read/modify/delete the file, THEN tell filepro about the file only after it's already been created by system() or by anything other than filepro itself, with "printer file variable". Then formm's & form. Then printer reset. Then your external system command or call table or whatever it is that needs to take the output file. Then usually delete the file if your external process didn't do that. rreport ... -p /dev/null -pc nocodes then: tf="/path/to/tmp_file_"{rand(){".pcl" then: system noredraw "umask 0;>"$tf rreport ... -p $tf -pc hplaser then: formm fooa then: formm foob then: form fooc echo Do something with $tf here. rm $tf Advantage there is, aside from the efficiency of avoiding the unnecessary system(), you have a dirt-simple clerk/report processing in the middle there and all the temp file handling is done in the surrounding shell script and that's all generic, several scripts could all have exactly the same code just with a different report dropped in the middle, which means really, it could be one script that takes a few command line options and the same script could run any number of reports. -- bkw From brian at aljex.com Fri May 8 11:58:11 2009 From: brian at aljex.com (Brian K. White) Date: Fri, 08 May 2009 14:58:11 -0400 Subject: Print job still spooling after FORM command executed In-Reply-To: <4A047CC0.902@aljex.com> References: <4A0392E9.3000700@mirrotek.com> <4A0397C9.6040708@spamcop.net> <4A0425AC.3090503@mirrotek.com> <4A044F31.7060601@spamcop.net> <4A047CC0.902@aljex.com> Message-ID: <4A0480C3.9040704@aljex.com> > rreport ... -p $tf -pc hplaser > then: formm fooa > then: formm foob > then: form fooc > Doh, the ideas DO apply to both clerk and report, but, if the particular code is using "formm/form, than that obviously has to be clerk not report. -- bkw From wdg3rd at comcast.net Sat May 9 07:13:57 2009 From: wdg3rd at comcast.net (wdg3rd at comcast.net) Date: Sat, 9 May 2009 14:13:57 +0000 (UTC) Subject: OT: base64 decoding In-Reply-To: <1604329811.7879491241877877232.JavaMail.root@sz0113a.westchester.pa.mail.comcast.net> Message-ID: <18936772.7882511241878437159.JavaMail.root@sz0113a.westchester.pa.mail.comcast.net> Like Bill, I learned shell programming by reading the code of other folks. The first stock script I recall modifying (on every system that left my RSCC, aside from the first few) was the software installation script that originally mounted installation floppies Read/Write -- no system left the Los Angeles RSCC in that condition from 2/83 at the latest. Yeah, John, Bill's method of commenting has worked since the V7 Tandy Xenix 1.0 days. It works in the various supersets of the Bourne shell (bash, ksh) but we all mostly use the subset unless we need something extra anyway. (I don't need arrays that often in shell scripts). By the way, John, what's the status of the Scripsit source? What are you asking for it? -- Ward Griffiths wdg3rd at comcast.net > Message: 1 > Date: Fri, 8 May 2009 03:59:20 -0400 > From: "John Esak" > Subject: RE: OT: base64 decoding > To: > Cc: filepro-list at lists.celestial.com > Message-ID: <200905080759.n487xKYf089585 at admin114.securesites.net> > Content-Type: text/plain; charset="us-ascii" > > Cool, thanks again, > > I didn't even know that was possible in shell... Bourne?? I'll check > now. > Hope it's just not all the enhanced shells like c, k, t, etc. I > still > (stupidly I know) use the Bourne shell a lot. I'm kind of forced to > used > bash though on so many machines, I'm sure it will work there. I guess > my > SCO (mostly Bourne) days are really pretty much over except for some > old > client/cousins and my own stupid home machine. :-) > > John > > > > -----Original Message----- > > From: Bill Campbell [mailto:bill at celestial.com] > > Sent: Friday, May 08, 2009 1:34 AM > > To: John Esak > > Subject: Re: OT: base64 decoding > > > > On Thu, May 07, 2009, John Esak wrote: > > >I like that tip... Thanks. > > > > John: > > > > You are welcome. > > > > That's something I started doing when debugging shell scripts. > > > > Another trick is to double the braces on compound statements: > > > > In python: > > > > if someboolean: #{{ > > do something here on true > > #} > > elif anotherboolean: #{ > > something else > > #} > > else: #{ > > finally > > #}} > > > > In shell scripts: > > > > if [ sometest ] ; then #{{ > > something > > #} > > else #{ > > something else > > fi #}} > > > > ... > > Bill > > -- > > INTERNET: bill at celestial.com Bill Campbell; Celestial Software > LLC > > URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way > > Voice: (206) 236-1676 Mercer Island, WA 98040-0820 > > Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 > > > > Scientists are explorers. Philosophers are tourists. -- > > Richard Feynman > > > > From scott at logicdatasystems.com Sat May 9 11:20:30 2009 From: scott at logicdatasystems.com (Scott Nelson) Date: Sat, 09 May 2009 11:20:30 -0700 Subject: (end) on screen Message-ID: <4A05C96E.8030903@logicdatasystems.com> fP 5.6.07 on SCO OSE 6, when running a prc that does a showctr to the screen, just before it shows, at the bottom left of the screen is an (END). After hitting q, the process continues. Checking the ps show 'less' being used at that time. Is there a problem with this version of less? Scott From bill at celestial.com Sat May 9 20:03:57 2009 From: bill at celestial.com (Bill Campbell) Date: Sat, 9 May 2009 20:03:57 -0700 Subject: (end) on screen In-Reply-To: <4A05C96E.8030903@logicdatasystems.com> References: <4A05C96E.8030903@logicdatasystems.com> Message-ID: <20090510030357.GA3164@ayn.mi.celestial.com> On Sat, May 09, 2009, Scott Nelson wrote: >fP 5.6.07 on SCO OSE 6, when running a prc that does a showctr to the >screen, just before it shows, at the bottom left of the screen is an >(END). After hitting q, the process continues. Checking the ps show >'less' being used at that time. Is there a problem with this version of >less? Scott: I wouldn't be surprised with a version of less, but more likely the showctr routine forks the less process, but never does a waitpid() to reap its child processes when they terminate. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 We shouldn't elect a President; we should elect a magician. Will Rogers From kenbrody at spamcop.net Sun May 10 14:22:14 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Sun, 10 May 2009 17:22:14 -0400 Subject: (end) on screen In-Reply-To: <20090510030357.GA3164@ayn.mi.celestial.com> References: <4A05C96E.8030903@logicdatasystems.com> <20090510030357.GA3164@ayn.mi.celestial.com> Message-ID: <4A074586.8080804@spamcop.net> Bill Campbell wrote: > On Sat, May 09, 2009, Scott Nelson wrote: >> fP 5.6.07 on SCO OSE 6, when running a prc that does a showctr to the >> screen, just before it shows, at the bottom left of the screen is an >> (END). After hitting q, the process continues. Checking the ps show >> 'less' being used at that time. Is there a problem with this version of >> less? > > Scott: > > I wouldn't be surprised with a version of less, but more likely > the showctr routine forks the less process, but never does a > waitpid() to reap its child processes when they terminate. SHOWCTR(), nor anything else in filePro, will start a "less" process unless someone explicitly tells filePro to do so. (And there's no way to tell filePro to do so in a SHOWCTR statement.) I doubt the SHOWCTR has anything to do with the "(END)" appearing from less. I'd be curious what is the parent process of "less". Does he have the printer destination set to use "less"? The question isn't "why is less showing '(END)' when done", but rather "why is less even being run in the first place". -- Kenneth Brody From fairlite at fairlite.com Sun May 10 14:38:46 2009 From: fairlite at fairlite.com (Fairlight) Date: Sun, 10 May 2009 17:38:46 -0400 Subject: (end) on screen In-Reply-To: <4A074586.8080804@spamcop.net>; from kenbrody@spamcop.net on Sun, May 10, 2009 at 05:22:14PM -0400 References: <4A05C96E.8030903@logicdatasystems.com> <20090510030357.GA3164@ayn.mi.celestial.com> <4A074586.8080804@spamcop.net> Message-ID: <20090510173846.A28423@iglou.com> Only Kenneth Brody would say something like: > Bill Campbell wrote: > > On Sat, May 09, 2009, Scott Nelson wrote: > >> fP 5.6.07 on SCO OSE 6, when running a prc that does a showctr to the > >> screen, just before it shows, at the bottom left of the screen is an > >> (END). After hitting q, the process continues. Checking the ps show > >> 'less' being used at that time. Is there a problem with this version of > >> less? > > > > Scott: > > > > I wouldn't be surprised with a version of less, but more likely > > the showctr routine forks the less process, but never does a > > waitpid() to reap its child processes when they terminate. > > SHOWCTR(), nor anything else in filePro, will start a "less" process unless > someone explicitly tells filePro to do so. (And there's no way to tell > filePro to do so in a SHOWCTR statement.) Does showctr() use any env vars like PAGER, VISUAL, etc? > I doubt the SHOWCTR has anything to do with the "(END)" appearing from less. (END) appearing in less is pretty much the default behaviour. I have no idea what the OP thinks is so unusual about less doing this. Has done for as long as I can remember. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From kenbrody at spamcop.net Sun May 10 20:03:24 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Sun, 10 May 2009 23:03:24 -0400 Subject: (end) on screen In-Reply-To: <20090510173846.A28423@iglou.com> References: <4A05C96E.8030903@logicdatasystems.com> <20090510030357.GA3164@ayn.mi.celestial.com> <4A074586.8080804@spamcop.net> <20090510173846.A28423@iglou.com> Message-ID: <4A07957C.2080200@spamcop.net> Fairlight wrote: > Only Kenneth Brody would say something like: >> Bill Campbell wrote: [...] >>> I wouldn't be surprised with a version of less, but more likely >>> the showctr routine forks the less process, but never does a >>> waitpid() to reap its child processes when they terminate. >> SHOWCTR(), nor anything else in filePro, will start a "less" process unless >> someone explicitly tells filePro to do so. (And there's no way to tell >> filePro to do so in a SHOWCTR statement.) > > Does showctr() use any env vars like PAGER, VISUAL, etc? No, why would it? It simply shows the message centered on the specified line. >> I doubt the SHOWCTR has anything to do with the "(END)" appearing from less. > > (END) appearing in less is pretty much the default behaviour. I have no > idea what the OP thinks is so unusual about less doing this. Has done for > as long as I can remember. Because, based on his description, it's appearing on the filePro screen, and nothing in his (rather brief) description said anything about SYSTEM, USER, FORM, or other command that might start an external process. -- Kenneth Brody From fairlite at fairlite.com Sun May 10 20:19:46 2009 From: fairlite at fairlite.com (Fairlight) Date: Sun, 10 May 2009 23:19:46 -0400 Subject: (end) on screen In-Reply-To: <4A07957C.2080200@spamcop.net>; from kenbrody@spamcop.net on Sun, May 10, 2009 at 11:03:24PM -0400 References: <4A05C96E.8030903@logicdatasystems.com> <20090510030357.GA3164@ayn.mi.celestial.com> <4A074586.8080804@spamcop.net> <20090510173846.A28423@iglou.com> <4A07957C.2080200@spamcop.net> Message-ID: <20090510231946.A5831@iglou.com> At Sun, May 10, 2009 at 11:03:24PM -0400 or thereabouts, suspect Kenneth Brody was observed uttering: > > (END) appearing in less is pretty much the default behaviour. I have no > > idea what the OP thinks is so unusual about less doing this. Has done for > > as long as I can remember. > > Because, based on his description, it's appearing on the filePro screen, and > nothing in his (rather brief) description said anything about SYSTEM, USER, > FORM, or other command that might start an external process. Someone give all the pertinent details within the first five posts? Come on, Ken. You've been doing this long enough to know better! :) Here, I'll help: "What happened when you hit 'q'?" :) :) :) :) :) mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From doug at borisch.com Mon May 11 04:51:11 2009 From: doug at borisch.com (Doug Luurs) Date: Mon, 11 May 2009 07:51:11 -0400 Subject: linux lock.info / showlock Message-ID: <7FD9E40A40547A4DA8FFFE464EE8177759D40665@bmc0003.borisch.local> I forget who wrote the lock.info / showlock programs. Is there a version available for linux (CentOS / RedHat) somewhere. Thank ___________________________________________________________________________ Doug Luurs Senior Systems Analyst / Programmer BORISCH 4511 East Paris SE Grand Rapids, MI 49512-5314 (616) 554-9820 x1143 -- These commodities/technical data are controlled under the United States Export Regulations and may not be exported to a foreign person, either in the U.S. or abroad, without the proper authorization of the U.S. Department of State or the U.S. Department of Commerce. Please contact Borisch Manufacturing Corporation for commodity classification and jurisdiction. This E-mail, including any attachments, may contain confidential information and is intended solely for use by the individual to whom it is addressed. If you received this E-mail in error, please notify the sender, do not disclose its contents to others, and delete it from your system. Any other use of this E-mail and/or attachments is prohibited. This message is not meant to constitute an electronic signature or intent to contract electronically. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090511/89f8196f/attachment.html From appl at jpr.com Mon May 11 13:24:05 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Mon, 11 May 2009 16:24:05 -0400 Subject: linux lock.info / showlock In-Reply-To: <7FD9E40A40547A4DA8FFFE464EE8177759D40665@bmc0003.borisch.local> References: <7FD9E40A40547A4DA8FFFE464EE8177759D40665@bmc0003.borisch.local> Message-ID: <20090511202405.GA14946@jpradley.jpr.com> Doug Luurs propounded (on Mon, May 11, 2009 at 07:51:11AM -0400): | I forget who wrote the lock.info / showlock programs. Is there a | version available for linux (CentOS / RedHat) somewhere. Showlock.c and showlock.Linux have been part of filePro distributions since at least 5.0.13. | These commodities/technical data are controlled under the United | States Export Regulations and may not be exported to a foreign person, | either in the U.S. or abroad, without the proper authorization of the | U.S. Department of State or the U.S. Department of Commerce. Please | contact Borisch Manufacturing Corporation for commodity classification | and jurisdiction. | | This E-mail, including any attachments, may contain confidential | information and is intended solely for use by the individual to whom | it is addressed. If you received this E-mail in error, please notify | the sender, do not disclose its contents to others, and delete it | from your system. Any other use of this E-mail and/or attachments is | prohibited. This message is not meant to constitute an electronic | signature or intent to contract electronically. Uh, can we drop the baloney, please? -- JP From fairlite at fairlite.com Mon May 11 14:23:04 2009 From: fairlite at fairlite.com (Fairlight) Date: Mon, 11 May 2009 17:23:04 -0400 Subject: OT: boilerplate insanity (was Re: linux lock.info / showlock) In-Reply-To: <20090511202405.GA14946@jpradley.jpr.com>; from appl@jpr.com on Mon, May 11, 2009 at 04:24:05PM -0400 References: <7FD9E40A40547A4DA8FFFE464EE8177759D40665@bmc0003.borisch.local> <20090511202405.GA14946@jpradley.jpr.com> Message-ID: <20090511172304.D28397@iglou.com> Yo, homey, in case you don' be listenin', J. P. Radley done said: > > Uh, can we drop the baloney, please? I -love- it when they say it's intended soley for the individual to whom it is addressed. If it got to my mailbox, it was addressed to me. Duh. If it got to me via a mailing list, it was addressed to me as part of a collective entity. Also duh. And people -pay- these lawyers, you say? For advice like that, they may as well forego it and just send the lawyers fees directly to someone in more need--like me. :) What's -really- amusing is that any lawyer worth his initial consultation should know that no contract can be binding without prior notice, let alone consent--of which there is none in the case of unsolicited email, be it commercial or non-commercial. You don't know it's going to arrive, and hence cannot agree or disagree to any (unforeseen) terms. Without a binding contract, you're not obligated to do or not do a damned thing as long as you don't actually violate the law. It truly astounds me that companies retain people that actually don't "get it" when applying contract law to email. If this was actually upholdable, I could just tack a line into my sigfile that says that if you received the mail, you're obligated to send $1k to my PayPal account, and I could just retire and live off my usual email traffic. Obviously that would get laughed out of court. They're not doing anything different in these cases; the actual terms don't matter, as it's a total lack of meeting of the minds, foreknowledge, and consent. The -only- part of that which I can see is "binding" would be if ITAR was actually violated, or death threats made, or something similar--in which case, it's already a federal felony and has -nothing at all- to do with any boilerplate agreement; it'd be part of US statutes. But I digress, just cos I like bitching about boilerplate "logic"... I doubt Doug has little choice in the matter, however, if he's using his official email address at the company. He's a good guy, and just isn't that way--corporations are just stupid like that. Wonder if Borisch lets one use GMail or the like, though... One way around that. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From boaz at mirrotek.com Tue May 12 09:08:28 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 12 May 2009 12:08:28 -0400 Subject: How much do I need to worry about this? Message-ID: <4A099EFC.3030004@mirrotek.com> I ran into a problem where FilePro's RCABE was crashing whenever it hit on a syntax error when checking syntax. After checking out my computer and my file server (Samba running on Linux) I resolved the problem by copying over the existing version of the program with one from a month-old backup. Something must have corrupted the version that I was using. I would think that this isn't something I would have to worry about. Should I be worried? Thanks in advance, Boaz From john at valar.com Tue May 12 09:21:06 2009 From: john at valar.com (John Esak) Date: Tue, 12 May 2009 12:21:06 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A099EFC.3030004@mirrotek.com> Message-ID: <200905121621.n4CGL6xZ063908@admin114.securesites.net> Hmmm, I don't know... But did the crash in cabe happen many times after several loadings of the prc tabble? If it did, then the corruption was probably actually in the prc file and yes, I would worry about why file corruption happened on your file system. If it happened only once, maybe the samba/network read the table in badly. Who knows, I would call it a fluke and not worry. IF your file system has one bad spot on it... Then it could have more, no? Worry, is irrelevant... You justt need to be vigilant about your files. :-) Worry doesn't accomplish anything. If you worry the whole time you are driving to a place whether you are going to get a parking spot near the building or not... Does it help? :-) By the way, in 30 years, I have not seen cabe corrupt any files. Maybe some other occurrence while you are saving a file might have ruined it. Or you did some kind of change that didn't take properly, say a block delete... Heck, that would probably give you the syntax error, but I still don't see why it would crash cabe. Although... To contradict myself, I did see cabe crash out a few weeks ago on a declare duplication.... I know this was fixed years ago, but as soon as I fixed the declare'd dup... The crash went away. Still, though, the rcabe program did not muck up the actual file. John > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co m] On Behalf Of Boaz Bezborodko > Sent: Tuesday, May 12, 2009 12:08 PM > To: filepro-list at lists.celestial.com > Subject: How much do I need to worry about this? > > I ran into a problem where FilePro's RCABE was crashing > whenever it hit > on a syntax error when checking syntax. After checking out > my computer > and my file server (Samba running on Linux) I resolved the problem by > copying over the existing version of the program with one from a > month-old backup. > > Something must have corrupted the version that I was using. I would > think that this isn't something I would have to worry about. > Should I > be worried? > > Thanks in advance, > Boaz > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From boaz at mirrotek.com Tue May 12 09:31:00 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 12 May 2009 12:31:00 -0400 Subject: How much do I need to worry about this? Message-ID: <4A09A444.1060306@mirrotek.com> Nope, that didn't resolve the problem. It just happened to me again. This time I was saving a processing table that I just started working on. The error was that I was doing a lookup where the key would be a variable that I hadn't yet defined. I'm running FP Windows version and I'm getting an "rcabe.exe has encountered a problem and needs to close." error from Windows. I had a problem last night where I had an error with a comment on the same line as a lookup. After copying the version of rcabe from the backup it didn't crash and pointed out where the syntax error was located. This is why I though the problem might be with RCABE. I tried copying the files to my local machine to see if the problem was related with the fileserver, but the problem still occurred. I tried different PCs in the office, but, again, I got the same problem. Any ideas from anyone as to what is causing this? From kenbrody at spamcop.net Tue May 12 09:58:49 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 12 May 2009 12:58:49 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09A444.1060306@mirrotek.com> References: <4A09A444.1060306@mirrotek.com> Message-ID: <4A09AAC9.5@spamcop.net> Boaz Bezborodko wrote: > Nope, that didn't resolve the problem. > > It just happened to me again. This time I was saving a processing table > that I just started working on. The error was that I was doing a lookup > where the key would be a variable that I hadn't yet defined. > > I'm running FP Windows version and I'm getting an "rcabe.exe has > encountered a problem and needs to close." error from Windows. If you have a repeatable crash, contact fpsupport and arrange to send them files to duplicate. [...] -- Kenneth Brody From john at valar.com Tue May 12 11:08:29 2009 From: john at valar.com (John Esak) Date: Tue, 12 May 2009 14:08:29 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09A444.1060306@mirrotek.com> Message-ID: <200905121808.n4CI8T4v026768@admin114.securesites.net> Well, I guess you mean a comment on the if: line of a lookup. I don't think anything other than the lookup can go on a lookup line. But, still, shouldn't cause rcabe to crash. It's sounding like an overall memory error. I didn't understand what you were saying about your testing on other machines. Did it not crash there so you think it is just on your one development machine? Is it at all repeatable? Have you eliminated hardware problems. Re-seated the memory, simple things like that? I do know one error that causes very strange behavior with cabe... I don't rmember if it does actual crashes. It might... Though... I know it does all sorts of weird stuff. This is the error of not having enough memory allocated to "label" size. There is an environment variable that can be set higher. PFLBSIZE. As you get more and more lookup aliases, array names I think, and actual labels, maybe some other things, Ken would have to elaborate, the tables can not be saved properly and lots of strange runtime errors occur. I set it in most of my large systems to 5000. I think it is defaulted to only 1024. Like I say, it probably doesn't cause cabe to crash, but then again, that might be one of the symptoms. John > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co m] On Behalf Of Boaz Bezborodko > Sent: Tuesday, May 12, 2009 12:31 PM > To: filepro-list at lists.celestial.com > Subject: Re: How much do I need to worry about this? > > Nope, that didn't resolve the problem. > > It just happened to me again. This time I was saving a > processing table > that I just started working on. The error was that I was > doing a lookup > where the key would be a variable that I hadn't yet defined. > > I'm running FP Windows version and I'm getting an "rcabe.exe has > encountered a problem and needs to close." error from Windows. > > I had a problem last night where I had an error with a comment on the > same line as a lookup. After copying the version of rcabe from the > backup it didn't crash and pointed out where the syntax error was > located. This is why I though the problem might be with > RCABE. I tried > copying the files to my local machine to see if the problem > was related > with the fileserver, but the problem still occurred. I tried > different > PCs in the office, but, again, I got the same problem. > > Any ideas from anyone as to what is causing this? > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From boaz at mirrotek.com Tue May 12 11:29:25 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 12 May 2009 14:29:25 -0400 Subject: How much do I need to worry about this? In-Reply-To: <200905121808.n4CI8T4v026768@admin114.securesites.net> References: <200905121808.n4CI8T4v026768@admin114.securesites.net> Message-ID: <4A09C005.4060604@mirrotek.com> John Esak wrote: > Well, I guess you mean a comment on the if: line of a lookup. I don't > think anything other than the lookup can go on a lookup line. But, still, > shouldn't cause rcabe to crash. It's sounding like an overall memory error. > I didn't understand what you were saying about your testing on other > machines. Did it not crash there so you think it is just on your one > development machine? Is it at all repeatable? Have you eliminated hardware > problems. Re-seated the memory, simple things like that? > > The problem happens when I have a syntax error in the table and occurs no matter which machine I use in the office. I checked the log on Samba and it seems to be opening and closing the files as necessary and isn't complaining about anything. I also tried copying all the files from the file server onto my own machine and set PFDSK to the local disk and I still got the problem. This should have eliminated any memory problems (wouldn't duplicate on other machines) and the server (I'm running the programs off the local disk). > I do know one error that causes very strange behavior with cabe... I don't > rmember if it does actual crashes. It might... Though... I know it does all > sorts of weird stuff. This is the error of not having enough memory > allocated to "label" size. There is an environment variable that can be set > higher. PFLBSIZE. As you get more and more lookup aliases, array names I > think, and actual labels, maybe some other things, Ken would have to > elaborate, the tables can not be saved properly and lots of strange runtime > errors occur. I set it in most of my large systems to 5000. I think it is > defaulted to only 1024. Like I say, it probably doesn't cause cabe to > crash, but then again, that might be one of the symptoms. > > John > > > This couldn't be the problem as I can make it do this even if the only line in the table is a lookup with a syntax error. One thing more....I'm seeing the following on the screen right after the error window pops up: Exception error -1073741819 in process failed 0(0x00000000) comspec="(null)" command="\fpro\fp\rcabe " Press Enter: From nlp at vss3.com Tue May 12 12:13:31 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Tue, 12 May 2009 15:13:31 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09A444.1060306@mirrotek.com> References: <4A09A444.1060306@mirrotek.com> Message-ID: <4A09CA5B.1090505@vss3.com> Boaz Bezborodko wrote: > Nope, that didn't resolve the problem. > > It just happened to me again. This time I was saving a processing table > that I just started working on. The error was that I was doing a lookup > where the key would be a variable that I hadn't yet defined. > > I'm running FP Windows version and I'm getting an "rcabe.exe has > encountered a problem and needs to close." error from Windows. > > I had a problem last night where I had an error with a comment on the > same line as a lookup. After copying the version of rcabe from the > backup it didn't crash and pointed out where the syntax error was > located. This is why I though the problem might be with RCABE. I tried > copying the files to my local machine to see if the problem was related > with the fileserver, but the problem still occurred. I tried different > PCs in the office, but, again, I got the same problem. > > Any ideas from anyone as to what is causing this? > _______________________________________________ > I have seen cabe do this more often than I like. It seems more likely on long tables or when I have gone in and out of multiple tables without leaving cabe. Usually, after it crashes, I return and everything was written, nothing was lost. I think the most likely cause is something in the syntax checker is crashing. Since my process table is written, I think it must happen after the write step. I have also seen it report syntax errors, that miraculously disappear if I leave cabe and reload the table entirely from the filePro menu. I have seen filepro point, incorrectly, to where a syntax error can be found. It has lead me on a merry chase on more than one occasion. I can understand it usually, once I find the real culprit. (HINT: always look were you were just working, first.) I don't think you are loosing your mind on this one. I gave up reporting it, because the cause is partially environmental and I do not think Ken has ever been able to reproduce an event. He has the magic machine that never has problems, we all know that. ;-) Nancy Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From nlp at vss3.com Tue May 12 12:22:28 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Tue, 12 May 2009 15:22:28 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09C005.4060604@mirrotek.com> References: <200905121808.n4CI8T4v026768@admin114.securesites.net> <4A09C005.4060604@mirrotek.com> Message-ID: <4A09CC74.8090706@vss3.com> Boaz Bezborodko wrote: > John Esak wrote: > >> Well, I guess you mean a comment on the if: line of a lookup. I don't >> think anything other than the lookup can go on a lookup line. But, still, >> shouldn't cause rcabe to crash. It's sounding like an overall memory error. >> I didn't understand what you were saying about your testing on other >> machines. Did it not crash there so you think it is just on your one >> development machine? Is it at all repeatable? Have you eliminated hardware >> problems. Re-seated the memory, simple things like that? >> >> >> > The problem happens when I have a syntax error in the table and occurs > no matter which machine I use in the office. I checked the log on Samba > and it seems to be opening and closing the files as necessary and isn't > complaining about anything. > I also tried copying all the files from the file server onto my own > machine and set PFDSK to the local disk and I still got the problem. > This should have eliminated any memory problems (wouldn't duplicate on > other machines) and the server (I'm running the programs off the local > disk). > > >> I do know one error that causes very strange behavior with cabe... I don't >> rmember if it does actual crashes. It might... Though... I know it does all >> sorts of weird stuff. This is the error of not having enough memory >> allocated to "label" size. There is an environment variable that can be set >> higher. PFLBSIZE. As you get more and more lookup aliases, array names I >> think, and actual labels, maybe some other things, Ken would have to >> elaborate, the tables can not be saved properly and lots of strange runtime >> errors occur. I set it in most of my large systems to 5000. I think it is >> defaulted to only 1024. Like I say, it probably doesn't cause cabe to >> crash, but then again, that might be one of the symptoms. >> >> John >> >> >> >> > This couldn't be the problem as I can make it do this even if the only > line in the table is a lookup with a syntax error. > > One thing more....I'm seeing the following on the screen right after the > error window pops up: > > Exception error -1073741819 in process failed 0(0x00000000) > comspec="(null)" > command="\fpro\fp\rcabe > " > Press Enter: > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > Are you running a WINDOWS version of filePro? I had the impressing you were running a Unix/Linux version from the talk of Samba. I had no end of issues with filePro when the Windows network is not working correctly. The errors were like SegViolations on Unix and reported like you see above. It always seemed to be caused by the system being unable to write fast enough. Now mostly I saw this in the runtime side, but maybe your network has other problems. To fix my RUNTIME issues, I added SLEEP commands after WRITE or CLOSE to give the network time to write the data and update the server. It fixed most of the problems. It has reduced them to the point where they are very occasional, instead of crashing so much we could not work. Check that you have applied all the network patches for the system, especially related to LOCKING and I/O, for the server and clients. Hope that will help. Nancy -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From boaz at mirrotek.com Tue May 12 12:32:39 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 12 May 2009 15:32:39 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09CC74.8090706@vss3.com> References: <200905121808.n4CI8T4v026768@admin114.securesites.net> <4A09C005.4060604@mirrotek.com> <4A09CC74.8090706@vss3.com> Message-ID: <4A09CED7.6060602@mirrotek.com> Nancy Palmquist wrote: > Boaz Bezborodko wrote: >> John Esak wrote: >> >>> Well, I guess you mean a comment on the if: line of a lookup. I don't >>> think anything other than the lookup can go on a lookup line. But, >>> still, >>> shouldn't cause rcabe to crash. It's sounding like an overall >>> memory error. >>> I didn't understand what you were saying about your testing on other >>> machines. Did it not crash there so you think it is just on your one >>> development machine? Is it at all repeatable? Have you eliminated >>> hardware >>> problems. Re-seated the memory, simple things like that? >>> >> The problem happens when I have a syntax error in the table and >> occurs no matter which machine I use in the office. I checked the >> log on Samba and it seems to be opening and closing the files as >> necessary and isn't complaining about anything. >> I also tried copying all the files from the file server onto my own >> machine and set PFDSK to the local disk and I still got the problem. >> This should have eliminated any memory problems (wouldn't duplicate >> on other machines) and the server (I'm running the programs off the >> local disk). >> >> >>> I do know one error that causes very strange behavior with cabe... I >>> don't >>> rmember if it does actual crashes. It might... Though... I know it >>> does all >>> sorts of weird stuff. This is the error of not having enough memory >>> allocated to "label" size. There is an environment variable that can >>> be set >>> higher. PFLBSIZE. As you get more and more lookup aliases, array >>> names I >>> think, and actual labels, maybe some other things, Ken would have to >>> elaborate, the tables can not be saved properly and lots of strange >>> runtime >>> errors occur. I set it in most of my large systems to 5000. I >>> think it is >>> defaulted to only 1024. Like I say, it probably doesn't cause cabe to >>> crash, but then again, that might be one of the symptoms. >>> >>> John >>> >>> >>> >> This couldn't be the problem as I can make it do this even if the >> only line in the table is a lookup with a syntax error. >> >> One thing more....I'm seeing the following on the screen right after >> the error window pops up: >> >> Exception error -1073741819 in process failed 0(0x00000000) >> comspec="(null)" >> command="\fpro\fp\rcabe >> " >> Press Enter: >> >> >> _______________________________________________ >> Filepro-list mailing list >> Filepro-list at lists.celestial.com >> http://mailman.celestial.com/mailman/listinfo/filepro-list >> >> > Are you running a WINDOWS version of filePro? I had the impressing > you were running a Unix/Linux version from the talk of Samba. > > I had no end of issues with filePro when the Windows network is not > working correctly. > > The errors were like SegViolations on Unix and reported like you see > above. It always seemed to be caused by the system being unable to > write fast enough. > > Now mostly I saw this in the runtime side, but maybe your network has > other problems. > > To fix my RUNTIME issues, I added SLEEP commands after WRITE or CLOSE > to give the network time to write the data and update the server. > > It fixed most of the problems. It has reduced them to the point where > they are very occasional, instead of crashing so much we could not work. > > Check that you have applied all the network patches for the system, > especially related to LOCKING and I/O, for the server and clients. > > Hope that will help. > > Nancy Thanks for the in depth responses, Nancy. I am using FilePro running locally on Windows machines and using a Linux server running Samba as the fileserver. (When we made this change we were already running FP Windows off a Netware server, so moving to Samba when we needed to upgrade seemed the logical decision.) I have no problems with rclerk or rreport. In fact everyone else is moving along fine without even knowing about what is happening (except for my having to explain why I can't get anything else done right now). The error occurs as soon as I enter 'Y' at Check Syntax. Yes, it saves the file, but it won't compile it. To isolate the problem I moved everything over to my own local machine and change PFDSK to point to the local drive. It still happens which means that it isn't related to the server. I also get the same problem on other machines so it can't be a memory issue. I ran Microsoft's FILEMON to see what the system was doing with the files and I did find one interesting thing when I looked at the data. I found that rcabe was looking for 3 files that I can't find on my system. 273 2:53:40 PM rcabe.exe:360 QUERY INFORMATION E:\fpro\fp\WINSTA.dll NOT FOUND Attributes: Error 274 2:53:40 PM rcabe.exe:360 QUERY INFORMATION E:\fpro\fp\WTSAPI32.dll NOT FOUND Attributes: Error 275 2:53:40 PM rcabe.exe:360 QUERY INFORMATION E:\fpro\fp\SETUPAPI.dll NOT FOUND Attributes: Error I have sent FPsupport this information as well as the complete FILEMON data from the error. From fairlite at fairlite.com Tue May 12 12:36:44 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 12 May 2009 15:36:44 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09CC74.8090706@vss3.com>; from nlp@vss3.com on Tue, May 12, 2009 at 03:22:28PM -0400 References: <200905121808.n4CI8T4v026768@admin114.securesites.net> <4A09C005.4060604@mirrotek.com> <4A09CC74.8090706@vss3.com> Message-ID: <20090512153644.A4161@iglou.com> Simon--er, no...it was Nancy Palmquist--said: > Are you running a WINDOWS version of filePro? I had the impressing you > were running a Unix/Linux version from the talk of Samba. Samba can be used both ways. You can mount Windows shares to the *nix box, or you can create a *nix share for a Windows box to use. > The errors were like SegViolations on Unix and reported like you see > above. It always seemed to be caused by the system being unable to > write fast enough. That shouldn't be possible, given buffered I/O. SegV is always memory mismanagement anyway. But to get things out of whack enough to do that, you'd have to make reading/writing non-blocking and get things out of sync. More likely than not you'd simply be reading incorrect data and still not generating any segv. It's in what you do with the data that you might cause a segv. But with buffered I/O? No, not seeing it off the top of my head. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From fairlite at fairlite.com Tue May 12 12:46:44 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 12 May 2009 15:46:44 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09CED7.6060602@mirrotek.com>; from boaz@mirrotek.com on Tue, May 12, 2009 at 03:32:39PM -0400 References: <200905121808.n4CI8T4v026768@admin114.securesites.net> <4A09C005.4060604@mirrotek.com> <4A09CC74.8090706@vss3.com> <4A09CED7.6060602@mirrotek.com> Message-ID: <20090512154644.B4161@iglou.com> Four score and seven years--eh, screw that! At about Tue, May 12, 2009 at 03:32:39PM -0400, Boaz Bezborodko blabbed on about: > > I ran Microsoft's FILEMON to see what the system was doing with the > files and I did find one interesting thing when I looked at the data. I > found that rcabe was looking for 3 files that I can't find on my system. > > 273 2:53:40 PM rcabe.exe:360 QUERY INFORMATION > E:\fpro\fp\WINSTA.dll NOT FOUND Attributes: Error > 274 2:53:40 PM rcabe.exe:360 QUERY INFORMATION > E:\fpro\fp\WTSAPI32.dll NOT FOUND Attributes: Error > 275 2:53:40 PM rcabe.exe:360 QUERY INFORMATION > E:\fpro\fp\SETUPAPI.dll NOT FOUND Attributes: Error > > I have sent FPsupport this information as well as the complete FILEMON > data from the error. That means nothing. I don't know -why- it would be looking for those, either. It doesn't need any of them. First one is related to Windows Station, and the only thing I can see it -maybe- needing there is the clipboard, which I doubt, since it's running in a console window. Second one is a Terminal Services library--shouldn't be needed. Third is usually used by setup programs and installers--also shouldn't be needed. I used to use filemon. It's actually worthless half the time. You should see what APC PowerChute is listed as querying every 5 seconds or less, as well as some other programs like Steam, etc. The most relevant information would be a comparative checksum of the binary that failed, and its replacement. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From d_pro at sbcglobal.net Tue May 12 13:16:00 2009 From: d_pro at sbcglobal.net (david cerezo) Date: Tue, 12 May 2009 13:16:00 -0700 (PDT) Subject: intended solely for use by the individual to whom it is addressed In-Reply-To: References: Message-ID: <976697.89356.qm@web83504.mail.sp1.yahoo.com> I visualize this as a reminding warning?you may put in your wallet and then you go in a taxi cab and your wallet slips out of your pocket.? When you leave and the taxi driver finds your wallet in the seat, he/she can use the cash and maybe some of the pictures of your grandsons, but if he/she uses your credit cards or your identity, even if he/she founds them in his/her car?s seat, he/she is accountable of a wrong doing. ? David d_pro at sbcglobal.net ? ? ________________________________ [...] "This E-mail, including any attachments, may contain confidential information and is intended solely for use by the individual to whom it is addressed.? If you received this E-mail in error, please notify the sender, do not disclose its contents to others, and delete it from your system.? Any other use of this E-mail and/or attachments is prohibited.? This message is not meant to constitute an electronic signature or intent to contract electronically." [...] -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090512/379b4813/attachment.html From boaz at mirrotek.com Tue May 12 13:27:16 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 12 May 2009 16:27:16 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09AAC9.5@spamcop.net> References: <4A09A444.1060306@mirrotek.com> <4A09AAC9.5@spamcop.net> Message-ID: <4A09DBA4.2050602@mirrotek.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: >> Nope, that didn't resolve the problem. >> It just happened to me again. This time I was saving a processing >> table that I just started working on. The error was that I was doing >> a lookup where the key would be a variable that I hadn't yet defined. >> I'm running FP Windows version and I'm getting an "rcabe.exe has >> encountered a problem and needs to close." error from Windows. > > If you have a repeatable crash, contact fpsupport and arrange to send > them files to duplicate. > > [...] > Just to let everyone know... FP Support sent me the updated CABEs and it resolved the problem. Now I just need to resolve the issues with my own weird setup of FP. (I run the license server as a Linux service on the main server since it is the only one set up for 100% (OK, 99.99%) uptime. Boaz From gccconsulting at comcast.net Tue May 12 18:57:58 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Tue, 12 May 2009 21:57:58 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09CC74.8090706@vss3.com> References: <200905121808.n4CI8T4v026768@admin114.securesites.net> <4A09C005.4060604@mirrotek.com> <4A09CC74.8090706@vss3.com> Message-ID: <007901c9d36e$43880220$ca980660$@net> Top post: What version of FP? Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Nancy Palmquist > Sent: Tuesday, May 12, 2009 3:22 PM > To: Boaz Bezborodko > Cc: filepro-list at lists.celestial.com > Subject: Re: How much do I need to worry about this? > > Boaz Bezborodko wrote: > > John Esak wrote: > > > >> Well, I guess you mean a comment on the if: line of a lookup. I don't > >> think anything other than the lookup can go on a lookup line. But, still, > >> shouldn't cause rcabe to crash. It's sounding like an overall memory error. > >> I didn't understand what you were saying about your testing on other > >> machines. Did it not crash there so you think it is just on your one > >> development machine? Is it at all repeatable? Have you eliminated > hardware > >> problems. Re-seated the memory, simple things like that? > >> > >> > >> > > The problem happens when I have a syntax error in the table and occurs > > no matter which machine I use in the office. I checked the log on Samba > > and it seems to be opening and closing the files as necessary and isn't > > complaining about anything. > > I also tried copying all the files from the file server onto my own > > machine and set PFDSK to the local disk and I still got the problem. > > This should have eliminated any memory problems (wouldn't duplicate on > > other machines) and the server (I'm running the programs off the local > > disk). > > > > > >> I do know one error that causes very strange behavior with cabe... I don't > >> rmember if it does actual crashes. It might... Though... I know it does all > >> sorts of weird stuff. This is the error of not having enough memory > >> allocated to "label" size. There is an environment variable that can be set > >> higher. PFLBSIZE. As you get more and more lookup aliases, array names I > >> think, and actual labels, maybe some other things, Ken would have to > >> elaborate, the tables can not be saved properly and lots of strange runtime > >> errors occur. I set it in most of my large systems to 5000. I think it is > >> defaulted to only 1024. Like I say, it probably doesn't cause cabe to > >> crash, but then again, that might be one of the symptoms. > >> > >> John > >> > >> > >> > >> > > This couldn't be the problem as I can make it do this even if the only > > line in the table is a lookup with a syntax error. > > > > One thing more....I'm seeing the following on the screen right after the > > error window pops up: > > > > Exception error -1073741819 in process failed 0(0x00000000) > > comspec="(null)" > > command="\fpro\fp\rcabe > > " > > Press Enter: > > > > > > _______________________________________________ > > Filepro-list mailing list > > Filepro-list at lists.celestial.com > > http://mailman.celestial.com/mailman/listinfo/filepro-list > > > > > Are you running a WINDOWS version of filePro? I had the impressing you > were running a Unix/Linux version from the talk of Samba. > > I had no end of issues with filePro when the Windows network is not > working correctly. > > The errors were like SegViolations on Unix and reported like you see > above. It always seemed to be caused by the system being unable to > write fast enough. > > Now mostly I saw this in the runtime side, but maybe your network has > other problems. > > To fix my RUNTIME issues, I added SLEEP commands after WRITE or CLOSE > to > give the network time to write the data and update the server. > > It fixed most of the problems. It has reduced them to the point where > they are very occasional, instead of crashing so much we could not work. > > Check that you have applied all the network patches for the system, > especially related to LOCKING and I/O, for the server and clients. > > Hope that will help. > > Nancy > > > -- > Nancy Palmquist MOS & filePro Training Available > Virtual Software Systems Web Based Training and Consulting > PHONE: (412) 835-9417 Web site: http://www.vss3.com > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list From boaz at mirrotek.com Tue May 12 19:04:36 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 12 May 2009 22:04:36 -0400 Subject: How much do I need to worry about this? In-Reply-To: <007901c9d36e$43880220$ca980660$@net> References: <200905121808.n4CI8T4v026768@admin114.securesites.net> <4A09C005.4060604@mirrotek.com> <4A09CC74.8090706@vss3.com> <007901c9d36e$43880220$ca980660$@net> Message-ID: <4A0A2AB4.7010604@mirrotek.com> I was using 5.6.06R9. Right now I'm using the CABEs from 5.6.07 GCC Consulting wrote: > Top post: > > What version of FP? > > > Richard Kreiss > GCC Consulting > rkreiss at gccconsulting.net > > > > > >> -----Original Message----- >> From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com >> >> > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] > On > >> Behalf Of Nancy Palmquist >> Sent: Tuesday, May 12, 2009 3:22 PM >> To: Boaz Bezborodko >> Cc: filepro-list at lists.celestial.com >> Subject: Re: How much do I need to worry about this? >> >> Boaz Bezborodko wrote: >> >>> John Esak wrote: >>> >>> >>>> Well, I guess you mean a comment on the if: line of a lookup. I don't >>>> think anything other than the lookup can go on a lookup line. But, >>>> > still, > >>>> shouldn't cause rcabe to crash. It's sounding like an overall memory >>>> > error. > >>>> I didn't understand what you were saying about your testing on other >>>> machines. Did it not crash there so you think it is just on your one >>>> development machine? Is it at all repeatable? Have you eliminated >>>> >> hardware >> >>>> problems. Re-seated the memory, simple things like that? >>>> >>>> >>>> >>>> >>> The problem happens when I have a syntax error in the table and occurs >>> no matter which machine I use in the office. I checked the log on Samba >>> and it seems to be opening and closing the files as necessary and isn't >>> complaining about anything. >>> I also tried copying all the files from the file server onto my own >>> machine and set PFDSK to the local disk and I still got the problem. >>> This should have eliminated any memory problems (wouldn't duplicate on >>> other machines) and the server (I'm running the programs off the local >>> disk). >>> >>> >>> >>>> I do know one error that causes very strange behavior with cabe... I >>>> > don't > >>>> rmember if it does actual crashes. It might... Though... I know it does >>>> > all > >>>> sorts of weird stuff. This is the error of not having enough memory >>>> allocated to "label" size. There is an environment variable that can be >>>> > set > >>>> higher. PFLBSIZE. As you get more and more lookup aliases, array >>>> > names I > >>>> think, and actual labels, maybe some other things, Ken would have to >>>> elaborate, the tables can not be saved properly and lots of strange >>>> > runtime > >>>> errors occur. I set it in most of my large systems to 5000. I think >>>> > it is > >>>> defaulted to only 1024. Like I say, it probably doesn't cause cabe to >>>> crash, but then again, that might be one of the symptoms. >>>> >>>> John >>>> >>>> >>>> >>>> >>>> >>> This couldn't be the problem as I can make it do this even if the only >>> line in the table is a lookup with a syntax error. >>> >>> One thing more....I'm seeing the following on the screen right after the >>> error window pops up: >>> >>> Exception error -1073741819 in process failed 0(0x00000000) >>> comspec="(null)" >>> command="\fpro\fp\rcabe >>> " >>> Press Enter: >>> >>> >>> _______________________________________________ >>> Filepro-list mailing list >>> Filepro-list at lists.celestial.com >>> http://mailman.celestial.com/mailman/listinfo/filepro-list >>> >>> >>> >> Are you running a WINDOWS version of filePro? I had the impressing you >> were running a Unix/Linux version from the talk of Samba. >> >> I had no end of issues with filePro when the Windows network is not >> working correctly. >> >> The errors were like SegViolations on Unix and reported like you see >> above. It always seemed to be caused by the system being unable to >> write fast enough. >> >> Now mostly I saw this in the runtime side, but maybe your network has >> other problems. >> >> To fix my RUNTIME issues, I added SLEEP commands after WRITE or CLOSE >> to >> give the network time to write the data and update the server. >> >> It fixed most of the problems. It has reduced them to the point where >> they are very occasional, instead of crashing so much we could not work. >> >> Check that you have applied all the network patches for the system, >> especially related to LOCKING and I/O, for the server and clients. >> >> Hope that will help. >> >> Nancy >> >> >> -- >> Nancy Palmquist MOS & filePro Training Available >> Virtual Software Systems Web Based Training and Consulting >> PHONE: (412) 835-9417 Web site: http://www.vss3.com >> >> _______________________________________________ >> Filepro-list mailing list >> Filepro-list at lists.celestial.com >> http://mailman.celestial.com/mailman/listinfo/filepro-list >> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090512/67dab7c0/attachment.html From rkreiss at gccconsulting.net Tue May 12 19:04:41 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Tue, 12 May 2009 22:04:41 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09CED7.6060602@mirrotek.com> References: <200905121808.n4CI8T4v026768@admin114.securesites.net> <4A09C005.4060604@mirrotek.com> <4A09CC74.8090706@vss3.com> <4A09CED7.6060602@mirrotek.com> Message-ID: <007a01c9d36f$344cd190$9ce674b0$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Boaz Bezborodko > Sent: Tuesday, May 12, 2009 3:33 PM > To: Nancy Palmquist > Cc: filepro-list at lists.celestial.com > Subject: Re: How much do I need to worry about this? > > > > Nancy Palmquist wrote: > > Boaz Bezborodko wrote: > >> John Esak wrote: > >> > >>> Well, I guess you mean a comment on the if: line of a lookup. I don't > >>> think anything other than the lookup can go on a lookup line. But, > >>> still, > >>> shouldn't cause rcabe to crash. It's sounding like an overall > >>> memory error. > >>> I didn't understand what you were saying about your testing on other > >>> machines. Did it not crash there so you think it is just on your one > >>> development machine? Is it at all repeatable? Have you eliminated > >>> hardware > >>> problems. Re-seated the memory, simple things like that? > >>> > >> The problem happens when I have a syntax error in the table and > >> occurs no matter which machine I use in the office. I checked the > >> log on Samba and it seems to be opening and closing the files as > >> necessary and isn't complaining about anything. > >> I also tried copying all the files from the file server onto my own > >> machine and set PFDSK to the local disk and I still got the problem. > >> This should have eliminated any memory problems (wouldn't duplicate > >> on other machines) and the server (I'm running the programs off the > >> local disk). > >> > >> > >>> I do know one error that causes very strange behavior with cabe... I > >>> don't > >>> rmember if it does actual crashes. It might... Though... I know it > >>> does all > >>> sorts of weird stuff. This is the error of not having enough memory > >>> allocated to "label" size. There is an environment variable that can > >>> be set > >>> higher. PFLBSIZE. As you get more and more lookup aliases, array > >>> names I > >>> think, and actual labels, maybe some other things, Ken would have to > >>> elaborate, the tables can not be saved properly and lots of strange > >>> runtime > >>> errors occur. I set it in most of my large systems to 5000. I > >>> think it is > >>> defaulted to only 1024. Like I say, it probably doesn't cause cabe to > >>> crash, but then again, that might be one of the symptoms. > >>> > >>> John > >>> > >>> > >>> > >> This couldn't be the problem as I can make it do this even if the > >> only line in the table is a lookup with a syntax error. > >> > >> One thing more....I'm seeing the following on the screen right after > >> the error window pops up: > >> > >> Exception error -1073741819 in process failed 0(0x00000000) > >> comspec="(null)" > >> command="\fpro\fp\rcabe > >> " > >> Press Enter: > >> > >> > >> _______________________________________________ > >> Filepro-list mailing list > >> Filepro-list at lists.celestial.com > >> http://mailman.celestial.com/mailman/listinfo/filepro-list > >> > >> > > Are you running a WINDOWS version of filePro? I had the impressing > > you were running a Unix/Linux version from the talk of Samba. > > > > I had no end of issues with filePro when the Windows network is not > > working correctly. > > > > The errors were like SegViolations on Unix and reported like you see > > above. It always seemed to be caused by the system being unable to > > write fast enough. > > > > Now mostly I saw this in the runtime side, but maybe your network has > > other problems. > > > > To fix my RUNTIME issues, I added SLEEP commands after WRITE or > CLOSE > > to give the network time to write the data and update the server. > > > > It fixed most of the problems. It has reduced them to the point where > > they are very occasional, instead of crashing so much we could not work. > > > > Check that you have applied all the network patches for the system, > > especially related to LOCKING and I/O, for the server and clients. > > > > Hope that will help. > > > > Nancy > Thanks for the in depth responses, Nancy. > > I am using FilePro running locally on Windows machines and using a Linux > server running Samba as the fileserver. (When we made this change we > were already running FP Windows off a Netware server, so moving to Samba > when we needed to upgrade seemed the logical decision.) > > I have no problems with rclerk or rreport. In fact everyone else is > moving along fine without even knowing about what is happening (except > for my having to explain why I can't get anything else done right now). > The error occurs as soon as I enter 'Y' at Check Syntax. Yes, it saves > the file, but it won't compile it. > > To isolate the problem I moved everything over to my own local machine > and change PFDSK to point to the local drive. It still happens which > means that it isn't related to the server. I also get the same problem > on other machines so it can't be a memory issue. > > I ran Microsoft's FILEMON to see what the system was doing with the > files and I did find one interesting thing when I looked at the data. I > found that rcabe was looking for 3 files that I can't find on my system. > > 273 2:53:40 PM rcabe.exe:360 QUERY INFORMATION > E:\fpro\fp\WINSTA.dll NOT FOUND Attributes: Error > 274 2:53:40 PM rcabe.exe:360 QUERY INFORMATION > E:\fpro\fp\WTSAPI32.dll NOT FOUND Attributes: Error > 275 2:53:40 PM rcabe.exe:360 QUERY INFORMATION > E:\fpro\fp\SETUPAPI.dll NOT FOUND Attributes: Error > > I have sent FPsupport this information as well as the complete FILEMON > data from the error. > If you haven't already done so, set abe=ASCII and then resave the processing table without the syntax check. Use an editor or "type foobar |more" to check to see if there are any odd characters in the processing table. There may be some graphics characters hiding. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From fairlite at fairlite.com Tue May 12 20:49:16 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 12 May 2009 23:49:16 -0400 Subject: intended solely for use by the individual to whom it is addressed In-Reply-To: <976697.89356.qm@web83504.mail.sp1.yahoo.com>; from d_pro@sbcglobal.net on Tue, May 12, 2009 at 01:16:00PM -0700 References: <976697.89356.qm@web83504.mail.sp1.yahoo.com> Message-ID: <20090512234916.A14413@iglou.com> In the relative spacial/temporal region of Tue, May 12, 2009 at 01:16:00PM -0700, david cerezo achieved the spontaneous generation of the following: > I visualize this as a reminding warning??you may put in your wallet > and then you go in a taxi cab and your wallet slips out of your > pocket.?? When you leave and the taxi driver finds your wallet in the > seat, he/she can use the cash and maybe some of the pictures of your > grandsons, but if he/she uses your credit cards or your identity, even if > he/she founds them in his/her car???s seat, he/she is accountable of a > wrong doing. I think you're losing sight of the bigger picture. No offense, but I figure that if some idiot is stupid and -willing- enough to commit fraud using stolen goods (or just flat-out do something that's KNOWN to be illegal by any reasonable stretch of common sense), putting an extra note on something reminding them that they shouldn't do that...is more than likely bloody useless. As the old saw goes, a lock only keeps an honest man out. A note of this type is even more worthless, as it almost certainly will only dissuade someone that would -already- would abide by the law. At least a lock is a physical challenge to overcome. Let me bottom line it: Which do you think is a more compelling deterrant; hard jail time, or a polite note reminding someone that they shouldn't do that? Maybe if we leave out milk and cookies for them, they won't do it... Right. And your analogy falls down in that 99%+ of the time, a misplaced purse/wallet will be an accident. However, 99%+ of the email generated with boilerplate attached is sent to the correct party, intentionally. The email equivalent that most closely matches your analogy is walking up to the taxi driver, knocking on the window, getting him to roll it down, and SHOVING your wallet into his hands, then walking away. If you're that careless, there's little sympathy to be had, in my opinion. Come to think of it, it's just another symptom of our "I'm a Victim" society; people mis-address the odd email, and instead of taking responsibility for their own mistakes, they try to villify, threaten, and persecute the recipient and thus shove the blame and onus onto them. Which is a lot of rubbish, if you ask me. It's called due diligence. Exercise it, face the consequences of your actions/inactions, or lose the privileges. But it's nobody's problem but the sender's, no matter what they wish to think. What really kills me is when you get one-line replies with 3 paragraphs of boilerplate. *shakes head sadly* mark-> From dcoleman at dgcreact.com Thu May 14 07:19:49 2009 From: dcoleman at dgcreact.com (Coleman) Date: Thu, 14 May 2009 10:19:49 -0400 Subject: OT- Ancient hard drive needed Message-ID: <200905141019.AA138346736@mail.dgcreact.com> Rec'd a call from my brother in law. He is in need of an old IDE 3.5" hard drive capacity less than 1GB. It is for his predictive dialer software application PC (which has ISA boards in it if you can believe it). If anyone wants to get rid of a relic please reply off list. TY, Don Coleman Donald G. Coleman, Consultant 402 Andrew Circle Indiana, PA 15701 (724) 349-6302 (412) 849-2589 (cell) ________________________________________________________________ Sent via the WebMail system at mail.dgcreact.com From kenbrody at spamcop.net Thu May 14 07:36:34 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 14 May 2009 10:36:34 -0400 Subject: OT- Ancient hard drive needed In-Reply-To: <200905141019.AA138346736@mail.dgcreact.com> References: <200905141019.AA138346736@mail.dgcreact.com> Message-ID: <4A0C2C72.4060003@spamcop.net> Coleman wrote: > Rec'd a call from my brother in law. He is in need of an old IDE 3.5" hard drive capacity less than 1GB. It is for his predictive dialer software application PC (which has ISA boards in it if you can believe it). If anyone wants to get rid of a relic please reply off list. Sorry, I doubt we have anything that small, given that we let our 9-year-old daughter "deconstruct" them a few months ago. Are you sure it must be smaller than 1GB? Could you plug in a larger drive, and have the system only see the first 1GB? -- Kenneth Brody From rkreiss at gccconsulting.net Thu May 14 13:55:17 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Thu, 14 May 2009 16:55:17 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A09CED7.6060602@mirrotek.com> References: <200905121808.n4CI8T4v026768@admin114.securesites.net> <4A09C005.4060604@mirrotek.com> <4A09CC74.8090706@vss3.com> <4A09CED7.6060602@mirrotek.com> Message-ID: <00a101c9d4d6$4f8b0310$eea10930$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Boaz Bezborodko > Sent: Tuesday, May 12, 2009 3:33 PM > To: Nancy Palmquist > Cc: filepro-list at lists.celestial.com > Subject: Re: How much do I need to worry about this? > > > > Nancy Palmquist wrote: > > Boaz Bezborodko wrote: > >> John Esak wrote: > >> > >>> Well, I guess you mean a comment on the if: line of a lookup. I don't > >>> think anything other than the lookup can go on a lookup line. But, > >>> still, > >>> shouldn't cause rcabe to crash. It's sounding like an overall > >>> memory error. > >>> I didn't understand what you were saying about your testing on other > >>> machines. Did it not crash there so you think it is just on your one > >>> development machine? Is it at all repeatable? Have you eliminated > >>> hardware > >>> problems. Re-seated the memory, simple things like that? > >>> > >> The problem happens when I have a syntax error in the table and > >> occurs no matter which machine I use in the office. I checked the > >> log on Samba and it seems to be opening and closing the files as > >> necessary and isn't complaining about anything. > >> I also tried copying all the files from the file server onto my own > >> machine and set PFDSK to the local disk and I still got the problem. > >> This should have eliminated any memory problems (wouldn't duplicate > >> on other machines) and the server (I'm running the programs off the > >> local disk). > >> > >> > >>> I do know one error that causes very strange behavior with cabe... I > >>> don't > >>> rmember if it does actual crashes. It might... Though... I know it > >>> does all > >>> sorts of weird stuff. This is the error of not having enough memory > >>> allocated to "label" size. There is an environment variable that can > >>> be set > >>> higher. PFLBSIZE. As you get more and more lookup aliases, array > >>> names I > >>> think, and actual labels, maybe some other things, Ken would have to > >>> elaborate, the tables can not be saved properly and lots of strange > >>> runtime > >>> errors occur. I set it in most of my large systems to 5000. I > >>> think it is > >>> defaulted to only 1024. Like I say, it probably doesn't cause cabe to > >>> crash, but then again, that might be one of the symptoms. > >>> > >>> John > >>> > >>> > >>> > >> This couldn't be the problem as I can make it do this even if the > >> only line in the table is a lookup with a syntax error. > >> > >> One thing more....I'm seeing the following on the screen right after > >> the error window pops up: > >> > >> Exception error -1073741819 in process failed 0(0x00000000) > >> comspec="(null)" > >> command="\fpro\fp\rcabe > >> " > >> Press Enter: > >> > >> > >> _______________________________________________ > >> Filepro-list mailing list > >> Filepro-list at lists.celestial.com > >> http://mailman.celestial.com/mailman/listinfo/filepro-list > >> > >> > > Are you running a WINDOWS version of filePro? I had the impressing > > you were running a Unix/Linux version from the talk of Samba. > > > > I had no end of issues with filePro when the Windows network is not > > working correctly. > > > > The errors were like SegViolations on Unix and reported like you see > > above. It always seemed to be caused by the system being unable to > > write fast enough. > > > > Now mostly I saw this in the runtime side, but maybe your network has > > other problems. > > > > To fix my RUNTIME issues, I added SLEEP commands after WRITE or > CLOSE > > to give the network time to write the data and update the server. > > > > It fixed most of the problems. It has reduced them to the point where > > they are very occasional, instead of crashing so much we could not work. > > > > Check that you have applied all the network patches for the system, > > especially related to LOCKING and I/O, for the server and clients. > > > > Hope that will help. > > > > Nancy > Thanks for the in depth responses, Nancy. > > I am using FilePro running locally on Windows machines and using a Linux > server running Samba as the fileserver. (When we made this change we > were already running FP Windows off a Netware server, so moving to Samba > when we needed to upgrade seemed the logical decision.) > > I have no problems with rclerk or rreport. In fact everyone else is > moving along fine without even knowing about what is happening (except > for my having to explain why I can't get anything else done right now). > The error occurs as soon as I enter 'Y' at Check Syntax. Yes, it saves > the file, but it won't compile it. > > To isolate the problem I moved everything over to my own local machine > and change PFDSK to point to the local drive. It still happens which > means that it isn't related to the server. I also get the same problem > on other machines so it can't be a memory issue. > > I ran Microsoft's FILEMON to see what the system was doing with the > files and I did find one interesting thing when I looked at the data. I > found that rcabe was looking for 3 files that I can't find on my system. > > 273 2:53:40 PM rcabe.exe:360 QUERY INFORMATION > E:\fpro\fp\WINSTA.dll NOT FOUND Attributes: Error > 274 2:53:40 PM rcabe.exe:360 QUERY INFORMATION > E:\fpro\fp\WTSAPI32.dll NOT FOUND Attributes: Error > 275 2:53:40 PM rcabe.exe:360 QUERY INFORMATION > E:\fpro\fp\SETUPAPI.dll NOT FOUND Attributes: Error > > I have sent FPsupport this information as well as the complete FILEMON > data from the error. Just crashed rcabe 5.06.07 Windows. Here is what caused the crash Cn(len(1),edit(1)=2 Note I left off the closing paran. ). The syntax check found the error and pointed at the =. Not sure if this was your problem, but this is my error and it did crash rcabe. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From boaz at mirrotek.com Thu May 14 14:12:09 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Thu, 14 May 2009 17:12:09 -0400 Subject: How much do I need to worry about this? In-Reply-To: <00a101c9d4d6$4f8b0310$eea10930$@net> References: <200905121808.n4CI8T4v026768@admin114.securesites.net> <4A09C005.4060604@mirrotek.com> <4A09CC74.8090706@vss3.com> <4A09CED7.6060602@mirrotek.com> <00a101c9d4d6$4f8b0310$eea10930$@net> Message-ID: <4A0C8929.9030902@mirrotek.com> Richard Kreiss wrote: > >> -----Original Message----- >> From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com >> >> > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] > On > >> Behalf Of Boaz Bezborodko >> Sent: Tuesday, May 12, 2009 3:33 PM >> To: Nancy Palmquist >> Cc: filepro-list at lists.celestial.com >> Subject: Re: How much do I need to worry about this? >> >> >> >> Nancy Palmquist wrote: >> >>> Boaz Bezborodko wrote: >>> >>>> John Esak wrote: >>>> >>>> >>>>> Well, I guess you mean a comment on the if: line of a lookup. I >>>>> > don't > >>>>> think anything other than the lookup can go on a lookup line. But, >>>>> still, >>>>> shouldn't cause rcabe to crash. It's sounding like an overall >>>>> memory error. >>>>> I didn't understand what you were saying about your testing on other >>>>> machines. Did it not crash there so you think it is just on your one >>>>> development machine? Is it at all repeatable? Have you eliminated >>>>> hardware >>>>> problems. Re-seated the memory, simple things like that? >>>>> >>>>> >>>> The problem happens when I have a syntax error in the table and >>>> occurs no matter which machine I use in the office. I checked the >>>> log on Samba and it seems to be opening and closing the files as >>>> necessary and isn't complaining about anything. >>>> I also tried copying all the files from the file server onto my own >>>> machine and set PFDSK to the local disk and I still got the problem. >>>> This should have eliminated any memory problems (wouldn't duplicate >>>> on other machines) and the server (I'm running the programs off the >>>> local disk). >>>> >>>> >>>> >>>>> I do know one error that causes very strange behavior with cabe... I >>>>> don't >>>>> rmember if it does actual crashes. It might... Though... I know it >>>>> does all >>>>> sorts of weird stuff. This is the error of not having enough memory >>>>> allocated to "label" size. There is an environment variable that can >>>>> be set >>>>> higher. PFLBSIZE. As you get more and more lookup aliases, array >>>>> names I >>>>> think, and actual labels, maybe some other things, Ken would have to >>>>> elaborate, the tables can not be saved properly and lots of strange >>>>> runtime >>>>> errors occur. I set it in most of my large systems to 5000. I >>>>> think it is >>>>> defaulted to only 1024. Like I say, it probably doesn't cause cabe to >>>>> crash, but then again, that might be one of the symptoms. >>>>> >>>>> John >>>>> >>>>> >>>>> >>>>> >>>> This couldn't be the problem as I can make it do this even if the >>>> only line in the table is a lookup with a syntax error. >>>> >>>> One thing more....I'm seeing the following on the screen right after >>>> the error window pops up: >>>> >>>> Exception error -1073741819 in process failed 0(0x00000000) >>>> comspec="(null)" >>>> command="\fpro\fp\rcabe >>>> " >>>> Press Enter: >>>> >>>> >>>> _______________________________________________ >>>> Filepro-list mailing list >>>> Filepro-list at lists.celestial.com >>>> http://mailman.celestial.com/mailman/listinfo/filepro-list >>>> >>>> >>>> >>> Are you running a WINDOWS version of filePro? I had the impressing >>> you were running a Unix/Linux version from the talk of Samba. >>> >>> I had no end of issues with filePro when the Windows network is not >>> working correctly. >>> >>> The errors were like SegViolations on Unix and reported like you see >>> above. It always seemed to be caused by the system being unable to >>> write fast enough. >>> >>> Now mostly I saw this in the runtime side, but maybe your network has >>> other problems. >>> >>> To fix my RUNTIME issues, I added SLEEP commands after WRITE or >>> >> CLOSE >> >>> to give the network time to write the data and update the server. >>> >>> It fixed most of the problems. It has reduced them to the point where >>> they are very occasional, instead of crashing so much we could not >>> > work. > >>> Check that you have applied all the network patches for the system, >>> especially related to LOCKING and I/O, for the server and clients. >>> >>> Hope that will help. >>> >>> Nancy >>> >> Thanks for the in depth responses, Nancy. >> >> I am using FilePro running locally on Windows machines and using a Linux >> server running Samba as the fileserver. (When we made this change we >> were already running FP Windows off a Netware server, so moving to Samba >> when we needed to upgrade seemed the logical decision.) >> >> I have no problems with rclerk or rreport. In fact everyone else is >> moving along fine without even knowing about what is happening (except >> for my having to explain why I can't get anything else done right now). >> The error occurs as soon as I enter 'Y' at Check Syntax. Yes, it saves >> the file, but it won't compile it. >> >> To isolate the problem I moved everything over to my own local machine >> and change PFDSK to point to the local drive. It still happens which >> means that it isn't related to the server. I also get the same problem >> on other machines so it can't be a memory issue. >> >> I ran Microsoft's FILEMON to see what the system was doing with the >> files and I did find one interesting thing when I looked at the data. I >> found that rcabe was looking for 3 files that I can't find on my system. >> >> 273 2:53:40 PM rcabe.exe:360 QUERY INFORMATION >> E:\fpro\fp\WINSTA.dll NOT FOUND Attributes: Error >> 274 2:53:40 PM rcabe.exe:360 QUERY INFORMATION >> E:\fpro\fp\WTSAPI32.dll NOT FOUND Attributes: Error >> 275 2:53:40 PM rcabe.exe:360 QUERY INFORMATION >> E:\fpro\fp\SETUPAPI.dll NOT FOUND Attributes: Error >> >> I have sent FPsupport this information as well as the complete FILEMON >> data from the error. >> > > Just crashed rcabe 5.06.07 Windows. > > Here is what caused the crash > > Cn(len(1),edit(1)=2 > > Note I left off the closing paran. ). The syntax check found the error and > pointed at the =. > > Not sure if this was your problem, but this is my error and it did crash > rcabe. > > > > Richard Kreiss > GCC Consulting > rkreiss at gccconsulting.net > Upgrading to 5.6.07 seems to have resolved the problem. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090514/155042ad/attachment-0001.html From john at valar.com Thu May 14 14:55:44 2009 From: john at valar.com (John Esak) Date: Thu, 14 May 2009 17:55:44 -0400 Subject: How much do I need to worry about this? In-Reply-To: <4A0C8929.9030902@mirrotek.com> Message-ID: <200905142155.n4ELtioY097152@admin114.securesites.net> I have been having a similar problem. I thought it was just with some kind of duplicate declare... but today, I put this... if: mid(d_fld["1"],"1","1") eq "A" then: blah blah and it did what it has been doing on this 5.6.6 version of rcabe. It gives the syntax error , and then when I press ENTER, it gives another syntax error... but then immediately drops back to the shell. It should not do that. The rcabe program usually/always puts you back in the prc table on the line with the error, or close to it. In the past few weeks to amonth or so I have been seeing this other behavior.... rcabe crashing out. Very strange. I thought mid(array[element],x,x) on the left side of an if comparison was allowed. It never used to be, but it was fixed some time ago ... along with mid of a lookup in the same place (left side of a comparison on the if line.). I *know* these were fixed... but today, the mid of an array(element) failed. I had to put the value in to a variable and then mid the variable. What is there an "R" in the month or something... no... a "Y"... ahhh, that's it. John _____ From: filepro-list-bounces+john=valar.com at lists.celestial.com [mailto:filepro-list-bounces+john=valar.com at lists.celestial.com] On Behalf Of Boaz Bezborodko Sent: Thursday, May 14, 2009 5:12 PM To: rkreiss at gccconsulting.net Cc: filepro-list at lists.celestial.com Subject: Re: How much do I need to worry about this? Richard Kreiss wrote: -----Original Message----- From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On Behalf Of Boaz Bezborodko Sent: Tuesday, May 12, 2009 3:33 PM To: Nancy Palmquist Cc: filepro-list at lists.celestial.com Subject: Re: How much do I need to worry about this? Nancy Palmquist wrote: Boaz Bezborodko wrote: John Esak wrote: Well, I guess you mean a comment on the if: line of a lookup. I don't think anything other than the lookup can go on a lookup line. But, still, shouldn't cause rcabe to crash. It's sounding like an overall memory error. I didn't understand what you were saying about your testing on other machines. Did it not crash there so you think it is just on your one development machine? Is it at all repeatable? Have you eliminated hardware problems. Re-seated the memory, simple things like that? The problem happens when I have a syntax error in the table and occurs no matter which machine I use in the office. I checked the log on Samba and it seems to be opening and closing the files as necessary and isn't complaining about anything. I also tried copying all the files from the file server onto my own machine and set PFDSK to the local disk and I still got the problem. This should have eliminated any memory problems (wouldn't duplicate on other machines) and the server (I'm running the programs off the local disk). I do know one error that causes very strange behavior with cabe... I don't rmember if it does actual crashes. It might... Though... I know it does all sorts of weird stuff. This is the error of not having enough memory allocated to "label" size. There is an environment variable that can be set higher. PFLBSIZE. As you get more and more lookup aliases, array names I think, and actual labels, maybe some other things, Ken would have to elaborate, the tables can not be saved properly and lots of strange runtime errors occur. I set it in most of my large systems to 5000. I think it is defaulted to only 1024. Like I say, it probably doesn't cause cabe to crash, but then again, that might be one of the symptoms. John This couldn't be the problem as I can make it do this even if the only line in the table is a lookup with a syntax error. One thing more....I'm seeing the following on the screen right after the error window pops up: Exception error -1073741819 in process failed 0(0x00000000) comspec="(null)" command="\fpro\fp\rcabe " Press Enter: _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list Are you running a WINDOWS version of filePro? I had the impressing you were running a Unix/Linux version from the talk of Samba. I had no end of issues with filePro when the Windows network is not working correctly. The errors were like SegViolations on Unix and reported like you see above. It always seemed to be caused by the system being unable to write fast enough. Now mostly I saw this in the runtime side, but maybe your network has other problems. To fix my RUNTIME issues, I added SLEEP commands after WRITE or CLOSE to give the network time to write the data and update the server. It fixed most of the problems. It has reduced them to the point where they are very occasional, instead of crashing so much we could not work. Check that you have applied all the network patches for the system, especially related to LOCKING and I/O, for the server and clients. Hope that will help. Nancy Thanks for the in depth responses, Nancy. I am using FilePro running locally on Windows machines and using a Linux server running Samba as the fileserver. (When we made this change we were already running FP Windows off a Netware server, so moving to Samba when we needed to upgrade seemed the logical decision.) I have no problems with rclerk or rreport. In fact everyone else is moving along fine without even knowing about what is happening (except for my having to explain why I can't get anything else done right now). The error occurs as soon as I enter 'Y' at Check Syntax. Yes, it saves the file, but it won't compile it. To isolate the problem I moved everything over to my own local machine and change PFDSK to point to the local drive. It still happens which means that it isn't related to the server. I also get the same problem on other machines so it can't be a memory issue. I ran Microsoft's FILEMON to see what the system was doing with the files and I did find one interesting thing when I looked at the data. I found that rcabe was looking for 3 files that I can't find on my system. 273 2:53:40 PM rcabe.exe:360 QUERY INFORMATION E:\fpro\fp\WINSTA.dll NOT FOUND Attributes: Error 274 2:53:40 PM rcabe.exe:360 QUERY INFORMATION E:\fpro\fp\WTSAPI32.dll NOT FOUND Attributes: Error 275 2:53:40 PM rcabe.exe:360 QUERY INFORMATION E:\fpro\fp\SETUPAPI.dll NOT FOUND Attributes: Error I have sent FPsupport this information as well as the complete FILEMON data from the error. Just crashed rcabe 5.06.07 Windows. Here is what caused the crash Cn(len(1),edit(1)=2 Note I left off the closing paran. ). The syntax check found the error and pointed at the =. Not sure if this was your problem, but this is my error and it did crash rcabe. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net Upgrading to 5.6.07 seems to have resolved the problem. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090514/8876b6cb/attachment.html From rkreiss at gccconsulting.net Thu May 14 15:17:34 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Thu, 14 May 2009 18:17:34 -0400 Subject: selection set problem Message-ID: <00bd01c9d4e1$cc2ab1d0$64801570$@net> One of my clients tried to run the following selection set and no records were selected. Field 25 (1,.0) Values 0-9 field 14(4,.0) values 1000-4000 at present the selection set: 14 le 1088 25 le 3 No records selected. I changed the selection set to: 14 ge 1 14 le 1088 25 ge 1 25 le 3 This selected 17800 records. Both selection sets seem to be looking for the same data. Why did set 1 fail and set 2 find the records wanted? Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From rkreiss at gccconsulting.net Thu May 14 15:34:45 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Thu, 14 May 2009 18:34:45 -0400 Subject: Differences in export function results Message-ID: <00be01c9d4e4$329271e0$97b755a0$@net> Ran into an interesting problem the other day at a client's site. There is an export program which creates a csv file which had been running correctly, that is until Tuesday. Some of the data was being pushed right on position. The export command used was export word. Now there is a gotcha in this export. There is an alphanumeric field which has numbers 4 - 8 meaning a 4 foot section of shelf was changed to 8 foot. The only way to get this out so that when it is read into Excel is to "\""{40. This exports the value correctly. Otherwise it treated this like a date. I tried to correct the right shift by using export ASCII to no avail. This made the situation worse. I finally realized what was causing the shift. If there was no value in field 40, double quotes were exports and pushed values over to the right. When the export word was set to: If: 40 = "" Then:com(23)="";GOTO exp24 If: 40 ne "" Then:com(23)="\""{40 This worked fine. There are definite differences between the 2 functions. export ascii shipdet =c:\shipdet r=\n f=, -x export word shipdet=c:\shipdet May not give the same results. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From kenbrody at spamcop.net Thu May 14 15:21:41 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 14 May 2009 18:21:41 -0400 Subject: How much do I need to worry about this? In-Reply-To: <00a101c9d4d6$4f8b0310$eea10930$@net> References: <200905121808.n4CI8T4v026768@admin114.securesites.net> <4A09C005.4060604@mirrotek.com> <4A09CC74.8090706@vss3.com> <4A09CED7.6060602@mirrotek.com> <00a101c9d4d6$4f8b0310$eea10930$@net> Message-ID: <4A0C9975.2010507@spamcop.net> Richard Kreiss wrote: [...] > > Just crashed rcabe 5.06.07 Windows. > > Here is what caused the crash > > Cn(len(1),edit(1)=2 > > Note I left off the closing paran. ). The syntax check found the error and > pointed at the =. > > Not sure if this was your problem, but this is my error and it did crash > rcabe. Works fine for me, with rcabe 5.6.07 on Windows: ========== *** A filePro Error Has Occurred *** Line Number: 1 cn(len(1),edit(1)=2 ^ Process contains a syntax error at position indicated. ========== What do you mean by "syntax check found the error" and "it did crash rcabe"? When did rcabe crash? -- Kenneth Brody From kenbrody at spamcop.net Thu May 14 20:17:52 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 14 May 2009 23:17:52 -0400 Subject: Differences in export function results In-Reply-To: <00be01c9d4e4$329271e0$97b755a0$@net> References: <00be01c9d4e4$329271e0$97b755a0$@net> Message-ID: <4A0CDEE0.50006@spamcop.net> Richard Kreiss wrote: > Ran into an interesting problem the other day at a client's site. There is > an export program which creates a csv file which had been running correctly, > that is until Tuesday. > > Some of the data was being pushed right on position. What, exactly, is in the CSV file at the point where the data is "shifted"? > The export command used was export word. What is the complete export line? > Now there is a gotcha in this export. There is an alphanumeric field which > has numbers 4 - 8 meaning a 4 foot section of shelf was changed to 8 foot. By that, do you mean the field contains the text "4 - 8"? > The only way to get this out so that when it is read into Excel is to > "\""{40. This exports the value correctly. Otherwise it treated this like a > date. It sounds more like this allows Excel to import it "correctly", since it is Excel that treats it as a date otherwise. Why are you prefacing one field with an open quote, and not supplying a close quote? Perhaps that's the problem right there? > I tried to correct the right shift by using export ASCII to no avail. This > made the situation worse. What was your actual export ASCII line? > I finally realized what was causing the shift. If there was no value in > field 40, double quotes were exports and pushed values over to the right. What, exactly, ends up in the export file? > When the export word was set to: > > If: 40 = "" > Then:com(23)="";GOTO exp24 > If: 40 ne "" > Then:com(23)="\""{40 > > This worked fine. > > There are definite differences between the 2 functions. > > export ascii shipdet =c:\shipdet r=\n f=, -x > > export word shipdet=c:\shipdet > > May not give the same results. Why would you expect them to give the same results, when they're not equivalent? The line: export word shipdet=c:\shipdet is equivalent to: export ascii shipdet=c:\shipdet r=\n f=, o=" c=" -- Kenneth Brody From kenbrody at spamcop.net Thu May 14 20:24:38 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 14 May 2009 23:24:38 -0400 Subject: selection set problem In-Reply-To: <00bd01c9d4e1$cc2ab1d0$64801570$@net> References: <00bd01c9d4e1$cc2ab1d0$64801570$@net> Message-ID: <4A0CE076.4030901@spamcop.net> Richard Kreiss wrote: > One of my clients tried to run the following selection set and no records > were selected. > > Field 25 (1,.0) Values 0-9 > field 14(4,.0) values 1000-4000 at present > > the selection set: > 14 le 1088 > 25 le 3 > > No records selected. > > I changed the selection set to: > 14 ge 1 > 14 le 1088 > 25 ge 1 > 25 le 3 > > This selected 17800 records. (Was it the correct 17800 records?) Well, if there are records where field 25 contains 0, as you state above, these two are not equivalent. However, the first set should be a superset of the second. > Both selection sets seem to be looking for the same data. Why did set 1 > fail and set 2 find the records wanted? Short of a corrupted index, I can see no reason why the above conditions wouldn't select at least those same 17800 records for selection set 1. -- Kenneth Brody From john at valar.com Thu May 14 21:50:28 2009 From: john at valar.com (John Esak) Date: Fri, 15 May 2009 00:50:28 -0400 Subject: selection set problem In-Reply-To: <4A0CE076.4030901@spamcop.net> Message-ID: <200905150450.n4F4oSSm084066@admin114.securesites.net> Ken, Is there any chance if he is setting PFIXS=ON and indexes being built on any of these fields... would change the behavior.... Actually, I wouldn't think so... But figured I would ask. > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co m] On Behalf Of Kenneth Brody > Sent: Thursday, May 14, 2009 11:25 PM > To: rkreiss at gccconsulting.net > Cc: filepro-list at lists.celestial.com > Subject: Re: selection set problem > > Richard Kreiss wrote: > > One of my clients tried to run the following selection set > and no records > > were selected. > > > > Field 25 (1,.0) Values 0-9 > > field 14(4,.0) values 1000-4000 at present > > > > the selection set: > > 14 le 1088 > > 25 le 3 > > > > No records selected. > > > > I changed the selection set to: > > 14 ge 1 > > 14 le 1088 > > 25 ge 1 > > 25 le 3 > > > > This selected 17800 records. > > (Was it the correct 17800 records?) > > Well, if there are records where field 25 contains 0, as you > state above, > these two are not equivalent. However, the first set should > be a superset > of the second. > > > Both selection sets seem to be looking for the same data. > Why did set 1 > > fail and set 2 find the records wanted? > > Short of a corrupted index, I can see no reason why the above > conditions > wouldn't select at least those same 17800 records for selection set 1. > > -- > Kenneth Brody > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From garyolman1 at hvc.rr.com Fri May 15 06:31:57 2009 From: garyolman1 at hvc.rr.com (garyolman) Date: Fri, 15 May 2009 09:31:57 -0400 Subject: Using gotomyPC pc printers Message-ID: <01d401c9d561$851aa630$8f4ff290$@rr.com> I have been trying, unsuccessfully, to use the gotomyPC printer on my remote client to print to my computer using filepro on a PC. So far I have had no luck. Can anyone suggest a possible way to do this ? Thanks Gary -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090515/61c4fbc4/attachment.html From kenbrody at spamcop.net Fri May 15 06:37:17 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 15 May 2009 09:37:17 -0400 Subject: Using gotomyPC pc printers In-Reply-To: <01d401c9d561$851aa630$8f4ff290$@rr.com> References: <01d401c9d561$851aa630$8f4ff290$@rr.com> Message-ID: <4A0D700D.3020509@spamcop.net> garyolman wrote: > I have been trying, unsuccessfully, to use the gotomyPC printer on my remote > client to print to my computer using filepro on a PC. So far I have had no > luck. Can anyone suggest a possible way to do this ? Does gotomypc allow raw printer output, or does it basically act like a "windows-only" printer, which can only support GDI printing? -- Kenneth Brody From rkreiss at gccconsulting.net Fri May 15 07:11:32 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Fri, 15 May 2009 10:11:32 -0400 Subject: Index problem Message-ID: <002701c9d567$105edd10$311c9730$@net> Last night noted a change in the index behavior of one file at a client's site. When enter is pressed, nothing happens it requires a value to be entered. As I mentioned this is only happening in one file all of the automatic indexes. These indexes are rebuilt each night after everyone is off the system. All of the indexes no matter what the primary key is has been affected. My thoughts are, a bad record has been added or a record has become corrupt. Or, I need to rebuild the free chain. Can the free chain be rebuilt while the file is being accessed? Locating a bad record is going be time consuming if this is the problem. I might be able to limit the records needing to be checked by using the modified date and/or the creation date. Anyone have any additional suggestions? Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From gccconsulting at comcast.net Fri May 15 07:20:24 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Fri, 15 May 2009 10:20:24 -0400 Subject: Differences in export function results In-Reply-To: <4A0CDEE0.50006@spamcop.net> References: <00be01c9d4e4$329271e0$97b755a0$@net> <4A0CDEE0.50006@spamcop.net> Message-ID: <003101c9d568$4fe2d2b0$efa87810$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Kenneth Brody > Sent: Thursday, May 14, 2009 11:18 PM > To: rkreiss at gccconsulting.net > Cc: filepro-list at lists.celestial.com > Subject: Re: Differences in export function results > > Richard Kreiss wrote: > > Ran into an interesting problem the other day at a client's site. There is > > an export program which creates a csv file which had been running correctly, > > that is until Tuesday. > > > > Some of the data was being pushed right on position. > > What, exactly, is in the CSV file at the point where the data is "shifted"? > > > The export command used was export word. > > What is the complete export line? > > > Now there is a gotcha in this export. There is an alphanumeric field which > > has numbers 4 - 8 meaning a 4 foot section of shelf was changed to 8 foot. > > By that, do you mean the field contains the text "4 - 8"? > > > The only way to get this out so that when it is read into Excel is to > > "\""{40. This exports the value correctly. Otherwise it treated this like a > > date. > > It sounds more like this allows Excel to import it "correctly", since it is > Excel that treats it as a date otherwise. > > Why are you prefacing one field with an open quote, and not supplying a > close quote? Perhaps that's the problem right there? > > > I tried to correct the right shift by using export ASCII to no avail. This > > made the situation worse. > > What was your actual export ASCII line? > > > I finally realized what was causing the shift. If there was no value in > > field 40, double quotes were exports and pushed values over to the right. > > What, exactly, ends up in the export file? Export without the quote gives a date-month(3 letters) in that column location and the actual value in the next column position. When quoted and a value present the value is properly imported into Excel and all other values are in the correct location. As I indicated below, I needed to test for a blank. If blank export a null value with no quotes. > > When the export word was set to: > > > > If: 40 = "" > > Then:com(23)="";GOTO exp24 > > If: 40 ne "" > > Then:com(23)="\""{40 > > > > This worked fine. > > > > There are definite differences between the 2 functions. > > > > export ascii shipdet =c:\shipdet r=\n f=, -x > > > > export word shipdet=c:\shipdet > > > > May not give the same results. > > Why would you expect them to give the same results, when they're not > equivalent? Didn't expect the same results. I wanted to see which function would give the desired results. Export word worked fine once I tested for an blanks and made sure I didn't export the double quotes. > The line: > export word shipdet=c:\shipdet > is equivalent to: > export ascii shipdet=c:\shipdet r=\n f=, o=" c=" From gccconsulting at comcast.net Fri May 15 07:28:33 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Fri, 15 May 2009 10:28:33 -0400 Subject: selection set problem In-Reply-To: <4A0CE076.4030901@spamcop.net> References: <00bd01c9d4e1$cc2ab1d0$64801570$@net> <4A0CE076.4030901@spamcop.net> Message-ID: <003201c9d569$7311d280$59357780$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Kenneth Brody > Sent: Thursday, May 14, 2009 11:25 PM > To: rkreiss at gccconsulting.net > Cc: filepro-list at lists.celestial.com > Subject: Re: selection set problem > > Richard Kreiss wrote: > > One of my clients tried to run the following selection set and no records > > were selected. > > > > Field 25 (1,.0) Values 0-9 > > field 14(4,.0) values 1000-4000 at present > > > > the selection set: > > 14 le 1088 > > 25 le 3 > > > > No records selected. > > > > I changed the selection set to: > > 14 ge 1 > > 14 le 1088 > > 25 ge 1 > > 25 le 3 > > > > This selected 17800 records. > > (Was it the correct 17800 records?) > > Well, if there are records where field 25 contains 0, as you state above, > these two are not equivalent. However, the first set should be a superset > of the second. > > > Both selection sets seem to be looking for the same data. Why did set 1 > > fail and set 2 find the records wanted? > > Short of a corrupted index, I can see no reason why the above conditions > wouldn't select at least those same 17800 records for selection set 1. As of now, field 25 only uses values between 1 & 9. The records selected are correct. As for the a corrupt index, see my recent post. Richard From gccconsulting at comcast.net Fri May 15 07:29:09 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Fri, 15 May 2009 10:29:09 -0400 Subject: selection set problem In-Reply-To: <200905150450.n4F4oSSm084066@admin114.securesites.net> References: <4A0CE076.4030901@spamcop.net> <200905150450.n4F4oSSm084066@admin114.securesites.net> Message-ID: <003301c9d569$8a06e5c0$9e14b140$@net> John, Not set. Richard > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of John Esak > Sent: Friday, May 15, 2009 12:50 AM > To: 'Kenneth Brody'; rkreiss at gccconsulting.net > Cc: filepro-list at lists.celestial.com > Subject: RE: selection set problem > > Ken, > Is there any chance if he is setting PFIXS=ON and indexes being built on any > of these fields... would change the behavior.... Actually, I wouldn't think > so... But figured I would ask. > > > -----Original Message----- > > From: filepro-list-bounces+john=valar.com at lists.celestial.com > > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co > m] On Behalf Of Kenneth Brody > > Sent: Thursday, May 14, 2009 11:25 PM > > To: rkreiss at gccconsulting.net > > Cc: filepro-list at lists.celestial.com > > Subject: Re: selection set problem > > > > Richard Kreiss wrote: > > > One of my clients tried to run the following selection set > > and no records > > > were selected. > > > > > > Field 25 (1,.0) Values 0-9 > > > field 14(4,.0) values 1000-4000 at present > > > > > > the selection set: > > > 14 le 1088 > > > 25 le 3 > > > > > > No records selected. > > > > > > I changed the selection set to: > > > 14 ge 1 > > > 14 le 1088 > > > 25 ge 1 > > > 25 le 3 > > > > > > This selected 17800 records. > > > > (Was it the correct 17800 records?) > > > > Well, if there are records where field 25 contains 0, as you > > state above, > > these two are not equivalent. However, the first set should > > be a superset > > of the second. > > > > > Both selection sets seem to be looking for the same data. > > Why did set 1 > > > fail and set 2 find the records wanted? > > > > Short of a corrupted index, I can see no reason why the above > > conditions > > wouldn't select at least those same 17800 records for selection set 1. > > > > -- > > Kenneth Brody > > _______________________________________________ > > Filepro-list mailing list > > Filepro-list at lists.celestial.com > > http://mailman.celestial.com/mailman/listinfo/filepro-list > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list From rkreiss at gccconsulting.net Fri May 15 07:31:46 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Fri, 15 May 2009 10:31:46 -0400 Subject: Using gotomypc pc printers In-Reply-To: <01d401c9d561$851aa630$8f4ff290$@rr.com> References: <01d401c9d561$851aa630$8f4ff290$@rr.com> Message-ID: <003401c9d569$e5b2ea40$b118bec0$@net> From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On Behalf Of garyolman Sent: Friday, May 15, 2009 9:32 AM To: FilePro List Subject: Using gotomyPC pc printers I have been trying, unsuccessfully, to use the gotomyPC printer on my remote client to print to my computer using filepro on a PC. So far I have had no luck. Can anyone suggest a possible way to do this ? Thanks Gary I do this with a number of clients and have had no trouble. Are you using the latest version of GoToMyPc? What printer do you have and what printer is at the host site? Do you have remote printing turned on? On the host computer, do you see a gotomypc(remote) printer listed? Richard Kreiss GCC Consulting rkreiss at gccconsulting.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090515/dabade2f/attachment-0001.html From gccconsulting at comcast.net Fri May 15 07:34:07 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Fri, 15 May 2009 10:34:07 -0400 Subject: Using gotomypc pc printers In-Reply-To: <4A0D700D.3020509@spamcop.net> References: <01d401c9d561$851aa630$8f4ff290$@rr.com> <4A0D700D.3020509@spamcop.net> Message-ID: <003c01c9d56a$3b04cdb0$b10e6910$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Kenneth Brody > Sent: Friday, May 15, 2009 9:37 AM > To: garyolman > Cc: FilePro List > Subject: Re: Using gotomyPC pc printers > > garyolman wrote: > > I have been trying, unsuccessfully, to use the gotomyPC printer on my remote > > client to print to my computer using filepro on a PC. So far I have had no > > luck. Can anyone suggest a possible way to do this ? > > Does gotomypc allow raw printer output, or does it basically act like a > "windows-only" printer, which can only support GDI printing? > > -- > Kenneth Brody Ken, Filepro has no problems printing with gotomypc remote printing. A number of my clients print contracts using this function. I sometimes forget to turn off remote printing when I send outputs which should print at the client site and they print on my printer. Richard Kreiss From kenbrody at spamcop.net Fri May 15 07:51:33 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 15 May 2009 10:51:33 -0400 Subject: Differences in export function results In-Reply-To: <003101c9d568$4fe2d2b0$efa87810$@net> References: <00be01c9d4e4$329271e0$97b755a0$@net> <4A0CDEE0.50006@spamcop.net> <003101c9d568$4fe2d2b0$efa87810$@net> Message-ID: <4A0D8175.6040505@spamcop.net> GCC Consulting wrote: [...] >> What, exactly, ends up in the export file? > > Export without the quote gives a date-month(3 letters) in that column > location and the actual value in the next column position. > > When quoted and a value present the value is properly imported into Excel > and all other values are in the correct location. > > As I indicated below, I needed to test for a blank. If blank export a null > value with no quotes. What, exactly, ends up in the export file? [...] >>> There are definite differences between the 2 functions. >>> >>> export ascii shipdet =c:\shipdet r=\n f=, -x >>> >>> export word shipdet=c:\shipdet >>> >>> May not give the same results. >> Why would you expect them to give the same results, when they're not >> equivalent? > > Didn't expect the same results. I wanted to see which function would give > the desired results. Export word worked fine once I tested for an blanks > and made sure I didn't export the double quotes. Okay. The wording made me think that you didn't expect any differences. [...] In any case, as I said, it sounds like an Excel issue that you're trying to work around, by coaxing filePro into generating what Excel wants. But, you still haven't shown us what "works" and what "doesn't work", in terms of actual data. -- Kenneth Brody From kenbrody at spamcop.net Fri May 15 07:53:40 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 15 May 2009 10:53:40 -0400 Subject: Using gotomypc pc printers In-Reply-To: <003c01c9d56a$3b04cdb0$b10e6910$@net> References: <01d401c9d561$851aa630$8f4ff290$@rr.com> <4A0D700D.3020509@spamcop.net> <003c01c9d56a$3b04cdb0$b10e6910$@net> Message-ID: <4A0D81F4.3030804@spamcop.net> GCC Consulting wrote: > >> -----Original Message----- >> From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com >> > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] > On >> Behalf Of Kenneth Brody [...] >> garyolman wrote: >>> I have been trying, unsuccessfully, to use the gotomyPC printer on my > remote >>> client to print to my computer using filepro on a PC. So far I have had > no >>> luck. Can anyone suggest a possible way to do this ? >> Does gotomypc allow raw printer output, or does it basically act like a >> "windows-only" printer, which can only support GDI printing? > > Ken, > > Filepro has no problems printing with gotomypc remote printing. Okay, thanks. I've never tried printing with gotomypc. [...] -- Kenneth Brody From jeffaharrison at yahoo.com Fri May 15 08:15:55 2009 From: jeffaharrison at yahoo.com (Jeff Harrison) Date: Fri, 15 May 2009 08:15:55 -0700 (PDT) Subject: Differences in export function results Message-ID: <556718.49699.qm@web50701.mail.re2.yahoo.com> --- On Fri, 5/15/09, Kenneth Brody wrote: > From: Kenneth Brody > Subject: Re: Differences in export function results > To: gccconsulting at comcast.net > Cc: filepro-list at lists.celestial.com, rkreiss at gccconsulting.net > Date: Friday, May 15, 2009, 10:51 AM > GCC Consulting wrote: > [...] > >> What, exactly, ends up in the export file? > > > > Export without the quote gives a date-month(3 letters) > in that column > > location and the actual value in the next column > position. > > > > When quoted and a value present the value is properly > imported into Excel > > and all other values are in the correct location. > > > > As I indicated below, I needed to test for a > blank.? If blank export a? null > > value with no quotes. > > What, exactly, ends up in the export file? > > [...] > >>> There are definite differences between the 2 > functions. > >>> > >>> export ascii shipdet =c:\shipdet r=\n f=, -x > >>> > >>> export word shipdet=c:\shipdet > >>> > >>> May not give the same results. > >> Why would you expect them to give the same > results, when they're not > >> equivalent? > > > > Didn't expect the same results.? I wanted to see > which function would give > > the desired results.? Export word worked fine > once I tested for an blanks > > and made sure I didn't export the double quotes. > > Okay.? The wording made me think that you didn't > expect any differences. > > [...] > > In any case, as I said, it sounds like an Excel issue that > you're trying to > work around, by coaxing filePro into generating what Excel > wants.? But, you > still haven't shown us what "works" and what "doesn't > work", in terms of > actual data. > > -- > Kenneth Brody > _______________________________________________ This issue with excel relates to how the file is being opened. If I name the file with a .csv extension, then because I have that file type associated with Excel, Excel will try to open it automatically when I double click the file from explorer. When it does this - it automatically makes its best guess about how to format the data. If instead I name the file with a ".txt" extension and go into excel manually, then do a file/open on this file, I get a wizard where I can format the columns to text or whatever. I hope this helps. Jeff Harrison jeffaharrison at yahoo.com From john at valar.com Fri May 15 08:27:20 2009 From: john at valar.com (John Esak) Date: Fri, 15 May 2009 11:27:20 -0400 Subject: selection set problem In-Reply-To: <003301c9d569$8a06e5c0$9e14b140$@net> Message-ID: <200905151527.n4FFRKs3088859@admin114.securesites.net> Well, just for the heck of it... How come you don't have PFIXS=ON. It is one of the most important vars for filePro. At least, I wouldn't consider running any systems without it on. The difference in running most reports and selsets in IUA is pretty staggering... Like night and day. John > -----Original Message----- > From: GCC Consulting [mailto:gccconsulting at comcast.net] > Sent: Friday, May 15, 2009 10:29 AM > To: john at valar.com; 'Kenneth Brody'; rkreiss at gccconsulting.net > Cc: filepro-list at lists.celestial.com > Subject: RE: selection set problem > > John, > > Not set. > > Richard > > > -----Original Message----- > > From: > filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > > > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.c elestial.com] > On > > Behalf Of John Esak > > Sent: Friday, May 15, 2009 12:50 AM > > To: 'Kenneth Brody'; rkreiss at gccconsulting.net > > Cc: filepro-list at lists.celestial.com > > Subject: RE: selection set problem > > > > Ken, > > Is there any chance if he is setting PFIXS=ON and indexes > being built on > any > > of these fields... would change the behavior.... Actually, > I wouldn't > think > > so... But figured I would ask. > > > > > -----Original Message----- > > > From: filepro-list-bounces+john=valar.com at lists.celestial.com > > > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co > > m] On Behalf Of Kenneth Brody > > > Sent: Thursday, May 14, 2009 11:25 PM > > > To: rkreiss at gccconsulting.net > > > Cc: filepro-list at lists.celestial.com > > > Subject: Re: selection set problem > > > > > > Richard Kreiss wrote: > > > > One of my clients tried to run the following selection set > > > and no records > > > > were selected. > > > > > > > > Field 25 (1,.0) Values 0-9 > > > > field 14(4,.0) values 1000-4000 at present > > > > > > > > the selection set: > > > > 14 le 1088 > > > > 25 le 3 > > > > > > > > No records selected. > > > > > > > > I changed the selection set to: > > > > 14 ge 1 > > > > 14 le 1088 > > > > 25 ge 1 > > > > 25 le 3 > > > > > > > > This selected 17800 records. > > > > > > (Was it the correct 17800 records?) > > > > > > Well, if there are records where field 25 contains 0, as you > > > state above, > > > these two are not equivalent. However, the first set should > > > be a superset > > > of the second. > > > > > > > Both selection sets seem to be looking for the same data. > > > Why did set 1 > > > > fail and set 2 find the records wanted? > > > > > > Short of a corrupted index, I can see no reason why the above > > > conditions > > > wouldn't select at least those same 17800 records for > selection set 1. > > > > > > -- > > > Kenneth Brody > > > _______________________________________________ > > > Filepro-list mailing list > > > Filepro-list at lists.celestial.com > > > http://mailman.celestial.com/mailman/listinfo/filepro-list > > > > > > > _______________________________________________ > > Filepro-list mailing list > > Filepro-list at lists.celestial.com > > http://mailman.celestial.com/mailman/listinfo/filepro-list > From gccconsulting at comcast.net Fri May 15 08:29:59 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Fri, 15 May 2009 11:29:59 -0400 Subject: Differences in export function results In-Reply-To: <556718.49699.qm@web50701.mail.re2.yahoo.com> References: <556718.49699.qm@web50701.mail.re2.yahoo.com> Message-ID: <005001c9d572$07b832f0$172898d0$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Jeff Harrison > Sent: Friday, May 15, 2009 11:16 AM > To: filepro-list at lists.celestial.com > Subject: Re: Differences in export function results > > > --- On Fri, 5/15/09, Kenneth Brody wrote: > > > From: Kenneth Brody > > Subject: Re: Differences in export function results > > To: gccconsulting at comcast.net > > Cc: filepro-list at lists.celestial.com, rkreiss at gccconsulting.net > > Date: Friday, May 15, 2009, 10:51 AM > > GCC Consulting wrote: > > [...] > > >> What, exactly, ends up in the export file? > > > > > > Export without the quote gives a date-month(3 letters) > > in that column > > > location and the actual value in the next column > > position. > > > > > > When quoted and a value present the value is properly > > imported into Excel > > > and all other values are in the correct location. > > > > > > As I indicated below, I needed to test for a > > blank.? If blank export a? null > > > value with no quotes. > > > > What, exactly, ends up in the export file? > > > > [...] > > >>> There are definite differences between the 2 > > functions. > > >>> > > >>> export ascii shipdet =c:\shipdet r=\n f=, -x > > >>> > > >>> export word shipdet=c:\shipdet > > >>> > > >>> May not give the same results. > > >> Why would you expect them to give the same > > results, when they're not > > >> equivalent? > > > > > > Didn't expect the same results.? I wanted to see > > which function would give > > > the desired results.? Export word worked fine > > once I tested for an blanks > > > and made sure I didn't export the double quotes. > > > > Okay.? The wording made me think that you didn't > > expect any differences. > > > > [...] > > > > In any case, as I said, it sounds like an Excel issue that > > you're trying to > > work around, by coaxing filePro into generating what Excel > > wants.? But, you > > still haven't shown us what "works" and what "doesn't > > work", in terms of > > actual data. > > > > -- > > Kenneth Brody > > _______________________________________________ > > This issue with excel relates to how the file is being opened. If I name the file > with a .csv extension, then because I have that file type associated with Excel, > Excel will try to open it automatically when I double click the file from explorer. > When it does this - it automatically makes its best guess about how to format the > data. If instead I name the file with a ".txt" extension and go into excel manually, > then do a file/open on this file, I get a wizard where I can format the columns to > text or whatever. > > I hope this helps. > > Jeff Harrison > jeffaharrison at yahoo.com Once I solved the problem, everything was properly formatted. My routine for this export created the csv file and then open it in Excel. The only adjustment that is done is to adjust the column widths. Since they use this spreadsheet for maintaining much of the data, I have written a program which allow them to import specific data from the csv file for updating the primary filepro file. Richard Kreiss From kenbrody at spamcop.net Fri May 15 08:38:40 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 15 May 2009 11:38:40 -0400 Subject: Differences in export function results In-Reply-To: <004901c9d570$e1446860$a3cd3920$@net> References: <00be01c9d4e4$329271e0$97b755a0$@net> <4A0CDEE0.50006@spamcop.net> <003101c9d568$4fe2d2b0$efa87810$@net> <4A0D8175.6040505@spamcop.net> <004901c9d570$e1446860$a3cd3920$@net> Message-ID: <4A0D8C80.7030206@spamcop.net> GCC Consulting wrote: [...] >>>> What, exactly, ends up in the export file? [...] >> What, exactly, ends up in the export file? [...] > Note: Below is the actual code, Blank is a long variable set to a null value. [...] > If reset date and/or footage change missing, expected datys ended in wrong place, shift one column right. What, exactly, ends up in the export file? -- Kenneth Brody From kenbrody at spamcop.net Fri May 15 09:15:55 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 15 May 2009 12:15:55 -0400 Subject: Differences in export function results In-Reply-To: <005b01c9d577$62a4c5c0$27ee5140$@net> References: <00be01c9d4e4$329271e0$97b755a0$@net> <4A0CDEE0.50006@spamcop.net> <003101c9d568$4fe2d2b0$efa87810$@net> <4A0D8175.6040505@spamcop.net> <004901c9d570$e1446860$a3cd3920$@net> <4A0D8C80.7030206@spamcop.net> <005b01c9d577$62a4c5c0$27ee5140$@net> Message-ID: <4A0D953B.2060808@spamcop.net> GCC Consulting wrote: > >> -----Original Message----- >> From: Kenneth Brody [mailto:kenbrody at spamcop.net] >> Sent: Friday, May 15, 2009 11:39 AM >> To: gccconsulting at comcast.net >> Cc: filePro Mailing List >> Subject: Re: Differences in export function results >> >> GCC Consulting wrote: >> [...] >>>>>> What, exactly, ends up in the export file? >> [...] >>>> What, exactly, ends up in the export file? >> [...] >>> Note: Below is the actual code, Blank is a long variable set to a null > value. >> [...] >>> If reset date and/or footage change missing, expected datys ended in > wrong >> place, shift one column right. >> >> What, exactly, ends up in the export file? > > From field(21) to field(26) everything would get pushed over 1 column > location. What I found was the if the field(s) were blank and I was quoting > the value, the double quote caused everything to be shifted right. Testing > for a blank value and not exporting "" put everything in the correct column. > > The value in field 40 of the file was not quoted, Excel imported the value > into 2 columns, one with a numeric day and a 3 letter month. The next > column had the numeric values. However, this shifted everything right. What, exactly, ends up in the export file? [...] -- Kenneth Brody From rtr at rsquared.com Sun May 17 17:25:59 2009 From: rtr at rsquared.com (Robert T. Repko (R Squared Consultants)) Date: Sun, 17 May 2009 20:25:59 -0400 Subject: OT: New search engine Message-ID: This is absolutely amazing. http://www.wolframalpha.com/screencast/introducingwolframalpha.html From fp at fpgroups.com Mon May 18 05:13:54 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Mon, 18 May 2009 08:13:54 -0400 Subject: OT: New search engine In-Reply-To: References: Message-ID: <4A115102.90404@fpgroups.com> Robert T. Repko (R Squared Consultants) wrote: > This is absolutely amazing. > > http://www.wolframalpha.com/screencast/introducingwolframalpha.html > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > > What's the big deal, I am sure that a number of filePro programmers could top this in a number of different ways. Heck, a couple of these programmers come to mind and I am sure they could do it in a matter of days ... :-) That being said, it does look nice!!! -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From bill at celestial.com Mon May 18 17:51:57 2009 From: bill at celestial.com (Bill Campbell) Date: Mon, 18 May 2009 17:51:57 -0700 Subject: OT: New search engine In-Reply-To: References: Message-ID: <20090519005157.GA5652@ayn.mi.celestial.com> On Sun, May 17, 2009, Robert T. Repko (R Squared Consultants) wrote: >This is absolutely amazing. > >http://www.wolframalpha.com/screencast/introducingwolframalpha.html The Alpha folks say that this is not a search engine: Here are a couple of interesting links: http://www.macworld.com/article/140668/2009/05/alpha.html?lsrc=rss_main http://www.wired.com/gadgetlab/2009/05/wolfram-alpha-knows-the-secret-of-time-travel/ Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 My brother sent me a postcard the other day with this big satellite photo of the entire earth on it. On the back it said: Wish you were here. -- Steven Wright From boaz at mirrotek.com Tue May 19 05:33:05 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 19 May 2009 08:33:05 -0400 Subject: Why can't I get high-intensity with SHOW? Message-ID: <4A12A701.9080406@mirrotek.com> I'm trying to put a high intensity green character on the screen of a FP Windows app using some variation of the control codes \F, \B, \A, and \I, but nothing I do will generate a high-intensity color character. They are either the low-intensity versions of the character or they show with a gray background. I can get the high-intensity versions without a problem on the screen edits, but not with SHOW. What am I doing wrong? Boaz From nlp at vss3.com Tue May 19 08:22:20 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Tue, 19 May 2009 11:22:20 -0400 Subject: Version Change on Unix Message-ID: <4A12CEAC.8020107@vss3.com> Does anyone know the right LINK command to use to change the link between /appl/fp and another version folder in the /appl folder. For example, I need to link to /appl/fp_v5.0.15D4 I can not figure out the right command. Thanks for any help. I remember seeing a note on this, but I can not seem to put my hands on it. Nancy -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From fairlite at fairlite.com Tue May 19 08:30:28 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 19 May 2009 11:30:28 -0400 Subject: Version Change on Unix In-Reply-To: <4A12CEAC.8020107@vss3.com>; from nlp@vss3.com on Tue, May 19, 2009 at 11:22:20AM -0400 References: <4A12CEAC.8020107@vss3.com> Message-ID: <20090519113028.A24004@iglou.com> This public service announcement was brought to you by Nancy Palmquist: > Does anyone know the right LINK command to use to change the link between > > /appl/fp and another version folder in the /appl folder. > > For example, > > I need to link to /appl/fp_v5.0.15D4 > > I can not figure out the right command. ln -sf /appl/fp_v5.0.15D4 /appl/fp NOTE: Some variants (notably Solaris 7 and 8) tend to ignore the force flag and require prior manual removal of the link prior to using 'ln', or they'll kick back "file exists" and do nothing--despite the -f argument. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From bill at celestial.com Tue May 19 09:03:19 2009 From: bill at celestial.com (Bill Campbell) Date: Tue, 19 May 2009 09:03:19 -0700 Subject: Version Change on Unix In-Reply-To: <20090519113028.A24004@iglou.com> References: <4A12CEAC.8020107@vss3.com> <20090519113028.A24004@iglou.com> Message-ID: <20090519160319.GA27524@ayn.mi.celestial.com> On Tue, May 19, 2009, Fairlight wrote: >This public service announcement was brought to you by Nancy Palmquist: >> Does anyone know the right LINK command to use to change the link between >> >> /appl/fp and another version folder in the /appl folder. >> >> For example, >> >> I need to link to /appl/fp_v5.0.15D4 >> >> I can not figure out the right command. > >ln -sf /appl/fp_v5.0.15D4 /appl/fp > >NOTE: Some variants (notably Solaris 7 and 8) tend to ignore the force >flag and require prior manual removal of the link prior to using 'ln', or >they'll kick back "file exists" and do nothing--despite the -f argument. If the destination is a direcotory, the new link may end up *IN* that directory instead of what one wants. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 The ultimate result of shielding men from the effects of folly is to fill the world with fools. -- Herbert Spencer (1891) From nlp at vss3.com Tue May 19 09:09:53 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Tue, 19 May 2009 12:09:53 -0400 Subject: Version Change on Unix In-Reply-To: <20090519160319.GA27524@ayn.mi.celestial.com> References: <4A12CEAC.8020107@vss3.com> <20090519113028.A24004@iglou.com> <20090519160319.GA27524@ayn.mi.celestial.com> Message-ID: <4A12D9D1.9000706@vss3.com> Bill Campbell wrote: > On Tue, May 19, 2009, Fairlight wrote: > >> This public service announcement was brought to you by Nancy Palmquist: >> >>> Does anyone know the right LINK command to use to change the link between >>> >>> /appl/fp and another version folder in the /appl folder. >>> >>> For example, >>> >>> I need to link to /appl/fp_v5.0.15D4 >>> >>> I can not figure out the right command. >>> >> ln -sf /appl/fp_v5.0.15D4 /appl/fp >> >> NOTE: Some variants (notably Solaris 7 and 8) tend to ignore the force >> flag and require prior manual removal of the link prior to using 'ln', or >> they'll kick back "file exists" and do nothing--despite the -f argument. >> > > If the destination is a direcotory, the new link may end up *IN* > that directory instead of what one wants. > > Bill > Bill, Mark's syntax worked perfect. I found that if the destination existed and was a directory it put the link inside as you suggest. If it did not exist I got a LINK file instead of something that looked like a directory. I had tired all permutations that I could think of and I knew none were correctly displaying the result. I even checked filePro docs with no document on installations and how to roll back. Actually, I need to roll forward. I had installed new version for this customer but when I restored their stuff, it attached to the older version and I wanted to fix it without reinstalling. All is good. I am just checking stuff. Nancy -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From jsola at newportsales.com Wed May 20 05:53:32 2009 From: jsola at newportsales.com (jsola at newportsales.com) Date: Wed, 20 May 2009 05:53:32 -0700 Subject: AJAX and FPCGI Message-ID: <1242824012.4a13fd4ce8eff@webmail.newportsales.com> I am trying to use AJAX with FPCGI without success. I have "tricked" FPCGI by generating external files and combining my code with some PHP code with success. However, this have been a solution for simple code. No success for complex code. Does any one know how to direclty use AJAX with FPCGI. Att. Juan From fairlite at fairlite.com Wed May 20 09:49:45 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 20 May 2009 12:49:45 -0400 Subject: AJAX and FPCGI In-Reply-To: <1242824012.4a13fd4ce8eff@webmail.newportsales.com>; from jsola@newportsales.com on Wed, May 20, 2009 at 05:53:32AM -0700 References: <1242824012.4a13fd4ce8eff@webmail.newportsales.com> Message-ID: <20090520124945.A6285@iglou.com> This public service announcement was brought to you by jsola at newportsales.com: > > > I am trying to use AJAX with FPCGI without success. I have "tricked" FPCGI by > generating external files and combining my code with some PHP code with > success. However, this have been a solution for simple code. No success for > complex code. Does any one know how to direclty use AJAX with FPCGI. > > Att. > Juan Technically, not properly possible. fPCGI does not allow you to change the MIME type of the response, be it success or error. My product does. http://www.fairlite.com/fc/products/onegate/ mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From lc_gray at yahoo.com Wed May 20 11:22:31 2009 From: lc_gray at yahoo.com (Linda Gray) Date: Wed, 20 May 2009 11:22:31 -0700 (PDT) Subject: AJAX and FPCGI Message-ID: <254380.48419.qm@web63402.mail.re1.yahoo.com> yes, using iframes, it is the same concept as AJAX.? it takes several peices to get it setup, but it works.? the new page isn't built using fpcgi, but a cgi script. Linda Gray 972.423.7949 ________________________________ From: Fairlight To: filepro-list at lists.celestial.com Sent: Wednesday, May 20, 2009 11:49:45 AM Subject: Re: AJAX and FPCGI This public service announcement was brought to you by jsola at newportsales.com: > > > I am trying to use AJAX with FPCGI without success.? I have "tricked" FPCGI by > generating external files and combining my code with some PHP code with > success.? However, this have been a solution for simple code.? No success for > complex code.? Does any one know how to direclty use AJAX with FPCGI. > > Att. > Juan Technically, not properly possible.? fPCGI does not allow you to change the MIME type of the response, be it success or error. My product does.? http://www.fairlite.com/fc/products/onegate/ mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090520/cea54334/attachment.html From fp at fpgroups.com Wed May 20 11:34:53 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Wed, 20 May 2009 14:34:53 -0400 Subject: AJAX and FPCGI In-Reply-To: <254380.48419.qm@web63402.mail.re1.yahoo.com> References: <254380.48419.qm@web63402.mail.re1.yahoo.com> Message-ID: <4A144D4D.2070900@fpgroups.com> Linda Gray wrote: > yes, using iframes, it is the same concept as AJAX. it takes several > peices to get it setup, but it works. the new page isn't built using > fpcgi, but a cgi script. > Linda Gray > 972.423.7949 > What? How are iframe same as AJAX? This ought to interesting! =-O Regards, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From lc_gray at yahoo.com Wed May 20 11:47:13 2009 From: lc_gray at yahoo.com (Linda Gray) Date: Wed, 20 May 2009 11:47:13 -0700 (PDT) Subject: AJAX and FPCGI In-Reply-To: <4A144D4D.2070900@fpgroups.com> References: <254380.48419.qm@web63402.mail.re1.yahoo.com> <4A144D4D.2070900@fpgroups.com> Message-ID: <697636.34623.qm@web63408.mail.re1.yahoo.com> the iframe is used to buffer a page triggered by some event.? I have used it mainly to create a page of javascript to either fill a div with innerhtml or change values of already present elements. you can look at http://www.dyn-web.com/tutorials/iframes/?for more information or you can call me.? It is not exactly ajax but has the same concept.? it changes or adds to the current page without issuing a submit. ? ________________________________ From: Jose Lerebours To: Linda Gray Cc: filepro-list at lists.celestial.com Sent: Wednesday, May 20, 2009 1:34:53 PM Subject: Re: AJAX and FPCGI Linda Gray wrote: > yes, using iframes, it is the same concept as AJAX.? it takes several peices to get it setup, but it works.? the new page isn't built using fpcgi, but a cgi script. > Linda Gray > 972.423.7949 > What?? How are iframe same as AJAX?? This ought to interesting!? =-O Regards, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090520/6a80b219/attachment.html From tyler.style at gmail.com Thu May 21 07:13:43 2009 From: tyler.style at gmail.com (Tyler) Date: Thu, 21 May 2009 07:13:43 -0700 Subject: AJAX and FPCGI Message-ID: <1e78e1e80905210713sdc61dfcl1aa877f4fcf9377f@mail.gmail.com> It is easy to use fpCGI with AJAX. I use it to send JSON formatted data back and forth all the time. You can either use a form already on the page, or build one on demand with javascript. Make sure you have all the usual fields in the form for fpCGI submission. >From filePro, you just write out whatever you want to go back (I use JSON, as I mentioned) and parse it on the client side. I have a JSON javascript class that does this for me (I could just use eval to instantiate the object literal, but that's not very robust or secure). (eg) instead of "*responseJson = eval(XHTP.responseText);* " I use "*responseJson = JSON.parse(XHTP.responseText);*". You can grab the JSON class at http://www.json.org/json2.js if you like. FYI, you can also use PHP to create a direct socket connection to fpCGI and retrieve the data that way, as well. (eg) * $sPost =""; $aPost =array(); $aPost["Field_ddir"] ="/usr/local/apache/htdocs/"; $aPost["Field_base"] ="ajax"; $aPost["Field_cmd"] ="rreport someTable -fp someProcessing -sr ".rand(1,500)." -n -u -y automaticAJAX"; $aPost["someField"] ="some data";* * //.....etc....* *foreach ($aPost as $sFieldName=>$sFieldValue) { if(!$bFirst) { $sPost .="&"; } $sPost .=urlencode($sFieldName)."=".urlencode($sFieldValue); $bFirst =false; }* * //you could write this all to the string directly instead of using an array, ** //**I just find it's clearer code to do it with an array * *$sHeader ="POST /cgi-bin/fpcgi HTTP/1.1\n" ."Host: $yourServersIp\n" ."Connection: Close\n" ."Content-Type: application/x-www-form-urlencoded\n" ."Content-Length: ".strlen($sPost) ."\n\n$sPost\n"; $oSocket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP); $bSuccess = socket_connect($oSocket, $yourServersIp, 80); $iBytesSent =socket_write ($oSocket, $sHeader); $sResponse = ""; while ($c =socket_read($oSocket, 2056)) { $sResponse .=$c; } socket_close($oSocket);* Feel free to hit me up if you have any questions. -- Tyler Style http://malthusiansolutions.com On Thu, May 21, 2009 at 12:30 AM, wrote: > Date: Wed, 20 May 2009 05:53:32 -0700 > From: jsola at newportsales.com > Subject: AJAX and FPCGI > > I am trying to use AJAX with FPCGI without success. I have "tricked" FPCGI > by > generating external files and combining my code with some PHP code with > success. However, this have been a solution for simple code. No success > for > complex code. Does any one know how to direclty use AJAX with FPCGI. > > Att. > Juan > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090521/946b1758/attachment.html From fairlite at fairlite.com Thu May 21 07:26:18 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 21 May 2009 10:26:18 -0400 Subject: AJAX and FPCGI In-Reply-To: <1e78e1e80905210713sdc61dfcl1aa877f4fcf9377f@mail.gmail.com>; from tyler.style@gmail.com on Thu, May 21, 2009 at 07:13:43AM -0700 References: <1e78e1e80905210713sdc61dfcl1aa877f4fcf9377f@mail.gmail.com> Message-ID: <20090521102618.A5565@iglou.com> On Thu, May 21, 2009 at 07:13:43AM -0700, after drawing runes in goat's blood, Tyler cast forth these immortal, mystical words: > It is easy to use fpCGI with AJAX. I use it to send JSON formatted data > back and forth all the time. And you're doing what for the response MIME types? Because unless the server response type is correct, browsers tend to have problems with XMLHTTPResponse objects, and there is no way to make fPCGI change the MIME type in the response header. Maybe JSON is more lax about its types, but good luck with XML being handled properly by the classes meant to parse the data in the object if you don't do it the way it should be done. IE just likes to throw up a cryptic "Error", and even Firefox is pretty cryptic about what's going on--although it at least Firebug lets you see the cause of the issue. Sounds like (since you were using an external JSON class) it doesn't really care what the response format is, since the browser built-in classes don't have to deal with it. I guarantee that's not the case with traditional XML-based AJAX using the browser's object handling classes. And of the people doing AJAX, I'd probably guess >75% use XML, not JSON. The fact remains, fPCGI isn't designed to do AJAX properly. That you can trick it in one particular case doesn't make it correct for all cases. mark-> From joe at magnatechonline.com Thu May 21 09:34:20 2009 From: joe at magnatechonline.com (Joe Chasan) Date: Thu, 21 May 2009 12:34:20 -0400 Subject: HP Boldface On/Off mid field on output (conditional print code) Message-ID: <20090521123420.A16674@magnatechonline.com> I need to turn bold on/off mid field of a form on which there are other fields & graphic box characters on the same printed line. i thought that it might be easy - in simple terms: declare local bold_on; bold_on=bold_on=chr("27")&"(s3B" declare local bold_off; bold_off=chr("27")&"(s0B" and if: some_condition then: aa=bold_on & aa & bold_off output *1 *aa *2 but the problem i have is that if bold on/off is triggered, then *2 is squashed over to left. any idea of how to fix? padding it with blanks did it seem to help and there is no room on form to overcompensate. there is also no way to just use different lines on output depending on bold on/off needs aa is of edit type "*". failing a simple solution i'm going to have fix via tab-stops. -- -Joe Chasan- Magnatech Business Systems, Inc. joe - at - magnatechonline -dot- com Hicksville, NY - USA http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264 From jlasman at telus.net Thu May 21 10:15:19 2009 From: jlasman at telus.net (Jim Asman) Date: Thu, 21 May 2009 10:15:19 -0700 Subject: CC: Re: HP Boldface On/Off mid field on output (conditional prin Message-ID: --------------- Original Message --------------- At 12:34P Thu May 21 2009, Joe Chasan wrote: > > I need to turn bold on/off mid field of a form on which there are other > fields & graphic box characters on the same printed line. > > i thought that it might be easy - in simple terms: > > declare local bold_on; bold_on=bold_on=chr("27")&"(s3B" > declare local bold_off; bold_off=chr("27")&"(s0B" > > and > if: some_condition > then: aa=bold_on & aa & bold_off > > output > > *1 *aa *2 > > but the problem i have is that if bold on/off is triggered, then > *2 is squashed over to left. > > any idea of how to fix? padding it with blanks did it seem to help > and there is no room on form to overcompensate. there is also no way > to just use different lines on output depending on bold on/off needs > > aa is of edit type "*". > > failing a simple solution i'm going to have fix via tab-stops. You will have to fix it with tab stops if the bold comes in a variable. The printer will interpret the PCL code, but of course filepro views it as normal data. The beauty of the tab stop is that you only need to place it under the first affected field. Jim -- jlasman at telus.net Spectra Colour Services Ltd. Jim Asman 10221 144a Street Phone: (604)584-0977 Surrey, BC V3R 3P7 CANADA Cell: (604)619-0977 www.spectracolorservices.com From fp at fpgroups.com Thu May 21 10:58:33 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Thu, 21 May 2009 13:58:33 -0400 Subject: CC: Re: HP Boldface On/Off mid field on output (conditional prin In-Reply-To: References: Message-ID: <4A159649.4060104@fpgroups.com> Jim Asman wrote: > --------------- Original Message --------------- > At 12:34P Thu May 21 2009, Joe Chasan wrote: > > >> I need to turn bold on/off mid field of a form on which there are other >> fields & graphic box characters on the same printed line. >> >> i thought that it might be easy - in simple terms: >> >> declare local bold_on; bold_on=bold_on=chr("27")&"(s3B" >> declare local bold_off; bold_off=chr("27")&"(s0B" >> >> and >> if: some_condition >> then: aa=bold_on & aa & bold_off >> >> output >> >> *1 *aa *2 >> >> but the problem i have is that if bold on/off is triggered, then >> *2 is squashed over to left. >> >> any idea of how to fix? padding it with blanks did it seem to help >> and there is no room on form to overcompensate. there is also no way >> to just use different lines on output depending on bold on/off needs >> >> aa is of edit type "*". >> >> failing a simple solution i'm going to have fix via tab-stops. >> > > You will have to fix it with tab stops if the bold comes in a variable. > > The printer will interpret the PCL code, but of course filepro views it > as normal data. The beauty of the tab stop is that you only need to > place it under the first affected field. > > > Jim, What would then be the solution if the BOLD string is dynamic and one does not know where exactly on the form it may fall. For example, if I have variable aa and I intend to BOLD a substr() of aa conditionally and there is no telling where within aa the substr() may be. How then can I do this? I have never done this in filePro but have always wondered. I recall doing something similar in DBase II and Clipper a few years back (OK, about 18 years ago). Regards, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From fp at fpgroups.com Thu May 21 11:04:15 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Thu, 21 May 2009 14:04:15 -0400 Subject: An aging community we are Message-ID: <4A15979F.9000806@fpgroups.com> Following the post I submitted a moment ago, I had to stop and think how long its been since I started writing code. I am a very young 41 years old man (no, there is no doubt in me, I am a man). I recall commenting with some other developers how young we were then compared to other filePro developers we knew - This is almost 20 years ago. My hope is that we have a bunch of low 20s calling me "old" as supposed to "older" guys/gals calling me "young". That being said, any idea on the age groups of our community? Has anyone taken in some young blood and trained then in filePro to the point where they are sitting comfortable that they are feeding the "Next Generation"? I sure hope so and let them boldly go where no filePro developer has ever gone before. Regards, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From richard at axzas.com Thu May 21 11:13:50 2009 From: richard at axzas.com (Richard D. Williams) Date: Thu, 21 May 2009 13:13:50 -0500 Subject: HP Boldface On/Off mid field on output (conditional print code) In-Reply-To: <20090521123420.A16674@magnatechonline.com> References: <20090521123420.A16674@magnatechonline.com> Message-ID: <4A1599DE.8070504@axzas.com> Joe, Try this: declare hp_ul_on;hp_ul_on=chr("27"){chr("38"){chr("100"){chr("51"){chr("68"){"" declare hp_ul_off;hp_ul_off=chr("27"){chr("38"){chr("100"){chr("64"){"" declare hp_bold_on;hp_bold_on= chr("27"){chr("40"){chr("115"){chr("51"){chr("66"){"" declare hp_bold_off;hp_bold_off= chr("27"){chr("40"){chr("115"){chr("48"){chr("66"){"" i.e. useage: invline(n)=hp_ul_on&hp_bold_on&z&hp_ul_off&hp_bold_off Richard D. Williams Joe Chasan wrote: >I need to turn bold on/off mid field of a form on which there are other >fields & graphic box characters on the same printed line. > >i thought that it might be easy - in simple terms: > >declare local bold_on; bold_on=bold_on=chr("27")&"(s3B" >declare local bold_off; bold_off=chr("27")&"(s0B" > >and >if: some_condition >then: aa=bold_on & aa & bold_off > >output > >*1 *aa *2 > >but the problem i have is that if bold on/off is triggered, then >*2 is squashed over to left. > >any idea of how to fix? padding it with blanks did it seem to help >and there is no room on form to overcompensate. there is also no way >to just use different lines on output depending on bold on/off needs > >aa is of edit type "*". > >failing a simple solution i'm going to have fix via tab-stops. > >-- >-Joe Chasan- Magnatech Business Systems, Inc. >joe - at - magnatechonline -dot- com Hicksville, NY - USA >http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264 >_______________________________________________ >Filepro-list mailing list >Filepro-list at lists.celestial.com >http://mailman.celestial.com/mailman/listinfo/filepro-list > > > >------------------------------------------------------------------------ > > >No virus found in this incoming message. >Checked by AVG - www.avg.com >Version: 8.5.339 / Virus Database: 270.12.36/2126 - Release Date: 05/21/09 06:22:00 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090521/232ddae1/attachment-0001.html From mschw at athenet.net Thu May 21 11:25:37 2009 From: mschw at athenet.net (Mike Schwartz) Date: Thu, 21 May 2009 13:25:37 -0500 Subject: An aging community we are In-Reply-To: <4A15979F.9000806@fpgroups.com> References: <4A15979F.9000806@fpgroups.com> Message-ID: <00e601c9da41$8b3a6840$a1af38c0$@net> > calling me "old" as supposed to "older" guys/gals calling me "young". > > That being said, any idea on the age groups of our community? Has > anyone taken in some young blood > and trained then in filePro to the point where they are sitting > comfortable that they are feeding the "Next > Generation"? I sure hope so and let them boldly go where no filePro > developer has ever gone before. > > Jose Lerebours Looking around at the last few filePro conventions, I would guess that the average age of filePro developers is well over 40 years old; probably closer to 50. I'm glad you know you're a man?!!? (I think...) (Now days, what's the politically correct response here...) Mike Schwartz PC Support & Services Appleton, WI From fairlite at fairlite.com Thu May 21 11:36:09 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 21 May 2009 14:36:09 -0400 Subject: An aging community we are In-Reply-To: <4A15979F.9000806@fpgroups.com>; from fp@fpgroups.com on Thu, May 21, 2009 at 02:04:15PM -0400 References: <4A15979F.9000806@fpgroups.com> Message-ID: <20090521143609.A10858@iglou.com> Only Jose Lerebours would say something like: > Following the post I submitted a moment ago, I had to stop and think how > long its been since I started writing code. I am a very young 41 years > old man (no, there is no doubt in me, I am a man). I'm 38 going on 192. :) > I recall commenting with some other developers how young we were then > compared to other filePro developers we knew - This is almost 20 years > ago. My hope is that we have a bunch of low 20s calling me "old" as > supposed to "older" guys/gals calling me "young". Well, it doesn't seem like the average age of the community has done anything but go upwards to me. > That being said, any idea on the age groups of our community? Has anyone > taken in some young blood and trained then in filePro to the point where > they are sitting comfortable that they are feeding the "Next Generation"? > I sure hope so and let them boldly go where no filePro developer has ever > gone before. I don't personally know of anyone under 30 that's a regular contributor to the community. With Bob Stockler's passing, I think JPR is the oldest regular contributor (to my knowledge) around here. I don't know how old Jay and Brian are, but I think Brian is somewhere a couple years either side of me, and I'd guess Jay is the same but could be wrong. I honestly can't think of anyone that actually speaks up that's under 30. I just can't. There may be some out there that inherited a fP system here or there, but I strongly suspect that the tendency of anyone in their 20's would be to chuck the whole thing after rewriting it in SQL plus some front-end... Or worse...Access, God help us. Most likely back-ends are probably MySQL, PgSQL, and MSSQL. Most likely front-ends are...well, that's going to be a bit wider, but the top ones I'd think would be Java, VB, and Delphi on the conventional side, and (-unfortunately-) PHP on the web side. (Incidentally, it's -amazing- the things I've seen written in Delphi in the last couple of years. Just amazing results and products! I'm about ready to take a serious look at that one of these days, because I've seen some really, really neat stuff.) I think part of the issue is that, back when I started, SCO was still a serious contender--whether I liked it or not--in the business world. With the attrition they've faced, one of the primary platforms on which one would be introduced to filePro has become far more scarce. filePro was also advertised and even listed in magazines and comparative reviews back then (which is actually how we found it at the shoppe I was at). That's really not the case anymore, as it belongs to a class of development application that's by and large past its sell date. I can't think of any of the packages that are still alive. I -think- DBase is dead, Paradox changed a bunch and then may or may not have died (at a minimum it was rebranded), Magic I haven't heard anything of in years... All the contemporaries folded, and there's nothing to compare this to anymore because all the analogues are more or less relegated to a dim time in history. Fairly ancient history by tech-sector standards. So without the continued prominence of the primary platform of choice, and with DOS gone the way of the dodo, and the Windows port having come in far too late (and not being a very good port--console mode and all), the exposure for the product is a lot less than it was a decade and a half or so ago. Even though the product is actually supported on Linux, FreeBSD, Solaris, possibly AIX although I thought they were a full version behind due to lack of a place to compile 5.0 or 5.6 for a while at least... Well, it's just never gained the same traction it had on SCO. I'm figuring that unless someone gets hired on as a replacement for a dearly departed or a retiree, there's not much chance of exposure, either. Which means that the average age of the community is pretty much bound to stay high and get higher. And as people retire or pass away, it's going to keep shrinking, as well. Could be wrong, but that's how I'd call it. Let someone prove me wrong. Anyone here that's actually under 30, raise your hand by posting a reply stating as much. If you are under 30 and actually got into the product -without- inheriting an existing installation, definitely state that. My guess would be at best 3-5 people raise their hands for under 30, none raise their hands for getting into it via some other means than inheritance of an existing installation. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From fp at fpgroups.com Thu May 21 11:36:29 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Thu, 21 May 2009 14:36:29 -0400 Subject: OT: politically correctness (was - Re: An aging community we are) In-Reply-To: <00e601c9da41$8b3a6840$a1af38c0$@net> References: <4A15979F.9000806@fpgroups.com> <00e601c9da41$8b3a6840$a1af38c0$@net> Message-ID: <4A159F2D.2030000@fpgroups.com> Mike Schwartz wrote: > I'm glad you know you're a man?!!? (I think...) (Now days, what's the > politically correct response here...) > > Politically (in)correct was exactly my intent. The ways things are now, I think that if you define yourself as a "man", others may find it offensive. Thing are sure to get very interesting over the next 50 years; that is of course, if the world does not end in 2012. Regards, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From tyler.style at gmail.com Thu May 21 11:45:00 2009 From: tyler.style at gmail.com (Tyler) Date: Thu, 21 May 2009 11:45:00 -0700 Subject: AJAX and FPCGI Message-ID: <1e78e1e80905211145s18982871wfc951a8fd35893b6@mail.gmail.com> > > Date: Thu, 21 May 2009 10:26:18 -0400 > From: Fairlight > Subject: Re: AJAX and FPCGI > > On Thu, May 21, 2009 at 07:13:43AM -0700, after drawing runes in goat's > blood, > Tyler cast forth these immortal, mystical words: > > It is easy to use fpCGI with AJAX. I use it to send JSON formatted data > > back and forth all the time. > > And you're doing what for the response MIME types? Because unless the > server response type is correct, browsers tend to have problems with > XMLHTTPResponse objects, and there is no way to make fPCGI change the MIME > type in the response header. > > Maybe JSON is more lax about its types, but good luck with XML being > handled properly by the classes meant to parse the data in the object if > you don't do it the way it should be done. IE just likes to throw up a > cryptic "Error", and even Firefox is pretty cryptic about what's going > on--although it at least Firebug lets you see the cause of the issue. > Sounds like (since you were using an external JSON class) it doesn't really > care what the response format is, since the browser built-in classes don't > have to deal with it. I guarantee that's not the case with traditional > XML-based AJAX using the browser's object handling classes. > > And of the people doing AJAX, I'd probably guess >75% use XML, not JSON. > > The fact remains, fPCGI isn't designed to do AJAX properly. That you can > trick it in one particular case doesn't make it correct for all cases. > Well, the OP didn't say anything about what format he was using. Since it's filePro it's not like it has native XML output only, no other choices available. If he's needing to write the processing table regardless, he can always choose to go JSON. Also, 10sec on google produced a javascript JSON to XML conversion lib: http://goessner.net/download/prj/jsonxml/. So still not tragic. As for usage, what is your >75% guess based on? I've never seen any stats that even hint at the proportion. Anyway, Google and Yahoo both offer their web service APIs in JSON, so the proportion can't be insignificant. Personally I find JSON makes a lot more sense than XML if you have a choice in export format. Much easier to work with on the client side, and MUCH faster than XML. There are tons of blogs on the web extolling JSON over XML for AJAX for these and other reasons. The fact remains that fpCGI and filePro both aren't designed to deal with almost any of the interfaces or standards created since the 80s properly (before you say it: the fp SQL & ODBC stuff is *useless* for app dev without writes!). That I can 'trick' it at all makes me frankly grateful! Any interface that keeps me from having to explicitly manually import and export text files via the local file system and so helps me break out of the fp 'jail' is a huge thumbs up. fpCGI was a real boon that way (tho I seriously doubt that's what the creators had in mind, as all the other products seem to be centered on keeping you locked into fp for developing your apps - much like Microsoft, they probably never really thought of it as an alternative application delivery infrastructure) -- Tyler Style http://malthusiansolutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090521/adb9a696/attachment.html From fairlite at fairlite.com Thu May 21 13:45:28 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 21 May 2009 16:45:28 -0400 Subject: AJAX and FPCGI In-Reply-To: <1e78e1e80905211145s18982871wfc951a8fd35893b6@mail.gmail.com>; from tyler.style@gmail.com on Thu, May 21, 2009 at 11:45:00AM -0700 References: <1e78e1e80905211145s18982871wfc951a8fd35893b6@mail.gmail.com> Message-ID: <20090521164528.A13078@iglou.com> >From inside the gravity well of a singularity, Tyler shouted: > > Well, the OP didn't say anything about what format he was using. Since it's > filePro it's not like it has native XML output only, no other choices > available. If he's needing to write the processing table regardless, he can > always choose to go JSON. Also, 10sec on google produced a javascript JSON > to XML conversion lib: http://goessner.net/download/prj/jsonxml/. So still > not tragic. And for the majority of the community, AJAX isn't something they're going to be entrenched in, or have more than a cursory familiarity with. If they pick up a tutorial on it, the majority is probably going to fixate on XML, not JSON. > As for usage, what is your >75% guess based on? I've never seen any stats > that even hint at the proportion. Anyway, Google and Yahoo both offer their > web service APIs in JSON, so the proportion can't be insignificant. How do you draw a correlation of that type at all? Those are two houses out of how many tens to hundreds of thousands? There's standards-setters as well. From the wikipedia entry alone (I say "alone", since I don't always trust Wiki), it looks like while it has an RFC, it was one person's work. XML is a W3C standard. Until JSON gets the W3C's blessing, I think a lot would be hesitant to toss over one for the other--unless they're serious JS hackers. I note that the Wiki entry specifies that the MIME type is application/json. So when you send your responses, how are you getting it to be officially presented with the correct MIME type from fPCGI. The answer is--you can't. Even worse, you have -one- master error page in fPCGI, rather than one for every task. How do you specify specific errors in the return if something goes wrong? Answer: you can't. > Personally I find JSON makes a lot more sense than XML if you have a choice > in export format. Much easier to work with on the client side, and MUCH > faster than XML. There are tons of blogs on the web extolling JSON over XML > for AJAX for these and other reasons. There are books out there extolling the virtues of Windows Server over Linux as well, but it'd be a cold day in hell before I actually bought into the hype and recommended that solution in a server environment when I had a choice. I -might- choose Windows Server over IRIX, but that'd be a damned close call. > The fact remains that fpCGI and filePro both aren't designed to deal with > almost any of the interfaces or standards created since the 80s properly > (before you say it: the fp SQL & ODBC stuff is *useless* for app dev without > writes!). That I can 'trick' it at all makes me frankly grateful! Any fPCGI is barely "designed" at all. What design there is, is seriously flawed past the point of even considering it seriously for a production system. No argument from me on filePro not being designed to interface with anything modern without headaches. That's possibly the one thing you and I will ever agree on. > 'jail' is a huge thumbs up. fpCGI was a real boon that way (tho I seriously > doubt that's what the creators had in mind, as all the other products seem > to be centered on keeping you locked into fp for developing your apps - much > like Microsoft, they probably never really thought of it as an alternative > application delivery infrastructure) It was never intended to be an official product. It was, from what I gather, originally part of the Jumpstart or Gold development. When that was scrapped, someone convinced fP-Tech to release the CGI part of it separately, and out came a very unsecured and unpolished fPCGI 1.0. Its 2.0 version is only somewhat more secure, thanks to my efforts and suggestions that were actually implemented. It's still subject to (tunable, but exploitable) race conditions that can eat your filePro license alive, and if you use the backwards-compatible default methodology with the command on the web page, it's almost as insecure as 1.0 in terms of being able to attack a machine. It's basically just slightly less vulnerable. It would require a complete rewrite to come even close to being as secure as it should be. At least 2.0 got rid of the arbitrary command execution. Anyone on 1.0 is winging it on luck. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From lweaverjr at dellem.com Thu May 21 14:03:47 2009 From: lweaverjr at dellem.com (Larry S. Weaver Jr.) Date: Thu, 21 May 2009 17:03:47 -0400 Subject: filePro on a Macbook? Message-ID: <4A15C1B3.8010806@dellem.com> Is any one out there using filePro on a Macbook? How would I go about doing it? Thanks, Larry, Jr. -- Larry Weaver, Jr. - Dellem Associates, Inc. Ph: 813-963-5353 Ext: 101; Fax: 813-962-3164 E-mail: lweaverjr at dellem.com From tyler.style at gmail.com Thu May 21 14:20:12 2009 From: tyler.style at gmail.com (Tyler) Date: Thu, 21 May 2009 14:20:12 -0700 Subject: OT: xml vs json (was AJAX and FPCGI) Message-ID: <1e78e1e80905211420s570e1b49t1d277396f48ba6fa@mail.gmail.com> > Date: Thu, 21 May 2009 16:45:28 -0400 > From: Fairlight > Subject: Re: AJAX and FPCGI > To: filepro-list at lists.celestial.com > Message-ID: <20090521164528.A13078 at iglou.com> > Content-Type: text/plain; charset=us-ascii > > >From inside the gravity well of a singularity, Tyler shouted: > > > > Well, the OP didn't say anything about what format he was using. Since > it's > > filePro it's not like it has native XML output only, no other choices > > available. If he's needing to write the processing table regardless, he > can > > always choose to go JSON. Also, 10sec on google produced a javascript > JSON > > to XML conversion lib: http://goessner.net/download/prj/jsonxml/. So > still > > not tragic. > > And for the majority of the community, AJAX isn't something they're going > to be entrenched in, or have more than a cursory familiarity with. If they > pick up a tutorial on it, the majority is probably going to fixate on XML, > not JSON. > Er....how much do you know about JSON and Javascript? JSON is just a subset of Javascript. Anyone who knows Javascript already knows JSON. A JSON is just a Javascript object literal. > > As for usage, what is your >75% guess based on? I've never seen any > stats > > that even hint at the proportion. Anyway, Google and Yahoo both offer > their > > web service APIs in JSON, so the proportion can't be insignificant. > > How do you draw a correlation of that type at all? Those are two houses > out of how many tens to hundreds of thousands? Pretty easily. You've mistaken my point - I was trying to illlustrate that Google and Yahoo are big providers. So, if they are offering JSON APIs, there must be a significant proportion of service consumers wanting it in JSON format. Otherwise they wouldn't bother to support it, no? Even so, given the interpretation of those being two examples of JSON users they are still two of the biggest names on the web and therefore not bad indicators of JSON's popularity. > There's standards-setters as well. From the wikipedia entry alone (I say > "alone", since I don't always trust Wiki), it looks like while it has an > RFC, it was one person's work. XML is a W3C standard. Until JSON gets the > W3C's blessing, I think a lot would be hesitant to toss over one for the > other--unless they're serious JS hackers. Um. ECMAscript (aka Javascript) is in fact a W3C standard, and JSON is a subset of ECMAscript. So... it *is* a W3C standard. As for being one person's work, what diff does that make? JSONs are just another way to create objects in Javascript - hence the term object literals. > I note that the Wiki entry specifies that the MIME type is > application/json. So when you send your responses, how are you getting > it to be officially presented with the correct MIME type from fPCGI. The > answer is--you can't. Even worse, you have -one- master error page in > fPCGI, rather than one for every task. How do you specify specific errors > in the return if something goes wrong? Answer: you can't. Yes, but who cares? I've never relied on fP or fpCGI to have any sort of reasonable error handling. And the correct MIME type only matters if you're using the browser to interpret fpCGI's output, which I don't. As for errors, I write my fP processing to transmit custom error messages if the processing itself encounters a problem (lookup fails, etc). If the standard fpFGI page comes back, my AJAX library emails me a full report and the variable just gets a 'false' assigned to the variable instead of an object. Pretty easy to test for and handle on the client side. Especially since I don't have anything mission critical on fP these days anyway - all been migrated to MySQL. Trusting a web app to fpCGI for something critical is madness, no doubt about it. > > Personally I find JSON makes a lot more sense than XML if you have a > choice > > in export format. Much easier to work with on the client side, and MUCH > > faster than XML. There are tons of blogs on the web extolling JSON over > XML > > for AJAX for these and other reasons. > > There are books out there extolling the virtues of Windows Server over > Linux as well, but it'd be a cold day in hell before I actually bought into > the hype and recommended that solution in a server environment when I had a > choice. I -might- choose Windows Server over IRIX, but that'd be a damned > close call. False analogy. There's no corporate marketing push for one over the other in XML vs JSON, so no hype a la MS vs Linux. And there is no grassroots movements 'hyping' one over the other that I know of either. And the things I mentioned - ease of use and speed - are both distinctly measurable, hence not hype. > At least 2.0 got rid of the arbitrary command execution. Anyone on 1.0 is > winging it on luck. Well, security by obfuscation has been a time honoured and venerable strategy for yonks now :D Seriously tho, how many hackers will have ever even heard of fpCGI, much less be able to recognize and exploit it? The rate of return for doing so would be so microscopic you might as well target systems using flatfiles for their data storage. -- Tyler Style http://malthusiansolutions.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090521/47da5fba/attachment.html From yoresoft at sbcglobal.net Thu May 21 14:31:28 2009 From: yoresoft at sbcglobal.net (Richard Hane) Date: Thu, 21 May 2009 14:31:28 -0700 (PDT) Subject: An aging community we are Message-ID: <714082.69233.qm@web81402.mail.mud.yahoo.com> Gawd, this is going to make me sound ancient but I've known Howie and have been using fp for about 30 yrs now.? I am 60 and I know that on 4/30/2013 I will be retiring and go back to writing mfg apps in fp. (That of course assumes we will get a gui front end). ?Sorry, just had to say that. Regards, Rick Hane Controlled Deluxe Stitcher Company Inc ? ________________________________ From: Jose Lerebours To: filePro Mailing List Sent: Thursday, May 21, 2009 1:04:15 PM Subject: An aging community we are Following the post I submitted a moment ago, I had to stop and think how long its been since I started writing code.? I am a very young 41 years old man (no, there is no doubt in me, I am a man). I recall commenting with some other developers how young we were then compared to other filePro developers we knew - This is almost 20 years ago.? My hope is that we have a bunch of low 20s calling me "old" as supposed to "older" guys/gals calling me "young". That being said, any idea on the age groups of our community?? Has anyone taken in some young blood and trained then in filePro to the point where they are sitting comfortable that they are feeding the "Next Generation"?? I sure hope so and let them boldly go where no filePro developer has ever gone before. Regards, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090521/93eb7de0/attachment.html From r.hemer at w-link.net Thu May 21 15:01:23 2009 From: r.hemer at w-link.net (Rodgers Hemer) Date: Thu, 21 May 2009 15:01:23 -0700 Subject: filePro on a Macbook? In-Reply-To: <4A15C1B3.8010806@dellem.com> References: <4A15C1B3.8010806@dellem.com> Message-ID: <729F299C-CEC1-4B92-878D-343AE1DB0296@w-link.net> On May 21, 2009, at 2:03 PM, Larry S. Weaver Jr. wrote: > Is any one out there using filePro on a Macbook? How would I go about > doing it? > > Thanks, > > Larry, Jr. > Larry: If your Macbook has an Intel chip, you can run VMware Fusion which will allow you to host almost any other OS such as Windows, Linux, SCO, etc. Then you can pick your choice of filePro distributions to run on the hosted OS. I run Windows filePro on my iMac. Rodgers Hemer 206.523.2329 r.hemer at w-link.net From ras at anzio.com Thu May 21 15:20:11 2009 From: ras at anzio.com (Bob Rasmussen) Date: Thu, 21 May 2009 15:20:11 -0700 (PDT) Subject: Can printer definition file have colon? Message-ID: Can the printer definition file (e.g., printwiz.prt) contain a colon in an entry and not have it mess up the structure? Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA From bill at celestial.com Thu May 21 15:21:06 2009 From: bill at celestial.com (Bill Campbell) Date: Thu, 21 May 2009 15:21:06 -0700 Subject: An aging community we are In-Reply-To: <20090521143609.A10858@iglou.com> References: <4A15979F.9000806@fpgroups.com> <20090521143609.A10858@iglou.com> Message-ID: <20090521222106.GA18759@ayn.mi.celestial.com> On Thu, May 21, 2009, Fairlight wrote: >Only Jose Lerebours would say something like: >> Following the post I submitted a moment ago, I had to stop and think how >> long its been since I started writing code. I am a very young 41 years >> old man (no, there is no doubt in me, I am a man). > >I'm 38 going on 192. :) I have COBOL program listings that are older than you :-). I've been making my living herding computers since February 1966, and *nix systems since 1982 when Tandy introduced Xenix on the Model 16. I met John Esak in 1982 or so when I was managing a Radio Shack ``X Deparment'' a block and a half from the Radio Shack Computer Center where he was a computer marketing rep. ... Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 The only logical reason to take guns away from responsible people is to give irresponsible people an edge in the perpetration of their crimes against us. -- The Idaho Observer, Vol. 1, No. 2 February 1997 From joe at magnatechonline.com Thu May 21 19:01:15 2009 From: joe at magnatechonline.com (Joe Chasan) Date: Thu, 21 May 2009 22:01:15 -0400 Subject: Can printer definition file have colon? In-Reply-To: ; from ras@anzio.com on Thu, May 21, 2009 at 03:20:11PM -0700 References: Message-ID: <20090521220115.A28192@magnatechonline.com> On Thu, May 21, 2009 at 03:20:11PM -0700, Bob Rasmussen wrote: > Can the printer definition file (e.g., printwiz.prt) contain a colon in an > entry and not have it mess up the structure? i believe the same rule applies as with a prc table - since ":" is a field separator to filepro it can not be contained in the file for any other purpose and instead must be mapped as a -joe -- -Joe Chasan- Magnatech Business Systems, Inc. joe - at - magnatechonline -dot- com Hicksville, NY - USA http://www.MagnatechOnline.com Tel.(516) 931-4444/Fax.(516) 931-1264 From jlasman at telus.net Thu May 21 19:27:25 2009 From: jlasman at telus.net (Jim Asman) Date: Thu, 21 May 2009 19:27:25 -0700 Subject: Can printer definition file have colon? Message-ID: --------------- Original Message --------------- At 10:01P Thu May 21 2009, Joe Chasan wrote: > > On Thu, May 21, 2009 at 03:20:11PM -0700, Bob Rasmussen wrote: > > Can the printer definition file (e.g., printwiz.prt) contain a colon in an > > entry and not have it mess up the structure? > > i believe the same rule applies as with a prc table - since ":" is a > field separator to filepro it can not be contained in the file for any > other purpose and instead must be mapped as a > Just enter it in hex as $3a Jim -- jlasman at telus.net Spectra Colour Services Ltd. Jim Asman 10221 144a Street Phone: (604)584-0977 Surrey, BC V3R 3P7 CANADA Cell: (604)619-0977 www.spectracolorservices.com From EdOlmstead at ofpcinc.com Thu May 21 19:46:19 2009 From: EdOlmstead at ofpcinc.com (Ed Olmstead) Date: Thu, 21 May 2009 22:46:19 -0400 Subject: filePro on a Macbook? In-Reply-To: <4A15C1B3.8010806@dellem.com> References: <4A15C1B3.8010806@dellem.com> Message-ID: <4A1611FB.4020000@ofpcinc.com> On 5/21/2009 5:03 PM, Larry S. Weaver Jr. wrote: > Is any one out there using filePro on a Macbook? How would I go about > doing it? > > Thanks, > > Larry, Jr. > > I am using FilePro on a MacBook Pro. There are 3 ways that will work. You can run either "Parallels" or "Fusion" inside of the Mac OS and install either a Unix, Linix or Windows OS and go from there. I have not done any of these methdos so can't vouch for accuracy, etc. I run Windows XP under Bootcamp, part of the Mac OS - the MacBook Pro acts as if it is a PC. It works quite well and the Mac is good machine. -------------- next part -------------- A non-text attachment was scrubbed... Name: EdOlmstead.vcf Type: text/x-vcard Size: 307 bytes Desc: not available Url : http://mailman.celestial.com/pipermail/filepro-list/attachments/20090521/fc397d3c/attachment.vcf From rkreiss at gccconsulting.net Thu May 21 19:49:20 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Thu, 21 May 2009 22:49:20 -0400 Subject: An aging community we are In-Reply-To: <20090521222106.GA18759@ayn.mi.celestial.com> References: <4A15979F.9000806@fpgroups.com> <20090521143609.A10858@iglou.com> <20090521222106.GA18759@ayn.mi.celestial.com> Message-ID: <00c901c9da87$edde51a0$c99af4e0$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Bill Campbell > Sent: Thursday, May 21, 2009 6:21 PM > To: filepro-list at lists.celestial.com > Subject: Re: An aging community we are > > On Thu, May 21, 2009, Fairlight wrote: > >Only Jose Lerebours would say something like: > >> Following the post I submitted a moment ago, I had to stop and think how > >> long its been since I started writing code. I am a very young 41 years > >> old man (no, there is no doubt in me, I am a man). > > > >I'm 38 going on 192. :) > > I have COBOL program listings that are older than you :-). > > I've been making my living herding computers since February 1966, > and *nix systems since 1982 when Tandy introduced Xenix on the > Model 16. > > I met John Esak in 1982 or so when I was managing a Radio Shack > ``X Deparment'' a block and a half from the Radio Shack Computer > Center where he was a computer marketing rep. > > ... > Bill > -- > INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC > URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way > Voice: (206) 236-1676 Mercer Island, WA 98040-0820 > Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 > > The only logical reason to take guns away from responsible people is to > give irresponsible people an edge in the perpetration of their crimes > against us. -- The Idaho Observer, Vol. 1, No. 2 February 1997 OK, guys as for age I just turned 67 and have been programming with programs from small computer/Radio Shack for almost 30 years now. I ran in profile at a computer show. Bought it for my business. My office was located around the corner from small computer. I was at 40th street and 7th avenue. They were on 41st just west of 7th. I even upgraded product at their Hawthorne offices. I met most of the staff on my periodic visits there. I doubt anyone of them would remember as I was never there very long. Just purchase a new upgrade or pickup a runtime for a client. As for aging, the community is aging. That isn't all bad. As the alternative sucks. We who program in fp are a shrinking breed. However, in many cases the product we produce serves our clients well. Granted in some/many cases additional tools are necessary to accomplish our goals. However, that is true of most industries. And fp is a tool. I would hate to call a plumber who had only one wrench. My workbench has over a dozen different size screwdrivers, 4 different hammers, and yes, 5 sizes of adjustable wrenches and various sized pliers. That's without getting into the other hand tools and power tools I use. filePro's biggest problem is the lack of publicity. There are many lousy products out there that get a lot of press, either free or paid for and the public knows there names(brand recognition). At one time filePro had that. But over the years, for one reason or another, the PR stopped. I will probably work for another 5 or 10 years, if I can. I have reduced my client load to one that is easy to handle and gives me the type of income I am looking for at my age. At this stage of my life, if I need additional programming skills (read languages), I will outsource my requirements to those that have those skills. At this stage in life, I like taking vacations not learning new languages. These are usually one long one and a couple of shorter ones. Yes, I am married and my wife is still working. She has enough time off for us to do this. The only problem is that my clients insist that I be reachable. So, I have my laptop and my cell phone. Last year I modified a file from aboard a ship in the South Atlantic off Argentina at mid-night via a satellite connection. Ain't technology grand. Some vacation. It was and I kept work to a minimum. One client even informed me that I need to install a phone jack and have a computer connection in my coffin. That's the problem with custom software, they always want to be in touch with you. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From fairlite at fairlite.com Thu May 21 20:03:19 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 21 May 2009 23:03:19 -0400 Subject: An aging community we are In-Reply-To: <00c901c9da87$edde51a0$c99af4e0$@net>; from rkreiss@gccconsulting.net on Thu, May 21, 2009 at 10:49:20PM -0400 References: <4A15979F.9000806@fpgroups.com> <20090521143609.A10858@iglou.com> <20090521222106.GA18759@ayn.mi.celestial.com> <00c901c9da87$edde51a0$c99af4e0$@net> Message-ID: <20090521230319.A27468@iglou.com> Simon--er, no...it was Richard Kreiss--said: > > One client even informed me that I need to install a phone jack and have a > computer connection in my coffin. That's the problem with custom software, > they always want to be in touch with you. Unless you contract it as such, "custom software" ne "on call for life". That kind of 24/7 on-call (and on-vacation?!) support should come at a stiff premium. I think if -I- was -on a vacation cruise- and the right people had been aprised in advance of my status, any calls during that vacation would be at triple time, plus expenses. That's worse than emergency calls in the middle of the night, IMHO. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From john at valar.com Thu May 21 21:05:30 2009 From: john at valar.com (John Esak) Date: Fri, 22 May 2009 00:05:30 -0400 Subject: An aging community we are In-Reply-To: <20090521230319.A27468@iglou.com> Message-ID: <200905220405.n4M45Upa008166@admin114.securesites.net> > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co m] On Behalf Of Fairlight > Sent: Thursday, May 21, 2009 11:03 PM > To: filepro-list at lists.celestial.com > Subject: Re: An aging community we are > > Simon--er, no...it was Richard Kreiss--said: > > > > One client even informed me that I need to install a phone > jack and have a > > computer connection in my coffin. That's the problem with > custom software, > > they always want to be in touch with you. > > Unless you contract it as such, "custom software" ne "on call > for life". > That kind of 24/7 on-call (and on-vacation?!) support should come at a > stiff premium. > > I think if -I- was -on a vacation cruise- and the right > people had been > aprised in advance of my status, any calls during that > vacation would be at > triple time, plus expenses. That's worse than emergency calls in the > middle of the night, IMHO. > > mark-> For my edification.... Just when is this "middle of the night"? I think I should be a zillionaire. :-) John Esak From john at valar.com Thu May 21 21:12:53 2009 From: john at valar.com (John Esak) Date: Fri, 22 May 2009 00:12:53 -0400 Subject: An aging community we are In-Reply-To: <00c901c9da87$edde51a0$c99af4e0$@net> Message-ID: <200905220412.n4M4CrqV010777@admin114.securesites.net> > One client even informed me that I need to install a phone > jack and have a > computer connection in my coffin. That's the problem with > custom software, > they always want to be in touch with you. > > > Richard Kreiss Before those 5 or 10 years you will be programming yet, Richard, someone will invent a way to install an rj-45 in your head. So, when you do go in the box, it will already be there. :-) The question is how does one "incorporate" imaginary numbers into your lifetime achievement static IP. :-) 192.168.i.101 ??? John Esak From john at valar.com Thu May 21 22:37:38 2009 From: john at valar.com (John Esak) Date: Fri, 22 May 2009 01:37:38 -0400 Subject: An aging community we are In-Reply-To: <200905220405.n4M45Upa008166@admin114.securesites.net> Message-ID: <200905220537.n4M5bcFL044796@admin114.securesites.net> [...] Okay, let me see... It was in 1979 that I was hired by a gent from ABC News who had just taken over the management of Enterprise Radio, an offshoot of ESPN which had just been sold by Scott Rasmussin and his dad (who started ESPN in their living room and had recently sold it for big $$$... The very same Scott Rasmussin who I see daily on all the networks running his most excellent political polling apparatus)... Hired that is to get ER on the air a 24 hour sports radio network... A thing never heard of before... 24 hour anything... By midnight January 1, 1980. It was the most hectic 9 months of my life and somehow, some way we actually got the whole NOC, satellite uplink system and several dozen downlinks around the country finished on time. I was working 24 hours a day and no kidding. During that time, I hired a guy who used to work with me at Sigma Sound Studios in NYC. His name was Doug Grinsberg. Both he and I were introduced to Profile by a kid named.... Oh my God, I've nearly forgotten his name! Dana Hones... Anyway, he was and still hopefully is one of the greatest guys... :-) He had Profile on a Model II, and with Scripsit, they sucked me up in a huge way. Left ER in the spring of 1980 and moved to Washington, DC., where I worked as a programmer for a couple different companies... Then joined RS as a CSR in their M Street store as Bill noted. (Previous to all this, in the early/mid 70's I worked with Unix from AT&T/Bell Labs as it was distributed to the colleges and Universities. I was a nerd at the University Of South Florida getting my Master's degree, where we had a PDP 1170 all to ourselves in the music synthesis studio.... Boy, they were great times. I played in the studio by day and rock & roll bands by night. One of my bands toured around a bit in Florida with the likes of The Allman Brothers and others. There were even a couple times when I opened the show for Jay Giles and Styx as a soloist! I could actually play a piano then. :-) and had a Fender Rhodes all hyped up with phase shifters and every other kind of do-dad available at the time. ... Before *that*... It was the 60's and I was in the charter class of an experimental college in Sarasota called New College. Yes, the sixties were good to me, so I won't recall (at this time) too much about those days... :-) I do, however, specifically remember the day our Nat Sci department got one of the first LED calculators ever made... It had four functions. Yes, +, -, *, / and I'm dead serious. Square root didn't come out until a little later... Sometime when CB radios joined in the fray I think. :-) Now too be honest, CB was out a decade earlier than this, but it didn't catch on until the 70's. Okay, I've got to stop this, or we'll never get to the filePro stuff. :-) ) One of the real "achievements" of my lifetime was at the M-Street store circa 1982, building a Profile/BASIC based system for a guy who worked for Oliver T. Carr (sp?) a huge developer/financier in DC. At the top of the OTC building on K street I think... I put in a Model II running "terminal"... It was controlled by this guy's home system (another Model II) when he dialed in on 300 baud modem and controlled (with some nifty special RS-232 switches) the air-conditioning and heating system of this enormous (like 15 stories) building. I am absolutely certain this is one of the very first implementations of personal computers for this purpose ever. If this didn't presage the future-world-view and *current* ubiquity of our Max Headroom society, I don't know what would. Now, everything is controlled remotely to varying degrees of complexity over "the net" as we all know... And without doubt the Max Headroom series was not just 20 minutes into the future but 20 years ahead of *its* time.... And my little program for OTC way back then was 25 years ahead of its time. (And this was before Profile even had "lookup" and Math 64! I wouldn't be surprised if I hadn't hit on Bill Campbell for ideas on that little program. He was one of the most technically savvy guys around at the time. No wonder his store did amazing business. Shortly after that 1982 time frame I joined Small Computer... Maybe 1984, and ran the Washington, DC office, which grew at one point to a staff of 17people! Here is where I met up and partnered with Ken White, hired Doug Grinbergs back again, and Steve Hood among many other RS people.... All because they knew filePro... Well, I remember teaching Ken filePro. It took a few days... I hired him because he was smart, not because he knew the program. :-) (I'm sure he still hates me for ripping him away from his electronics design aspirations.) So, let's see again... Does all that roughly add up to me being 60 and giving exactly half of my waking life to the writing of filePro code??? Um, yes. :-) Now, some may have put a :-( after that statement, but I don't think I would have changed any part of this for the world. All of us who *hit* the birth of the personal computer industry at its outset are among the luckiest folks in history. None of us here will have our names carved into the cornerstones of buildings like some we know... But we were right there with the movers and shakers for all of it as it was happening. Nope, wouldn't change anything, except... I would have written a foolproof licensing scheme into filePro when it was first released from Radio Shack's grip. I believe it would have become a smash success story of the age like Lotus 123. But for that miss-step, filePro had it all and would have garnered the R&D $$ to keep it on the forefront forever.. Still, the majority of us made good livings on what it *did* become and still will *be* in the future. Most of the programs I've written are self-pruning, self-configurable and fully operable "as is" for the next couple decades should the hardware be available to keep them going. I hear very little from a whole host of companies that still use my stuff... And all of it was written in filePro of various vintages. Good job, Ken, Ron, et al... (By the way, who is this Al guy anyway? He seems to be everywhere.) As fun and happy as my life has been, I hate doing this. I much prefer looking forward than backward. And right now, I have a few hours of late-night programming in filePro to look forward to. Honest, and I still enjoy it! John Esak From fairlite at fairlite.com Fri May 22 01:42:30 2009 From: fairlite at fairlite.com (Fairlight) Date: Fri, 22 May 2009 04:42:30 -0400 Subject: An aging community we are In-Reply-To: <200905220405.n4M45Upa008166@admin114.securesites.net>; from john@valar.com on Fri, May 22, 2009 at 12:05:30AM -0400 References: <20090521230319.A27468@iglou.com> <200905220405.n4M45Upa008166@admin114.securesites.net> Message-ID: <20090522044230.A8253@iglou.com> This public service announcement was brought to you by John Esak: > For my edification.... Just when is this "middle of the night"? I think I > should be a zillionaire. :-) Erm...yeah, it's kind of fluid. For me, it could be noon. :) But for billing purposes, it's everyone else's idea of logical night. :) If someone calls me at 3am, platters better be flying out the sides of the server, or something else -really- good. Well, actually I really don't care, since I charge the same at that time of day whether it's something really good, or something someone knee-jerked over. It's their dime. It's just less aggravating on principle when it's for a really good reason. :) mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From rkreiss at gccconsulting.net Fri May 22 07:01:12 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Fri, 22 May 2009 10:01:12 -0400 Subject: An aging community we are In-Reply-To: <200905220412.n4M4CrqV010777@admin114.securesites.net> References: <00c901c9da87$edde51a0$c99af4e0$@net> <200905220412.n4M4CrqV010777@admin114.securesites.net> Message-ID: <003101c9dae5$cb718430$62548c90$@net> John, Not an rj45 but an implanted cell phone what dials by thought. Oh, that would be next great invention, a hands free cell phone that reacts to thought. Something like that supersonic Russian Jet that Clint Eastwood stole. Think the number and it dials; or think the text message or tweet and it write it and then sends it. Or better yet, how about a computer that can react to thought. Think about programming in filePro by thinking what one wants and avoiding the keyboard all together. Oh well, enough dreaming --- back to work in the real world. Richard > -----Original Message----- > From: John Esak [mailto:john at valar.com] > Sent: Friday, May 22, 2009 12:13 AM > To: rkreiss at gccconsulting.net; bill at celestial.com; filepro-list at lists.celestial.com > Subject: RE: An aging community we are > > > One client even informed me that I need to install a phone > > jack and have a > > computer connection in my coffin. That's the problem with > > custom software, > > they always want to be in touch with you. > > > > > > Richard Kreiss > > Before those 5 or 10 years you will be programming yet, Richard, someone > will invent a way to install an rj-45 in your head. So, when you do go in > the box, it will already be there. :-) > > The question is how does one "incorporate" imaginary numbers into your > lifetime achievement static IP. :-) > > 192.168.i.101 ??? > > John Esak > From gccconsulting at comcast.net Fri May 22 07:11:36 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Fri, 22 May 2009 10:11:36 -0400 Subject: An aging community we are In-Reply-To: <20090522044230.A8253@iglou.com> References: <20090521230319.A27468@iglou.com> <200905220405.n4M45Upa008166@admin114.securesites.net> <20090522044230.A8253@iglou.com> Message-ID: <003201c9dae7$3d34f0b0$b79ed210$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Fairlight > Sent: Friday, May 22, 2009 4:42 AM > To: filePro Mailing List > Subject: Re: An aging community we are > > This public service announcement was brought to you by John Esak: > > For my edification.... Just when is this "middle of the night"? I think I > > should be a zillionaire. :-) > > Erm...yeah, it's kind of fluid. For me, it could be noon. :) But for > billing purposes, it's everyone else's idea of logical night. :) > > If someone calls me at 3am, platters better be flying out the sides of the > server, or something else -really- good. Well, actually I really don't > care, since I charge the same at that time of day whether it's something > really good, or something someone knee-jerked over. It's their dime. It's > just less aggravating on principle when it's for a really good reason. :) > > mark-> Mark, When you deal with people whose company's run on my software and their largest customer tells them the tomorrow we are changing the data type for one of the fields transmitted from a 15 digit numeric field to an 18 digit alphanumeric field, I need to take care of this. They loose the customer, I loose an account. Besides, in this case, my client is barely staying in business so anything I can do to keep him in business is a plus for me. I have had this account for 18 years so a bit under 30 minutes of work at mid-night is no big deal even when I am on vacation. Besides how many programmers can say they modified a program from a ship for a client in New York City? Richard From kenbrody at spamcop.net Fri May 22 07:27:35 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 22 May 2009 10:27:35 -0400 Subject: Can printer definition file have colon? In-Reply-To: References: Message-ID: <4A16B657.9080202@spamcop.net> Bob Rasmussen wrote: > Can the printer definition file (e.g., printwiz.prt) contain a colon in an > entry and not have it mess up the structure? ObReply: "What happened when you tried?" :-) Given that some of the fPTech-supplied print code tables do, indeed, include codes which contain colons (see "ibmpro" for an example), I think you can deduce the answer. :-) -- Kenneth Brody From kenbrody at spamcop.net Fri May 22 07:30:13 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 22 May 2009 10:30:13 -0400 Subject: An aging community we are In-Reply-To: <200905220405.n4M45Upa008166@admin114.securesites.net> References: <200905220405.n4M45Upa008166@admin114.securesites.net> Message-ID: <4A16B6F5.4000400@spamcop.net> John Esak wrote: >> -----Original Message----- [...] > m] On Behalf Of Fairlight [...] >> I think if -I- was -on a vacation cruise- and the right >> people had been >> aprised in advance of my status, any calls during that >> vacation would be at >> triple time, plus expenses. That's worse than emergency calls in the >> middle of the night, IMHO. > > For my edification.... Just when is this "middle of the night"? I think I > should be a zillionaire. :-) Not everyone keeps a rolled-up mattress and a pillow under their desk at the office, John. :-) -- Kenneth Brody From ras at anzio.com Fri May 22 07:36:27 2009 From: ras at anzio.com (Bob Rasmussen) Date: Fri, 22 May 2009 07:36:27 -0700 (PDT) Subject: Can printer definition file have colon? In-Reply-To: <4A16B657.9080202@spamcop.net> References: <4A16B657.9080202@spamcop.net> Message-ID: On Fri, 22 May 2009, Kenneth Brody wrote: > Bob Rasmussen wrote: > > Can the printer definition file (e.g., printwiz.prt) contain a colon in an > > entry and not have it mess up the structure? > > ObReply: "What happened when you tried?" :-) I was asking for a friend :-) > > Given that some of the fPTech-supplied print code tables do, indeed, include > codes which contain colons (see "ibmpro" for an example), I think you can > deduce the answer. :-) See previous reply. Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA From mschw at athenet.net Fri May 22 08:48:46 2009 From: mschw at athenet.net (Mike Schwartz) Date: Fri, 22 May 2009 10:48:46 -0500 Subject: An aging community we are In-Reply-To: <4A16B6F5.4000400@spamcop.net> References: <200905220405.n4M45Upa008166@admin114.securesites.net> <4A16B6F5.4000400@spamcop.net> Message-ID: <007c01c9daf4$cbacbaa0$63062fe0$@net> (top posted for John) I agree with you, John. I've told several people who were interested in becoming custom programmers that they should be prepared to give up their evenings and weekends without complaint (although possible for a little bit of extra overtime money...) I learned early on how scary it is having several big, strong millwrights threaten you with severe bodily harm if they didn't get their paychecks on time. (And they weren't kidding. Some of them ended up literally murdering one guy in the mill that they didn't like!) Mike Schwartz > -----Original Message----- > From: filepro-list-bounces+mschw=athenet.net at lists.celestial.com > [mailto:filepro-list-bounces+mschw=athenet.net at lists.celestial.com] On > Behalf Of Kenneth Brody > Sent: Friday, May 22, 2009 9:30 AM > To: john at valar.com > Cc: filepro-list at lists.celestial.com > Subject: Re: An aging community we are > > John Esak wrote: > >> -----Original Message----- > [...] > > m] On Behalf Of Fairlight > [...] > >> I think if -I- was -on a vacation cruise- and the right > >> people had been > >> aprised in advance of my status, any calls during that > >> vacation would be at > >> triple time, plus expenses. That's worse than emergency calls in > the > >> middle of the night, IMHO. > > > > For my edification.... Just when is this "middle of the night"? I > think I > > should be a zillionaire. :-) > > Not everyone keeps a rolled-up mattress and a pillow under their desk > at the > office, John. :-) > > -- > Kenneth Brody > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 8.5.339 / Virus Database: 270.12.36/2127 - Release Date: > 05/22/09 06:03:00 From kenbrody at spamcop.net Fri May 22 09:11:08 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 22 May 2009 12:11:08 -0400 Subject: An aging community we are In-Reply-To: <007c01c9daf4$cbacbaa0$63062fe0$@net> References: <200905220405.n4M45Upa008166@admin114.securesites.net> <4A16B6F5.4000400@spamcop.net> <007c01c9daf4$cbacbaa0$63062fe0$@net> Message-ID: <4A16CE9C.6020808@spamcop.net> Mike Schwartz wrote: [...] > I learned early on how scary it is having several big, strong > millwrights threaten you with severe bodily harm if they didn't get their > paychecks on time. [...] You have the wrong clients. :-) Laura has had more than one (non-filePro-related) client call Friday morning that their "it's been slowly dieing for months, but we didn't do anything about it" payroll computer finally died. They have no problem paying the "emergency, drop everything else and come over right now and fix it" rates. It seems that not being able to run payroll was a good motivator. There have also been several clients who paid the "pick it up Friday evening and get it back to us before we open Monday morning" rate for their systems. -- Kenneth Brody From john at valar.com Fri May 22 09:35:32 2009 From: john at valar.com (John Esak) Date: Fri, 22 May 2009 12:35:32 -0400 Subject: An aging community we are In-Reply-To: <003101c9dae5$cb718430$62548c90$@net> Message-ID: <200905221635.n4MGZXpm068315@admin114.securesites.net> Naturally Speaking works with filePro you know... (I type faster than I can talk clearly though. :-) John > -----Original Message----- > From: Richard Kreiss [mailto:rkreiss at gccconsulting.net] > Sent: Friday, May 22, 2009 10:01 AM > To: john at valar.com; bill at celestial.com; > filepro-list at lists.celestial.com > Subject: RE: An aging community we are > > John, > > Not an rj45 but an implanted cell phone what dials by thought. > > Oh, that would be next great invention, a hands free cell > phone that reacts > to thought. Something like that supersonic Russian Jet that > Clint Eastwood > stole. Think the number and it dials; or think the text > message or tweet > and it write it and then sends it. > > Or better yet, how about a computer that can react to > thought. Think about > programming in filePro by thinking what one wants and > avoiding the keyboard > all together. > > Oh well, enough dreaming --- back to work in the real world. > > Richard > > > > > -----Original Message----- > > From: John Esak [mailto:john at valar.com] > > Sent: Friday, May 22, 2009 12:13 AM > > To: rkreiss at gccconsulting.net; bill at celestial.com; > filepro-list at lists.celestial.com > > Subject: RE: An aging community we are > > > > > One client even informed me that I need to install a phone > > > jack and have a > > > computer connection in my coffin. That's the problem with > > > custom software, > > > they always want to be in touch with you. > > > > > > > > > Richard Kreiss > > > > Before those 5 or 10 years you will be programming yet, > Richard, someone > > will invent a way to install an rj-45 in your head. So, > when you do go > in > > the box, it will already be there. :-) > > > > The question is how does one "incorporate" imaginary > numbers into your > > lifetime achievement static IP. :-) > > > > 192.168.i.101 ??? > > > > John Esak > > > From gccconsulting at comcast.net Fri May 22 09:39:25 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Fri, 22 May 2009 12:39:25 -0400 Subject: An aging community we are In-Reply-To: <4A16CE9C.6020808@spamcop.net> References: <200905220405.n4M45Upa008166@admin114.securesites.net> <4A16B6F5.4000400@spamcop.net> <007c01c9daf4$cbacbaa0$63062fe0$@net> <4A16CE9C.6020808@spamcop.net> Message-ID: <008301c9dafb$e5898050$b09c80f0$@net> > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of Kenneth Brody > Sent: Friday, May 22, 2009 12:11 PM > To: mschw at athenet.net > Cc: filepro-list at lists.celestial.com > Subject: Re: An aging community we are > > Mike Schwartz wrote: > [...] > > I learned early on how scary it is having several big, strong > > millwrights threaten you with severe bodily harm if they didn't get their > > paychecks on time. > [...] > > You have the wrong clients. :-) > > Laura has had more than one (non-filePro-related) client call Friday morning > that their "it's been slowly dieing for months, but we didn't do anything > about it" payroll computer finally died. They have no problem paying the > "emergency, drop everything else and come over right now and fix it" rates. > It seems that not being able to run payroll was a good motivator. There > have also been several clients who paid the "pick it up Friday evening and > get it back to us before we open Monday morning" rate for their systems. > Had a large dental office client, hardware only, call me on Thursday afternoon that their serve was acting funny. What was funny, the admin tried to log in and the keyboard and mouse wouldn't work. Drove over with a new keyboard and mouse - 5 minutes from my house. The keyboard and mouse had been pulled out, don?t ask, and then plugged back in without turning off the server. The connections went. I told them to call the people they had a hardware maintenance contract with to come out and repair/replace the server. They advised me that then next day's schedule for 5 dentists were on the computer and they needed it up and running. I called a friend of mine who builds custom servers and asked if he had enough parts to build me a server over nigh and the regen it. He had parts and was able to delay delivering a server to one of his clients by a few days. Pulled the server out at 5PM and drove to Brooklyn about an hours drive. We put together a new machine with the hard drives from the old server and prayed. This was a Windows server which we were bringing up in a totally different box. We were not sure if the machine would boot with many wrong drivers. We got it up, deleted the old drivers and installed new ones. I delivered the box back the next morning at 7AM. Installed it had them up and running by 8AM when the office opened. Total bill, $5,000. The new server $1,500.00, that was cheap as this was 10 years ago. The balance was my fee for this "emergency". They paid the bill in a very timely manner. The sad part, the primary partner had laser surgery on his eyes and lost much of his sight. The office closed after that. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From gccconsulting at comcast.net Fri May 22 09:40:33 2009 From: gccconsulting at comcast.net (GCC Consulting) Date: Fri, 22 May 2009 12:40:33 -0400 Subject: An aging community we are In-Reply-To: <200905221635.n4MGZXpm068315@admin114.securesites.net> References: <003101c9dae5$cb718430$62548c90$@net> <200905221635.n4MGZXpm068315@admin114.securesites.net> Message-ID: <008401c9dafc$0ea8b140$2bfa13c0$@net> Have it but have not tried with FP. With my poor typing ability these days, this might speed things up. Thanks John. Richard > -----Original Message----- > From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com] On > Behalf Of John Esak > Sent: Friday, May 22, 2009 12:36 PM > To: rkreiss at gccconsulting.net; bill at celestial.com; filepro-list at lists.celestial.com > Subject: RE: An aging community we are > > Naturally Speaking works with filePro you know... > > (I type faster than I can talk clearly though. :-) > > John > > > > -----Original Message----- > > From: Richard Kreiss [mailto:rkreiss at gccconsulting.net] > > Sent: Friday, May 22, 2009 10:01 AM > > To: john at valar.com; bill at celestial.com; > > filepro-list at lists.celestial.com > > Subject: RE: An aging community we are > > > > John, > > > > Not an rj45 but an implanted cell phone what dials by thought. > > > > Oh, that would be next great invention, a hands free cell > > phone that reacts > > to thought. Something like that supersonic Russian Jet that > > Clint Eastwood > > stole. Think the number and it dials; or think the text > > message or tweet > > and it write it and then sends it. > > > > Or better yet, how about a computer that can react to > > thought. Think about > > programming in filePro by thinking what one wants and > > avoiding the keyboard > > all together. > > > > Oh well, enough dreaming --- back to work in the real world. > > > > Richard > > > > > > > > > -----Original Message----- > > > From: John Esak [mailto:john at valar.com] > > > Sent: Friday, May 22, 2009 12:13 AM > > > To: rkreiss at gccconsulting.net; bill at celestial.com; > > filepro-list at lists.celestial.com > > > Subject: RE: An aging community we are > > > > > > > One client even informed me that I need to install a phone > > > > jack and have a > > > > computer connection in my coffin. That's the problem with > > > > custom software, > > > > they always want to be in touch with you. > > > > > > > > > > > > Richard Kreiss > > > > > > Before those 5 or 10 years you will be programming yet, > > Richard, someone > > > will invent a way to install an rj-45 in your head. So, > > when you do go > > in > > > the box, it will already be there. :-) > > > > > > The question is how does one "incorporate" imaginary > > numbers into your > > > lifetime achievement static IP. :-) > > > > > > 192.168.i.101 ??? > > > > > > John Esak > > > > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list From john at valar.com Fri May 22 09:50:11 2009 From: john at valar.com (John Esak) Date: Fri, 22 May 2009 12:50:11 -0400 Subject: An aging community we are In-Reply-To: <4A16B6F5.4000400@spamcop.net> Message-ID: <200905221650.n4MGoBUk077018@admin114.securesites.net> :-) Happily, at my new job... I live close enough to just zoom back and forth in a quick cab ride... Or friend's car. But, I have the luxury of working from home, too. However, I actually like going into work and being with people. Getting out of one's cave and going to lunch once in awhile, or talking the previous day's politics over a cup of coffee in the morning is a good thing! :-) Who knew? So, no need for a bed under the desk anymore. :-) John > -----Original Message----- > From: Kenneth Brody [mailto:kenbrody at spamcop.net] > Sent: Friday, May 22, 2009 10:30 AM > To: john at valar.com > Cc: filepro-list at lists.celestial.com > Subject: Re: An aging community we are > > John Esak wrote: > >> -----Original Message----- > [...] > > m] On Behalf Of Fairlight > [...] > >> I think if -I- was -on a vacation cruise- and the right > >> people had been > >> aprised in advance of my status, any calls during that > >> vacation would be at > >> triple time, plus expenses. That's worse than emergency > calls in the > >> middle of the night, IMHO. > > > > For my edification.... Just when is this "middle of the > night"? I think I > > should be a zillionaire. :-) > > Not everyone keeps a rolled-up mattress and a pillow under > their desk at the > office, John. :-) > > -- > Kenneth Brody > From john at valar.com Fri May 22 10:48:16 2009 From: john at valar.com (John Esak) Date: Fri, 22 May 2009 13:48:16 -0400 Subject: An aging community we are In-Reply-To: <008401c9dafc$0ea8b140$2bfa13c0$@net> Message-ID: <200905221748.n4MHmGVD012015@admin114.securesites.net> It actually works very well. Now there are two caveats. One, I did my testing in a telnet window.... Actually probably a FacetWin window into Unix. I don't remember if I tried on the Windows Native version. But, also, after you do the regular setup (you read progressively longer paragraphs as it learns your voice) then be sure to set it to translate the most possible punctuation and turn the date processing off. This way you can actually sit there and say things like.. ENTER (to get to the If condition from the label. Yy space eq "27" (to put in the condition) ENTER (to get to the then line) Yy equals sign quotes quotes (for yy="") It all works pretty cool, but you have to get used to talking in code... Which is not as easy as typing it. Like I say, for the brief tests I did with it about 5 years ago, I made so many little mistakes, I was constantly going back to repair them. I didn't give it very long at all... And just went back to typing. Besides, if anyone ever watched me type (as some do at my work) it would drive you crazy. I'm all over the place. Sometimes I type in the then line go back and fill in the if line then go to the label.... Then jumping to the end of the then and adding something ... Immediately pushing it all down a line with F3 and doing it all in a completely different order. There appears to be absolutely no pattern or rhyme and reason to how I type code in. :-) But, it does usually work! :-) Like I said once before though, these days I get more and more dumb syntax errors... Not really syntax problems, but pure typos, reversals, etc. It is so frustrating because there was a time when I could type in 25 lines of code press ESC/ESC and it would all compile perfectly. Those days are gone with the onset of my rendition of old timer's desease. :-) All I can hope is that this is happening to *everyone* and it's not just me! Jhon ;-) > -----Original Message----- > From: GCC Consulting [mailto:gccconsulting at comcast.net] > Sent: Friday, May 22, 2009 12:41 PM > To: john at valar.com; rkreiss at gccconsulting.net; > bill at celestial.com; filepro-list at lists.celestial.com > Subject: RE: An aging community we are > > Have it but have not tried with FP. > > With my poor typing ability these days, this might speed things up. > > Thanks John. > > Richard > > > -----Original Message----- > > From: > filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > > > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.c elestial.com] > On > > Behalf Of John Esak > > Sent: Friday, May 22, 2009 12:36 PM > > To: rkreiss at gccconsulting.net; bill at celestial.com; > filepro-list at lists.celestial.com > > Subject: RE: An aging community we are > > > > Naturally Speaking works with filePro you know... > > > > (I type faster than I can talk clearly though. :-) > > > > John > > > > > > > -----Original Message----- > > > From: Richard Kreiss [mailto:rkreiss at gccconsulting.net] > > > Sent: Friday, May 22, 2009 10:01 AM > > > To: john at valar.com; bill at celestial.com; > > > filepro-list at lists.celestial.com > > > Subject: RE: An aging community we are > > > > > > John, > > > > > > Not an rj45 but an implanted cell phone what dials by thought. > > > > > > Oh, that would be next great invention, a hands free cell > > > phone that reacts > > > to thought. Something like that supersonic Russian Jet that > > > Clint Eastwood > > > stole. Think the number and it dials; or think the text > > > message or tweet > > > and it write it and then sends it. > > > > > > Or better yet, how about a computer that can react to > > > thought. Think about > > > programming in filePro by thinking what one wants and > > > avoiding the keyboard > > > all together. > > > > > > Oh well, enough dreaming --- back to work in the real world. > > > > > > Richard > > > > > > > > > > > > > -----Original Message----- > > > > From: John Esak [mailto:john at valar.com] > > > > Sent: Friday, May 22, 2009 12:13 AM > > > > To: rkreiss at gccconsulting.net; bill at celestial.com; > > > filepro-list at lists.celestial.com > > > > Subject: RE: An aging community we are > > > > > > > > > One client even informed me that I need to install a phone > > > > > jack and have a > > > > > computer connection in my coffin. That's the problem with > > > > > custom software, > > > > > they always want to be in touch with you. > > > > > > > > > > > > > > > Richard Kreiss > > > > > > > > Before those 5 or 10 years you will be programming yet, > > > Richard, someone > > > > will invent a way to install an rj-45 in your head. So, > > > when you do go > > > in > > > > the box, it will already be there. :-) > > > > > > > > The question is how does one "incorporate" imaginary > > > numbers into your > > > > lifetime achievement static IP. :-) > > > > > > > > 192.168.i.101 ??? > > > > > > > > John Esak > > > > > > > > > > > _______________________________________________ > > Filepro-list mailing list > > Filepro-list at lists.celestial.com > > http://mailman.celestial.com/mailman/listinfo/filepro-list > From john at valar.com Fri May 22 10:59:40 2009 From: john at valar.com (John Esak) Date: Fri, 22 May 2009 13:59:40 -0400 Subject: An aging community we are In-Reply-To: <008301c9dafb$e5898050$b09c80f0$@net> Message-ID: <200905221759.n4MHxesu018417@admin114.securesites.net> Going OT Okay, since we *are* drifting ... Just a quickee since you mention Laser surgery. Everyone is so enamored of Laxix (sp?) surgery these days... And in the majority of cases it goes well... And is a pretty good thing.... But, my very top of the mark eye surgeons both say it is about the worst thing you can do to your eyes. So really think about it before you leap just because it's getting cheaper. Two things. It weakens your cornea... Bad... If you have it done when you are say 30, by the time you are 50 to 60 it will have degraded your vision irreparably. They often neglect to fill you in on these two facts. Also, in many, many cases ( high percentage like 35%) it has to be re-done after a couple years! With all the trouble I'v ehad with my eyes, I would caution anyone against laser surgery of the LASIX variety. Laser surgery to correct retinal problems is a fantastic thing, however, without any downside, considering you simply lose the vision if you don't get it done when needed. Diabetes, retinal detach, etc. But, the Lasix cornea peel is just a bad diea. I'm sorry to offend or bother anyone who has had this done... That is not my intention. If you have, just keep getting your eyes checked often and don't put any garbage eye lubricants in like Visene, etc. Not good after Lasix. If you had good luck with it, as I originally said many do, then more power to you and I hope it lasts as long as it possibly can. John > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co m] On Behalf Of GCC Consulting > Sent: Friday, May 22, 2009 12:39 PM > To: 'Kenneth Brody'; mschw at athenet.net > Cc: filepro-list at lists.celestial.com > Subject: RE: An aging community we are > > > > > -----Original Message----- > > From: > filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com > > > [mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.c elestial.com] > On > > Behalf Of Kenneth Brody > > Sent: Friday, May 22, 2009 12:11 PM > > To: mschw at athenet.net > > Cc: filepro-list at lists.celestial.com > > Subject: Re: An aging community we are > > > > Mike Schwartz wrote: > > [...] > > > I learned early on how scary it is having several big, strong > > > millwrights threaten you with severe bodily harm if they > didn't get > their > > > paychecks on time. > > [...] > > > > You have the wrong clients. :-) > > > > Laura has had more than one (non-filePro-related) client call Friday > morning > > that their "it's been slowly dieing for months, but we > didn't do anything > > about it" payroll computer finally died. They have no > problem paying the > > "emergency, drop everything else and come over right now and fix it" > rates. > > It seems that not being able to run payroll was a good > motivator. There > > have also been several clients who paid the "pick it up > Friday evening and > > get it back to us before we open Monday morning" rate for > their systems. > > > > Had a large dental office client, hardware only, call me on Thursday > afternoon that their serve was acting funny. What was funny, > the admin > tried to log in and the keyboard and mouse wouldn't work. > > Drove over with a new keyboard and mouse - 5 minutes from my > house. The > keyboard and mouse had been pulled out, don?t ask, and then > plugged back in > without turning off the server. The connections went. I > told them to call > the people they had a hardware maintenance contract with to > come out and > repair/replace the server. They advised me that then next > day's schedule > for 5 dentists were on the computer and they needed it up and running. > > I called a friend of mine who builds custom servers and asked > if he had > enough parts to build me a server over nigh and the regen it. > He had parts > and was able to delay delivering a server to one of his > clients by a few > days. > > Pulled the server out at 5PM and drove to Brooklyn about an > hours drive. We > put together a new machine with the hard drives from the old > server and > prayed. This was a Windows server which we were bringing up > in a totally > different box. We were not sure if the machine would boot > with many wrong > drivers. We got it up, deleted the old drivers and installed > new ones. I > delivered the box back the next morning at 7AM. Installed it > had them up and > running by 8AM when the office opened. > > Total bill, $5,000. The new server $1,500.00, that was cheap > as this was 10 > years ago. The balance was my fee for this "emergency". They > paid the bill > in a very timely manner. The sad part, the primary partner had laser > surgery on his eyes and lost much of his sight. The office > closed after > that. > > > Richard Kreiss > GCC Consulting > rkreiss at gccconsulting.net > ? > > > > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From fairlite at fairlite.com Fri May 22 11:07:28 2009 From: fairlite at fairlite.com (Fairlight) Date: Fri, 22 May 2009 14:07:28 -0400 Subject: An aging community we are In-Reply-To: <200905221759.n4MHxesu018417@admin114.securesites.net>; from john@valar.com on Fri, May 22, 2009 at 01:59:40PM -0400 References: <008301c9dafb$e5898050$b09c80f0$@net> <200905221759.n4MHxesu018417@admin114.securesites.net> Message-ID: <20090522140728.A25214@iglou.com> Is it just me, or did John Esak say: > Going OT > > Okay, since we *are* drifting ... Just a quickee since you mention Laser > surgery. Everyone is so enamored of Laxix (sp?) surgery these days... And > in the majority of cases it goes well... And is a pretty good thing.... > But, my very top of the mark eye surgeons both say it is about the worst > thing you can do to your eyes. So really think about it before you leap > just because it's getting cheaper. Two things. It weakens your cornea... > Bad... If you have it done when you are say 30, by the time you are 50 to 60 > it will have degraded your vision irreparably. They often neglect to fill > you in on these two facts. Also, in many, many cases ( high percentage like > 35%) it has to be re-done after a couple years! If you have it done before you're 40, you've not researched enough. It shouldn't be done before then, as when you get older to the point you usually need bifocals due to that stiffness of the lens-shifting setting in with age, the lasik correction you had earlier won't be right anymore. It's not something to jump into lightly, nor too early--if at all. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From rkreiss at verizon.net Fri May 22 07:35:48 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Fri, 22 May 2009 10:35:48 -0400 Subject: ot: rant Message-ID: <005001c9daea$9a0e4a40$ce2adec0$@net> It's one of those weeks. I had 2 calls yesterday regarding an A/R aging report that my client said was not running correctly. Items selected that had been paid and values ending in the wrong bucket. This is not a new report. I didn't get a chance to look at it yesterday and while speaking to the bookkeeper mentioned that I had downloaded the file in question and would look at the problem. Her response -- "You mean you haven't fixed it? I ran the report this morning and it was correct. I hate days like this. One complaints about something not working and then it works. Two, I loose money in not being able to correct a problem in an old program. End of rant Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From mschw at athenet.net Fri May 22 11:45:28 2009 From: mschw at athenet.net (Mike Schwartz) Date: Fri, 22 May 2009 13:45:28 -0500 Subject: An aging community we are In-Reply-To: <4A16CE9C.6020808@spamcop.net> References: <200905220405.n4M45Upa008166@admin114.securesites.net> <4A16B6F5.4000400@spamcop.net> <007c01c9daf4$cbacbaa0$63062fe0$@net> <4A16CE9C.6020808@spamcop.net> Message-ID: <00be01c9db0d$7abf3960$703dac20$@net> > You have the wrong clients. :-) > > -- > Kenneth Brody Yes, the filePro customer "pickings" have been pretty slim here in the Midwest. Maybe I will have to more out East and see if I can do better out in the New York area! Mike Schwartz From nlp at vss3.com Fri May 22 12:22:14 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Fri, 22 May 2009 15:22:14 -0400 Subject: Can printer definition file have colon? In-Reply-To: References: <4A16B657.9080202@spamcop.net> Message-ID: <4A16FB66.50708@vss3.com> Bob Rasmussen wrote: > On Fri, 22 May 2009, Kenneth Brody wrote: > > >> Bob Rasmussen wrote: >> >>> Can the printer definition file (e.g., printwiz.prt) contain a colon in an >>> entry and not have it mess up the structure? >>> >> ObReply: "What happened when you tried?" :-) >> > > I was asking for a friend :-) > > But I think you missed the point on this. It can include a : which it stores as a ^A in the table. If the table is editted outside of filePro and the colon is stored as a colon, filePro will be unable to load the table - so you get no codes at all. But filePro does not change the ^A back to a : when it inserts it into the document, so the expected colon is not in the inserted code as the Anzio product requires. I will be glad to send you an output like this. I made a bunch yesterday. Nancy ( I am the friend...) >> Given that some of the fPTech-supplied print code tables do, indeed, include >> codes which contain colons (see "ibmpro" for an example), I think you can >> deduce the answer. :-) >> > > See previous reply. > > Regards, > ....Bob Rasmussen, President, Rasmussen Software, Inc. > > personal e-mail: ras at anzio.com > company e-mail: rsi at anzio.com > voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) > fax: (US) 503-624-0760 > web: http://www.anzio.com > street address: Rasmussen Software, Inc. > 10240 SW Nimbus, Suite L9 > Portland, OR 97223 USA > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From nlp at vss3.com Fri May 22 12:38:05 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Fri, 22 May 2009 15:38:05 -0400 Subject: ot: rant In-Reply-To: <005001c9daea$9a0e4a40$ce2adec0$@net> References: <005001c9daea$9a0e4a40$ce2adec0$@net> Message-ID: <4A16FF1D.6040202@vss3.com> Richard Kreiss wrote: > It's one of those weeks. > > I had 2 calls yesterday regarding an A/R aging report that my client said > was not running correctly. Items selected that had been paid and values > ending in the wrong bucket. > > This is not a new report. I didn't get a chance to look at it yesterday and > while speaking to the bookkeeper mentioned that I had downloaded the file in > question and would look at the problem. > > Her response -- "You mean you haven't fixed it? I ran the report this > morning and it was correct. > > I hate days like this. One complaints about something not working and then > it works. Two, I loose money in not being able to correct a problem in an > old program. > > End of rant > > > Richard, I got so frustrated by this kind of stuff, I make a log entry with the selection the customer made for each report that is critical in the chain of data. Entry for Printing Invoice(s) Entry for Posted Invoice(s) Entry for Aging as of selection given. What ever steps will affect the report, I write in the log in the order they do them with the who did it and the when and what they did. It has saved me more than once by point out that step C must follow a correct step B. Might help. Nancy > Richard Kreiss > GCC Consulting > rkreiss at gccconsulting.net > > > > > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From kenbrody at spamcop.net Fri May 22 12:42:02 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 22 May 2009 15:42:02 -0400 Subject: Can printer definition file have colon? In-Reply-To: <4A16FB66.50708@vss3.com> References: <4A16B657.9080202@spamcop.net> <4A16FB66.50708@vss3.com> Message-ID: <4A17000A.3030802@spamcop.net> Nancy Palmquist wrote: [...] > But I think you missed the point on this. It can include a : which it > stores as a ^A in the table. If the table is editted outside of filePro > and the colon is stored as a colon, filePro will be unable to load the > table - so you get no codes at all. Correct. The same thing holds for other no-longer-valid file formats. I don't think that was the OP's point. > But filePro does not change the ^A back to a : when it inserts it into > the document, so the expected colon is not in the inserted code as the > Anzio product requires. If this is true, then why has no one reported it (AFAIK) in the past 26 years? > I will be glad to send you an output like this. I made a bunch yesterday. I just tried it here on 5.6.07, and it worked just fine. (Print code 12 in "IBMPRO", which is "$1b :", generates 0x1b 0x3a as expected.) -- Kenneth Brody From bill at celestial.com Fri May 22 13:19:02 2009 From: bill at celestial.com (Bill Campbell) Date: Fri, 22 May 2009 13:19:02 -0700 Subject: An aging community we are In-Reply-To: <007c01c9daf4$cbacbaa0$63062fe0$@net> References: <200905220405.n4M45Upa008166@admin114.securesites.net> <4A16B6F5.4000400@spamcop.net> <007c01c9daf4$cbacbaa0$63062fe0$@net> Message-ID: <20090522201901.GA10881@ayn.mi.celestial.com> On Fri, May 22, 2009, Mike Schwartz wrote: >(top posted for John) > > I agree with you, John. I've told several people who were interested >in becoming custom programmers that they should be prepared to give up their >evenings and weekends without complaint (although possible for a little bit >of extra overtime money...) > > I learned early on how scary it is having several big, strong >millwrights threaten you with severe bodily harm if they didn't get their >paychecks on time. (And they weren't kidding. Some of them ended up >literally murdering one guy in the mill that they didn't like!) When I was at Radio Shack one of my customers called me to say their Model II was down, and did I have one he could borrow until it was fixed. Of course it was a firing offense at Radio Shack to do something like that (the store operating manual said pretty much anything was a firing offense), but when the customer asked if I would come to his place and explain to 150 plumbers why they couldn't get paid, I was there pretty quickly with a loaner. I frequently get calls in the wee hours of the morning from customers on the east coast who forget that we are three hours behind them. I don't know how many times I've fixed things sitting in my PJs, half asleep when this happens. On the other hand, there have been times when I solved payroll problems for customers on Sunday afternoon, and was rewarded with orchestra ticket to the National Theatre, large boxes of frozen seafood from Alaska, and similar expressions of gratitude. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Memoirs -- Bill Clinton is getting $12 million for his memoirs, and his wife Hillary got $8 million for hers. That's $20 million for memories from two people who for eight years repeatedly testified they couldn't remember anything. From bill at celestial.com Fri May 22 13:24:18 2009 From: bill at celestial.com (Bill Campbell) Date: Fri, 22 May 2009 13:24:18 -0700 Subject: An aging community we are In-Reply-To: <200905221759.n4MHxesu018417@admin114.securesites.net> References: <008301c9dafb$e5898050$b09c80f0$@net> <200905221759.n4MHxesu018417@admin114.securesites.net> Message-ID: <20090522202417.GB10881@ayn.mi.celestial.com> On Fri, May 22, 2009, John Esak wrote: >Going OT > >Okay, since we *are* drifting ... Just a quickee since you mention Laser >surgery. Everyone is so enamored of Laxix (sp?) surgery these days... And >in the majority of cases it goes well... And is a pretty good thing.... >But, my very top of the mark eye surgeons both say it is about the worst >thing you can do to your eyes.... Here's an interesting article on laser eye surgery: http://www.dailymail.co.uk/health/article-1174156/The-good-eye-laser-guide-The-pros-cons-things-look-for.html Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 When dealing with any spammer, one must always keep in mind that you are dealing with someone who makes their living through forgery, fraud, theft, subterfuge and obfuscation. Stated simply, spammers lie. David Ritz From appl at jpr.com Fri May 22 14:29:42 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Fri, 22 May 2009 17:29:42 -0400 Subject: Can printer definition file have colon? In-Reply-To: <4A17000A.3030802@spamcop.net> References: <4A16B657.9080202@spamcop.net> <4A16FB66.50708@vss3.com> <4A17000A.3030802@spamcop.net> Message-ID: <20090522212942.GA25280@jpradley.jpr.com> Kenneth Brody propounded (on Fri, May 22, 2009 at 03:42:02PM -0400): | Nancy Palmquist wrote: | [...] | > But I think you missed the point on this. It can include a : which it | > stores as a ^A in the table. If the table is editted outside of filePro | > and the colon is stored as a colon, filePro will be unable to load the | > table - so you get no codes at all. | | Correct. The same thing holds for other no-longer-valid file formats. I | don't think that was the OP's point. | | > But filePro does not change the ^A back to a : when it inserts it into | > the document, so the expected colon is not in the inserted code as the | > Anzio product requires. | | If this is true, then why has no one reported it (AFAIK) in the past 26 years? | | > I will be glad to send you an output like this. I made a bunch yesterday. | | I just tried it here on 5.6.07, and it worked just fine. (Print code 12 in | "IBMPRO", which is "$1b :", generates 0x1b 0x3a as expected.) Ah me, here we go again on the meaning of `is'. The code "is seen" as "$1b :" when in pmaint. But run vi or less on .../fp/lib/ipmpro.prt and sure enough it "is seen" as "$1b ^A". Thus it actually "is" Ctrl-A, or hex 0x01, in ../fp/lib/ipmpro.prt. -- JP From mschw at athenet.net Fri May 22 14:41:24 2009 From: mschw at athenet.net (Mike Schwartz) Date: Fri, 22 May 2009 16:41:24 -0500 Subject: An aging community we are In-Reply-To: <20090522202417.GB10881@ayn.mi.celestial.com> References: <008301c9dafb$e5898050$b09c80f0$@net> <200905221759.n4MHxesu018417@admin114.securesites.net> <20090522202417.GB10881@ayn.mi.celestial.com> Message-ID: <00ce01c9db26$0f0759f0$2d160dd0$@net> > Here's an interesting article on laser eye surgery: > > http://www.dailymail.co.uk/health/article-1174156/The-good-eye-laser- > guide-The-pros-cons-things-look-for.html > > Bill As a pilot, I was told I should only have "wavefront" surgery, or the much more expensive total lens replacement (Permaclear, like they do for cataract patients), but I never knew why they make that recommendation until I read this article. Thanks! Mike Schwartz From rpowers at indy.rr.com Sat May 23 13:40:09 2009 From: rpowers at indy.rr.com (Ryan Powers) Date: Sat, 23 May 2009 16:40:09 -0400 Subject: ADV: fp2mysql: The Movie Message-ID: <000001c9dbe6$aa3ac8b0$feb05a10$@rr.com> Hi folks, As you may know, fp2mysql has been out for a few weeks now and it has raised a few questions. They say a picture is worth a thousand words, so certainly a movie should explain a great deal. So rather than write a very long step-by-step document which would be difficult to follow, I've put together a short movie which shows the entire process from installing MyODBC, setting up a data source, installing fp2mysql, and doing a transfer. Aside from the immense entertainment value, the movie can also be used as an instruction manual. It all is very easy once you've seen it done. So if you have a spare moment, please take a look at http://bulldogsoftware.com and one of the movie formats (both AVI AND MOV). Many thanks! --- Ryan Powers Bulldog Software, Inc. http://www.bulldogsoftware.com From john at valar.com Sat May 23 18:56:09 2009 From: john at valar.com (John Esak) Date: Sat, 23 May 2009 21:56:09 -0400 Subject: fp2mysql: The Movie In-Reply-To: <000001c9dbe6$aa3ac8b0$feb05a10$@rr.com> Message-ID: <200905240156.n4O1u9Pt050977@admin114.securesites.net> Ryan, Now you're thinkin'... And takin' a page from my playbook. I've been trying to get folks to go the "movie" route for not only sales but documentation for a while now, maybe 4 or 5 years. My *whole* G/L (A/R,A/P,P/R) has a huge series of step by step movies as their full documentation, tutorial... manual, etc. It has taken so much off my plate, and people sent nothing but compliments and "what a great tutorial... And so forth." over them. I hope this works out for you as well. If your fp2sql helps in the construction and implementation of just what it is titled to do... Then I will personally be interested, and I know my company does this sort of thing as well in different ways. I'm sure Lee and Tim will look at your program, too. Good luck, if it is anything like you usually turn out, it is probably fantastic. John Esak > -----Original Message----- > From: filepro-list-bounces+john=valar.com at lists.celestial.com > [mailto:filepro-list-bounces+john=valar.com at lists.celestial.co m] On Behalf Of Ryan Powers > Sent: Saturday, May 23, 2009 4:40 PM > To: filepro-list at lists.celestial.com > Subject: ADV: fp2mysql: The Movie > > Hi folks, > > As you may know, fp2mysql has been out for a few weeks now > and it has raised > a few questions. They say a picture is worth a thousand > words, so certainly > a movie should explain a great deal. > > So rather than write a very long step-by-step document which would be > difficult to follow, I've put together a short movie which > shows the entire > process from installing MyODBC, setting up a data source, installing > fp2mysql, and doing a transfer. > > Aside from the immense entertainment value, the movie can > also be used as an > instruction manual. It all is very easy once you've seen it done. > > So if you have a spare moment, please take a look at > http://bulldogsoftware.com and one of the movie formats (both > AVI AND MOV). > > Many thanks! > > --- > Ryan Powers > Bulldog Software, Inc. > http://www.bulldogsoftware.com > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From ryanx at bulldogsoftware.com Sun May 24 06:50:01 2009 From: ryanx at bulldogsoftware.com (ryanx at bulldogsoftware.com) Date: Sun, 24 May 2009 09:50:01 -0400 Subject: fp2mysql: The Movie In-Reply-To: <200905240156.n4O1u9Pt050977@admin114.securesites.net> References: <000001c9dbe6$aa3ac8b0$feb05a10$@rr.com> <200905240156.n4O1u9Pt050977@admin114.securesites.net> Message-ID: <20090524135001.GA26392@bulldogsoftware.com> On Sat, May 23, 2009 at 09:56:09PM -0400, John Esak said: > Ryan, > > Now you're thinkin'... And takin' a page from my playbook. I've been trying > to get folks to go the "movie" route for not only sales but documentation > for a while now, maybe 4 or 5 years. My *whole* G/L (A/R,A/P,P/R) has a huge > series of step by step movies as their full documentation, tutorial... > manual, etc. It has taken so much off my plate, and people sent nothing but > compliments and "what a great tutorial... And so forth." over them. I hope ... Ouch. Well I certainly can empathize. Bulldog ODBC of five years ago sold *1* copy and I pulled it after 6 months or so. In calculating the price divided by the time invested I was working for about a dollar an hour. Not a great ROI especially considering the hours, as in 9 AM to 3 AM. If there's anything I learned from that venture is that you need to put your toe in the water, so to speak. If people are willing to buy into the concept in the form of a small utility or such, then there is something you can build on. This is a small market and unfortunately there aren't that many filePro customers that actually read the list. If you have a client list, contact me privately. ;-) Perhaps fP in it's future incarnation will be willing to sponsor people like us. > If your fp2sql helps in the construction and implementation of just what it > is titled to do... Then I will personally be interested, and I know my I can't say that its going to silver bullet for anyone, but I am almost certain that it will prove to be very stable. > company does this sort of thing as well in different ways. I'm sure Lee and > Tim will look at your program, too. > > Good luck, if it is anything like you usually turn out, it is probably > fantastic. That is quite a compliment John. Thank you very much! -- Ryan Powers Bulldog Software, Inc. http://www.bulldogsoftware.com ------------------------------------------------------------------------------- From fp at fpgroups.com Tue May 26 09:20:12 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Tue, 26 May 2009 09:20:12 -0700 Subject: Screen Size Message-ID: <20090526092012.9c3a3c79dc5c950ab111f4660728c8e9.acc4ffc6ea.wbe@email03.secureserver.net> An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090526/785b3161/attachment.html From fairlite at fairlite.com Tue May 26 09:31:14 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 26 May 2009 12:31:14 -0400 Subject: Screen Size In-Reply-To: <20090526092012.9c3a3c79dc5c950ab111f4660728c8e9.acc4ffc6ea.wbe@email03.secureserver.net>; from fp@fpgroups.com on Tue, May 26, 2009 at 09:20:12AM -0700 References: <20090526092012.9c3a3c79dc5c950ab111f4660728c8e9.acc4ffc6ea.wbe@email03.secureserver.net> Message-ID: <20090526123114.A13392@iglou.com> In the relative spacial/temporal region of Tue, May 26, 2009 at 09:20:12AM -0700, Jose Lerebours achieved the spontaneous generation of the following: > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list That's all that was in plain text. WF;DR (Wrong Format, Didn't Read) mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From kenbrody at spamcop.net Tue May 26 09:34:38 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 26 May 2009 12:34:38 -0400 Subject: Screen Size In-Reply-To: <20090526092012.9c3a3c79dc5c950ab111f4660728c8e9.acc4ffc6ea.wbe@email03.secureserver.net> References: <20090526092012.9c3a3c79dc5c950ab111f4660728c8e9.acc4ffc6ea.wbe@email03.secureserver.net> Message-ID: <4A1C1A1E.8030002@spamcop.net> Jose Lerebours wrote: > How can I get WIN based ver 5.0.14 to use a full screen? > > I set the properties for the icon to use 800 x 600 but filePro itself is only > using 40% of that ... Looks funny :-) Set the window to use 80x25, and use a larger font. -- Kenneth Brody From fp at fpgroups.com Tue May 26 10:15:15 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Tue, 26 May 2009 13:15:15 -0400 Subject: fptransfer Message-ID: <4A1C23A3.1000400@fpgroups.com> For the first time in my life I need to transfer from UNIX to WIN ... As per my research, it looks like all I need to do is run xfer -lf /tmp/put_it_here * and that should take ALL filepro files and dump them in /tmp/put_it_here ???? I would then take this file to WIN box and run same command to extract them. Correct? A quick note will be appreciated before I chase my tale and do something wrong ... Thanks, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From fp at fpgroups.com Tue May 26 10:25:34 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Tue, 26 May 2009 13:25:34 -0400 Subject: Transfer menus from UNIX to WIN Message-ID: <4A1C260E.2060504@fpgroups.com> I just posted a question about transferring filePro files but what about menus? Are menus transferred using same command or do I just ftp them over??? Thanks, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From wvaughan at steelerubber.com Tue May 26 11:39:55 2009 From: wvaughan at steelerubber.com (Walter Vaughan) Date: Tue, 26 May 2009 14:39:55 -0400 Subject: Transfer menus from UNIX to WIN In-Reply-To: <4A1C260E.2060504@fpgroups.com> References: <4A1C260E.2060504@fpgroups.com> Message-ID: <4A1C377B.1070402@steelerubber.com> Jose Lerebours wrote: >I just posted a question about transferring filePro files but what about >menus? > >Are menus transferred using same command or do I just ftp them over??? > > Nope, and not without a lot of TLC on the back end to make sure they do what you expect From kenbrody at spamcop.net Tue May 26 12:12:10 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 26 May 2009 15:12:10 -0400 Subject: Transfer menus from UNIX to WIN In-Reply-To: <4A1C260E.2060504@fpgroups.com> References: <4A1C260E.2060504@fpgroups.com> Message-ID: <4A1C3F0A.5000708@spamcop.net> Jose Lerebours wrote: > I just posted a question about transferring filePro files but what about > menus? > > Are menus transferred using same command or do I just ftp them over??? The menus themselves can be ftp'ed (in _binary_ mode) over. (Or, you can use xfer's "-nb" flag along with "-lf", to create an xfer file of them.) Of course, if you are using any *nix-specific commands in them, that's a different matter. (And, no, it's not a problem that the command lines use forward slashes in "/fp/whatever". Those work just fine in Windows.) -- Kenneth Brody From kenbrody at spamcop.net Tue May 26 12:13:49 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 26 May 2009 15:13:49 -0400 Subject: Transfer menus from UNIX to WIN In-Reply-To: <4A1C377B.1070402@steelerubber.com> References: <4A1C260E.2060504@fpgroups.com> <4A1C377B.1070402@steelerubber.com> Message-ID: <4A1C3F6D.5000705@spamcop.net> Walter Vaughan wrote: > Jose Lerebours wrote: > >> I just posted a question about transferring filePro files but what about >> menus? >> >> Are menus transferred using same command or do I just ftp them over??? >> >> > Nope, and not without a lot of TLC on the back end to make sure they do > what you expect It depends on what commands he uses on the menu. Obviously, if he's calling *nix shell scripts, or executing *nix-specific commands, he'll have to rewrite them. But, typical things like "/fp/dreport whatever" or "!menuname" don't need to be touched. -- Kenneth Brody From garyolman1 at hvc.rr.com Tue May 26 15:41:25 2009 From: garyolman1 at hvc.rr.com (garyolman) Date: Tue, 26 May 2009 18:41:25 -0400 Subject: go0tomyPC and printing from FP Message-ID: <002b01c9de53$19dff7d0$4d9fe770$@rr.com> I am still stuck. I can print to the client if I print to a file from FP and then use gotomyPC to print that from windows. What am missing? I am using XP, PC and FP 5.** Any help would be greatly appreciated. Thanks Gary From don at caffco.com Tue May 26 15:46:06 2009 From: don at caffco.com (Don Bush) Date: Tue, 26 May 2009 17:46:06 -0500 Subject: A/R problem phantom transactions In-Reply-To: <4A1C1A1E.8030002@spamcop.net> References: <20090526092012.9c3a3c79dc5c950ab111f4660728c8e9.acc4ffc6ea.wbe@email03.secureserver.net> <4A1C1A1E.8030002@spamcop.net> Message-ID: <7.0.1.0.2.20090526171800.023f9c80@caffco.com> I need a little help. So I thought I would start here. Our A/R is written in filePro as is most everything except A/P and G/L. My problem is this; we have found transactions (manually keyed in) that are on the daily transaction reports but didn't show up on the customer statement. Then sometimes the transaction would show up a month later and on a couple ocassions two months later. Now here is the weird part. There is no account that is out of balance and the A/R matches the G/L to the penny. Most all are payments and we have four from Sept. 2008 that have never shown up on a statement and it is still in balance with the G/L . the following files are involved: ccrmcus - the customer file ccacrpost - this statement post file ccacrtran - the common transaction file for records. ccdeposit - the daily transaction file for entering customer payments ccacrhist - the history file of all A/R transactions. buracr - the daily transaction file for invoices and credits here is how they work. 1.someone in AR enters payments into ccdeposit and run a print of all the deposits. 2. that person then processes the payments which are copied to ccacrtran which then updates the customer file and writes a record of the transaction to ccacrpost for statements at the end of month as well as writting a record to ccacrhist for audit trail history. it then deletes the record from ccdeposit 3. after the updates the ccacrtran records are deleted for the next round of transactions. 4. At the end of the day the buracr file is processed into ccacrtran to do the same updates to the other files. once the records are written to ccacrtran and processed they are copied to a save file then deleted. 5. once the updates for the buracr records are done the ccacrtran records are again deleted. I have spent MONTHS looking over every single transaction deposit and transaction report and have found records that appear to have processed and some not. All of which I have dumped to multiple spreadsheets. Without rambling anymore the question is : How can a record process or not and still keep in balance with the G/L . Figures for the G/L are all gathered independently of the filePro system. Any help or ideas would be appreciated. Right now I am at a loss and am going home for the day. Don From appl at jpr.com Tue May 26 17:21:27 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Tue, 26 May 2009 20:21:27 -0400 Subject: go0tomyPC and printing from FP In-Reply-To: <002b01c9de53$19dff7d0$4d9fe770$@rr.com> References: <002b01c9de53$19dff7d0$4d9fe770$@rr.com> Message-ID: <20090527002127.GB25280@jpradley.jpr.com> garyolman propounded (on Tue, May 26, 2009 at 06:41:25PM -0400): | I am still stuck. I can print to the client if I print to a file from FP and | then use gotomyPC to print that from windows. What am missing? I am using | XP, PC and FP 5.** OK, but what is it that you canNOT do? -- JP From fp at fpgroups.com Tue May 26 18:14:19 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Tue, 26 May 2009 21:14:19 -0400 Subject: Survey: Is you filePro application online? Message-ID: <4A1C93EB.6000401@fpgroups.com> If you wish, you can reply OFF LIST. Q. Do you need to develop/integrate your filePro application with web presence? Q. If already pushing filePro to web, are you looking for alternatives? Q. What are you using to push filePro to web? Q. In a scale 1 - 10, how does your web based server side scripting rank? Q. If you knew how, would you use PHP with your filePro application? If not, Why? Q. Would you be willing to pay for the right solution? Q. Would you like to see what PHP + filePro looks like online? Q. How long do you think it may take to do something you need done? Q. Which do you think would be best for you PERL, PHP, PYTHON, .NET or OTHER (________)? Feel free to add any information you feel may be relevant to this subject. I have many other questions but these are a good start. Thanks! -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From ScottWalker at RAMSystemsCorp.com Tue May 26 18:23:11 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Tue, 26 May 2009 21:23:11 -0400 Subject: Survey: Is you filePro application online? In-Reply-To: <4A1C93EB.6000401@fpgroups.com> References: <4A1C93EB.6000401@fpgroups.com> Message-ID: <000a01c9de69$b5345d50$1f9d17f0$@com> -----Original Message----- From: filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial.com [mailto:filepro-list-bounces+scottwalker=ramsystemscorp.com at lists.celestial. com] On Behalf Of Jose Lerebours Sent: Tuesday, May 26, 2009 9:14 PM To: filePro Mailing List Subject: Survey: Is you filePro application online? If you wish, you can reply OFF LIST. Q. Do you need to develop/integrate your filePro application with web presence? Yes Q. If already pushing filePro to web, are you looking for alternatives? Not already doing it and YES. Q. What are you using to push filePro to web? Nothing yet Q. In a scale 1 - 10, how does your web based server side scripting rank? 0 Q. If you knew how, would you use PHP with your filePro application? If not, Why? If I knew how, I would know how to answer that question Q. Would you be willing to pay for the right solution? YES. Always been willing to pay for the right solution. Q. Would you like to see what PHP + filePro looks like online? YES Q. How long do you think it may take to do something you need done? No idea. Q. Which do you think would be best for you PERL, PHP, PYTHON, .NET or OTHER (________)? No idea. Feel free to add any information you feel may be relevant to this subject. I have many other questions but these are a good start. Thanks! -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From fairlite at fairlite.com Tue May 26 18:54:28 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 26 May 2009 21:54:28 -0400 Subject: Survey: Is you filePro application online? In-Reply-To: <4A1C93EB.6000401@fpgroups.com>; from fp@fpgroups.com on Tue, May 26, 2009 at 09:14:19PM -0400 References: <4A1C93EB.6000401@fpgroups.com> Message-ID: <20090526215428.A6188@iglou.com> On Tue, May 26, 2009 at 09:14:19PM -0400, Jose Lerebours, the prominent pundit, witicized: > If you wish, you can reply OFF LIST. Nah. Although "looking for fP<->web integration work" would have been more direct an approach, Jose. :) > Q. Do you need to develop/integrate your filePro application with web > presence? I don't personally. I've had clients that have needed to and continue to need to. > Q. If already pushing filePro to web, are you looking for alternatives? Negative. > Q. What are you using to push filePro to web? OneGate. http://www.fairlite.com/fc/products/onegate/ > Q. In a scale 1 - 10, how does your web based server side scripting rank? Out of an absolute score? 9.5. There are some things I'd like to add in a version 5.x that I think would be great additions. There's a bit of room for addition, but I've actually run out of ideas for things to put in without just bloating it for the hell of it, other than about 5-6 ideas I've got in mind and wrote down a year ago. I'd almost say a 5.x release might be the last major revision I need until something supplants AJAX technologies. Assuming I ever get around to writing and releasing it. Like I said, there are things that even I think would be handy, but there's nothing critically missing at present, either. For a score relative to what's out there, probably 9.9 if we're talking about the core technology at the low level. I've got the features, stability, scalability, and most importantly--security. fPageBuilder by STN would be the first thing I'd look at on the high level, and it rides on top of OneGate, so I know its low-end is covered. > Q. If you knew how, would you use PHP with your filePro application? If > not, Why? Absolutely not. "Cold day in hell," comes to mind. I don't like the "design" (if you can call it that...I'm often skeptical) of the architecture. It also tends to be the AOL of web languages, in that it's so simple just about every idiot thinks they can do it--and too many do. I've seen domestic PHP code that makes Perl code coming out of the Ukraine look -sane-, and that's saying something. PHP may be the most popular out there currently, but the numbers simply speak to its attainability. There are other numbers, like the sheer volume of core PHP security holes, as well as the plethora of application-based PHP app security holes that make the SANS security digest -every single week- in an overwhelming majority. I'd guess that PHP-related issues end up taking up a good 60-70% of some of the digests. Considering those digests cover all major platforms, networks, devices, applications, etc., this is a disheartening figure. It's also a testament to what I consider inattention to security by the PHP design team--the numbers should probably be high due to its popularity, but it shouldn't outweigh Windows bugs by a significant margin, as Windows actually has significantly higher volume of deployment. And yet, it does often seem to outweigh both Windows and Windows-based application security alerts combined, more often than is reasonable. > Q. Would you be willing to pay for the right solution? I don't usually need to pay for solutions. I provide them. > Q. Would you like to see what PHP + filePro looks like online? I have, and I haven't been horribly impressed. Bear in mind, I've been doing the web interface gig since 1994 on the CERN httpd, and then on NCSA 1.0 and 1.1 before even Apache existed, before LAMP was an acronym, and well before PHP came onto the scene. I don't impress easily in this area. I don't actually think PHP brings anything terribly new to the table other than its associated problems. > Q. How long do you think it may take to do something you need done? That's so nebulous and variable-dependant that it doesn't deserve to be dignified with a response, even were I a prospective customer. > Q. Which do you think would be best for you PERL, PHP, PYTHON, .NET or > OTHER (________)? Perl is my tool of choice. Python has impressed me by the weight of the words of known-trustworthy developers that have spoken up about it, as well as its deployment in high-powered scalable solutions (EVE Online comes to mind as one example of -extreme- scalability), so I'd take that as a second if I had to learn a new language. PHP would be the last tool of choice. You're just kidding about .NET, right? I mean...you can't be serious... mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From fp at fpgroups.com Tue May 26 19:13:14 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Tue, 26 May 2009 22:13:14 -0400 Subject: Survey: Is you filePro application online? In-Reply-To: <20090526215428.A6188@iglou.com> References: <4A1C93EB.6000401@fpgroups.com> <20090526215428.A6188@iglou.com> Message-ID: <4A1CA1BA.5010701@fpgroups.com> Fairlight wrote: > On Tue, May 26, 2009 at 09:14:19PM -0400, Jose Lerebours, the prominent pundit, > witicized: > >> If you wish, you can reply OFF LIST. >> > > Nah. Although "looking for fP<->web integration work" would have been more > direct an approach, Jose. :) > Actually, I will not turn down work but this is more of the leg work prior to attempting to embark into a venture to write-up some snippets and setup videos on how to do it. A filePro developer I work with has asked me about doing something like that (I guess he has seen the newly released video fp2sql ???) and proposed we do something similar for PHP. Personally, I have almost given up on trying to sell anything to or service members of this list - they are too tough for me and sending this message is intended to prove a point (to my friend that is) :-( Mark, if you hate PHP so much, why were you looking into JOOMLA? Have you ever worked with Zen, CakePHP or any PHP framework? Funny thing is that I know a number of perl developers that do not have such grant opinion about perl itself. Me, I have always maintained that it has nothing to do with the language? It is all about the developer! Heck, if PHP is easy, what can we say about filePro? Talk about "too easy" and "too many self-proclaimed" programmers doing things they have no business doing in the first place (myself included!). Regards, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From fairlite at fairlite.com Tue May 26 19:47:44 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 26 May 2009 22:47:44 -0400 Subject: Survey: Is you filePro application online? In-Reply-To: <4A1CA1BA.5010701@fpgroups.com>; from fp@fpgroups.com on Tue, May 26, 2009 at 10:13:14PM -0400 References: <4A1C93EB.6000401@fpgroups.com> <20090526215428.A6188@iglou.com> <4A1CA1BA.5010701@fpgroups.com> Message-ID: <20090526224744.A9396@iglou.com> This public service announcement was brought to you by Jose Lerebours: > Actually, I will not turn down work but this is more of the leg work > prior to attempting to embark into a venture to write-up some snippets > and setup videos on how to do it. A filePro developer I work with has > asked me about doing something like that (I guess he has seen the newly > released video fp2sql ???) and proposed we do something similar for PHP. > > Personally, I have almost given up on trying to sell anything to or > service members of this list - they are too tough for me and sending this > message is intended to prove a point (to my friend that is) :-( What point are you trying to prove to your friend? > Mark, if you hate PHP so much, why were you looking into JOOMLA? Have > you ever worked with Zen, CakePHP or any PHP framework? Funny thing > is that I know a number of perl developers that do not have such grant > opinion about perl itself. Who told you I was looking into Joomla? I didn't know that was common knowledge, unless I accidentally mentioned it in passing. I was looking into it (still haven't made the time) because I haven't really bothered with a CMS before, and I -thought- that it might make some things easier than coding it from hand if I could just use an established framework. Turns out that, for what I want it for, all the solutions are either buggy, commercial, or both. And I just want it for something so simple in theory. Just because something's written in PHP doesn't mean I won't use it if it serves my needs. I'm not a fan of Microsoft, but I use XP as my desktop. Likewise, I use WordPress and SMF forums. The only reason I don't bother with perl alternatives is because I'd have to write one from scratch in most cases, and I don't have the time or inclination. The majority of the things out there are now based in PHP, whether I like it or not. I pick the ones that are most stable, however. You would have to pay me an exceedingly high figure to use PHPbb. However, both Vanilla and SMF are pretty solid. Wordpress has gotten better about their security since older days. Perl has some faults. Most of them revolve around the relative obscurity of ways of doing certain things, but they're not things you do on a daily basis. There are the zillions of modules on CPAN that were never actually finished, as well...sifting through those can be "fun". But by and large, I've had no problems of it when it wasn't trashed and compiled by Red Hat. > Me, I have always maintained that it has nothing to do with the language? > It is all about the developer! Heck, if PHP is easy, what can we say > about filePro? Talk about "too easy" and "too many self-proclaimed" > programmers doing things they have no business doing in the first place > (myself included!). That's one thing Perl has going for it. It has some fairly arcane aspects that keep the inept from being bothered to do it very often. Either they learn the proper way to do it, or they fail pretty quickly. Largely it is down to the developer, in the end. But when you "subsidize stupidity" (AOL, PHP, etc.), you're only enabling a trend of ignorant users and developers, and thus making a bad name for yourself. Sometimes "easy" is not a good thing. This is one reason I'm 570% against vendors trying to make linux a "plug-n-play" Windows desktop replacement. ANY flavour of *nix requires specialised knowledge to be run correctly. It can't be treated with the cavalier attitude you give Windows. Trying to dumb that down generally tends to yield really, really disastrous results. It's actually worse to have an ignorant user on *nix than it is to have an ignorant user on Windows, IMHO. About the only exception I can see to this is Apple's OS/X. I have mixed feelings about it. It proves that it can be done successfully, but I don't think that most vendors would tend to do it properly. Not many would sink the required development time into doing it the way it should be done. Apple more or less inherited NeXTStep when Jobs came back into the fold, and much of that R&D was already done. It's just gotten extra layers of spit and polish, and a far more robust core. But in essence, I think of it as NeXTStep on steroids. Anyway... mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From mschw at athenet.net Tue May 26 19:51:24 2009 From: mschw at athenet.net (Mike Schwartz) Date: Tue, 26 May 2009 21:51:24 -0500 Subject: Survey: Is you filePro application online? In-Reply-To: <000a01c9de69$b5345d50$1f9d17f0$@com> References: <4A1C93EB.6000401@fpgroups.com> <000a01c9de69$b5345d50$1f9d17f0$@com> Message-ID: <016201c9de76$08402ae0$18c080a0$@net> > Q. Do you need to develop/integrate your filePro application with web > presence? No, all of my filePro customers that need Web integration now have it. I work with a top-notch team of independent web developers located throughout Wisconsin and in the Chicago area. Collectively, we have expertise in every area of web design and database programming, so no matter how large or small your projects, I can probably take it on. (No, I won't travel to Iraq to work on military projects, like one of my friends did...) > Q. If already pushing filePro to web, are you looking for alternatives? I have been spending a lot of my spare time (and I have a LOT of that lately) learning other methodologies. > Q. What are you using to push filePro to web? The best thing I have found is to let filePro do most of the work behind the scenes, and fully-formed HTML out to Drupal or whatever. Ruby on Rails is my current favorite web weapon of choice, although I would work with Javascript, PHP, or whatever else the customer needs. If I don't have the expertise to work on something like .NET, I'm sure one of the developers in my loosely knit group does. > Q. In a scale 1 - 10, how does your web based server side scripting > rank? Personally, I think it's a 9 or 10, but I'm not all that familiar with what everybody else is doing. I know we have discarded PHP and some of the poorer methodologies early on, but I don't make the final calls on the web end of the projects. I let the guys with more web experience make those kind of calls. > Q. If you knew how, would you use PHP with your filePro application? Probably not, although the economy is bad and I would consider taking on any work that is not illegal, immoral or fattening! (Not just PHP, but even non-filePro work. I have to keep meat on the table for my wife and four kids. Three are in college/technical schools and my youngest starts at a Catholic High School (expensive) in the fall, so there no job too big or too small right now...) > Q. Would you be willing to pay for the right solution? Yes, if you have a canned package or an easier or better way to solve the web integration problem than I have right now. > Q. Would you like to see what PHP + filePro looks like online? Yes. Always willing to explore demos. > Q. How long do you think it may take to do something you need done? Unfortunately, none of my customers need any major work right now. :<(( > Q. Which do you think would be best for you PERL, PHP, PYTHON, .NET or > OTHER (________)? Best for what? These seem to be sort of disconnected tools. I will say that all of my work has been on Unix/Linux based systems, and may not work for Windows based filePro. (IE, nobody has ever asked me to do anything with .NET) > Jose Lerebours Mike Schwartz From fp at fpgroups.com Tue May 26 19:54:16 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Tue, 26 May 2009 22:54:16 -0400 Subject: Survey: Is you filePro application online? In-Reply-To: <20090526224744.A9396@iglou.com> References: <4A1C93EB.6000401@fpgroups.com> <20090526215428.A6188@iglou.com> <4A1CA1BA.5010701@fpgroups.com> <20090526224744.A9396@iglou.com> Message-ID: <4A1CAB58.5080902@fpgroups.com> Fairlight wrote: > This public service announcement was brought to you by Jose Lerebours: > >> Actually, I will not turn down work but this is more of the leg work >> prior to attempting to embark into a venture to write-up some snippets >> and setup videos on how to do it. A filePro developer I work with has >> asked me about doing something like that (I guess he has seen the newly >> released video fp2sql ???) and proposed we do something similar for PHP. >> >> Personally, I have almost given up on trying to sell anything to or >> service members of this list - they are too tough for me and sending this >> message is intended to prove a point (to my friend that is) :-( >> > > What point are you trying to prove to your friend? > > That it is not worth it! -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From mschw at athenet.net Tue May 26 19:57:35 2009 From: mschw at athenet.net (Mike Schwartz) Date: Tue, 26 May 2009 21:57:35 -0500 Subject: Survey: Is you filePro application online? In-Reply-To: <20090526224744.A9396@iglou.com> References: <4A1C93EB.6000401@fpgroups.com> <20090526215428.A6188@iglou.com> <4A1CA1BA.5010701@fpgroups.com> <20090526224744.A9396@iglou.com> Message-ID: <016301c9de76$e3f12a30$abd37e90$@net> > Who told you I was looking into Joomla? I didn't know that was common > knowledge, unless I accidentally mentioned it in passing. > > mark-> Suggestion: If you're going to look into Joomla, spend at least a couple of minutes looking at this comparison of Drupal: http://www.alledia.com/blog/general-cms-issues/joomla-and-drupal-which-one-i s-right-for-you/ Mike Schwartz From tyler.style at gmail.com Wed May 27 06:43:09 2009 From: tyler.style at gmail.com (Tyler) Date: Wed, 27 May 2009 06:43:09 -0700 Subject: Survey: Is you filePro application online? Message-ID: <1e78e1e80905270643m261558bbhb472f83b5824d0b6@mail.gmail.com> Date: Tue, 26 May 2009 21:14:19 -0400 > From: Jose Lerebours > Subject: Survey: Is you filePro application online? > > If you wish, you can reply OFF LIST. > > Q. Do you need to develop/integrate your filePro application with web > presence? Yes > > Q. If already pushing filePro to web, are you looking for alternatives? No > > Q. What are you using to push filePro to web? MySQL mirroring + PHP, AJAX > > Q. In a scale 1 - 10, how does your web based server side scripting rank? 8 > > Q. If you knew how, would you use PHP with your filePro application? If > not, Why? I do know how, and I do. > > Q. Would you be willing to pay for the right solution? Yes > > Q. Would you like to see what PHP + filePro looks like online? No, I already know :) > > Q. How long do you think it may take to do something you need done? Forever, it seems like! > > Q. Which do you think would be best for you PERL, PHP, PYTHON, .NET or > OTHER (________)? PHP or Python > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090527/0d1bc45e/attachment.html From don at caffco.com Wed May 27 06:40:20 2009 From: don at caffco.com (Don Bush) Date: Wed, 27 May 2009 08:40:20 -0500 Subject: A/R problem phantom transactions In-Reply-To: References: <20090526092012.9c3a3c79dc5c950ab111f4660728c8e9.acc4ffc6ea.wbe@email03.secureserver.net> <4A1C1A1E.8030002@spamcop.net> <7.0.1.0.2.20090526171800.023f9c80@caffco.com> Message-ID: <7.0.1.0.2.20090527081922.023f05d8@caffco.com> we are running 5.0.09R4 on SCO Unix openserver 6.0. I have determined the problem to be with the manual entry processes. here is a copy of the menu script that processes the deposit and other transactions . - ddir ccdeposit -l ddir ccacrtran -l dreport ccdeposit -f cccacr -y dummy -a dreport ccacrtran -f cccacr -y dummy -a ddir ccacrtran -k code from ccdeposit :'File description This process will move the data:' ccdeposit to ccacrtran: :' Menu CCTRAN Option F:' Written by unknown: :' Date Written unknown:' FilePro 5.0: :'********************** UPDATE ************************:'DATE BY DESCRIPTION (newest on top): :'11/26/08 PMR added check for file on the lookup free is:'catch possible errors during processing, also field to field copy: :'07/31/98 DH modified the date format to 4 position:'************************************************************: :'begin date end date:bd(8,mdyy,G); ed(8,mdyy,G): getbd:bd eq "":input ("23","5") bd "Enter Beginning date ": :bd eq "":goto getbd: :ed eq "":input ("23","35") ed "Enter Ending date ": :ed eq "":ed = bd: :2 lt bd or 2 gt ed:goto end: ::lookup trn = ccacrtran r=free -n: :not trn:show "@ERROR writing to CCACRTRAN from CCDEPOSIT-CCACR"; exit: :'cus # date div ref # Tran code:trn(1)=1; trn(2)=2; trn(3)=3; trn(4)=4; trn(5)=5: :'tran amt laidin item amt adv chrg:trn(6)=6; trn(7)=7; trn(8)=8; trn(9)=9; write trn; close trn: ::delete: END::end: Code from ccacrtran :'File description This process will post those transaction:' manually entered to the cccacrpost: :' ccrmcus, and cccacrhist:' Menu CCTRAN Option F: :' Written By:' Date Written: :' FilePro 5.0:'************************ UPDATE ***************************: :'DATE BY DESCRIPTION (newest on top):': :'12/23/08 PMR modified the process to post the time:' and the user to ccacrhist: :'12/01/08 DIB added additional check for correct record on:' customer file lookup: :'11/26/08 PMR modified the process to do an error:' check when writing a new record ccacrhist: :'11/04/08 PMR added a new field to ccacrhist called:' posted date: :':'**************************************************************: :' ACCOUNTS RECEIVABLE UPDATING:: :' this process updates all files pretaining to accounts receivable:' as a batch process: : 'switch, 2nd switch:sw(1,.0,G); or(1,yesno): : 'store amount into how much:hm = 6: : ' read customer file indexed on account #:lookup cusn = ccrmcus k=1 i=a -nx: :not cusn ' if account number not found goto field one:Beep; show "@\r Invalid Customer Number Input \r"; goto end: :cusn(1) ne 1 ' if account number not found goto field one:Beep; show "@\r Invalid Customer Number Input \r"; goto end: :5 gt "4" and 5 ne "9" and 5 ne "11" 'correct & trans = credit:gosub Credit: :5 lt "5" or 5 eq "9" or 5 eq "11" 'correct & trans = 0-4 or 9 or 11:gosub Debit: END::end: Credit:cusn(24) le hm ' 120 day balance <= payment:hm = hm - cusn(24) ; cusn(24) = "0": :cusn(24) gt hm ' 120 day balance > payment:cusn(24) = cusn(24) - hm; hm= "0": :cusn(23) le hm ' 90 day balance <= payment:hm= hm- cusn(23) ; cusn(23) = "0": :cusn(23) gt hm ' 90 day balance > payment:cusn(23) = cusn(23) - hm; hm= "0": :cusn(22) le hm ' 60 day balance <= payment:hm= hm- cusn(22) ; cusn(22) = "0": :cusn(22) gt hm ' 60 day balance > payment:cusn(22) = cusn(22) - hm; hm= "0": :cusn(21) le hm ' 30 day balance <= payment:hm= hm- cusn(21) ; cusn(21) = "0": :cusn(21) gt hm ' 30 day balance > payment:cusn(21) = cusn(21) - hm; hm= "0": :cusn(20) le hm 'age prior month <= payment:hm= hm- cusn(20); cusn(20)="0": :cusn(20) gt hm 'age prior month > payment:cusn(20) = cusn(20) -hm; hm="0": :cusn(25) le hm ' current month charge <= payment:hm = hm - cusn(25); cusn(25) = "0": :cusn(25) gt hm 'current month charges > payment:cusn(25) = cusn(25) - hm; hm = "0": :cusn(46) le hm 'xmas dated balance <= payment:hm= hm- cusn(46); cusn(46) = "0": :cusn(46) gt hm 'xmas dated balance > payment:cusn(46) = cusn(46) -hm;hm = "0": :cusn(26) le hm 'spring dated balance <= payment:hm= hm -cusn(26); cusn(26) = "0": :cusn(26) gt hm 'spring dated balance > payment:cusn(26) = cusn(26) -hm; hm = "0": : ' subtract amount from current balance:cusn(18) = cusn(18) - 6: :'check if trans date > last trans date and tran-code is payment:'change last tran date and add amount to paid YTD: :2 ge cusn(29) and 5 eq "5":cusn(29) = 2; cusn(28) = cusn(28) + 6: :5 gt "5" and 5 ne "9" and 5 ne "11" 'credit transaction:cusn(30) = cusn(30) - 6: ::write cusn; gosub addpost; return: Debit:5 eq "0" OR 5 eq "3" OR 5 eq "4" OR 5 eq "9":cusn(30) = cusn(30) + 6 'if shipment add to ship YTD: :(5 eq "0" OR 5 eq "3" OR 5 eq "4" OR 5 eq "9") AND 2 ge cusn(31):cusn(31) = 2 'if shipment update last ship date: :5 eq "4" 'xmas shipment add to xmas balance:cusn(46) = cusn(46) + 6: :5 eq "9" 'sprng ship add to sprng balance:cusn(26) = cusn(26) + 6: :(5 lt "4" or 5 eq "11") and cusn(18) gt "0" 'if not xmas or sprint & balance >:cusn(25) = cusn(25) + 6 '0 add to this months charges: :cusn(18) le "0" and (5 lt "4" or 5 eq "11") 'if not xmas or sprint & balance <:cusn(25) = cusn(18) + 6 'set current month charges: :cusn(25) le "0":cusn(25) = "0": : ' add amount to current balance:cusn(18) = cusn(18) + 6: ::write cusn; gosub addpost; return: ADDPOST: 'open post file for updating:lookup post = ccacrpost r=free -n: :not post:show "@ERROR writing to CCACRPOST from CCACRTRAN-CCCACR"; exit: :post ' load fields:post(1)=1;post(2)=2;post(3)=3;post(4)=4;post(5)=5;post(6)=6: :post ' get comment & load fields:gosub COMMENT; post(7)=cm;post(8)="";post(9)="";post(10)=cusn(2): :post ' load fields:post(11)=cusn(3);post(12)=cusn(4) < cusn(5);post(13)=cusn(6): :post ' load fields:post(14)=cusn(7);post(15)=cusn(41);post(16)=cusn(27): :post ' load fields:post(17)=cusn(18);post(18)=cusn(21);post(19)=cusn(22): :post ' load fields:post(20)=cusn(23)+cusn(24);post(21)=cusn(33);post(22)="1.75": :cusn(32) = "9":post(22) = "0" 'no finance charges: :cusn(32) = "8":post(22) = ".83" 'Ark. finance charges: :post ' write post file:write post: ::gosub posthis; return: COMMENT:' CHECK TRANSACTION CODES AND APPLY APPROPRIATE LABELS:: :5="0":cm = "SHIPMENT": :5 eq "0" and 3 eq "LS":cm = "FINAL BILL": :5 = "1":cm = "CREDIT ERR": :5 = "2":cm = "DEBIT MEMO": :5 = "3":cm = "SHIP COD": :5 eq "3" and 3 eq "LS":cm = "PARTL BILL": :5 = "4":cm = "XMAS SHIP": :5 = "5":cm = "PAYMENT": :5 = "6":cm = "DEBIT ERR": :5 = "7":cm = "CREDIT MEM": :5 = "8":cm = "VOID": :5 = "9":cm = "SPRNG SHIP": :5 = "10":cm = "HAND FEE": :5 = "11":cm = "FINANCE CH": :5 eq "12":cm = "DAMAGE RET": :5 eq "13":cm = "SHORTAGE": :5 eq "14":cm = "PRICE ERR": :5 eq "15":cm = "GOODS RETN": :5 eq "18":cm = "ROUTING ER": :5 eq "19":cm = "PROMOTIONAL": :5 eq "20":cm = "PROMO ALLW": :5 eq "21":cm = "EDI INVOIC": :5 eq "22":cm = "EDI ANS": :5 eq "23":cm = "PACK ERROR": :5 eq "24":cm = "CRED CARD": :5 eq "25":cm = "UCC CHARGE": ::RETURN: posthis::lookup his = ccacrhist r=free -n: :not his:show "@ERROR writing to CCACRHIST from CCACRTRAN-CCCACR"; exit: :his:his(1)=1; his(2)=2; his(3)=3; his(4)=4; his(5)=5; his(6)=6: :his ' posted date:his(7)=7; his(8)=8; his(9)=@td; his(10)=@tm; his(11)=@id: :his:write his: ::return: Don > > > >-----Original Message----- >From: filepro-list-bounces+mtcomins=aperion.com at lists.celestial.com >[mailto:filepro-list-bounces+mtcomins=aperion.com at lists.celestial.com] On >Behalf Of Don Bush >Sent: Tuesday, May 26, 2009 6:46 PM >To: filePro List >Subject: A/R problem phantom transactions > > >I need a little help. So I thought I would start here. Our A/R is >written in filePro as is most everything except A/P and G/L. >My problem is this; >we have found transactions (manually keyed in) that are on the daily >transaction reports but didn't show up on the customer >statement. Then sometimes the transaction would show up a month later >and on a couple ocassions two months later. >Now here is the weird part. There is no account that is out of >balance and the A/R matches the G/L to the penny. >Most all are payments and we have four from Sept. 2008 that have >never shown up on a statement and it is still in balance with >the G/L . the following files are involved: > ccrmcus - the customer file > ccacrpost - this statement post file > ccacrtran - the common transaction file for records. > ccdeposit - the daily transaction file for entering >customer payments > ccacrhist - the history file of all A/R transactions. > buracr - the daily transaction file for invoices and >credits > >here is how they work. >1.someone in AR enters payments into ccdeposit and run a print of all >the deposits. >2. that person then processes the payments which are copied to >ccacrtran which then updates the customer file and writes a record of >the transaction > to ccacrpost for statements at the end of month as well as >writting a record to ccacrhist for audit trail history. it then >deletes the record from ccdeposit >3. after the updates the ccacrtran records are deleted for the next >round of transactions. >4. At the end of the day the buracr file is processed into ccacrtran >to do the same updates to the other files. once the records are >written to ccacrtran and processed > they are copied to a save file then deleted. >5. once the updates for the buracr records are done the ccacrtran >records are again deleted. > >I have spent MONTHS looking over every single transaction deposit and >transaction report and have found records that appear to have >processed and some not. >All of which I have dumped to multiple spreadsheets. > >Without rambling anymore the question is : How can a record process >or not and still keep in balance with the G/L . Figures for the G/L >are all gathered >independently of the filePro system. > >Any help or ideas would be appreciated. Right now I am at a loss and >am going home for the day. > >Don > > > > > >Hi Don, > >Have you examined the system maintained fields (Unix Only) of these records? >There are fields that tell you the date the record was created and who >created them. That might give you some insight as to a pattern. To see >those fields add the following to a screen > >Create Date !@cd >Created By: !@cb >Update Date: !@ud >Updated By: !@ub > > >I would then look at the processing tables and selection tables to see how >the transactions are processed. If these are missed, there has to be a >reason. Do you use an index to select records, a -v processing table, a >selection table, etc? Maybe the process is crashing? > >I have created log databases to track when users are running menu options. >It logs the option, date, time, who did it and the order it was done in. >That has proved valuable in tracking if the users are following directions. >Example - run statements, process transactions - on most system your >statement would not have the most recent data in the statement. > > >What version of filePro? On what OS? Have you tried rebuilding freechains >and indexes? Certain versions of filePro had problems with indexes. Older >versions of Windows filePro will not run well on new operating systems. > >Finally, I like to track changes to problem databases. I use an array to >capture the beginning values of the record and compare to an end array when >esc is hit to generate a change database. This will tell me the old value >and the new value of any field changed in a record. > >Mark >mtcomins at aperion.com > > > > > > > >_______________________________________________ >Filepro-list mailing list >Filepro-list at lists.celestial.com >http://mailman.celestial.com/mailman/listinfo/filepro-list From ras at anzio.com Wed May 27 06:52:20 2009 From: ras at anzio.com (Bob Rasmussen) Date: Wed, 27 May 2009 06:52:20 -0700 (PDT) Subject: Survey: Is you filePro application online? In-Reply-To: <016201c9de76$08402ae0$18c080a0$@net> References: <4A1C93EB.6000401@fpgroups.com> <000a01c9de69$b5345d50$1f9d17f0$@com> <016201c9de76$08402ae0$18c080a0$@net> Message-ID: If the only thing on the end user's desktop is a web browser, then printing can be a serious problem. Web browsers are notoriously bad ad printing, although getting better. You don't know what kind of printer the end user has, and even if you knew, you couldn't deal with it. The usual solution is to create a PDF. This has its own challenges. [AD] We offer Print Wizard in the form of an ActiveX object (an OCX); we call this WePO for "Web Print Object". This is a chunk of code that gets downloaded to the client's machine (which must be Windows), and appears there on the web page as a button that says "Print". When the user presses it, the code fetches a specified file from an HTTP[S] or FTP location, and prints it. It can be plain text, PCL-5, or PWML. It can include an overlay. In short, virtually all of the power of Print Wizard. More info at the website below. Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA From don at caffco.com Wed May 27 06:52:54 2009 From: don at caffco.com (Don Bush) Date: Wed, 27 May 2009 08:52:54 -0500 Subject: A/R problem phantom transactions In-Reply-To: References: <20090526092012.9c3a3c79dc5c950ab111f4660728c8e9.acc4ffc6ea.wbe@email03.secureserver.net> <4A1C1A1E.8030002@spamcop.net> <7.0.1.0.2.20090526171800.023f9c80@caffco.com> Message-ID: <7.0.1.0.2.20090527084538.023b9028@caffco.com> I forgot to mention that while the posting problem appears to be random, most of the issues relate to the major accounts. I believe the problem has been corrected by some of the additional checks that have been added to the process. But it doesn't make sense that A/R still balances with G/L. Don At 06:05 PM 5/26/2009, Steve Wiltsie wrote: >Don, > >You haven't provided the version of filePro, operating system, or a >single line of filePro processing table entries. How are we supposed to >be of any help to you? On first glance, however, it seems like there is >a lot of deleting of transactions going on in a system that has posting >problems. > >Steve Wiltsie >microCONCEPTS > >-----Original Message----- >From: filepro-list-bounces+swiltsie=micro-mui.com at lists.celestial.com >[mailto:filepro-list-bounces+swiltsie=micro-mui.com at lists.celestial.com] >On Behalf Of Don Bush >Sent: Tuesday, May 26, 2009 5:46 PM >To: filePro List >Subject: A/R problem phantom transactions > > >I need a little help. So I thought I would start here. Our A/R is >written in filePro as is most everything except A/P and G/L. >My problem is this; >we have found transactions (manually keyed in) that are on the daily >transaction reports but didn't show up on the customer >statement. Then sometimes the transaction would show up a month later >and on a couple ocassions two months later. >Now here is the weird part. There is no account that is out of >balance and the A/R matches the G/L to the penny. >Most all are payments and we have four from Sept. 2008 that have >never shown up on a statement and it is still in balance with >the G/L . the following files are involved: > ccrmcus - the customer file > ccacrpost - this statement post file > ccacrtran - the common transaction file for records. > ccdeposit - the daily transaction file for entering >customer payments > ccacrhist - the history file of all A/R transactions. > buracr - the daily transaction file for invoices >and credits > >here is how they work. >1.someone in AR enters payments into ccdeposit and run a print of all >the deposits. >2. that person then processes the payments which are copied to >ccacrtran which then updates the customer file and writes a record of >the transaction > to ccacrpost for statements at the end of month as well as >writting a record to ccacrhist for audit trail history. it then >deletes the record from ccdeposit >3. after the updates the ccacrtran records are deleted for the next >round of transactions. >4. At the end of the day the buracr file is processed into ccacrtran >to do the same updates to the other files. once the records are >written to ccacrtran and processed > they are copied to a save file then deleted. >5. once the updates for the buracr records are done the ccacrtran >records are again deleted. > >I have spent MONTHS looking over every single transaction deposit and >transaction report and have found records that appear to have >processed and some not. >All of which I have dumped to multiple spreadsheets. > >Without rambling anymore the question is : How can a record process >or not and still keep in balance with the G/L . Figures for the G/L >are all gathered >independently of the filePro system. > >Any help or ideas would be appreciated. Right now I am at a loss and >am going home for the day. > >Don > >_______________________________________________ >Filepro-list mailing list >Filepro-list at lists.celestial.com >http://mailman.celestial.com/mailman/listinfo/filepro-list From jeffaharrison at yahoo.com Wed May 27 07:17:38 2009 From: jeffaharrison at yahoo.com (Jeff Harrison) Date: Wed, 27 May 2009 07:17:38 -0700 (PDT) Subject: A/R problem phantom transactions Message-ID: <926347.83788.qm@web50704.mail.re2.yahoo.com> --- On Wed, 5/27/09, Don Bush wrote: > From: Don Bush > Subject: RE: A/R problem phantom transactions > To: "filePro List" > Date: Wednesday, May 27, 2009, 9:52 AM > > ? I forgot to mention that while the posting problem > appears to be > random, most of the issues relate to the major accounts. > I believe the problem has been corrected by some of the > additional > checks that have been added to the process. > But it doesn't make sense that A/R still balances with > G/L. > > Don > Hi Don. It seems to me that your problem is involved enough that it doesn't lend itself to a casual solution by the members of this list - I could be wrong, but I believe that you should contract with someone ($$) and have them look into this in some detail, and find out exactly what is going on here. Having said that - One thing I did notice from a casual review of your code is that you are not protecting your lookup to your customer file: lookup cusn = ccrmcus k=1 i=a -nx This should be: lookup cusn = ccrmcus k=1 i=a -px As a rule, any lookup to which you will write needs to be protected in this way - Free record lookups are protected automatically. Good Luck. Jeff Harrison jeffaharrison at yahoo.com From fp at fpgroups.com Wed May 27 07:21:10 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Wed, 27 May 2009 10:21:10 -0400 Subject: Survey: Is you filePro application online? In-Reply-To: References: <4A1C93EB.6000401@fpgroups.com> <000a01c9de69$b5345d50$1f9d17f0$@com> <016201c9de76$08402ae0$18c080a0$@net> Message-ID: <4A1D4C56.4070806@fpgroups.com> Bob Rasmussen wrote: > If the only thing on the end user's desktop is a web browser, then > printing can be a serious problem. Web browsers are notoriously bad ad > printing, although getting better. You don't know what kind of printer the > end user has, and even if you knew, you couldn't deal with it. > > The usual solution is to create a PDF. This has its own challenges. > > [AD] We offer Print Wizard in the form of an ActiveX object (an OCX); we > call this WePO for "Web Print Object". This is a chunk of code that gets > downloaded to the client's machine (which must be Windows), and appears > there on the web page as a button that says "Print". When the user presses > it, the code fetches a specified file from an HTTP[S] or FTP location, and > prints it. It can be plain text, PCL-5, or PWML. It can include an > overlay. In short, virtually all of the power of Print Wizard. More info > at the website below. > > Never waste a good crisis! :-) Actually, printing from web is very feasible using CSS. That being said, I have written PHP apps that use HPGL to print documents and it works like a charm (I ended up writing a class to get the job done). Of course, printing solutions I am referring to work well when your application is used by a set of users with configurable environment. Regards, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From yoresoft at sbcglobal.net Wed May 27 07:29:41 2009 From: yoresoft at sbcglobal.net (Richard Hane) Date: Wed, 27 May 2009 07:29:41 -0700 (PDT) Subject: Survey: Is you filePro application online? In-Reply-To: <4A1C93EB.6000401@fpgroups.com> References: <4A1C93EB.6000401@fpgroups.com> Message-ID: <5662.61528.qm@web81406.mail.mud.yahoo.com> ________________________________ From: Jose Lerebours To: filePro Mailing List Sent: Tuesday, May 26, 2009 8:14:19 PM Subject: Survey: Is you filePro application online? Yes Q. If already pushing filePro to web, are you looking for alternatives? Yes Q. What are you using to push filePro to web? fp itself, fpWeb, some (small) php Q. In a scale 1 - 10, how does your web based server side scripting rank? N/A Q. If you knew how, would you use PHP with your filePro application?? If not, Why? Yes Q. Would you be willing to pay for the right solution? Yes... been waiting a long time Q. Would you like to see what PHP + filePro looks like online? Yes, always like to see samples Q. How long do you think it may take to do something you need done? Unsure... project dependant Q. Which do you think would be best for you PERL, PHP, PYTHON, .NET or OTHER (________)? Not enough experience to answer. Feel free to add any information you feel may be relevant to this subject.? I have many other questions but these are a good start. Rick Hane Controller Deluxe Stitcher Company Inc www.deluxestitcher.com rhane at deluxestitcher.com Thanks! -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list If you wish, you can reply OFF LIST. Q. Do you need to develop/integrate your filePro application with web presence? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090527/833df1e5/attachment.html From fp at fpgroups.com Wed May 27 10:49:04 2009 From: fp at fpgroups.com (Jose Lerebours) Date: Wed, 27 May 2009 13:49:04 -0400 Subject: fp2rtf Message-ID: <4A1D7D10.8020206@fpgroups.com> I just finished migrating a filePro application from SCO UNIX to windows. Tested data entry OK but when printing, instead of printing to default printer, it opens the output on fp2rtf and when printing from there it looks nasty ... I am guessing that installing fprtf was a mistake or there is a configuration issue I am missing here. Any ideas? Thanks, -- Jose Lerebours http://www.fpgroups.com (954) 559-7186 fp at fpgroups.com fpgroups at gmail.com PHP & filePro Custom Solution Provider From boaz at mirrotek.com Wed May 27 12:47:45 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Wed, 27 May 2009 15:47:45 -0400 Subject: Issue with opening PDF file from FilePro Message-ID: <4A1D98E1.8090702@mirrotek.com> I'm running FP from Windows and I want to open a PDF file from within FP that was first generated by FP and then sent to Bob's PrintWizard to convert into a PDF. The thing is that I can't figure out how to tell if the PDF file is ready from withing FP. I don't want to use a long SLEEP command as some files are ready within a second or two. But if I open the file too early then Adobe complains about the file being damaged. Any suggestions? Boaz From nlp at vss3.com Wed May 27 12:52:51 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Wed, 27 May 2009 15:52:51 -0400 Subject: fptransfer In-Reply-To: <4A1C23A3.1000400@fpgroups.com> References: <4A1C23A3.1000400@fpgroups.com> Message-ID: <4A1D9A13.8000506@vss3.com> Jose Lerebours wrote: > For the first time in my life I need to transfer from UNIX to WIN ... > As per my research, it looks > like all I need to do is run xfer -lf /tmp/put_it_here * and that should > take ALL filepro files and > dump them in /tmp/put_it_here ???? > > I would then take this file to WIN box and run same command to extract > them. Correct? > > A quick note will be appreciated before I chase my tale and do something > wrong ... > > Thanks, > > > Jose, names=make list here you can not wildcard the names at the end of the line. xfer -t -pn -lf filename $names For example: names="states invhead invdetail" Then on the recieve side: xfer -r -lf filename Be sure your environment is set right because that is where it will put stuff. If you have any folders you want to send such as menus, just put them in the filePro folder and make a map,key and data files (Just pretend to set up a filePro file called menus), It will then include them in the file. All files need to be owned by filePro. Be careful of case, windows will not see any difference between screen.a and screen.A. It will also truncate format names to dos naming conventions. 15.3 I think on XP or newer stuff. Creation passwords will drive you nuts. This is one reason I never use them. I did a lecture on this and have a handout somewhere if you are interested. I think these are the high points. Nancy -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From nlp at vss3.com Wed May 27 12:57:12 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Wed, 27 May 2009 15:57:12 -0400 Subject: Transfer menus from UNIX to WIN In-Reply-To: <4A1C260E.2060504@fpgroups.com> References: <4A1C260E.2060504@fpgroups.com> Message-ID: <4A1D9B18.7030301@vss3.com> Jose Lerebours wrote: > I just posted a question about transferring filePro files but what about > menus? > > Are menus transferred using same command or do I just ftp them over??? > > Thanks, > > > Jose, See my first post about the transfer, but after you do transfer, remember anything in a script must now be rewritten to windows commands. If your command line on the menu says: /fp/dreport Or most /fp/ stuff, you are ok. /fp/ddir is now /fp/dprodir Scripts that said: $PFPROG/fp/dreport must be changed to %PFPROG%/fp/dreport (forward slashes still work here - mostly) You will have to be sure the environment is set before loading filePro to make sure these variables are assigned. I have transfered many, many systems from and to Windows - I hate the Unix to Windows the most because it is more restrictive and may require some new programming changes to accommodate the new environment. Good luck. Nancy -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From nlp at vss3.com Wed May 27 12:59:07 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Wed, 27 May 2009 15:59:07 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A1D98E1.8090702@mirrotek.com> References: <4A1D98E1.8090702@mirrotek.com> Message-ID: <4A1D9B8B.7020409@vss3.com> Boaz Bezborodko wrote: > I'm running FP from Windows and I want to open a PDF file from within FP > that was first generated by FP and then sent to Bob's PrintWizard to > convert into a PDF. The thing is that I can't figure out how to tell if > the PDF file is ready from withing FP. > > I don't want to use a long SLEEP command as some files are ready within > a second or two. But if I open the file too early then Adobe complains > about the file being damaged. > > Any suggestions? > > Boaz > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > Boaz, Trick is to write to file1, at end of PDF conversion rename the file to file2. In filePro, check for exists(file2) eq "1" When it exists the file is ready to open. Nancy -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From boaz at mirrotek.com Wed May 27 13:03:18 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Wed, 27 May 2009 16:03:18 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A1D9B8B.7020409@vss3.com> References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> Message-ID: <4A1D9C86.5010002@mirrotek.com> Nancy Palmquist wrote: > Boaz Bezborodko wrote: >> I'm running FP from Windows and I want to open a PDF file from within >> FP that was first generated by FP and then sent to Bob's PrintWizard >> to convert into a PDF. The thing is that I can't figure out how to >> tell if the PDF file is ready from withing FP. >> >> I don't want to use a long SLEEP command as some files are ready >> within a second or two. But if I open the file too early then Adobe >> complains about the file being damaged. >> >> Any suggestions? >> >> Boaz >> _______________________________________________ >> Filepro-list mailing list >> Filepro-list at lists.celestial.com >> http://mailman.celestial.com/mailman/listinfo/filepro-list >> >> > Boaz, > > Trick is to write to file1, at end of PDF conversion rename the file > to file2. > > In filePro, check for exists(file2) eq "1" > > When it exists the file is ready to open. > > Nancy > Since the PDF is being created by PrintWizard I can't control it from within FP. Are you saying that I should rename the file from within FP and that it won't let me do it until PrintWizard releases the file? If I am allowed to do the rename then it is ready to go? Boaz From crendall at teamind.com Wed May 27 13:12:50 2009 From: crendall at teamind.com (Chris Rendall) Date: Wed, 27 May 2009 15:12:50 -0500 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A1D98E1.8090702@mirrotek.com> References: <4A1D98E1.8090702@mirrotek.com> Message-ID: <9F8D2D2EAF36224AA3940B2C39B42E68D95D501363@exchange01.teamind.com> Here is how I do it on filePro running on Linux. I'm not sure how this would be different on Windows. PFPT=ON;export PFPT echo -e '\0034 PRINTER PDF://U:\\invoice.pdf?view \0035' echo -e '\0034 OVERLAY \0035' echo -e '\0034 FLUSHTIMER 0 \0035' /appl/fp/report -- this line creates the report printout echo -e '\0034 FLUSH \0035' The second line specifies the drive and path to store the PDF file and the ?view parameter after the filename opens the file in your default PDF viewer when the report is finished printing. Chris -----Original Message----- From: Boaz Bezborodko [mailto:boaz at mirrotek.com] Sent: Wednesday, May 27, 2009 2:48 PM To: filepro-list at lists.celestial.com Subject: Issue with opening PDF file from FilePro I'm running FP from Windows and I want to open a PDF file from within FP that was first generated by FP and then sent to Bob's PrintWizard to convert into a PDF. The thing is that I can't figure out how to tell if the PDF file is ready from withing FP. I don't want to use a long SLEEP command as some files are ready within a second or two. But if I open the file too early then Adobe complains about the file being damaged. Any suggestions? Boaz _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From boaz at mirrotek.com Wed May 27 13:29:16 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Wed, 27 May 2009 16:29:16 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A1D9B8B.7020409@vss3.com> References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> Message-ID: <4A1DA29C.60407@mirrotek.com> Nancy Palmquist wrote: > Boaz Bezborodko wrote: >> I'm running FP from Windows and I want to open a PDF file from within >> FP that was first generated by FP and then sent to Bob's PrintWizard >> to convert into a PDF. The thing is that I can't figure out how to >> tell if the PDF file is ready from withing FP. >> >> I don't want to use a long SLEEP command as some files are ready >> within a second or two. But if I open the file too early then Adobe >> complains about the file being damaged. >> >> Any suggestions? >> >> Boaz >> _______________________________________________ >> Filepro-list mailing list >> Filepro-list at lists.celestial.com >> http://mailman.celestial.com/mailman/listinfo/filepro-list >> >> > Boaz, > > Trick is to write to file1, at end of PDF conversion rename the file > to file2. > > In filePro, check for exists(file2) eq "1" > > When it exists the file is ready to open. > > Nancy > OK, this seemed to work OK, except that I still had to add about a 2-second delay in order to avoid the errors on some of the computers. I would think that if FP sees the new file as "exists" after a rename then it should also open properly. But I still have to stick in a wait a period. I wonder what could be holding it up? Boaz From ras at anzio.com Wed May 27 13:37:23 2009 From: ras at anzio.com (Bob Rasmussen) Date: Wed, 27 May 2009 13:37:23 -0700 (PDT) Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A1DA29C.60407@mirrotek.com> References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> <4A1DA29C.60407@mirrotek.com> Message-ID: On Wed, 27 May 2009, Boaz Bezborodko wrote: > OK, this seemed to work OK, except that I still had to add about a > 2-second delay in order to avoid the errors on some of the computers. > > I would think that if FP sees the new file as "exists" after a rename > then it should also open properly. But I still have to stick in a wait > a period. I wonder what could be holding it up? There are several possibilities here. First make sure you are on the latest Print Wizard, which is 3.3. Then: 1. As has been suggested, include "?view" to tell Print Wizard to bring up the viewer. 2. Instead of just checking for the existence of the output file, check whether it can be opened in read-write mode. This won't be possible until Printwiz is finished and has closed it. 3. We have an "EventLog" capability, introduced in 3.2.30. This can be configured to write one line of result information on to the end of a text file. I don't think Bobby Ezell (my associate) has documented this yet. Contact me for more info. Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA From boaz at mirrotek.com Wed May 27 14:25:41 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Wed, 27 May 2009 17:25:41 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> <4A1DA29C.60407@mirrotek.com> Message-ID: <4A1DAFD5.6000900@mirrotek.com> Bob Rasmussen wrote: > On Wed, 27 May 2009, Boaz Bezborodko wrote: > > >> OK, this seemed to work OK, except that I still had to add about a >> 2-second delay in order to avoid the errors on some of the computers. >> >> I would think that if FP sees the new file as "exists" after a rename >> then it should also open properly. But I still have to stick in a wait >> a period. I wonder what could be holding it up? >> > > There are several possibilities here. First make sure you are on the > latest Print Wizard, which is 3.3. Then: > > 1. As has been suggested, include "?view" to tell Print Wizard to bring up > the viewer. > > 2. Instead of just checking for the existence of the output file, check > whether it can be opened in read-write mode. This won't be possible until > Printwiz is finished and has closed it. > > 3. We have an "EventLog" capability, introduced in 3.2.30. This can be > configured to write one line of result information on to the end of a text > file. I don't think Bobby Ezell (my associate) has documented this yet. > Contact me for more info. > > Regards, > ....Bob Rasmussen, President, Rasmussen Software, Inc. > > personal e-mail: ras at anzio.com > company e-mail: rsi at anzio.com > voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) > fax: (US) 503-624-0760 > web: http://www.anzio.com > street address: Rasmussen Software, Inc. > 10240 SW Nimbus, Suite L9 > Portland, OR 97223 USA > 1. I don't see how I'll be able to get the /view option to work given that the output isbeing sent to a Printwizard server session. 2. How do I check if a file can be opened in R/W mode in FP? Boaz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090527/ff8ca4f3/attachment.html From fairlite at fairlite.com Wed May 27 14:48:09 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 27 May 2009 17:48:09 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A1D9B8B.7020409@vss3.com>; from nlp@vss3.com on Wed, May 27, 2009 at 03:59:07PM -0400 References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> Message-ID: <20090527174809.A25890@iglou.com> Four score and seven years--eh, screw that! At about Wed, May 27, 2009 at 03:59:07PM -0400, Nancy Palmquist blabbed on about: > Boaz Bezborodko wrote: > > I'm running FP from Windows and I want to open a PDF file from within FP > > that was first generated by FP and then sent to Bob's PrintWizard to > > convert into a PDF. The thing is that I can't figure out how to tell if > > the PDF file is ready from withing FP. > > > > I don't want to use a long SLEEP command as some files are ready within > > a second or two. But if I open the file too early then Adobe complains > > about the file being damaged. > > > > Any suggestions? > > > > Boaz > > > Boaz, > > Trick is to write to file1, at end of PDF conversion rename the file to > file2. > > In filePro, check for exists(file2) eq "1" > > When it exists the file is ready to open. That is such an utter fallacy, I can't even begin to understand why you posted it. In a Windows environment, 99% of your processes will be non-blocking, asynchronous. In layman's terms, they process and continue processing well after the startup of the program. The only thing the "return" from them usually indicates is that they're up and started. The only thing exists() tells you is that the file has been open()'d at the low level with O_CREAT. It says -nothing- (let me repeat that: NOTHING) about whether or not the complete contents are available, whether or not the file is still globally locked, etc. The only surefire way to know -for sure- without using some kind of "cross your fingers and pray it's within tolerances" sleep/wait methodology is to use a program that blocks/waits until it's actually done to return. This entails -not- closing any console windows and stdout/stderr streams, as is the normal idiom on Windows. Most programs don't have this facility. I build some things specifically to -not- run in "Windows mode" specifically to bypass this stumbling block. Bob posted some solutions for PrintWizard, one of which (read/write mode testing) depends on the global file locking to be relinquished, thus substantiating what I'm saying here. In -any- environment, all exists() tells you is that a command opened the file "at some point". It doesn't tell you data was written to it, it doesn't tell you that all the data is done, it doesn't tell you that the file is no longer in use, it doesn't even tell you that it was opened by the same process. It says the file was created, period. Depending on exists() for anything else is a recipe for potential confusion and problems in *nix environments. Depending on it for anything else in Windows is a recipe for an epic fail. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From ras at anzio.com Wed May 27 14:52:16 2009 From: ras at anzio.com (Bob Rasmussen) Date: Wed, 27 May 2009 14:52:16 -0700 (PDT) Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A1DAFD5.6000900@mirrotek.com> References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> <4A1DA29C.60407@mirrotek.com> <4A1DAFD5.6000900@mirrotek.com> Message-ID: On Wed, 27 May 2009, Boaz Bezborodko wrote: > Bob Rasmussen wrote: > > On Wed, 27 May 2009, Boaz Bezborodko wrote: > > > > > > > OK, this seemed to work OK, except that I still had to add about a > > > 2-second delay in order to avoid the errors on some of the computers. > > > > > > I would think that if FP sees the new file as "exists" after a rename then > > > it should also open properly. But I still have to stick in a wait a > > > period. I wonder what could be holding it up? > > > > > > > There are several possibilities here. First make sure you are on the latest > > Print Wizard, which is 3.3. Then: > > > > 1. As has been suggested, include "?view" to tell Print Wizard to bring up > > the viewer. > > > > 2. Instead of just checking for the existence of the output file, check > > whether it can be opened in read-write mode. This won't be possible until > > Printwiz is finished and has closed it. > > > > 3. We have an "EventLog" capability, introduced in 3.2.30. This can be > > configured to write one line of result information on to the end of a text > > file. I don't think Bobby Ezell (my associate) has documented this yet. > > Contact me for more info. > > > 1. I don't see how I'll be able to get the /view option to work given that > the output isbeing sent to a Printwizard server session. You're right, I missed that point. > > 2. How do I check if a file can be opened in R/W mode in FP? I don't know this one. Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA From brian at aljex.com Wed May 27 15:49:42 2009 From: brian at aljex.com (Brian K. White) Date: Wed, 27 May 2009 18:49:42 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A1DAFD5.6000900@mirrotek.com> References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> <4A1DA29C.60407@mirrotek.com> <4A1DAFD5.6000900@mirrotek.com> Message-ID: <4A1DC386.9070507@aljex.com> Boaz Bezborodko wrote: > > 2. How do I check if a file can be opened in R/W mode in FP? > .... then: form foo{"" then: printer reset 'release the print job so printwizard can take it then: gosub waitpdf ' wait for pdf to exist and become writeable if: pdfok then: system "start" < tempfile if: not pdfpk then: errorbox "Output ("{tempfile{") not created." .... waitpdf if: then: cs(4,.1)="0" ; c(3,.0) = "300" ' c*100msec = timeout (300 = 30,000 = 30 sec) wploop if: then: cs = c/"10" ; show "Waiting" < cs < "for PDF..." ; handle = open(tempfile,"wb") pdfok if: handle ge "0" then: close handle ; goto ewp if: c gt "0" then: c = c - "1" ; sleep "100" ; goto wploop ewp if: then: show "" ; return basically, as per the open() documentation: "If the file cannot be opened, a negative number is returned." So, try to open() in write mode, then see if handle is a negative number. As soon as handle is 0 or greater, close(handle) and proceed to use tempfile. The rest of the stuff is just nice user display and timeout so that it won't wait forever if there is some problem and the pdf will never show up. Don't think that 30 seconds is too long. The user would only ever wait that long if the pdf generation failed and the pdf will never show up. So you don't want to wait forever and force the user to break out ungracefully, and you also don't want the "I give up waiting" time to be shorter than the worst possible legitimate scenario of a very slow pc on a slow network trying to produce a huge report. That could even be longer that 30 seconds. You can even get fancier and return a more informative error message by returning the actual error code from handle instead of just waiting for handle to be 0 or greater. ie: when handle is a negative number, it's a negative version of the value returned by the OS's open file function. These numbers are defined somewhere (msdn web site?) so a -2 may mean file not found or a -5 may mean insufficient user priviledges, etc... and add in some abort key handling so they can also break out of the wait loop gracefully. -- bkw From fairlite at fairlite.com Wed May 27 15:51:32 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 27 May 2009 18:51:32 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: ; from ras@anzio.com on Wed, May 27, 2009 at 02:52:16PM -0700 References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> <4A1DA29C.60407@mirrotek.com> <4A1DAFD5.6000900@mirrotek.com> Message-ID: <20090527185132.A264@iglou.com> The honourable and venerable Bob Rasmussen spoke thus: > > 2. How do I check if a file can be opened in R/W mode in FP? > > I don't know this one. The OPEN() function returns a negative number upon failure. ::rs = open("c:/some/file.pdf","rw"): :rs lt "0":'some error handling here, could not open: mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From brian at aljex.com Wed May 27 16:20:01 2009 From: brian at aljex.com (Brian K. White) Date: Wed, 27 May 2009 19:20:01 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <20090527174809.A25890@iglou.com> References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> <20090527174809.A25890@iglou.com> Message-ID: <4A1DCAA1.5010503@aljex.com> Fairlight wrote: > Four score and seven years--eh, screw that! > At about Wed, May 27, 2009 at 03:59:07PM -0400, > Nancy Palmquist blabbed on about: > >> Boaz Bezborodko wrote: >> >>> I'm running FP from Windows and I want to open a PDF file from within FP >>> that was first generated by FP and then sent to Bob's PrintWizard to >>> convert into a PDF. The thing is that I can't figure out how to tell if >>> the PDF file is ready from withing FP. >>> >>> I don't want to use a long SLEEP command as some files are ready within >>> a second or two. But if I open the file too early then Adobe complains >>> about the file being damaged. >>> >>> Any suggestions? >>> >>> Boaz >>> >>> >> Boaz, >> >> Trick is to write to file1, at end of PDF conversion rename the file to >> file2. >> >> In filePro, check for exists(file2) eq "1" >> >> When it exists the file is ready to open. >> > > That is such an utter fallacy, I can't even begin to understand why you > posted it. In a Windows environment, 99% of your processes will be > non-blocking, asynchronous. In layman's terms, they process and continue > processing well after the startup of the program. The only thing the > "return" from them usually indicates is that they're up and started. > > The only thing exists() tells you is that the file has been open()'d at the > low level with O_CREAT. It says -nothing- (let me repeat that: NOTHING) > about whether or not the complete contents are available, whether or not > the file is still globally locked, etc. > > The only surefire way to know -for sure- without using some kind of "cross > your fingers and pray it's within tolerances" sleep/wait methodology is to > use a program that blocks/waits until it's actually done to return. This > entails -not- closing any console windows and stdout/stderr streams, as is > the normal idiom on Windows. Most programs don't have this facility. I > build some things specifically to -not- run in "Windows mode" specifically > to bypass this stumbling block. > > Bob posted some solutions for PrintWizard, one of which (read/write mode > testing) depends on the global file locking to be relinquished, thus > substantiating what I'm saying here. > > In -any- environment, all exists() tells you is that a command opened the > file "at some point". It doesn't tell you data was written to it, it > doesn't tell you that all the data is done, it doesn't tell you that the > file is no longer in use, it doesn't even tell you that it was opened by > the same process. It says the file was created, period. Depending on > exists() for anything else is a recipe for potential confusion and problems > in *nix environments. Depending on it for anything else in Windows is a > recipe for an epic fail. > > mark-> > Actually what she said was perfect. It might not apply to Boaz, but not for any of the reasons you just said. It's not simply "99% of stuff is async". It's whatever your stuff happens to be. Some is async or multithreaded, some isn't, and some can be told to behave either way. If he were running a local printwizard as a command in a batch file or other local scripting engine, there are ways to execute a program and tell the interpreter to wait for the program to return. Then it's up to the program to do things synchronously or not internally. There's no sense blathering about how wrong that suggestion is until it is actually tried with printwizard. I run into this all the time with the scanning and other client-side stuff I do. As long as printwizard happens to wait for ops to finish before it returns, then running PW, and renaming it's output file after it's done, and having filepro waiting for the second file to exist(), is perfectly good. Even on Windows, rename is an atomic operation. -- bkw From kenbrody at spamcop.net Thu May 28 08:12:47 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 28 May 2009 11:12:47 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> <4A1DA29C.60407@mirrotek.com> <4A1DAFD5.6000900@mirrotek.com> Message-ID: <4A1EA9EF.5080308@spamcop.net> Bob Rasmussen wrote: [...] >> 2. How do I check if a file can be opened in R/W mode in FP? > > I don't know this one. As someone else answered, use OPEN(filename,"rw") and check for success or failure. Might I suggest a "better" solution, which requires a change to PrintWizard? I have seen numerous cases where the program generating the file uses a temporary filename while the job is running, and then renames it to the final name once it is complete. For example, PrintWizard creates "~~PW####.tmp" (where "####" is some unique number), and writes the PDF output there. Once you have a complete PDF file generated, you close the file and rename it "whatever.pdf". -- Kenneth Brody From bill at celestial.com Thu May 28 10:28:00 2009 From: bill at celestial.com (Bill Campbell) Date: Thu, 28 May 2009 10:28:00 -0700 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A1EA9EF.5080308@spamcop.net> References: <4A1D98E1.8090702@mirrotek.com> <4A1D9B8B.7020409@vss3.com> <4A1DA29C.60407@mirrotek.com> <4A1DAFD5.6000900@mirrotek.com> <4A1EA9EF.5080308@spamcop.net> Message-ID: <20090528172759.GA29766@ayn.mi.celestial.com> On Thu, May 28, 2009, Kenneth Brody wrote: >Bob Rasmussen wrote: >[...] >>> 2. How do I check if a file can be opened in R/W mode in FP? >> >> I don't know this one. > >As someone else answered, use OPEN(filename,"rw") and check for success or >failure. > >Might I suggest a "better" solution, which requires a change to PrintWizard? > I have seen numerous cases where the program generating the file uses a >temporary filename while the job is running, and then renames it to the >final name once it is complete. > >For example, PrintWizard creates "~~PW####.tmp" (where "####" is some unique >number), and writes the PDF output there. Once you have a complete PDF file >generated, you close the file and rename it "whatever.pdf". This is pretty standard practice when creating/updating files, particularly where one needs to do it as an ``atomic'' process such that the file, when visible, is intact and consistent. As an example, the rsync program basically does binary diffs to ``patch'' an existing file, creating a new version that isn't normally visible (e.g. it starts with '.filename'), then does a *nix ``mv'' or rename command when the file is complete. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 If you make yourselves sheep, the wolves will eat you -- Benjamin Franklin From boaz at mirrotek.com Thu May 28 12:42:34 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Thu, 28 May 2009 15:42:34 -0400 Subject: Weird handling of openfiles (was Issue with opening PDF file from FilePro) In-Reply-To: References: Message-ID: <4A1EE92A.3070604@mirrotek.com> ------------------------------------------------------------------- > Message: 1 > Date: Wed, 27 May 2009 18:49:42 -0400 > From: "Brian K. White" > Subject: Re: Issue with opening PDF file from FilePro > To: filepro-list at lists.celestial.com > Message-ID: <4A1DC386.9070507 at aljex.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > > > Boaz Bezborodko wrote: > >> 2. How do I check if a file can be opened in R/W mode in FP? >> >> > .... > then: form foo{"" > then: printer reset 'release the print job so printwizard can take it > then: gosub waitpdf ' wait for pdf to exist and become writeable > if: pdfok > then: system "start" < tempfile > if: not pdfpk > then: errorbox "Output ("{tempfile{") not created." > .... > > > waitpdf if: > then: cs(4,.1)="0" ; c(3,.0) = "300" ' c*100msec = timeout (300 = > 30,000 = 30 sec) > wploop if: > then: cs = c/"10" ; show "Waiting" < cs < "for PDF..." ; handle = > open(tempfile,"wb") > pdfok if: handle ge "0" > then: close handle ; goto ewp > if: c gt "0" > then: c = c - "1" ; sleep "100" ; goto wploop > ewp if: > then: show "" ; return > > > basically, as per the open() documentation: > "If the file cannot be opened, a negative number is returned." > > So, try to open() in write mode, then see if handle is a negative number. > As soon as handle is 0 or greater, close(handle) and proceed to use > tempfile. > > The rest of the stuff is just nice user display and timeout so that it > won't wait forever if there is some problem and the pdf will never show up. > Don't think that 30 seconds is too long. The user would only ever wait > that long if the pdf generation failed and the pdf will never show up. > So you don't want to wait forever and force the user to break out > ungracefully, and you also don't want the "I give up waiting" time to be > shorter than the worst possible legitimate scenario of a very slow pc on > a slow network trying to produce a huge report. That could even be > longer that 30 seconds. > > You can even get fancier and return a more informative error message by > returning the actual error code from handle instead of just waiting for > handle to be 0 or greater. > ie: when handle is a negative number, it's a negative version of the > value returned by the OS's open file function. These numbers are defined > somewhere (msdn web site?) so a -2 may mean file not found or a -5 may > mean insufficient user priviledges, etc... and add in some abort key > handling so they can also break out of the wait loop gracefully. > > I put variations of this code to work and on some machines it still didn't work. I realized that there was a pattern...The machines on which it worked before still worked and those that didn't still had the same problem. I decided to peek into what the different machines showed as the file status that was returned by OPEN() and found that the machines that had the problems always returned a 'valid' file handle ('1' ) even though it was not possible for it to be available from the very beginning. The machines that worked gave a negative number until the file was ready. All are connected to the same server and have almost identical environment setups. I'm at a loss in explaining why some machines are properly reporting the file status while others aren't. It must be related to Windows, but I have no idea where to look. Does anyone have any suggestions? Boaz From n8zuu at sbcglobal.net Thu May 28 14:14:06 2009 From: n8zuu at sbcglobal.net (Douglas Luurs) Date: Thu, 28 May 2009 14:14:06 -0700 (PDT) Subject: fp Termcap issue Message-ID: <847693.33170.qm@web83816.mail.sp1.yahoo.com> We?re migrating FilePro from SCO Openserver 6.0 to RedHat Enterprise Linux 5.3.? We?re trying to get all of our key bindings to match the old installation by changing /appl/fp/termcap.? We?re having good success except when changing the BRKY key.? On the old server BRKY was assigned to Delete whereas on the new server it?s assigned to Ctrl-C.? Within the FilePro developers reference (page 658) I can see that the termcap code for BRKY is PY.? Trouble is, no matter what I set PY to, the setting isn?t honored.? I?m able to get our other bindings changed, just not this one. ? Any input you have would be appreciated as this has become a frustrating problem. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090528/4e5d5d3e/attachment.html From bill at celestial.com Thu May 28 14:21:54 2009 From: bill at celestial.com (Bill Campbell) Date: Thu, 28 May 2009 14:21:54 -0700 Subject: fp Termcap issue In-Reply-To: <847693.33170.qm@web83816.mail.sp1.yahoo.com> References: <847693.33170.qm@web83816.mail.sp1.yahoo.com> Message-ID: <20090528212154.GA8203@ayn.mi.celestial.com> On Thu, May 28, 2009, Douglas Luurs wrote: > > We?re migrating FilePro from SCO Openserver 6.0 to RedHat Enterprise > Linux 5.3. We?re trying to get all of our key bindings to match the > old installation by changing /appl/fp/termcap. We?re having good > success except when changing the BRKY key. On the old server BRKY was > assigned to Delete whereas on the new server it?s assigned to Ctrl-C. > Within the FilePro developers reference (page 658) I can see that the > termcap code for BRKY is PY. Trouble is, no matter what I set PY to, > the setting isn?t honored. I?m able to get our other bindings > changed, just not this one. My advice is to suck it up and use ctrl-C as pretty much every OS in the world except for SCO's do. The DEL key on many (most) non-console keyboards does not send the DEL (ctrl-?) character sent by SCO consoles while ctrl-C works anywhere. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 I have never been molested by any person but those who represented the state -- Thoreau From fairlite at fairlite.com Thu May 28 16:19:23 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 28 May 2009 19:19:23 -0400 Subject: fp Termcap issue In-Reply-To: <20090528212154.GA8203@ayn.mi.celestial.com>; from bill@celestial.com on Thu, May 28, 2009 at 02:21:54PM -0700 References: <847693.33170.qm@web83816.mail.sp1.yahoo.com> <20090528212154.GA8203@ayn.mi.celestial.com> Message-ID: <20090528191923.B3463@iglou.com> On Thu, May 28, 2009 at 02:21:54PM -0700, after drawing runes in goat's blood, Bill Campbell cast forth these immortal, mystical words: > > My advice is to suck it up and use ctrl-C as pretty much every OS > in the world except for SCO's do. The DEL key on many (most) > non-console keyboards does not send the DEL (ctrl-?) character > sent by SCO consoles while ctrl-C works anywhere. Concur. Likewise, your "Insert" mode toggle was formerly ^Z in SCO, but it'll be something else in Linux (or -any- POSIX-compliant system whose shells honour POSIX job control). That's normally SIGSUSP, and you don't want your insert toggle key sitting on top of suspend. That's another one I'd just suck it up and learn the new binding. It's really not the rest of the world's fault that SCO stood at a standstill with non-POSIX shells and non-standard bindings for a couple decades. :) :( mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From rkreiss at verizon.net Thu May 28 07:50:56 2009 From: rkreiss at verizon.net (rkreiss) Date: Thu, 28 May 2009 10:50:56 -0400 Subject: Printer destination - rant Message-ID: <1281D0509E79439789E3BD33BEBEF107@naomi> Windows filePro filePro will accept win:lpt1 as a valid destination. Then why will it not accept IP_192.168.nn.nn(port designation), a network printer destination, as a valid destination? It would seem to me that being able to specify a specific IP address would make life much simpler the using a printers name. This is especially true in the Windows environment where each computer needs to have the same printer name unless they are are local printer connected to lpt1. this is getting rarer and rarer as parallel ports are being replaced by USB or network printers. Even the most modestly priced printer are network enabled; either wired or wireless. Richard Kreiss GCC Consulting From kenbrody at spamcop.net Thu May 28 19:59:55 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 28 May 2009 22:59:55 -0400 Subject: fp Termcap issue In-Reply-To: <847693.33170.qm@web83816.mail.sp1.yahoo.com> References: <847693.33170.qm@web83816.mail.sp1.yahoo.com> Message-ID: <4A1F4FAB.80807@spamcop.net> Douglas Luurs wrote: > We?re migrating FilePro from SCO Openserver 6.0 to RedHat Enterprise Linux 5.3. We?re trying to get all of our key bindings to match the old installation by changing /appl/fp/termcap. We?re having good success except when changing the BRKY key. On the old server BRKY was assigned to Delete whereas on the new server it?s assigned to Ctrl-C. Within the FilePro developers reference (page 658) I can see that the termcap code for BRKY is PY. Trouble is, no matter what I set PY to, the setting isn?t honored. I?m able to get our other bindings changed, just not this one. > > Any input you have would be appreciated as this has become a frustrating problem. There is no "PY" termcap entry used by filePro. There is an LY entry, which tells filePro what label to display. The actual key that causes a break is controlled by stty's "intr" setting. -- Kenneth Brody From bill at celestial.com Thu May 28 21:16:10 2009 From: bill at celestial.com (Bill Campbell) Date: Thu, 28 May 2009 21:16:10 -0700 Subject: fp Termcap issue In-Reply-To: <20090528191923.B3463@iglou.com> References: <847693.33170.qm@web83816.mail.sp1.yahoo.com> <20090528212154.GA8203@ayn.mi.celestial.com> <20090528191923.B3463@iglou.com> Message-ID: <20090529041610.GA8687@ayn.mi.celestial.com> On Thu, May 28, 2009, Fairlight wrote: >On Thu, May 28, 2009 at 02:21:54PM -0700, after drawing runes in goat's blood, >Bill Campbell cast forth these immortal, mystical words: >> >> My advice is to suck it up and use ctrl-C as pretty much every OS >> in the world except for SCO's do. The DEL key on many (most) >> non-console keyboards does not send the DEL (ctrl-?) character >> sent by SCO consoles while ctrl-C works anywhere. > >Concur. > >Likewise, your "Insert" mode toggle was formerly ^Z in SCO, but it'll be >something else in Linux (or -any- POSIX-compliant system whose shells >honour POSIX job control). That's normally SIGSUSP, and you don't want >your insert toggle key sitting on top of suspend. That's another one I'd >just suck it up and learn the new binding. It's a Good Idea(tm) to disable job control for programs like FilePro where the users most likely don't have any understanding of background processes. When we were teaching Unix classes, it wasn't uncommon for students to have multiple copies of ``vi'' running in the background when they hit ctrl-Z instead of SHIFT-Z. This is easy to do on *nix systems with a couple of commands in the startup script: #!/bin/sh # this saves the current stty settings NORMTTY=`stty -g 2>/dev/null`; export NORMTTY # Disable job control stty susp '' # do your stuff here # restore original setting. stty $NORMTTY Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 When only cops have guns, it's called a police state. -- Claire Wolfe, "101 Things To Do Until The Revolution" From kenbrody at spamcop.net Thu May 28 12:47:48 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 28 May 2009 15:47:48 -0400 Subject: Weird handling of openfiles (was Issue with opening PDF file from FilePro) In-Reply-To: <4A1EE92A.3070604@mirrotek.com> References: <4A1EE92A.3070604@mirrotek.com> Message-ID: <4A1EEA64.6010100@spamcop.net> Boaz Bezborodko wrote: [...] > I decided to peek into what the different machines showed as the file > status that was returned by OPEN() and found that the machines that had > the problems always returned a 'valid' file handle ('1' ) even though it > was not possible for it to be available from the very beginning. The > machines that worked gave a negative number until the file was ready. If OPEN() returned 1, then the open succeeded. Why do you believe that it "was not possible" to succeed? > All are connected to the same server and have almost identical > environment setups. I'm at a loss in explaining why some machines are > properly reporting the file status while others aren't. It must be > related to Windows, but I have no idea where to look. On those where it fails, what error is returned? > Does anyone have any suggestions? -- Kenneth Brody From ras at anzio.com Thu May 28 21:49:04 2009 From: ras at anzio.com (Bob Rasmussen) Date: Thu, 28 May 2009 21:49:04 -0700 (PDT) Subject: Printer destination - rant In-Reply-To: <1281D0509E79439789E3BD33BEBEF107@naomi> References: <1281D0509E79439789E3BD33BEBEF107@naomi> Message-ID: On Thu, 28 May 2009, rkreiss wrote: > Windows filePro > > filePro will accept win:lpt1 as a valid destination. I believe it will (also / more likely) accept "win:HP Laserjet 5". Correct? > > Then why will it not accept IP_192.168.nn.nn(port designation), a network > printer destination, as a valid destination? Would that be with the JetDirect protocol, or the LPD protocol? > It would seem to me that being able to specify a specific IP address would > make life much simpler the using a printers name. This is especially true > in the Windows environment where each computer needs to have the same > printer name unless they are are local printer connected to lpt1. this is > getting rarer and rarer as parallel ports are being replaced by USB or > network printers. Even the most modestly priced printer are network > enabled; either wired or wireless. Even when programming in Windows and for Windows, there is not a legitimate way to access a printer by its port. One reason: a USB port is a very different thing from a parallel port, and both are different from a pseudo port used with Adobe Distiller, for instance. Finally, some printers can not accept a stream of characters (bytes). The standard in Windows is to address a printer by its installed name. Even inside Print Wizard I must do this. Now if I want to bypass the Windows printer driver, such as to send PCL codes directly to a PCL-compatible printer, I can do that, with calls OpenPrinter, WritePrinter, and ClosePrinter. These, I suspect, are what the filePro runtime uses. If I wanted to address the printers at the protocol level, I could write socket level code to initiate a connection to IP a.b.c.d, port 9100 for instance, but then the burden is on me to understand and process this protocol. So far I haven't seen a need to do this, even with the zillions of permutations of printing requirements I've been hit with. So this brings me back to the question: what CAN'T you do that you need to do? Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA From kenbrody at spamcop.net Thu May 28 21:01:59 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 29 May 2009 00:01:59 -0400 Subject: Printer destination - rant In-Reply-To: <1281D0509E79439789E3BD33BEBEF107@naomi> References: <1281D0509E79439789E3BD33BEBEF107@naomi> Message-ID: <4A1F5E37.5070603@spamcop.net> rkreiss wrote: > Windows filePro > > filePro will accept win:lpt1 as a valid destination. Nit: It is Windows that accepts "lpt1" as a printer name for the OpenPrinter() API call. > Then why will it not accept IP_192.168.nn.nn(port designation), a network > printer destination, as a valid destination? Because the OpenPrinter() Windows API call doesn't accept it as a valid printer name. > It would seem to me that being able to specify a specific IP address would > make life much simpler the using a printers name. This is especially true > in the Windows environment where each computer needs to have the same > printer name unless they are are local printer connected to lpt1. this is > getting rarer and rarer as parallel ports are being replaced by USB or > network printers. Even the most modestly priced printer are network > enabled; either wired or wireless. You need to use a name that Windows recognizes. Perhaps there is a way to specify an IP address like that, but in a modified form? Perhaps something like "\\192.168.nn.nn\p1"? -- Kenneth Brody From fairlite at fairlite.com Thu May 28 21:53:53 2009 From: fairlite at fairlite.com (Fairlight) Date: Fri, 29 May 2009 00:53:53 -0400 Subject: fp Termcap issue In-Reply-To: <20090529041610.GA8687@ayn.mi.celestial.com>; from bill@celestial.com on Thu, May 28, 2009 at 09:16:10PM -0700 References: <847693.33170.qm@web83816.mail.sp1.yahoo.com> <20090528212154.GA8203@ayn.mi.celestial.com> <20090528191923.B3463@iglou.com> <20090529041610.GA8687@ayn.mi.celestial.com> Message-ID: <20090529005353.A12038@iglou.com> >From inside the gravity well of a singularity, Bill Campbell shouted: > > It's a Good Idea(tm) to disable job control for programs like FilePro where > the users most likely don't have any understanding of background processes. > When we were teaching Unix classes, it wasn't uncommon for students to have > multiple copies of ``vi'' running in the background when they hit ctrl-Z > instead of SHIFT-Z. > > This is easy to do on *nix systems with a couple of commands in Sure, it's easy to do... But...-why-? That's like saying people have a habit of running red lights when learning to drive, so you should remove turning signals from the car while they learn to drive... *boggle* My philosophy is simple: Learn how to function properly in an environment, or don't use the environment. Job control isn't magic, and it certainly isn't hard. About the only tricky part about job control is actually getting your curses app to restore correctly on resume, and you really only have to worry about that as a developer. Anything properly designed should leave the user right where they want to be. I know you actually teach the classes, and I'm sure you get great results. I just happen to disagree with coddling someone to this degree, personally. It's like enabling stupidity, IMHO. If it were me, I'd rather -teach- the job control than disable it. Maybe it's just how much I've always used it since I started--and keep in mind that I started on BSD, not SCO...so when I started, all my shells had job control. I actually get annoyed when (on Solaris, for -some- reason that I've never explored--maybe the version is just too old) lynx gets all FUBAR when I suspend and resume. The only way to get the same net result is to use ! to do a new subshell, then exit. Only it's -not- the same net result because I don't have access to the vim, mutt, and other jobs I have suspended before going into lynx. I do a -lot- of suspending, especially when I'm in mutt and need to go look something up in a file somewhere or the like. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From bill at celestial.com Thu May 28 22:45:17 2009 From: bill at celestial.com (Bill Campbell) Date: Thu, 28 May 2009 22:45:17 -0700 Subject: fp Termcap issue In-Reply-To: <20090529005353.A12038@iglou.com> References: <847693.33170.qm@web83816.mail.sp1.yahoo.com> <20090528212154.GA8203@ayn.mi.celestial.com> <20090528191923.B3463@iglou.com> <20090529041610.GA8687@ayn.mi.celestial.com> <20090529005353.A12038@iglou.com> Message-ID: <20090529054517.GA28384@ayn.mi.celestial.com> On Fri, May 29, 2009, Fairlight wrote: >>From inside the gravity well of a singularity, Bill Campbell shouted: >> >> It's a Good Idea(tm) to disable job control for programs like FilePro where >> the users most likely don't have any understanding of background processes. >> When we were teaching Unix classes, it wasn't uncommon for students to have >> multiple copies of ``vi'' running in the background when they hit ctrl-Z >> instead of SHIFT-Z. >> >> This is easy to do on *nix systems with a couple of commands in > >Sure, it's easy to do... But...-why-? That's like saying people have a >habit of running red lights when learning to drive, so you should remove >turning signals from the car while they learn to drive... *boggle* It's one thing to do this with developers and programmers, but entirely different when dealing with data-entry people who can't be expected to understand what's going on. This might come under the principle of least surprise. Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 When the customer has beaten upon you long enough, give him what he asks for, instead of what he needs. This is very strong medicine, and is normally only required once. -- The Consultant's Curse: From fairlite at fairlite.com Thu May 28 23:02:02 2009 From: fairlite at fairlite.com (Fairlight) Date: Fri, 29 May 2009 02:02:02 -0400 Subject: fp Termcap issue In-Reply-To: <20090529054517.GA28384@ayn.mi.celestial.com>; from bill@celestial.com on Thu, May 28, 2009 at 10:45:17PM -0700 References: <847693.33170.qm@web83816.mail.sp1.yahoo.com> <20090528212154.GA8203@ayn.mi.celestial.com> <20090528191923.B3463@iglou.com> <20090529041610.GA8687@ayn.mi.celestial.com> <20090529005353.A12038@iglou.com> <20090529054517.GA28384@ayn.mi.celestial.com> Message-ID: <20090529020202.A15094@iglou.com> On Thu, May 28, 2009 at 10:45:17PM -0700, after drawing runes in goat's blood, Bill Campbell cast forth these immortal, mystical words: > > It's one thing to do this with developers and programmers, but > entirely different when dealing with data-entry people who can't > be expected to understand what's going on. This might come under > the principle of least surprise. Well, I'll give you surprising possibly. But if one can understand Word/36 (on System/36, no less...don't start me!), as an office temp, job control is nothin'. Then again, I was the only temp in my office that knew Word/36 and bothered to learn that beast. :) Maybe I just like complicated things. Except SOAP...which is overly complicated for no good reason. At all. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From brian at aljex.com Thu May 28 16:20:03 2009 From: brian at aljex.com (Brian K. White) Date: Thu, 28 May 2009 19:20:03 -0400 Subject: fp Termcap issue In-Reply-To: <847693.33170.qm@web83816.mail.sp1.yahoo.com> References: <847693.33170.qm@web83816.mail.sp1.yahoo.com> Message-ID: <4A1F1C23.8090201@aljex.com> Douglas Luurs wrote: > > We?re migrating FilePro from SCO Openserver 6.0 to RedHat Enterprise > Linux 5.3. We?re trying to get all of our key bindings to match the > old installation by changing /appl/fp/termcap. We?re having good > success except when changing the BRKY key. On the old server BRKY was > assigned to Delete whereas on the new server it?s assigned to Ctrl-C. > Within the FilePro developers reference (page 658) I can see that the > termcap code for BRKY is PY. Trouble is, no matter what I set PY to, > the setting isn?t honored. I?m able to get our other bindings > changed, just not this one. > > > > Any input you have would be appreciated as this has become a > frustrating problem. > I would use a linux terminal emulator and ctrl-c for break instead of continuing to use scoansi emulation. To use scoansi emulation you will have to do several things, and, at the console it still won't work and you'll have to use linux or xterm, but scoansi terminal emulators can be made to work. copy the "ansi" termcap entry from /etc/termcap on sco. add it to the beginning on /etc/termcap on linux, and rename it from ansi to scoansi. search the rest of the file to be sure there isn't by chance a scoansi provided by redhat. (there will be an "ansi" , leave it alone. don't rename or remove it) infocmp >scoansi.ti on sco vi scoansi.ti and change the name of the entry from ansi to scoansi install ncurses-devel on linux to get the tic utility tic scoansi.ti on linux create /etc/profile.local , or edit if it already exists (verify that /etc/profile will look for profile.local and source it if it exists) in /etc/profile.local: case "$TERM" in ansi|scoansi) TERM=scoansi stty intr '^?' ;; esac edit fp/termcap and make sure the old "ansi" entry also has an alias for scoansi The idea is, sco terminal emulators will all generally set TERM=ansi , but on linux there already is a termcap & terminfo definition named "ansi" which ideally you should not remove or overwrite with sco's because that ansi definition is used as a sub-component of some other definitions. Instead, leave the existing ansi entries alone and install sco's ansi definitions copied from you real sco box, but rename them from ansi or cansi to scoansi along the way. Then have /etc/profile detect if $TERM is "ansi", that will only be from your sco terminal emulators, so any time someone logs in and their emulator sets TERM=ansi, have /etc/profile change TERM to scoansi so that all programs will end up using the scoansi termcap and terminfo definitions you just installed. Also, in that case, run an stty command to setthe break key to ^? which is what scoansi emulators send from the Del key. It can be a plain quote-carrot-question-quote in the stty command, you don't have to press ctrl-v ctrl-? to get a real ^? (character 127 decimal) in there. The PY thing in fp/termcap is just for display, it could say anything. To rename a termcap or terminfo definition just means to change what the first line has from the beginning of the line to the first field seperator (colon for termcap, comma for terminfo). Alias names in termcap & terminfo just means the same definition can have more than one name. All names are on the first non-comment line of the definition, before the first field seperator, and within that first field, there is either a single name, or multiple names seperated by | . After doing all that, The console still won't work except as a linux terminal with linux emulation and linux keystrokes. Same goes for xterms in the gui console. And some programs still don't work correctly. Most notably, ls colors are active by default and they screw up your terminal so the text ends up dark blue on black, and vi colors are active by default and it ends up being dark red on black. And there are background color fill issues on some emulators where chunks of the screen fill with black instead of the current background color blue or cyan etc, it looks ugly. You can force both ls & vi not to use colors at all but frankly that's retarded. Not because ls colors are so great, just because it's addressing one symptom, and doing so in a crude way by just killing a feature instead of making it work, and avoiding addressing the real problem which would clear up all symptoms at once without shutting off every feature that was invented after 1982. There are several other small but annoying and unprofessional looking issues from apps not handling the terminal perfectly even if you do disable colors in ls and vi, and from your PS1 prompt which the latest linux distros like to colorize, etc.. The problem is basically that linux apps just aren't being written and tested to work on terminals other than linux and xterm (which are both vt100/vt220 derivatives and share many of the same escape sequences and behaviors). In any unix-like world, you are _supposed_ to be able to define any kind of terminal you want via termcap & terminfo, and all apps should just work perfectly as long as your definitions do accurately describe your terminal. But in fact, linux does not adhere to that ideal very well and you do yourself the greatest favor by simply using the terminal that all those apps are tested against. ie, linux or xetrm. Which means using ctrl-c for break, because a linux or xterm terminal emits a multi-byte escape sequence from the Delete key, not the single-byte ^? that scoansi terminals do, and the break key is a tty line discipline setting that must be a single byte. Even though I have been forced by my boss to make scoansi emulation work as well as possible on all our linux boxes since we switched to linux several years ago, and all customers and all developlers except me still use scoansi terminal emulation, I still say take Bill's advice and just treat the terminal emulation as one more part of switching to linux. -- bkw From nlp at vss3.com Fri May 29 08:32:38 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Fri, 29 May 2009 11:32:38 -0400 Subject: Printer destination - rant In-Reply-To: <1281D0509E79439789E3BD33BEBEF107@naomi> References: <1281D0509E79439789E3BD33BEBEF107@naomi> Message-ID: <4A200016.4080100@vss3.com> rkreiss wrote: > Windows filePro > > filePro will accept win:lpt1 as a valid destination. > > Then why will it not accept IP_192.168.nn.nn(port designation), a network > printer destination, as a valid destination? > > It would seem to me that being able to specify a specific IP address would > make life much simpler the using a printers name. This is especially true > in the Windows environment where each computer needs to have the same > printer name unless they are are local printer connected to lpt1. this is > getting rarer and rarer as parallel ports are being replaced by USB or > network printers. Even the most modestly priced printer are network > enabled; either wired or wireless. > > Richard Kreiss > GCC Consulting > > > > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > Richard, Use the Windows Printer Name. It needs to use the windows drivers to get to the printer properly. Install the Printer in Windows, then use the name in the WIN:WindowsPrinterName If all the users, attach the printer with the same name, it will work for all the users, perfectly. For example: WIN:Lexmark T634 PCL is a printer destination on my system and this is not attached to my computer, it is setup as a network printer on our system. What you are proposing is almost a bypass of the Printer stuff on your local machine and a dump directly to the printer. Wouldn't that be dangerous on a network printer? But that is how I do it, there are a million ways to connect to printers anymore, I just find this one simplest for my brain to handle. Good luck. Nancy -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com From brian at aljex.com Thu May 28 16:45:13 2009 From: brian at aljex.com (Brian K. White) Date: Thu, 28 May 2009 19:45:13 -0400 Subject: Weird handling of openfiles (was Issue with opening PDF file from FilePro) In-Reply-To: <4A1EE92A.3070604@mirrotek.com> References: <4A1EE92A.3070604@mirrotek.com> Message-ID: <4A1F2209.1030305@aljex.com> Boaz Bezborodko wrote: > ------------------------------------------------------------------- > >> Message: 1 >> Date: Wed, 27 May 2009 18:49:42 -0400 >> From: "Brian K. White" >> Subject: Re: Issue with opening PDF file from FilePro >> To: filepro-list at lists.celestial.com >> Message-ID: <4A1DC386.9070507 at aljex.com> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed >> >> >> >> Boaz Bezborodko wrote: >> >> >>> 2. How do I check if a file can be opened in R/W mode in FP? >>> >>> >>> >> .... >> then: form foo{"" >> then: printer reset 'release the print job so printwizard can take it >> then: gosub waitpdf ' wait for pdf to exist and become writeable >> if: pdfok >> then: system "start" < tempfile >> if: not pdfpk >> then: errorbox "Output ("{tempfile{") not created." >> .... >> >> >> waitpdf if: >> then: cs(4,.1)="0" ; c(3,.0) = "300" ' c*100msec = timeout (300 = >> 30,000 = 30 sec) >> wploop if: >> then: cs = c/"10" ; show "Waiting" < cs < "for PDF..." ; handle = >> open(tempfile,"wb") >> pdfok if: handle ge "0" >> then: close handle ; goto ewp >> if: c gt "0" >> then: c = c - "1" ; sleep "100" ; goto wploop >> ewp if: >> then: show "" ; return >> >> >> basically, as per the open() documentation: >> "If the file cannot be opened, a negative number is returned." >> >> So, try to open() in write mode, then see if handle is a negative number. >> As soon as handle is 0 or greater, close(handle) and proceed to use >> tempfile. >> >> The rest of the stuff is just nice user display and timeout so that it >> won't wait forever if there is some problem and the pdf will never show up. >> Don't think that 30 seconds is too long. The user would only ever wait >> that long if the pdf generation failed and the pdf will never show up. >> So you don't want to wait forever and force the user to break out >> ungracefully, and you also don't want the "I give up waiting" time to be >> shorter than the worst possible legitimate scenario of a very slow pc on >> a slow network trying to produce a huge report. That could even be >> longer that 30 seconds. >> >> You can even get fancier and return a more informative error message by >> returning the actual error code from handle instead of just waiting for >> handle to be 0 or greater. >> ie: when handle is a negative number, it's a negative version of the >> value returned by the OS's open file function. These numbers are defined >> somewhere (msdn web site?) so a -2 may mean file not found or a -5 may >> mean insufficient user priviledges, etc... and add in some abort key >> handling so they can also break out of the wait loop gracefully. >> >> >> > I put variations of this code to work and on some machines it still > didn't work. I realized that there was a pattern...The machines on > which it worked before still worked and those that didn't still had the > same problem. > > I decided to peek into what the different machines showed as the file > status that was returned by OPEN() and found that the machines that had > the problems always returned a 'valid' file handle ('1' ) even though it > was not possible for it to be available from the very beginning. The > machines that worked gave a negative number until the file was ready. > > All are connected to the same server and have almost identical > environment setups. I'm at a loss in explaining why some machines are > properly reporting the file status while others aren't. It must be > related to Windows, but I have no idea where to look. > > Does anyone have any suggestions? > > Boaz That is extremely interesting. And no I have no idea why the OS would say "sure that file exists and you can even open it in write mode" when the file was locked by something else or didn't exist and you didn't request open() to create on the fly if not exist by having a "c" in the mode flags. (you didn't have: handle = open(file,"wcb") I would set up a test where instead of trying to open a printwizard file, have a filepro process open a file that does not exist, in write mode, without "c" Does it succeed? Does the file actually get created or did fp just think it did? If so then for some reason Windows is satisfying open() requests as if you had asked it to create on demand, even when you did not ask to create on demand. You can probably work around that by inserting a seperate exists() test before to open() test, but inside the same loop. exists() should definitely always fail if the file doesn't exist. If exists() fails then you skip the rest of the loop, except do the sleep and decriment the counter, do NOT do any open() for that iteration of the loop! if exists() succeeds then you proceed to the next line which is the open() test, and the rest of the loop as normal. That covers the case where the file didn't exist, but windows created it on the fly, and therefore you are _always_ able to place the write lock on a file you just created yourself. Next do a similar test but where the file definitely exists, and definitely is locked. This time have a filepro process open a file in write mode, with "c" in the mode flags to create the file intentionally and lock it at the same time. Have that process pause at a msgbox after opening the file in write mode. Then have another fp process attempt to open the same file also in write mode. Does the 2nd process succeed? That should definitely never be possible. That's a broken OS. Except.. maybe Vista's user seperation virtual filesystem stuff can cause this. I know very little about it, but I have heard that in Vista you have to do something special for shared/common access to files where the locking matters, such as database files in legacy apps not written specifically for Vista, which is exactly the case here. I would also investigate the possibility of network filesystem client caching effects if any of this is happening on a network drive. Maybe try the above tests with the temp file on the C drive if they weren't already. -- bkw From bill at celestial.com Fri May 29 09:25:59 2009 From: bill at celestial.com (Bill Campbell) Date: Fri, 29 May 2009 09:25:59 -0700 Subject: fp Termcap issue In-Reply-To: <4A1F1C23.8090201@aljex.com> References: <847693.33170.qm@web83816.mail.sp1.yahoo.com> <4A1F1C23.8090201@aljex.com> Message-ID: <20090529162559.GA7877@ayn.mi.celestial.com> On Thu, May 28, 2009, Brian K. White wrote: > > >Douglas Luurs wrote: >> >> We???re migrating FilePro from SCO Openserver 6.0 to RedHat Enterprise >> Linux 5.3. We???re trying to get all of our key bindings to match the >> old installation by changing /appl/fp/termcap. We???re having good >> success except when changing the BRKY key. On the old server BRKY was >> assigned to Delete whereas on the new server it???s assigned to Ctrl-C. >> Within the FilePro developers reference (page 658) I can see that the >> termcap code for BRKY is PY. Trouble is, no matter what I set PY to, >> the setting isn???t honored. I???m able to get our other bindings >> changed, just not this one. >> >> >> >> Any input you have would be appreciated as this has become a >> frustrating problem. >> > >I would use a linux terminal emulator and ctrl-c for break instead of >continuing to use scoansi emulation. > >To use scoansi emulation you will have to do several things, and, at the >console it still won't work and you'll have to use linux or xterm, but >scoansi terminal emulators can be made to work. > >copy the "ansi" termcap entry from /etc/termcap on sco. >add it to the beginning on /etc/termcap on linux, and rename it from >ansi to scoansi. >search the rest of the file to be sure there isn't by chance a scoansi >provided by redhat. (there will be an "ansi" , leave it alone. don't >rename or remove it) The /etc/termcap may well be replaced during updates undoing your changes. It's far better to copy /etc/termcap to /usr/local/etc/termcap, edit that, and set the environment variable TERMCAP to point to that. TERMCAP=/usr/local/etc/termcap; export TERMCAP As a general rule, *NEVER* modifiy system files as (a) your modifications may have unintended consequences, and (b) your modifications may disappear. That's why $DEITY created /usr/local and environment variables. ... Bill -- INTERNET: bill at celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Democracy is two wolves and a sheep voting on what to have for dinner. Liberty is a well armed sheep. -- Ben Franklin From nlp at vss3.com Fri May 29 11:29:11 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Fri, 29 May 2009 14:29:11 -0400 Subject: fp2rtf In-Reply-To: <4A1D7D10.8020206@fpgroups.com> References: <4A1D7D10.8020206@fpgroups.com> Message-ID: <4A202977.50002@vss3.com> Jose Lerebours wrote: > I just finished migrating a filePro application from SCO UNIX to > windows. Tested data entry OK but > when printing, instead of printing to default printer, it opens the > output on fp2rtf and when printing from there > it looks nasty ... > > I am guessing that installing fprtf was a mistake or there is a > configuration issue I am missing here. > > Any ideas? > > Thanks, > > > Printer options might have been added to the Environment file. Check the batch file you execute when it starts. Take out anything that looks like this (red stuff only) set pfpostprint=runbatch.bat set oldpath=%PATH% PATH=%pfprog%\fp\fp2rtf;%PFPROG%\FP;c:\windows;c:\windows\command call %pfprog%\fp\fp2rtf\getname.bat set pfprtc=rtf66 That should do it. Nancy -- Nancy Palmquist MOS & filePro Training Available Virtual Software Systems Web Based Training and Consulting PHONE: (412) 835-9417 Web site: http://www.vss3.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090529/0794b297/attachment-0001.html From boaz at mirrotek.com Fri May 29 13:23:32 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Fri, 29 May 2009 16:23:32 -0400 Subject: Weird handling of openfiles (was Issue with opening PDF file from FilePro) In-Reply-To: <4A1EEA64.6010100@spamcop.net> References: <4A1EE92A.3070604@mirrotek.com> <4A1EEA64.6010100@spamcop.net> Message-ID: <4A204444.9030007@mirrotek.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: > [...] >> I decided to peek into what the different machines showed as the file >> status that was returned by OPEN() and found that the machines that >> had the problems always returned a 'valid' file handle ('1' ) even >> though it was not possible for it to be available from the very >> beginning. The machines that worked gave a negative number until the >> file was ready. > > If OPEN() returned 1, then the open succeeded. Why do you believe > that it "was not possible" to succeed? > >> All are connected to the same server and have almost identical >> environment setups. I'm at a loss in explaining why some machines >> are properly reporting the file status while others aren't. It must >> be related to Windows, but I have no idea where to look. > > On those where it fails, what error is returned? > >> Does anyone have any suggestions? > In this case the problem comes up when Adobe attempts to read the file and gives an error that the file is damaged. In addition to the handle of the file I also had the program output the size of the file and it shows the file as being available even when all the data isn't there. I also confirmed this by trying ot open the file in Adobe as the file was being built and once it was done. So long as all the data wasn't in the file Adobe gave me the damaged file error. Once all the data was in the file Adobe could open it without an error. I pretty sure that this is a problem with some of my Windows installations and not an FP problem since Adobe responds differently on the computers which give the proper file status response. When I try to open the file on those computers as it is being built Adobe gives me an error that it couldn't open the file since it is being used by another application. I get a similar indication when I use Nancy's method of renaming the file. On the machines that behave properly it gives me an error that the file cannot be accessed because it is used by another application. But it just goes right along as if the file could be renamed on the machines with the problem. Boaz From boaz at mirrotek.com Fri May 29 13:28:37 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Fri, 29 May 2009 16:28:37 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: References: Message-ID: <4A204575.3080906@mirrotek.com> > Message: 1 > Date: Thu, 28 May 2009 11:12:47 -0400 > From: Kenneth Brody > Subject: Re: Issue with opening PDF file from FilePro > To: Bob Rasmussen > Cc: filePro Mailing List > Message-ID: <4A1EA9EF.5080308 at spamcop.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Bob Rasmussen wrote: > [...] > >>> 2. How do I check if a file can be opened in R/W mode in FP? >>> >> I don't know this one. >> > > As someone else answered, use OPEN(filename,"rw") and check for success or > failure. > > Might I suggest a "better" solution, which requires a change to PrintWizard? > I have seen numerous cases where the program generating the file uses a > temporary filename while the job is running, and then renames it to the > final name once it is complete. > > For example, PrintWizard creates "~~PW####.tmp" (where "####" is some unique > number), and writes the PDF output there. Once you have a complete PDF file > generated, you close the file and rename it "whatever.pdf". > > While I'm trying to nail this down I will probably try something a little different. I'll send two jobs to PW about a second apart and look for the second one. When it appears then the first must have been completed already so it is good to go. Boaz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090529/aba85683/attachment.html From rkreiss at verizon.net Fri May 29 13:50:48 2009 From: rkreiss at verizon.net (rkreiss at verizon.net) Date: Fri, 29 May 2009 16:50:48 -0400 Subject: Printer destination - rant Message-ID: <0KKF005M2B8N2BY0@vms173019.mailsrvcs.net> Top post Forgot the F6 printer lookup function. Fond the printer. Like your idea for naming the printer with the ip address. Can use the port designation IP192...... Richard -----Original Message----- From: Kenneth Brody Sent: Friday, May 29, 2009 12:01 AM To: rkreiss Cc: Filepro List Subject: Re: Printer destination - rant rkreiss wrote: > Windows filePro > > filePro will accept win:lpt1 as a valid destination. Nit: It is Windows that accepts "lpt1" as a printer name for the OpenPrinter() API call. > Then why will it not accept IP_192.168.nn.nn(port designation), a network > printer destination, as a valid destination? Because the OpenPrinter() Windows API call doesn't accept it as a valid printer name. > It would seem to me that being able to specify a specific IP address would > make life much simpler the using a printers name. This is especially true > in the Windows environment where each computer needs to have the same > printer name unless they are are local printer connected to lpt1. this is > getting rarer and rarer as parallel ports are being replaced by USB or > network printers. Even the most modestly priced printer are network > enabled; either wired or wireless. You need to use a name that Windows recognizes. Perhaps there is a way to specify an IP address like that, but in a modified form? Perhaps something like "\\192.168.nn.nn\p1"? -- Kenneth Brody From rkreiss at verizon.net Fri May 29 13:57:41 2009 From: rkreiss at verizon.net (rkreiss at verizon.net) Date: Fri, 29 May 2009 16:57:41 -0400 Subject: TRE: Printer destination - rant Message-ID: <0KKF00LCZBK3ZBR0@vms173019.mailsrvcs.net> -----Original Message----- From: Bob Rasmussen Sent: Friday, May 29, 2009 12:49 AM To: rkreiss Cc: Filepro List Subject: Re: Printer destination - rant On Thu, 28 May 2009, rkreiss wrote: > Windows filePro > > filePro will accept win:lpt1 as a valid destination. I believe it will (also / more likely) accept "win:HP Laserjet 5". Correct? > > Then why will it not accept IP_192.168.nn.nn(port designation), a network > printer destination, as a valid destination? Would that be with the JetDirect protocol, or the LPD protocol? > It would seem to me that being able to specify a specific IP address would > make life much simpler the using a printers name. This is especially true > in the Windows environment where each computer needs to have the same > printer name unless they are are local printer connected to lpt1. this is > getting rarer and rarer as parallel ports are being replaced by USB or > network printers. Even the most modestly priced printer are network > enabled; either wired or wireless. Even when programming in Windows and for Windows, there is not a legitimate way to access a printer by its port. One reason: a USB port is a very different thing from a parallel port, and both are different from a pseudo port used with Adobe Distiller, for instance. Finally, some printers can not accept a stream of characters (bytes). The standard in Windows is to address a printer by its installed name. Even inside Print Wizard I must do this. Now if I want to bypass the Windows printer driver, such as to send PCL codes directly to a PCL-compatible printer, I can do that, with calls OpenPrinter, WritePrinter, and ClosePrinter. These, I suspect, are what the filePro runtime uses. If I wanted to address the printers at the protocol level, I could write socket level code to initiate a connection to IP a.b.c.d, port 9100 for instance, but then the burden is on me to understand and process this protocol. So far I haven't seen a need to do this, even with the zillions of permutations of printing requirements I've been hit with. So this brings me back to the question: what CAN'T you do that you need to do? Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA What I was looking for was a standard way for filePro to access network printers without having to have each windows machine using the same name. Too bad UNC won't work. Richard >From my phone From kenbrody at spamcop.net Fri May 29 16:08:44 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 29 May 2009 19:08:44 -0400 Subject: Weird handling of openfiles (was Issue with opening PDF file from FilePro) In-Reply-To: <4A204444.9030007@mirrotek.com> References: <4A1EE92A.3070604@mirrotek.com> <4A1EEA64.6010100@spamcop.net> <4A204444.9030007@mirrotek.com> Message-ID: <4A206AFC.3000505@spamcop.net> Boaz Bezborodko wrote: > Kenneth Brody wrote: >> Boaz Bezborodko wrote: >> [...] >>> I decided to peek into what the different machines showed as the file >>> status that was returned by OPEN() and found that the machines that >>> had the problems always returned a 'valid' file handle ('1' ) even >>> though it was not possible for it to be available from the very >>> beginning. The machines that worked gave a negative number until the >>> file was ready. >> If OPEN() returned 1, then the open succeeded. Why do you believe >> that it "was not possible" to succeed? [...] > In this case the problem comes up when Adobe attempts to read the file > and gives an error that the file is damaged. In addition to the handle > of the file I also had the program output the size of the file and it > shows the file as being available even when all the data isn't there. "All the data isn't there" does not prevent a file from being opened, nor having its size determined. > I > also confirmed this by trying ot open the file in Adobe as the file was > being built and once it was done. So long as all the data wasn't in the > file Adobe gave me the damaged file error. Once all the data was in the > file Adobe could open it without an error. So, why do you believe that is "was not possible" for filePro's OPEN() to succeed, as you state in the first paragraph above? > I pretty sure that this is a problem with some of my Windows > installations and not an FP problem since Adobe responds differently on > the computers which give the proper file status response. When I try to [...] Yes, your basic problem is that you need to know when the file has finished being populated with data, as opposed to whether the file exists or not. For that, I would recommend trying the methods suggested by Bob Rasmussen, as it is his program doing the populating. -- Kenneth Brody From kenbrody at spamcop.net Fri May 29 16:12:08 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 29 May 2009 19:12:08 -0400 Subject: The mailing list and "content-type" Message-ID: <4A206BC8.6010607@spamcop.net> I just noticed this on a message sent to the list and cc'ed to me. The "Content-type" header line was changed by the mailing list software. The one sent straight to me says: Content-type: text/plain; charset=ISO-8859-1; format=flowed The one through the list says: Content-Type: text/plain; charset="us-ascii" Is this typical of mailing lists? -- Kenneth Brody From kenbrody at spamcop.net Fri May 29 16:15:09 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 29 May 2009 19:15:09 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A204575.3080906@mirrotek.com> References: <4A204575.3080906@mirrotek.com> Message-ID: <4A206C7D.10905@spamcop.net> Boaz Bezborodko wrote: [...] > While I'm trying to nail this down I will probably try something a > little different. I'll send two jobs to PW about a second apart and > look for the second one. When it appears then the first must have been > completed already so it is good to go. Sounds rather kludgey to me. 1 - Can you guarantee that jobs are run in serial? (That is, once job A starts, job B won't start until job A completes.) 2 - Can you guarantee that the second job won't start first? If you can guarantee #1, then you can force #2 by not submitting the second job until the output file from the first job exists. As I said, rather kludgey. -- Kenneth Brody From kenbrody at spamcop.net Fri May 29 16:23:57 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 29 May 2009 19:23:57 -0400 Subject: TRE: Printer destination - rant In-Reply-To: <0KKF00LCZBK3ZBR0@vms173019.mailsrvcs.net> References: <0KKF00LCZBK3ZBR0@vms173019.mailsrvcs.net> Message-ID: <4A206E8D.4060108@spamcop.net> rkreiss at verizon.net wrote: [...] > What I was looking for was a standard way for filePro to access network printers without having to have each windows machine using the same name. It's not up to filePro to determine what's valid for the OpenPrinter() API call. > Too bad UNC won't work. Define "won't work". Here's one of my printer definitions: printer3=brother,HPLASER,WIN:\\PRTSERVER\HL5150,Brother printer on server -- Kenneth Brody From boaz at mirrotek.com Fri May 29 19:37:33 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Fri, 29 May 2009 22:37:33 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A206C7D.10905@spamcop.net> References: <4A204575.3080906@mirrotek.com> <4A206C7D.10905@spamcop.net> Message-ID: <4A209BED.5060405@mirrotek.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: > [...] >> While I'm trying to nail this down I will probably try something a >> little different. I'll send two jobs to PW about a second apart and >> look for the second one. When it appears then the first must have >> been completed already so it is good to go. > > Sounds rather kludgey to me. > > 1 - Can you guarantee that jobs are run in serial? (That is, once job > A starts, job B won't start until job A completes.) > > 2 - Can you guarantee that the second job won't start first? > > If you can guarantee #1, then you can force #2 by not submitting the > second job until the output file from the first job exists. > > As I said, rather kludgey. > Bob told me that I can't guarantee that the two would be run sequentially, but he did suggest setting up the print file to generate a second PDF file which would then run in the same thread and only be processed after the first is completed. It was a simple process to add a line at the end of the existing print file to have PW create a second PDF file. The process then looks for the existence of that second file. This will work whether or not I have a problem with Windows reporting a file available when it shouldn't be. Boaz From fairlite at fairlite.com Fri May 29 19:51:04 2009 From: fairlite at fairlite.com (Fairlight) Date: Fri, 29 May 2009 22:51:04 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A209BED.5060405@mirrotek.com>; from boaz@mirrotek.com on Fri, May 29, 2009 at 10:37:33PM -0400 References: <4A204575.3080906@mirrotek.com> <4A206C7D.10905@spamcop.net> <4A209BED.5060405@mirrotek.com> Message-ID: <20090529225104.A9862@iglou.com> On Fri, May 29, 2009 at 10:37:33PM -0400, Boaz Bezborodko, the prominent pundit, witicized: > Kenneth Brody wrote: > > Boaz Bezborodko wrote: > > [...] > >> While I'm trying to nail this down I will probably try something a > >> little different. I'll send two jobs to PW about a second apart and > >> look for the second one. When it appears then the first must have > >> been completed already so it is good to go. > > > > Sounds rather kludgey to me. > > > > 1 - Can you guarantee that jobs are run in serial? (That is, once job > > A starts, job B won't start until job A completes.) > > > > 2 - Can you guarantee that the second job won't start first? > > > > If you can guarantee #1, then you can force #2 by not submitting the > > second job until the output file from the first job exists. > > > > As I said, rather kludgey. The whole thing is rather kludgy, but that's the nature of running async windows apps. :/ Which really is little different than running a process in the background in *nix, but at least you get a choice in *nix. > Bob told me that I can't guarantee that the two would be run > sequentially, but he did suggest setting up the print file to generate a > second PDF file which would then run in the same thread and only be > processed after the first is completed. It was a simple process to add > a line at the end of the existing print file to have PW create a second > PDF file. The process then looks for the existence of that second file. > > This will work whether or not I have a problem with Windows reporting a > file available when it shouldn't be. Well the following is -still- subject to a race condition, but it's the best you're going to get, given the problems you're facing: 1) Check for file's existance with exists(). If it's there, open it. If you can open it read/write, then: 2) Check the file's size with FILESIZE() on the opened handle. 3) Institute a loop that sleeps for one second. Close the file, re-open it, and check FILESIZE() each iteration. If you go a second with no new data, you're -probably- safe to exit the loop and proceed onwards. NOTE: I do -not- like this solution, as it IS still subject to a race condition. And if you don't close/re-open the file between checks, be it on your own head; I'm 50/50 as to whether or not FILESIZE() will pick up on changes to the file's size once it's opened--depends how it's done internally. This could be OS-dependant, or it may be absolute behaviour, and only Ken can answer that. That said, it -should- give reasonably consistent results if you check the actual size over time. mark-> -- "I'm not subtle. I'm not pretty, and I'll piss off a lot of people along the way. But I'll get the job done" --Captain Matthew Gideon, "Crusade" From kenbrody at spamcop.net Fri May 29 20:37:40 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 29 May 2009 23:37:40 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A209BED.5060405@mirrotek.com> References: <4A204575.3080906@mirrotek.com> <4A206C7D.10905@spamcop.net> <4A209BED.5060405@mirrotek.com> Message-ID: <4A20AA04.8050500@spamcop.net> Boaz Bezborodko wrote: [...] > Bob told me that I can't guarantee that the two would be run > sequentially, but he did suggest setting up the print file to generate a > second PDF file which would then run in the same thread and only be > processed after the first is completed. It was a simple process to add > a line at the end of the existing print file to have PW create a second > PDF file. The process then looks for the existence of that second file. > > This will work whether or not I have a problem with Windows reporting a > file available when it shouldn't be. Define "available". You still haven't explained why you feel that is "was not possible" for filePro's OPEN() to succeed. -- Kenneth Brody From kenbrody at spamcop.net Fri May 29 20:45:17 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 29 May 2009 23:45:17 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <20090529225104.A9862@iglou.com> References: <4A204575.3080906@mirrotek.com> <4A206C7D.10905@spamcop.net> <4A209BED.5060405@mirrotek.com> <20090529225104.A9862@iglou.com> Message-ID: <4A20ABCD.7030109@spamcop.net> Fairlight wrote: [...] > 1) Check for file's existance with exists(). If it's there, open it. If > you can open it read/write, then: > > 2) Check the file's size with FILESIZE() on the opened handle. > > 3) Institute a loop that sleeps for one second. Close the file, re-open > it, and check FILESIZE() each iteration. If you go a second with no new > data, you're -probably- safe to exit the loop and proceed onwards. There's no need to close/re-open the file. If the file size changes, then FILESIZE() will see it. (Unless the O/S lies to filePro, which would mean that bigger things would fail, like adding records to a file with no free records.) > NOTE: I do -not- like this solution, as it IS still subject to a race > condition. I'm not sure if I would call it a "race condition". But, you are depending on the file size changing between checks, which is in no way guaranteed. > And if you don't close/re-open the file between checks, be > it on your own head; I'm 50/50 as to whether or not FILESIZE() will pick > up on changes to the file's size once it's opened--depends how it's done > internally. This could be OS-dependant, or it may be absolute behaviour, > and only Ken can answer that. As I said, filePro will see the file size change unless the O/S lies to filePro, which would cause other problems elsewhere. > That said, it -should- give reasonably consistent results if you check the > actual size over time. -- Kenneth Brody From boaz at mirrotek.com Sat May 30 11:07:52 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Sat, 30 May 2009 14:07:52 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A20AA04.8050500@spamcop.net> References: <4A204575.3080906@mirrotek.com> <4A206C7D.10905@spamcop.net> <4A209BED.5060405@mirrotek.com> <4A20AA04.8050500@spamcop.net> Message-ID: <4A2175F8.9080304@mirrotek.com> Kenneth Brody wrote: > Boaz Bezborodko wrote: > [...] >> Bob told me that I can't guarantee that the two would be run >> sequentially, but he did suggest setting up the print file to >> generate a second PDF file which would then run in the same thread >> and only be processed after the first is completed. It was a simple >> process to add a line at the end of the existing print file to have >> PW create a second PDF file. The process then looks for the >> existence of that second file. >> >> This will work whether or not I have a problem with Windows reporting >> a file available when it shouldn't be. > > Define "available". > > You still haven't explained why you feel that is "was not possible" > for filePro's OPEN() to succeed. > According to the way one set of machines handle it, when Adobe Reader tries to open the file or when Windows tries to rename it, it gives an error that the file action cannot be taken because another application has accessed the file. But the other when the others try to access the file under the exact same circumstances then Adobe gives a file-damaged error and the Windows rename seems to be ignored. On the machines where a file-is-being-accessed error appears FP gives a negative number for OPEN(). On the other machines the result is always "1" even if the file is being written to by another application (in this case PrintWizard). It seems to me that the first set of machines are responding correctly and the second set is not. FP just seems to be giving the status that the OS is returning to it. From boaz at mirrotek.com Sat May 30 11:21:51 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Sat, 30 May 2009 14:21:51 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: References: Message-ID: <4A21793F.8040706@mirrotek.com> > > Message: 5 Date: Fri, 29 May 2009 23:45:17 -0400 From: Kenneth Brody > Subject: Re: Issue with opening PDF file from > FilePro To: Fairlight Cc: > filepro-list at lists.celestial.com Message-ID: > <4A20ABCD.7030109 at spamcop.net> Content-Type: text/plain; > charset=ISO-8859-1; format=flowed Fairlight wrote: [...] >> > 1) Check for file's existance with exists(). If it's there, open it. If >> > you can open it read/write, then: >> > >> > 2) Check the file's size with FILESIZE() on the opened handle. >> > >> > 3) Institute a loop that sleeps for one second. Close the file, re-open >> > it, and check FILESIZE() each iteration. If you go a second with no new >> > data, you're -probably- safe to exit the loop and proceed onwards. >> > > There's no need to close/re-open the file. If the file size changes, then > FILESIZE() will see it. (Unless the O/S lies to filePro, which would mean > that bigger things would fail, like adding records to a file with no free > records.) > > >> > NOTE: I do -not- like this solution, as it IS still subject to a race >> > condition. >> > > I'm not sure if I would call it a "race condition". But, you are depending > on the file size changing between checks, which is in no way guaranteed. > > >> > And if you don't close/re-open the file between checks, be >> > it on your own head; I'm 50/50 as to whether or not FILESIZE() will pick >> > up on changes to the file's size once it's opened--depends how it's done >> > internally. This could be OS-dependant, or it may be absolute behaviour, >> > and only Ken can answer that. >> > > As I said, filePro will see the file size change unless the O/S lies to > filePro, which would cause other problems elsewhere. > > >> > That said, it -should- give reasonably consistent results if you check the >> > actual size over time. >> I tried this already and it can take a few seconds for the file to start changing in size. It will open the file and the size will change twice in the span of a second or two to about 2K as it is first created. Then it will stay the same size for about another 5 or 6 seconds (sometimes more) until it jumps to the max file size (for this one page report) of about 90K. So it would require way too much checking to wait around for it to change. The solution that Bob suggested and that I mentioned earlier, where I have PrintWizard create a second PDF file from within the same document (in this case a single PrintWizard command line appended to the end of the report that creates a blank PDF page with a unique filename) gives an atomic solution. When that file exists then the first file must also have been finished. Until then the first file is not ready. It's actually rather simple and not nearly as kludgy. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20090530/525f1a99/attachment.html From brian at aljex.com Sun May 31 14:06:23 2009 From: brian at aljex.com (Brian K. White) Date: Sun, 31 May 2009 17:06:23 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A2175F8.9080304@mirrotek.com> References: <4A204575.3080906@mirrotek.com> <4A206C7D.10905@spamcop.net> <4A209BED.5060405@mirrotek.com> <4A20AA04.8050500@spamcop.net> <4A2175F8.9080304@mirrotek.com> Message-ID: <4A22F14F.8090909@aljex.com> Boaz Bezborodko wrote: > Kenneth Brody wrote: > >> Boaz Bezborodko wrote: >> [...] >> >>> Bob told me that I can't guarantee that the two would be run >>> sequentially, but he did suggest setting up the print file to >>> generate a second PDF file which would then run in the same thread >>> and only be processed after the first is completed. It was a simple >>> process to add a line at the end of the existing print file to have >>> PW create a second PDF file. The process then looks for the >>> existence of that second file. >>> >>> This will work whether or not I have a problem with Windows reporting >>> a file available when it shouldn't be. >>> >> Define "available". >> >> You still haven't explained why you feel that is "was not possible" >> for filePro's OPEN() to succeed. >> >> > According to the way one set of machines handle it, when Adobe Reader > tries to open the file or when Windows tries to rename it, it gives an > error that the file action cannot be taken because another application > has accessed the file. But the other when the others try to access the > file under the exact same circumstances then Adobe gives a file-damaged > error and the Windows rename seems to be ignored. > > On the machines where a file-is-being-accessed error appears FP gives a > negative number for OPEN(). On the other machines the result is always > "1" even if the file is being written to by another application (in this > case PrintWizard). It seems to me that the first set of machines are > responding correctly and the second set is not. FP just seems to be > giving the status that the OS is returning to it. > > You still haven't answered his question. On what facts do you base the supposition that the file should not possibly be able to be opened in write mode? The fact that Acrobat can open a file in read mode on some machines and not on others means nothing. We don't know what exactly acrobat does, we don't know what different versions of acrobat do, we don't know what the versions of your workstation OS's are nor the full list of all windows updates applied, we don't know the details of the networking setup wrt caching and locking. We don't You don't _really_ know what exactly printwizard is doing or how, or when, or how long it's various actions will take and which if any actions are garanteed to happen serially and you haven't said enough for us to be sure that you're using file names that are certain to be unique per invocation, nor have you said enough for us to know that the busy file really already exists and wasn't perhaps created on the spot by the open(). You have what _appears_ to be a file locking problem, but so far it's just an appearance based on a lot of assumptions. So start by removing as many question marks as possible and test just file locking to prove if that's really what's going on or not. That was the point of the two all-filepro tests I suggested. We know how fp behaves and if you write your own simple test in fp, then you do know all the things you don't know above. That would be an answer to the question. The debugging tree goes out from there, but doesn't go anywhere unless it starts from there. Right now we only know that the whole combination of fp + pw + windows + your code isn't working, which isn't useful. -- bkw From kenbrody at spamcop.net Sun May 31 21:21:50 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Mon, 01 Jun 2009 00:21:50 -0400 Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A2175F8.9080304@mirrotek.com> References: <4A204575.3080906@mirrotek.com> <4A206C7D.10905@spamcop.net> <4A209BED.5060405@mirrotek.com> <4A20AA04.8050500@spamcop.net> <4A2175F8.9080304@mirrotek.com> Message-ID: <4A23575E.9030201@spamcop.net> Boaz Bezborodko wrote: > Kenneth Brody wrote: [...] >> You still haven't explained why you feel that is "was not possible" >> for filePro's OPEN() to succeed. >> > According to the way one set of machines handle it, when Adobe Reader [...] To summarize you paragraphs: On the systems where Adobe says it can't open it because the file is in use by another program, filePro is also unable to open it. On the systems where Adobe can open it, but complains that the file is "corrupt" (because it's not yet a valid PDF), filePro is also able to open it. You haven't given any details on these systems. > FP just seems to be > giving the status that the OS is returning to it. Would you expect otherwise? If the file is opened, filePro says it was opened. If the file failed to open, filePro tells you it failed. Note, too, that filePro will returned the error number in such circumstances. -- Kenneth Brody From ras at anzio.com Sun May 31 21:43:56 2009 From: ras at anzio.com (Bob Rasmussen) Date: Sun, 31 May 2009 21:43:56 -0700 (PDT) Subject: Issue with opening PDF file from FilePro In-Reply-To: <4A23575E.9030201@spamcop.net> References: <4A204575.3080906@mirrotek.com> <4A206C7D.10905@spamcop.net> <4A209BED.5060405@mirrotek.com> <4A20AA04.8050500@spamcop.net> <4A2175F8.9080304@mirrotek.com> <4A23575E.9030201@spamcop.net> Message-ID: One fact that emerged in a private email, I think (I'm too lazy to research it late Sunday night) is that Samba is involved. I Adobe is reaching across a Windows-Samba-Linux divide to get the file, I am not surprised that some issues of permission would emerge, and that they would be different on different PCs. I don't know the details of configuring Samba, but I have suspicions nevertheless. For its part, Print Wizard in recent versions (which Boaz has) opens the output file with exclusive access, then writes to it, then closes it. Regards, ....Bob Rasmussen, President, Rasmussen Software, Inc. personal e-mail: ras at anzio.com company e-mail: rsi at anzio.com voice: (US) 503-624-0360 (9:00-6:00 Pacific Time) fax: (US) 503-624-0760 web: http://www.anzio.com street address: Rasmussen Software, Inc. 10240 SW Nimbus, Suite L9 Portland, OR 97223 USA