From john at valar.com Tue Dec 1 05:06:23 2009 From: john at valar.com (John Esak) Date: Tue, 1 Dec 2009 08:06:23 -0500 Subject: Cheat sheet for opendir() In-Reply-To: <4B148B8E.90000@mirrotek.com> Message-ID: <200912011305.nB1D5ILD063840@admin114.securesites.net> > > He has this line of code that gave me the answer: > > ::handle_for_opendir=opendir("*.csv",foldername): > A little bit better explanation of on this command in the > documentation > would help avoid this problem for people in the future. > > Boaz Oh my God. I wondered how in the world you could be confused about such a simple function, so I looked at the doc you get from within *cabe. It is beyond horrible. Let me clarify a couple other things. Consider this a hints list, not a thorough doc by any means... But at least what should have been there for you in the real doc. If you want a really, complete, thorough step-by-step manual about opendir() or *any* filePro function.... Then check by keyword in the Survivor Series CD's and you will be brought directly to one or more movies that will immediately play in Windows Media Player. There is absolutely no need to ever struggle about anything filePro with this set of hundreds and hundreds of movies... Indexed with thousands and thousands of keywords at your fingertips. Okay, ad over, good hints start here... First, if you rely on the example in the code that helped you (shown above), you may continue to be a little confused about opendir(). When you first asked if there was a system maintained variable that holds the number of files found by opendir() I knew that you must have misinterpreted the docs... (Then I saw how horrid the doc on this function was ... And well... It doesn't even state it at all clearly, so there was nothing to misinterpret.) The syntax is this: n=opendir(wildcard-mask,directory-path) Now, the fellow (or gal) who wrote the code that helped you is misleading himself or herself) the variable on the left side of the function is not a handle. It is a "return value". It holds the number of files found by opendir() with the wildcard-mask in that directory. So, don't think of it as a handle but as the return value of the function itself. The more useful list of files found by opendir() when it is encountered is thrown into a series of system maintained arrays, @dirlist[], @dirlist_name[], @dirlist_filename[] and @dirlist_ext[]. Here comes some of the hinty things. If you ask for *every* file in a directory, opendir() will always find at least two (2) files. You will not usually find n to be equal to zero even in an empty directory. That is because there are always two files in any folder represented by "." and "..". The dot is a file which stands for the current directory and the dot dot is a file that stands for the parent directory. ([1] - I'll put some very useful info at the end of the note about these.) Assuming the name of a file is "junk.2", and it is the only file in a directory called "/tmp/test". The program encounters then: n=opendir("*","/tmp/test") The variable n will be filled with "3", and those system maintained arrays will be filled with: @dirlist_filenam["3"] will equal "junk.2" @dirlist_name["3"] will equal "junk" @dirlist_ext["3"] will equal "2" @dirlist["3"] will hold the long list of data which used to be found by using nextdir() .... You can look nextdir() up if you want... But it is an archaic and essentially obsolete/useless function now since the @dirlist[] array already holds all the same data without having to retrieve it one element at a time which is what nexdir() used to do (still does, but only for backward compat....) If you want some of the data that is in the @dirlist[] array, simply access it by the right element number and you can parse out the piece you want with MID(). The nextdir() doc describes this character by character.) Here is how it looks along the line. @dirlist["3"] will equal "junk 2 2 12/01/2009 00:45:25a junk.2" Look closely at the first three @dirlist_ arrays, the ones you will be using most. Note that the @dirlist_ext does not include the ".". Note that the @dirlist_filename value is the full filename and that the @dirlist_name value is only the name *without* any extension. Both are useful for different requirements. VERY IMPORTANT NOTE IN *all* versions of filePro, all platforms there was a bug in opendir() up until 5.6.7 and above. It was a rare occurrence but if you had more than 1,000 files in a directory, the return value was truncated from the left to only 3 digits. So, if you had 2913 files in a directory, the value would be returned as 913. Even if the return_value variable has an edit big enough, say (8,.0), it would still only be set equal to 913. My suggestion is to get the very latest version as soon as you can... Because there are lots of other fixes and enhancements, but in the meantime, there is a very easy work-around. Instead of using the return value as reported by your variable on the left side of the opendir(), just use @dirlist["0"]. It also holds the number of files found by the opendir(), but it is not truncated and always correct. The search key... The wildcard... Maybe even an exact file you wish to find.... First, a little about the wildcard_mask you will see in the filePro docs on opendir(). FilePro will help you get all the filePro formats of a filePro file with a few shortcuts. These are essentially factory provided wildcards. They are: PRC_MASK TOK_MASK SCR_MASK IDX_MASK BRW_MASK OUT_MASK SEL_MASK My bet is you will probably never use these. If you do however need to get all the screens in a file or all the processing tables, etc., these are ready made. Be sure to put quotes around them.... n=opendir("scr_mask","test") This will get you all the screens in the filePro file called "test" in the current filePro directory. IMPORTANT: The return value, nor the @dirlist arrays will contain the "." and ".." files in this case? Why? Because you are not asking for *every* file in the directory as was being done with "*" as the wildcard. The same is going to be true about almost any wildcard you specify except "*".. If you limit a search with a prefix or a suffix as in: n=opendir("Jan.*","/tmp/fred" or n=opendir("*.Jan","/tmp/fred" You will find files like: Jan.120109 and 120109.jan You are only going to retrieve files which match that criteria. The dot and dot dot files don't ever match such a search. You can most profitably use expressions as the search criteria. n=opendir(aa,"/tmp/fred") or n=opendir(i_need_this,"/tmp/fred") Which assumes that you have previously filled the dummy variable aa with your correct search criteria, or the same with the declared variable i_need_this. IMPORTANT: Remember, if you want to find *every* occurrence of an expression whether it falls at the end of a name or the beginning, you have to use the "*" in ate appropriate place. For example: n=opendir("*" { aa,"/tmp/fred") or n=opendir(i_need_this { "*","/tmp/fred") And all variations of such. Another important thing to remember is the directory being searched is also an expression, so it can be any kind of variable rather than a literal in quotes. n=opendir("*",aa) And, of course, you have filled aa with a good directory path before this opendir(). All right, one more really IMPORTANT hint. (the kind of thing that should be in a doc... Not as a hint, but as a piece of information that is EXTREMELY important.) Boaz asked how you use opendir() on a different directory. He experimented with chdir() and some other things I bet. It is also not very clear in the docs, but you can only use opendir() one time... And it stays active with all the @dirlist arrays for that particular directory... UNTIL.... You issue a closedir() command. Then, and only then can you use opendir() again with a different directory. You can use it as many times as you like, even in elaborate loops in quick succession, but you MUST encounter that closedir() before you hit the opendir line again. And, remember that opendir is a function with a return value also... It has to be used as: n=closedir() You never put anything in between the parens... It just closes the last occurrence of opendir(). And this is very important *and* useful... An opendir() does not have to be in effect to use closedir(). It will just do nothing and not complain if there is no previous opendir() to close. Okay, that's enough to get you using one of the most powerful filePro functions. In case you want to try opendir() and do it quickly and harmlessly and really see how cool it is in about 1 minute of code writing.... Here you go. Usually what is done with the information opendir() gives you is this. The return value is set as the highest number in a loop. The loop lets you step through each file doing whatever you want with it. When you get to that highest value, you end the loop because there are no more files to process. But, in fact, you of course don't have to do any processing on each and every file... You do whatever it is you need. Heck, you may want to simply display all the files in a directory so the user can "pick" one... Then you process that one in the way you need. This can be as simple as a pair of lines of code. So, go pick a directory on your system and do something like the following. Then go into the file in which you wrote this processing with rclerk and got to record 1 and press "T". then: end @keyT if: '@keyT test opendir() then: n(4,.0)=opendir("*","/tmp") then: xx(4,.0)=listbox(@dirlist_filename,"1",n) then: exit FilePro is actually pretty quick and nifty at such things. John Esak {1} Oh yeah... I said I would tell you how to deal with the "." and the ".." if you ever have the need. Here is a little loop that writes every filename in a directory to an array that gets put on the screen... But it eliminates the "." and "..". then: dim my_array["5000"; a(4,.0)="1"; b(4,.0)="1" then: n(4,.0)=opendir("*","/tmp" loop if: a gt @dirlist["0"] then: xx(4,.0)=listbox(my_array,"1",b - "1"); exit if: @dirlist_filename[a] { "x" eq "." { "x" or @dirlist_filename[a] { "x" eq ".." { "x" then: a=a + "1"; goto loop then: my_array[b]=@dirlist_filename[a]; a=a + "1"; b=b + "1"; goto loop This simply skips the two unwanted filenames "." and ".." by incrementing one counter (a) to move through the file list and another counter (b) when we actually fill the array that listhbox() will show on the screen. It will only show the correct number of names in the listbox because we are telling it to stop at the value of b minus one. Which is the number showing how many times we actually filled the my_array array. :-) By the way the compare being used to test the filename against "." and ".." makes use of the thing Nancy described a few days ago of squishing some character against the test values so that for example, things like ".profile" and ".ssh" won't match ".". She said she uses a "~" or "|" I think... I have always just used an "x". Any character will do, since it does the job no matter what it is. I hope you have fun with all this. Truly, I would never have to write another word if people picked up the Survivor Series movies. They go step by step from knowing NO filePro and NO programming to a point where you could easily call yourself an EXPERT filePro programmer... But, you don't actually have to do the step by step thing... Although I heartily suggest it... You can just type in whatever you want at the Search index, and watch the movies as you need them. They have always been a pretty much money back guarantee, and I have never had anyone ask yet. One caveat only... EVERYTHING in filePro except none of the HTML command, ODBC or SOCKETS. Otherwise "it's in there" through ADVANCED/EXPERT level. www.valar.com/survivor_series/choice.htm From boaz at mirrotek.com Tue Dec 1 05:33:40 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 01 Dec 2009 08:33:40 -0500 Subject: Filepro-list Digest, Vol 70, Issue 19 In-Reply-To: References: Message-ID: <4B151B34.2000402@mirrotek.com> > > Date: Mon, 30 Nov 2009 22:54:33 -0500 From: Fairlight > Subject: Re: First time using OPENDIR To: > filepro-list at lists.celestial.com Message-ID: > <20091130225433.A13442 at iglou.com> Content-Type: text/plain; > charset=us-ascii You'll never BELIEVE what Kenneth Brody said here...: >> > >> > OPENDIR(mask,directory) >> > >> > For example: >> > >> > xx = opendir("*","/users/kenneth") >> > > What happens if your mask is "" ? (And please don't give me the, "What > happened when you tried it?" answer...you know I don't own a copy, and I'm > not tracking down a client to get authorisation to test it on their system > at 11pm in the evening.) :) > > mark-> > -- Audio panton, cogito singularis, I tried that and didn't get anything. Boaz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091201/e268ed0f/attachment.html From rkreiss at gccconsulting.net Tue Dec 1 07:03:25 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Tue, 1 Dec 2009 10:03:25 -0500 Subject: Cheat sheet for opendir() In-Reply-To: <200912011305.nB1D5ILD063840@admin114.securesites.net> References: <4B148B8E.90000@mirrotek.com> <200912011305.nB1D5ILD063840@admin114.securesites.net> Message-ID: <002e01ca7297$6ec605e0$4c5211a0$@net> Top Post: I wrote something similar to what you showed at the bottom of this email. I needed this routine to allow me to open more than one processing table on my laptop where I had a single user version of FP. The routine lists all of the processing tables in folder/directory and opens it in an editor of choice. The front end is similar to *cabe as it lists all of the files in the filepro directory. This is displayed in a listbox allowing a directory to be selected. Once selected, all of the processing tables are displayed. Select a processing table opens it in an editor using a system call. The only caveat is ABE=ASCII needs to be set. Since this a program which does not do add or look at records, it is run from my library file in *clerk on a blank screen from @entsel. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? > > > > He has this line of code that gave me the answer: > > > ::handle_for_opendir=opendir("*.csv",foldername): > > A little bit better explanation of on this command in the > > documentation > > would help avoid this problem for people in the future. > > > > Boaz > > > Oh my God. I wondered how in the world you could be confused about such a > simple function, so I looked at the doc you get from within *cabe. It is > beyond horrible. > > Let me clarify a couple other things. Consider this a hints list, not a > thorough doc by any means... But at least what should have been there for > you in the real doc. If you want a really, complete, thorough step-by-step > manual about opendir() or *any* filePro function.... Then check by keyword > in the Survivor Series CD's and you will be brought directly to one or more > movies that will immediately play in Windows Media Player. There is > absolutely no need to ever struggle about anything filePro with this set of > hundreds and hundreds of movies... Indexed with thousands and thousands of > keywords at your fingertips. Okay, ad over, good hints start here... > > First, if you rely on the example in the code that helped you (shown above), > you may continue to be a little confused about opendir(). When you first > asked if there was a system maintained variable that holds the number of > files found by opendir() I knew that you must have misinterpreted the > docs... (Then I saw how horrid the doc on this function was ... And well... > It doesn't even state it at all clearly, so there was nothing to > misinterpret.) The syntax is this: > > n=opendir(wildcard-mask,directory-path) > > Now, the fellow (or gal) who wrote the code that helped you is misleading > himself or herself) the variable on the left side of the function is not a > handle. It is a "return value". It holds the number of files found by > opendir() with the wildcard-mask in that directory. So, don't think of it > as a handle but as the return value of the function itself. The more useful > list of files found by opendir() when it is encountered is thrown into a > series of system maintained arrays, @dirlist[], @dirlist_name[], > @dirlist_filename[] and @dirlist_ext[]. > > Here comes some of the hinty things. If you ask for *every* file in a > directory, opendir() will always find at least two (2) files. You will not > usually find n to be equal to zero even in an empty directory. That is > because there are always two files in any folder represented by "." and > "..". The dot is a file which stands for the current directory and the dot > dot is a file that stands for the parent directory. ([1] - I'll put some > very useful info at the end of the note about these.) > > Assuming the name of a file is "junk.2", and it is the only file in a > directory called "/tmp/test". The program encounters > > then: n=opendir("*","/tmp/test") > > The variable n will be filled with "3", and those system maintained arrays > will be filled with: > > @dirlist_filenam["3"] will equal "junk.2" > > @dirlist_name["3"] will equal "junk" > > @dirlist_ext["3"] will equal "2" > > > @dirlist["3"] will hold the long list of data which used to be found by > using nextdir() .... You can look nextdir() up if you want... But it is an > archaic and essentially obsolete/useless function now since the @dirlist[] > array already holds all the same data without having to retrieve it one > element at a time which is what nexdir() used to do (still does, but only > for backward compat....) If you want some of the data that is in the > @dirlist[] array, simply access it by the right element number and you can > parse out the piece you want with MID(). The nextdir() doc describes this > character by character.) Here is how it looks along the line. > > @dirlist["3"] will equal "junk > 2 2 12/01/2009 00:45:25a junk.2" > > > Look closely at the first three @dirlist_ arrays, the ones you will be using > most. Note that the @dirlist_ext does not include the ".". Note that the > @dirlist_filename value is the full filename and that the @dirlist_name > value is only the name *without* any extension. Both are useful for > different requirements. > > > VERY IMPORTANT NOTE > > IN *all* versions of filePro, all platforms there was a bug in opendir() up > until 5.6.7 and above. It was a rare occurrence but if you had more than > 1,000 files in a directory, the return value was truncated from the left to > only 3 digits. So, if you had 2913 files in a directory, the value would be > returned as 913. Even if the return_value variable has an edit big enough, > say (8,.0), it would still only be set equal to 913. My suggestion is to > get the very latest version as soon as you can... Because there are lots of > other fixes and enhancements, but in the meantime, there is a very easy > work-around. Instead of using the return value as reported by your variable > on the left side of the opendir(), just use @dirlist["0"]. It also holds > the number of files found by the opendir(), but it is not truncated and > always correct. > > > The search key... The wildcard... Maybe even an exact file you wish to > find.... > > First, a little about the wildcard_mask you will see in the filePro docs on > opendir(). FilePro will help you get all the filePro formats of a filePro > file with a few shortcuts. These are essentially factory provided > wildcards. They are: > > PRC_MASK TOK_MASK SCR_MASK IDX_MASK > BRW_MASK OUT_MASK SEL_MASK > > My bet is you will probably never use these. If you do however need to get > all the screens in a file or all the processing tables, etc., these are > ready made. > Be sure to put quotes around them.... > > n=opendir("scr_mask","test") > > This will get you all the screens in the filePro file called "test" in the > current filePro directory. > > IMPORTANT: The return value, nor the @dirlist arrays will contain the "." > and ".." files in this case? Why? Because you are not asking for *every* > file in the directory as was being done with "*" as the wildcard. > > > The same is going to be true about almost any wildcard you specify except > "*".. If you limit a search with a prefix or a suffix as in: > > n=opendir("Jan.*","/tmp/fred" or n=opendir("*.Jan","/tmp/fred" > > You will find files like: > > Jan.120109 and 120109.jan > > You are only going to retrieve files which match that criteria. The dot and > dot dot files don't ever match such a search. > > > > > You can most profitably use expressions as the search criteria. > > n=opendir(aa,"/tmp/fred") or n=opendir(i_need_this,"/tmp/fred") > > Which assumes that you have previously filled the dummy variable aa with > your correct search criteria, or the same with the declared variable > i_need_this. > > IMPORTANT: Remember, if you want to find *every* occurrence of an > expression > whether it falls at the end of a name or the beginning, you have to use the > "*" in ate appropriate place. For example: > > n=opendir("*" { aa,"/tmp/fred") or n=opendir(i_need_this { > "*","/tmp/fred") > > And all variations of such. > > Another important thing to remember is the directory being searched is also > an expression, so it can be any kind of variable rather than a literal in > quotes. > > n=opendir("*",aa) > > And, of course, you have filled aa with a good directory path before this > opendir(). > > All right, one more really IMPORTANT hint. (the kind of thing that should be > in a doc... Not as a hint, but as a piece of information that is EXTREMELY > important.) > > Boaz asked how you use opendir() on a different directory. He experimented > with chdir() and some other things I bet. It is also not very clear in the > docs, but you can only use opendir() one time... And it stays active with > all the @dirlist arrays for that particular directory... UNTIL.... You issue > a closedir() command. Then, and only then can you use opendir() again with > a different directory. You can use it as many times as you like, even in > elaborate loops in quick succession, but you MUST encounter that closedir() > before you hit the opendir line again. And, remember that opendir is a > function with a return value also... It has to be used as: > > n=closedir() > > You never put anything in between the parens... It just closes the last > occurrence of opendir(). And this is very important *and* useful... An > opendir() does not have to be in effect to use closedir(). It will just do > nothing and not complain if there is no previous opendir() to close. > > Okay, that's enough to get you using one of the most powerful filePro > functions. > > In case you want to try opendir() and do it quickly and harmlessly and > really see how cool it is in about 1 minute of code writing.... Here you go. > > Usually what is done with the information opendir() gives you is this. The > return value is set as the highest number in a loop. The loop lets you step > through each file doing whatever you want with it. When you get to that > highest value, you end the loop because there are no more files to process. > > > But, in fact, you of course don't have to do any processing on each and > every file... You do whatever it is you need. Heck, you may want to simply > display all the files in a directory so the user can "pick" one... Then you > process that one in the way you need. This can be as simple as a pair of > lines of code. So, go pick a directory on your system and do something like > the following. Then go into the file in which you wrote this processing > with rclerk and got to record 1 and press "T". > > > then: end > @keyT if: '@keyT test opendir() > then: n(4,.0)=opendir("*","/tmp") > then: xx(4,.0)=listbox(@dirlist_filename,"1",n) > then: exit > > > FilePro is actually pretty quick and nifty at such things. > > John Esak > > {1} Oh yeah... I said I would tell you how to deal with the "." and the ".." > if you ever have the need. Here is a little loop that writes every filename > in a directory to an array that gets put on the screen... But it eliminates > the "." and "..". > > > then: dim my_array["5000"; a(4,.0)="1"; b(4,.0)="1" > then: n(4,.0)=opendir("*","/tmp" > loop if: a gt @dirlist["0"] > then: xx(4,.0)=listbox(my_array,"1",b - "1"); exit > if: @dirlist_filename[a] { "x" eq "." { "x" or > @dirlist_filename[a] { "x" eq ".." { "x" > then: a=a + "1"; goto loop > then: my_array[b]=@dirlist_filename[a]; a=a + "1"; b=b + "1"; > goto loop > > > This simply skips the two unwanted filenames "." and ".." by incrementing > one counter (a) to move through the file list and another counter (b) when > we actually fill the array that listhbox() will show on the screen. It will > only show the correct number of names in the listbox because we are telling > it to stop at the value of b minus one. Which is the number showing how > many times we actually filled the my_array array. :-) > > By the way the compare being used to test the filename against "." and ".." > makes use of the thing Nancy described a few days ago of squishing some > character against the test values so that for example, things like > ".profile" and ".ssh" won't match ".". She said she uses a "~" or "|" I > think... I have always just used an "x". Any character will do, since it > does the job no matter what it is. > > I hope you have fun with all this. Truly, I would never have to write > another word if people picked up the Survivor Series movies. They go step > by step from knowing NO filePro and NO programming to a point where you > could easily call yourself an EXPERT filePro programmer... But, you don't > actually have to do the step by step thing... Although I heartily suggest > it... You can just type in whatever you want at the Search index, and watch > the movies as you need them. They have always been a pretty much money > back > guarantee, and I have never had anyone ask yet. > > One caveat only... EVERYTHING in filePro except none of the HTML command, > ODBC or SOCKETS. Otherwise "it's in there" through ADVANCED/EXPERT > level. > > www.valar.com/survivor_series/choice.htm > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list From john at valar.com Tue Dec 1 07:19:13 2009 From: john at valar.com (John Esak) Date: Tue, 1 Dec 2009 10:19:13 -0500 Subject: Cheat sheet for opendir() In-Reply-To: <002e01ca7297$6ec605e0$4c5211a0$@net> Message-ID: <200912011518.nB1FI8qT018823@admin114.securesites.net> Very cool, Richard, Lots of people like editing in a regular editor, and you actually get around the silly licensing restriction as well with your idea. By silly, I mean that I think as many copies of a development filePro program as desired should be allowed to be opened simultaneously on any one machine. Whatever could be the logical/business reasoning behind limiting this? Would the owners actually be afraid too many people would be developing filePro apps at the same time? :-) Sounds like the more the merrier to me... The program has already been paid for... And I fall back on my old comparison to Word... Can you just imagine if Microsoft had started out their design strategy saying you could only open one document at a time? :-) Oh well, that is water over a very long ago bridge... Now, it hardly matters, but still, it would be so nice if a a single user development copy would let you work as we all do with lots of things open at once. Maybe in the final, final 6.0 version... Or okay, 5.6.9? :-) John > -----Original Message----- > From: Richard Kreiss [mailto:rkreiss at gccconsulting.net] > Sent: Tuesday, December 01, 2009 10:03 AM > To: john at valar.com; filepro-list at lists.celestial.com > Subject: RE: Cheat sheet for opendir() > > Top Post: > > I wrote something similar to what you showed at the bottom of > this email. > > I needed this routine to allow me to open more than one > processing table on > my laptop where I had a single user version of FP. > > The routine lists all of the processing tables in > folder/directory and opens > it in an editor of choice. > > The front end is similar to *cabe as it lists all of the files in the > filepro directory. This is displayed in a listbox allowing a > directory to > be selected. Once selected, all of the processing tables are > displayed. > Select a processing table opens it in an editor using a system call. > > The only caveat is ABE=ASCII needs to be set. > > Since this a program which does not do add or look at > records, it is run > from my library file in *clerk on a blank screen from @entsel. > > > Richard Kreiss > GCC Consulting > rkreiss at gccconsulting.net > ? > > > > > > > > > He has this line of code that gave me the answer: > > > > ::handle_for_opendir=opendir("*.csv",foldername): > > > A little bit better explanation of on this command in the > > > documentation > > > would help avoid this problem for people in the future. > > > > > > Boaz > > > > > > Oh my God. I wondered how in the world you could be > confused about such a > > simple function, so I looked at the doc you get from within > *cabe. It is > > beyond horrible. > > > > Let me clarify a couple other things. Consider this a hints > list, not a > > thorough doc by any means... But at least what should have > been there for > > you in the real doc. If you want a really, complete, thorough > step-by-step > > manual about opendir() or *any* filePro function.... Then > check by keyword > > in the Survivor Series CD's and you will be brought > directly to one or > more > > movies that will immediately play in Windows Media Player. There is > > absolutely no need to ever struggle about anything filePro > with this set > of > > hundreds and hundreds of movies... Indexed with thousands > and thousands of > > keywords at your fingertips. Okay, ad over, good hints > start here... > > > > First, if you rely on the example in the code that helped you (shown > above), > > you may continue to be a little confused about opendir(). > When you first > > asked if there was a system maintained variable that holds > the number of > > files found by opendir() I knew that you must have > misinterpreted the > > docs... (Then I saw how horrid the doc on this function was ... And > well... > > It doesn't even state it at all clearly, so there was nothing to > > misinterpret.) The syntax is this: > > > > n=opendir(wildcard-mask,directory-path) > > > > Now, the fellow (or gal) who wrote the code that helped you > is misleading > > himself or herself) the variable on the left side of the > function is not a > > handle. It is a "return value". It holds the number of > files found by > > opendir() with the wildcard-mask in that directory. So, > don't think of it > > as a handle but as the return value of the function itself. > The more > useful > > list of files found by opendir() when it is encountered is > thrown into a > > series of system maintained arrays, @dirlist[], @dirlist_name[], > > @dirlist_filename[] and @dirlist_ext[]. > > > > Here comes some of the hinty things. If you ask for > *every* file in a > > directory, opendir() will always find at least two (2) > files. You will > not > > usually find n to be equal to zero even in an empty > directory. That is > > because there are always two files in any folder > represented by "." and > > "..". The dot is a file which stands for the current > directory and the > dot > > dot is a file that stands for the parent directory. ([1] - > I'll put some > > very useful info at the end of the note about these.) > > > > Assuming the name of a file is "junk.2", and it is the > only file in a > > directory called "/tmp/test". The program encounters > > > > then: n=opendir("*","/tmp/test") > > > > The variable n will be filled with "3", and those system > maintained arrays > > will be filled with: > > > > @dirlist_filenam["3"] will equal "junk.2" > > > > @dirlist_name["3"] will equal "junk" > > > > @dirlist_ext["3"] will equal "2" > > > > > > @dirlist["3"] will hold the long list of data which used to > be found by > > using nextdir() .... You can look nextdir() up if you > want... But it is an > > archaic and essentially obsolete/useless function now since > the @dirlist[] > > array already holds all the same data without having to > retrieve it one > > element at a time which is what nexdir() used to do (still > does, but only > > for backward compat....) If you want some of the data that is in the > > @dirlist[] array, simply access it by the right element > number and you can > > parse out the piece you want with MID(). The nextdir() doc > describes this > > character by character.) Here is how it looks along the line. > > > > @dirlist["3"] will equal "junk > > 2 2 12/01/2009 00:45:25a junk.2" > > > > > > Look closely at the first three @dirlist_ arrays, the ones > you will be > using > > most. Note that the @dirlist_ext does not include the ".". > Note that the > > @dirlist_filename value is the full filename and that the > @dirlist_name > > value is only the name *without* any extension. Both are useful for > > different requirements. > > > > > > VERY IMPORTANT NOTE > > > > IN *all* versions of filePro, all platforms there was a bug > in opendir() > up > > until 5.6.7 and above. It was a rare occurrence but if you > had more than > > 1,000 files in a directory, the return value was truncated > from the left > to > > only 3 digits. So, if you had 2913 files in a directory, > the value would > be > > returned as 913. Even if the return_value variable has an edit big > enough, > > say (8,.0), it would still only be set equal to 913. My > suggestion is to > > get the very latest version as soon as you can... Because > there are lots > of > > other fixes and enhancements, but in the meantime, there is > a very easy > > work-around. Instead of using the return value as reported by your > variable > > on the left side of the opendir(), just use @dirlist["0"]. > It also holds > > the number of files found by the opendir(), but it is not > truncated and > > always correct. > > > > > > The search key... The wildcard... Maybe even an exact file > you wish to > > find.... > > > > First, a little about the wildcard_mask you will see in the > filePro docs > on > > opendir(). FilePro will help you get all the filePro > formats of a filePro > > file with a few shortcuts. These are essentially factory provided > > wildcards. They are: > > > > PRC_MASK TOK_MASK SCR_MASK IDX_MASK > > BRW_MASK OUT_MASK SEL_MASK > > > > My bet is you will probably never use these. If you do > however need to get > > all the screens in a file or all the processing tables, > etc., these are > > ready made. > > Be sure to put quotes around them.... > > > > n=opendir("scr_mask","test") > > > > This will get you all the screens in the filePro file > called "test" in the > > current filePro directory. > > > > IMPORTANT: The return value, nor the @dirlist arrays will > contain the "." > > and ".." files in this case? Why? Because you are not > asking for *every* > > file in the directory as was being done with "*" as the wildcard. > > > > > > The same is going to be true about almost any wildcard you > specify except > > "*".. If you limit a search with a prefix or a suffix as in: > > > > n=opendir("Jan.*","/tmp/fred" or n=opendir("*.Jan","/tmp/fred" > > > > You will find files like: > > > > Jan.120109 and 120109.jan > > > > You are only going to retrieve files which match that > criteria. The dot > and > > dot dot files don't ever match such a search. > > > > > > > > > > You can most profitably use expressions as the search criteria. > > > > n=opendir(aa,"/tmp/fred") or > n=opendir(i_need_this,"/tmp/fred") > > > > Which assumes that you have previously filled the dummy > variable aa with > > your correct search criteria, or the same with the declared variable > > i_need_this. > > > > IMPORTANT: Remember, if you want to find *every* occurrence of an > > expression > > whether it falls at the end of a name or the beginning, you > have to use > the > > "*" in ate appropriate place. For example: > > > > n=opendir("*" { aa,"/tmp/fred") or n=opendir(i_need_this { > > "*","/tmp/fred") > > > > And all variations of such. > > > > Another important thing to remember is the directory being > searched is > also > > an expression, so it can be any kind of variable rather > than a literal in > > quotes. > > > > n=opendir("*",aa) > > > > And, of course, you have filled aa with a good directory > path before this > > opendir(). > > > > All right, one more really IMPORTANT hint. (the kind of > thing that should > be > > in a doc... Not as a hint, but as a piece of information > that is EXTREMELY > > important.) > > > > Boaz asked how you use opendir() on a different directory. > He experimented > > with chdir() and some other things I bet. It is also not > very clear in the > > docs, but you can only use opendir() one time... And it > stays active with > > all the @dirlist arrays for that particular directory... > UNTIL.... You > issue > > a closedir() command. Then, and only then can you use > opendir() again > with > > a different directory. You can use it as many times as you > like, even in > > elaborate loops in quick succession, but you MUST encounter that > closedir() > > before you hit the opendir line again. And, remember that > opendir is a > > function with a return value also... It has to be used as: > > > > n=closedir() > > > > You never put anything in between the parens... It just > closes the last > > occurrence of opendir(). And this is very important *and* > useful... An > > opendir() does not have to be in effect to use closedir(). > It will just > do > > nothing and not complain if there is no previous opendir() to close. > > > > Okay, that's enough to get you using one of the most > powerful filePro > > functions. > > > > In case you want to try opendir() and do it quickly and > harmlessly and > > really see how cool it is in about 1 minute of code > writing.... Here you > go. > > > > Usually what is done with the information opendir() gives > you is this. > The > > return value is set as the highest number in a loop. The > loop lets you > step > > through each file doing whatever you want with it. When you > get to that > > highest value, you end the loop because there are no more files to > process. > > > > > > But, in fact, you of course don't have to do any processing > on each and > > every file... You do whatever it is you need. Heck, you may > want to simply > > display all the files in a directory so the user can "pick" > one... Then > you > > process that one in the way you need. This can be as > simple as a pair of > > lines of code. So, go pick a directory on your system and > do something > like > > the following. Then go into the file in which you wrote > this processing > > with rclerk and got to record 1 and press "T". > > > > > > then: end > > @keyT if: '@keyT test opendir() > > then: n(4,.0)=opendir("*","/tmp") > > then: xx(4,.0)=listbox(@dirlist_filename,"1",n) > > then: exit > > > > > > FilePro is actually pretty quick and nifty at such things. > > > > John Esak > > > > {1} Oh yeah... I said I would tell you how to deal with the > "." and the > ".." > > if you ever have the need. Here is a little loop that writes every > filename > > in a directory to an array that gets put on the screen... But it > eliminates > > the "." and "..". > > > > > > then: dim my_array["5000"; a(4,.0)="1"; b(4,.0)="1" > > then: n(4,.0)=opendir("*","/tmp" > > loop if: a gt @dirlist["0"] > > then: xx(4,.0)=listbox(my_array,"1",b - "1"); exit > > if: @dirlist_filename[a] { "x" eq "." { "x" or > > @dirlist_filename[a] { "x" eq ".." { "x" > > then: a=a + "1"; goto loop > > then: my_array[b]=@dirlist_filename[a]; a=a + "1"; b=b + "1"; > > goto loop > > > > > > This simply skips the two unwanted filenames "." and ".." > by incrementing > > one counter (a) to move through the file list and another > counter (b) when > > we actually fill the array that listhbox() will show on the > screen. It > will > > only show the correct number of names in the listbox because we are > telling > > it to stop at the value of b minus one. Which is the > number showing how > > many times we actually filled the my_array array. :-) > > > > By the way the compare being used to test the filename > against "." and > ".." > > makes use of the thing Nancy described a few days ago of > squishing some > > character against the test values so that for example, things like > > ".profile" and ".ssh" won't match ".". She said she uses a > "~" or "|" I > > think... I have always just used an "x". Any character will > do, since it > > does the job no matter what it is. > > > > I hope you have fun with all this. Truly, I would never > have to write > > another word if people picked up the Survivor Series > movies. They go step > > by step from knowing NO filePro and NO programming to a > point where you > > could easily call yourself an EXPERT filePro programmer... > But, you don't > > actually have to do the step by step thing... Although I > heartily suggest > > it... You can just type in whatever you want at the Search > index, and > watch > > the movies as you need them. They have always been a > pretty much money > > back > > guarantee, and I have never had anyone ask yet. > > > > One caveat only... EVERYTHING in filePro except none of the > HTML command, > > ODBC or SOCKETS. Otherwise "it's in there" through ADVANCED/EXPERT > > level. > > > > www.valar.com/survivor_series/choice.htm > > > > > > > > _______________________________________________ > > Filepro-list mailing list > > Filepro-list at lists.celestial.com > > http://mailman.celestial.com/mailman/listinfo/filepro-list > From kenbrody at spamcop.net Tue Dec 1 07:19:25 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 01 Dec 2009 10:19:25 -0500 Subject: Cheat sheet for opendir() In-Reply-To: <200912011305.nB1D5ILD063840@admin114.securesites.net> References: <200912011305.nB1D5ILD063840@admin114.securesites.net> Message-ID: <4B1533FD.6020400@spamcop.net> John Esak wrote: [...] > Here comes some of the hinty things. If you ask for *every* file in a > directory, opendir() will always find at least two (2) files. You will not > usually find n to be equal to zero even in an empty directory. That is > because there are always two files in any folder represented by "." and > "..". [...] Thanks for the informative post. However, I have one nit to pick. On Windows filesystems, there are no "." and ".." entries in the root directory. -- Kenneth Brody From kenbrody at spamcop.net Tue Dec 1 07:23:00 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 01 Dec 2009 10:23:00 -0500 Subject: First time using OPENDIR In-Reply-To: <20091130225433.A13442@iglou.com> References: <4B1455D8.1030808@mirrotek.com> <4B145956.2080804@mirrotek.com> <4B14813B.7030100@spamcop.net> <4B14852B.7060001@mirrotek.com> <4B14917B.1040509@spamcop.net> <20091130225433.A13442@iglou.com> Message-ID: <4B1534D4.8040209@spamcop.net> Fairlight wrote: > You'll never BELIEVE what Kenneth Brody said here...: >> OPENDIR(mask,directory) >> >> For example: >> >> xx = opendir("*","/users/kenneth") > > What happens if your mask is "" ? What happened when you tried it? :-) > (And please don't give me the, "What > happened when you tried it?" answer...you know I don't own a copy, and I'm > not tracking down a client to get authorisation to test it on their system > at 11pm in the evening.) :) I believe that you will get no filenames returned, though I haven't actually tried it. Other posters have said that they did try it and got nothing. -- Kenneth Brody From john at valar.com Tue Dec 1 07:28:15 2009 From: john at valar.com (John Esak) Date: Tue, 1 Dec 2009 10:28:15 -0500 Subject: Cheat sheet for opendir() In-Reply-To: <4B1533FD.6020400@spamcop.net> Message-ID: <200912011527.nB1FR9A2022725@admin114.securesites.net> Ahh, good picking... It just shows how you can fool yourself with bad testing. Before I posted that, I tested on both Unix and Windows. On Unix I used a directory called /tmp/test which I made for the purpose of the test. Then, Windows I made a directory called c:\test and ran the same opendir(), it of course returned "." and "..". Never thought about opening a root folder. Thanks. John > -----Original Message----- > From: Kenneth Brody [mailto:kenbrody at spamcop.net] > Sent: Tuesday, December 01, 2009 10:19 AM > To: john at valar.com > Cc: filepro-list at lists.celestial.com > Subject: Re: Cheat sheet for opendir() > > John Esak wrote: > [...] > > Here comes some of the hinty things. If you ask for > *every* file in a > > directory, opendir() will always find at least two (2) > files. You will not > > usually find n to be equal to zero even in an empty > directory. That is > > because there are always two files in any folder > represented by "." and > > "..". > [...] > > Thanks for the informative post. However, I have one nit to > pick. On > Windows filesystems, there are no "." and ".." entries in the > root directory. > > -- > Kenneth Brody > From nlp at vss3.com Tue Dec 1 07:34:32 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Tue, 01 Dec 2009 10:34:32 -0500 Subject: First time using OPENDIR In-Reply-To: <4B1534D4.8040209@spamcop.net> References: <4B1455D8.1030808@mirrotek.com> <4B145956.2080804@mirrotek.com> <4B14813B.7030100@spamcop.net> <4B14852B.7060001@mirrotek.com> <4B14917B.1040509@spamcop.net> <20091130225433.A13442@iglou.com> <4B1534D4.8040209@spamcop.net> Message-ID: <4B153788.1050404@vss3.com> Kenneth Brody wrote: > Fairlight wrote: > >> You'll never BELIEVE what Kenneth Brody said here...: >> >>> OPENDIR(mask,directory) >>> >>> For example: >>> >>> xx = opendir("*","/users/kenneth") >>> >> What happens if your mask is "" ? >> > > What happened when you tried it? :-) > > >> (And please don't give me the, "What >> happened when you tried it?" answer...you know I don't own a copy, and I'm >> not tracking down a client to get authorisation to test it on their system >> at 11pm in the evening.) :) >> > > I believe that you will get no filenames returned, though I haven't actually > tried it. Other posters have said that they did try it and got nothing. > > Ken, I have tried: opendir("PRJ*.*", "/folder") and with two * I will get nothing, but if I do the following: opendir("PRJ*.14","/folder") it will find any files that match. This is strange, I thought. Boaz --- Also, be careful to closedir() if you want to open another folder. If you try to open before you close, it will not do it. It has no way to handle two open folders. 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 doug.luurs at gmail.com Tue Dec 1 07:40:56 2009 From: doug.luurs at gmail.com (Doug Luurs) Date: Tue, 1 Dec 2009 10:40:56 -0500 Subject: Printing a html file Message-ID: (Linux Based FP 5.6) We have a standalone piece of hardware that creates html documents, and places them onto a Network drive. I?d like to figure out a way to print them out based on a filepro process. Anyone every take a html file (with JPG images) and try to print it to a (hplaser) printer Without having to load each html, hit PRINT and then OK. This process will can easily generate Over a 100 pages of data per shipment. Thanks From nlp at vss3.com Tue Dec 1 07:50:23 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Tue, 01 Dec 2009 10:50:23 -0500 Subject: Cheat sheet for opendir() In-Reply-To: <4B1533FD.6020400@spamcop.net> References: <200912011305.nB1D5ILD063840@admin114.securesites.net> <4B1533FD.6020400@spamcop.net> Message-ID: <4B153B3F.4000107@vss3.com> John mentioned that he did not see the point to the built in mask options, so here is my observation. I think it would be good to state that the built in masks for screen names, output names and process names, would be useful when writing code that might be used on Unix or Windows platforms. Since filePro will adjust the names properly and you will not have to do that. Just a small note to the wonderful information supplied by John. 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 john at chrismanncomputer.com Tue Dec 1 08:36:18 2009 From: john at chrismanncomputer.com (John Sica) Date: Tue, 01 Dec 2009 09:36:18 -0700 Subject: Printing a html file In-Reply-To: References: Message-ID: <4B154602.8070408@chrismanncomputer.com> Doug, Although someone might have a solution that wouldn't involve any conversion, if you don't mind the conversion merry-go-round, here's an idea or two for you. I think the gs command is a part of Ghostscript. This command has been in place a couple of years and seems to work in our environment. It emails in batch the invoice pdf files (using pcl2pdf) which filepro creates. The only problem in your case is that it prints pdf documents instead of html documents. It converts the pdf ( I suspect it would convert many other formats as well) to a pcl file that then sends it to the laserjet. I know it seems like a lot of work considering you could have filepro print it's output to a pcl file, but these files have been already converted to a pdf document that contain images(logos graphics etc.) I think htmldoc might work to convert an htlm file to a pdf. This creates the PCL file /bin/gs -sDEVICE=ljet4 -q -dNOPAUSE -dSAFER -sOutputFile=1190-inv.pcl 1190-inv.pdf -c quit This prints it cat 1190-inv.pcl | netcat -d -hhslaser -p9100 Hope this helps John Doug Luurs wrote: > (Linux Based FP 5.6) > > We have a standalone piece of hardware that creates html documents, > and places them onto a > Network drive. I?d like to figure out a way to print them out based > on a filepro process. > > Anyone every take a html file (with JPG images) and try to print it > to a (hplaser) printer > Without having to load each html, hit PRINT and then OK. This > process will can easily generate > Over a 100 pages of data per shipment. > > Thanks > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > From rkreiss at verizon.net Tue Dec 1 09:01:15 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Tue, 01 Dec 2009 12:01:15 -0500 Subject: Cheat sheet for opendir() In-Reply-To: <200912011527.nB1FR9A2022725@admin114.securesites.net> References: <4B1533FD.6020400@spamcop.net> <200912011527.nB1FR9A2022725@admin114.securesites.net> Message-ID: <003b01ca72a7$e5376c40$afa644c0$@net> > -----Original Message----- > From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro- > list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of John Esak > Sent: Tuesday, December 01, 2009 10:28 AM > To: filepro-list at lists.celestial.com > Subject: RE: Cheat sheet for opendir() > > Ahh, good picking... It just shows how you can fool yourself with bad > testing. Before I posted that, I tested on both Unix and Windows. On Unix I > used a directory called /tmp/test which I made for the purpose of the test. > Then, Windows I made a directory called c:\test and ran the same opendir(), > it of course returned "." and "..". Never thought about opening a root > folder. Thanks. > > John > > > -----Original Message----- > > From: Kenneth Brody [mailto:kenbrody at spamcop.net] > > Sent: Tuesday, December 01, 2009 10:19 AM > > To: john at valar.com > > Cc: filepro-list at lists.celestial.com > > Subject: Re: Cheat sheet for opendir() > > > > John Esak wrote: > > [...] > > > Here comes some of the hinty things. If you ask for > > *every* file in a > > > directory, opendir() will always find at least two (2) > > files. You will not > > > usually find n to be equal to zero even in an empty > > directory. That is > > > because there are always two files in any folder > > represented by "." and > > > "..". > > [...] > > > > Thanks for the informative post. However, I have one nit to > > pick. On > > Windows filesystems, there are no "." and ".." entries in the > > root directory. > > > > -- > > Kenneth Brody As far as I am concerned, it is a bad practice to place a file or files one wants to use in the root directory. At no time do I want my users(clients) to have access to a root directory, even through a program. This can lead to a disaster either unintentional or intentional. Richard From bruce at stn.com Tue Dec 1 09:10:23 2009 From: bruce at stn.com (Bruce Easton) Date: Tue, 1 Dec 2009 12:10:23 -0500 Subject: freechain for Linux Message-ID: I recently received the error: -bash: /appl/fp/lib/freechain.org: cannot execute binary file when I tried running freechain on a file on two different Linux systems with filePro 5.0.14. (The first time I received the error, filePro itself had tried to run the freechain program when I tried to add a record after I had cleared the key, data and lockfile via ddir.) I noticed that on one of our newer Linux systems, the size of freechain was noticeably larger: -rwsr-xr-x 1 filepro group 521884 Oct 14 2004 freechain verses (the problem one): -rwsr-xr-x 1 filepro group 257360 Nov 30 2009 freechain.org [I mistakenly used just cp to copy the file, so I lost the original date on this file. But I'm guessing it must have been prior to the date for the one noted below.] I also have another Linux site where the freechain program size is 395228 - Mar 22 2001. Replacing the smaller program with the newer larger program gets rid of the error and allows adding records into the file. Finally to my question. Does anyone have a quick way to actually test that freechain is working OK? I can easily test adding, deleting and then adding new records, but I guess I'n wondering if someone knows a way to easily 'break' a file to put it in the condition where it would be obvious before and after a run of freechain that things were 'wrong' and then 'right'. My concern is that, even though I am no longer getting an error message, and because I've now been playing fPSorcerer with these freechain programs, that when filePro does run freechain on its own, that it may not be properly doing what it was intended to do. I searched through my forum email and also looked at fptech's online manual and I don't see any history of this type of error or a major update for the freechain program during 5.0.14 - but maybe I missed something. Bruce Bruce Easton STN, Inc. From fairlite at fairlite.com Tue Dec 1 09:13:32 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 1 Dec 2009 12:13:32 -0500 Subject: First time using OPENDIR In-Reply-To: <4B153788.1050404@vss3.com>; from nlp@vss3.com on Tue, Dec 01, 2009 at 10:34:32AM -0500 References: <4B1455D8.1030808@mirrotek.com> <4B145956.2080804@mirrotek.com> <4B14813B.7030100@spamcop.net> <4B14852B.7060001@mirrotek.com> <4B14917B.1040509@spamcop.net> <20091130225433.A13442@iglou.com> <4B1534D4.8040209@spamcop.net> <4B153788.1050404@vss3.com> Message-ID: <20091201121332.A3514@iglou.com> Simon--er, no...it was Nancy Palmquist--said: > > Boaz --- > > Also, be careful to closedir() if you want to open another folder. If > you try to open before you close, it will not do it. It has no way to > handle two open folders. And use closedir, not close by mistake. Thar's a bad mistake in any language. mark-> -- Audio panton, cogito singularis, From kenbrody at spamcop.net Tue Dec 1 09:15:30 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Tue, 01 Dec 2009 12:15:30 -0500 Subject: Cheat sheet for opendir() In-Reply-To: <003b01ca72a7$e5376c40$afa644c0$@net> References: <4B1533FD.6020400@spamcop.net> <200912011527.nB1FR9A2022725@admin114.securesites.net> <003b01ca72a7$e5376c40$afa644c0$@net> Message-ID: <4B154F32.5050601@spamcop.net> Richard Kreiss wrote: [... Windows doesn't have "." and ".." in the root directory ...] > As far as I am concerned, it is a bad practice to place a file or files one > wants to use in the root directory. At no time do I want my users(clients) > to have access to a root directory, even through a program. This can lead > to a disaster either unintentional or intentional. Note that Vista and Windows 7 (which, BTW, is Windows version 6.1) don't allow files to be created in the root directory. Even admin accounts can't do it. Only if you run a program with raised privileges can you create (or even edit, AFAICT) files in the root directory. -- Kenneth Brody From boaz at mirrotek.com Tue Dec 1 09:19:42 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 01 Dec 2009 12:19:42 -0500 Subject: Filepro-list Digest, Vol 71, Issue 2 In-Reply-To: References: Message-ID: <4B15502E.7040009@mirrotek.com> > Date: Tue, 1 Dec 2009 08:06:23 -0500 > From: "John Esak" > Subject: Cheat sheet for opendir() > To: > Message-ID: <200912011305.nB1D5ILD063840 at admin114.securesites.net> > Content-Type: text/plain; charset="us-ascii" > > >> He has this line of code that gave me the answer: >> >>> ::handle_for_opendir=opendir("*.csv",foldername): >>> >> A little bit better explanation of on this command in the >> documentation >> would help avoid this problem for people in the future. >> >> Boaz >> > > > Oh my God. I wondered how in the world you could be confused about such a > simple function, so I looked at the doc you get from within *cabe. It is > beyond horrible. > > Let me clarify a couple other things. Consider this a hints list, not a > thorough doc by any means... But at least what should have been there for > you in the real doc. If you want a really, complete, thorough step-by-step > manual about opendir() or *any* filePro function.... Then check by keyword > in the Survivor Series CD's and you will be brought directly to one or more > movies that will immediately play in Windows Media Player. There is > absolutely no need to ever struggle about anything filePro with this set of > hundreds and hundreds of movies... Indexed with thousands and thousands of > keywords at your fingertips. Okay, ad over, good hints start here... > > As usual, John, you hit the nail on the head and supply tons of useful information. I did not go to the Survivor Series simply because I hadn't thought of them as a resource and, in any case, I don't have them at home which is where I was working that night. I'll have to look into setting them up on my server as an available resource. Still, I would've expected most of this information in the documentation. I was able to glean the information on the @DIRLIST from having remembered someone mention something a few months ago about OPENDIR using an array and eventually pulled the information together from elsewhere, I still wouldn't have known everything that was in your post. If someone at FP is paying attention they would save a lot of trouble simply cutting and pasting that post and putting it in the docs under the OPENDIR heading together with a link to this from all the other applicable commands including CHDIR. I'm still amazed at how well Ken has been able to keep FilePro so relevant and capable to this day. Aside from the sexiness or real estate that a windows-based system would provide the only other thing lacking to keep FP relevant is a way to integrate it with a web page that is just as easy as the rest of the application development. Boaz From rkreiss at verizon.net Tue Dec 1 09:29:05 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Tue, 01 Dec 2009 12:29:05 -0500 Subject: Cheat sheet for opendir() In-Reply-To: <4B154F32.5050601@spamcop.net> References: <4B1533FD.6020400@spamcop.net> <200912011527.nB1FR9A2022725@admin114.securesites.net> <003b01ca72a7$e5376c40$afa644c0$@net> <4B154F32.5050601@spamcop.net> Message-ID: <003f01ca72ab$c8e93060$5abb9120$@net> > -----Original Message----- > From: Kenneth Brody [mailto:kenbrody at spamcop.net] > Sent: Tuesday, December 01, 2009 12:16 PM > To: Richard Kreiss > Cc: filepro-list at lists.celestial.com > Subject: Re: Cheat sheet for opendir() > > Richard Kreiss wrote: > [... Windows doesn't have "." and ".." in the root directory ...] > > As far as I am concerned, it is a bad practice to place a file or files one > > wants to use in the root directory. At no time do I want my users(clients) > > to have access to a root directory, even through a program. This can lead > > to a disaster either unintentional or intentional. > > Note that Vista and Windows 7 (which, BTW, is Windows version 6.1) don't > allow files to be created in the root directory. Even admin accounts can't > do it. Only if you run a program with raised privileges can you create (or > even edit, AFAICT) files in the root directory. > > -- > Kenneth Brody Ken, Already aware of this. For the first time, filepro on windows needs to be installed in a similar manner as on *nix. However, if one installs filepro in the root directory under \appl and then maps \appl as a drive letter F, then dir f:\ would list fp and filepro as this is now the "root" directory. I do know that Windows Server 2008 doesn't treat a mapped "root" directory as it does the c:\ directory. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From fairlite at fairlite.com Tue Dec 1 11:05:31 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 1 Dec 2009 14:05:31 -0500 Subject: Filepro-list Digest, Vol 71, Issue 2 In-Reply-To: <4B15502E.7040009@mirrotek.com>; from boaz@mirrotek.com on Tue, Dec 01, 2009 at 12:19:42PM -0500 References: <4B15502E.7040009@mirrotek.com> Message-ID: <20091201140531.A8336@iglou.com> On Tue, Dec 01, 2009 at 12:19:42PM -0500, after drawing runes in goat's blood, Boaz Bezborodko cast forth these immortal, mystical words: > > I'm still amazed at how well Ken has been able to keep FilePro so > relevant and capable to this day. Aside from the sexiness or real > estate that a windows-based system would provide the only other thing > lacking to keep FP relevant is a way to integrate it with a web page > that is just as easy as the rest of the application development. Check into STN's offering, fPageBuilder. mark-> -- Audio panton, cogito singularis, From doug at borisch.com Tue Dec 1 10:00:37 2009 From: doug at borisch.com (Doug Luurs) Date: Tue, 1 Dec 2009 13:00:37 -0500 Subject: Printing a html file In-Reply-To: <4B154602.8070408@chrismanncomputer.com> References: <4B154602.8070408@chrismanncomputer.com> Message-ID: <7FD9E40A40547A4DA8FFFE464EE817771349AAE3AC@bmc0003.borisch.local> -----Original Message----- From: filepro-list-bounces+doug.luurs=gmail.com at lists.celestial.com [mailto:filepro-list-bounces+doug.luurs=gmail.com at lists.celestial.com] On Behalf Of John Sica Sent: Tuesday, December 01, 2009 11:36 AM To: filePro Subject: Re: Printing a html file Doug, Although someone might have a solution that wouldn't involve any conversion, if you don't mind the conversion merry-go-round, here's an idea or two for you. I think the gs command is a part of Ghostscript. This command has been in place a couple of years and seems to work in our environment. It emails in batch the invoice pdf files (using pcl2pdf) which filepro creates. The only problem in your case is that it prints pdf documents instead of html documents. It converts the pdf ( I suspect it would convert many other formats as well) to a pcl file that then sends it to the laserjet. I know it seems like a lot of work considering you could have filepro print it's output to a pcl file, but these files have been already converted to a pdf document that contain images(logos graphics etc.) I think htmldoc might work to convert an htlm file to a pdf. This creates the PCL file /bin/gs -sDEVICE=ljet4 -q -dNOPAUSE -dSAFER -sOutputFile=1190-inv.pcl 1190-inv.pdf -c quit This prints it cat 1190-inv.pcl | netcat -d -hhslaser -p9100 Hope this helps John Doug Luurs wrote: > (Linux Based FP 5.6) > > We have a standalone piece of hardware that creates html documents, > and places them onto a > Network drive. I'd like to figure out a way to print them out based > on a filepro process. > > Anyone every take a html file (with JPG images) and try to print it > to a (hplaser) printer > Without having to load each html, hit PRINT and then OK. This > process will can easily generate > Over a 100 pages of data per shipment. > > Thanks > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > The document is html to start. Filepro isn't actually creating the documents, just printing them based On the serial # tracking system I am working on. We do use ghostscript for printing to PDF. Works great. -- 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/20091201/a18154f5/attachment.html From john at valar.com Tue Dec 1 13:53:15 2009 From: john at valar.com (John Esak) Date: Tue, 1 Dec 2009 16:53:15 -0500 Subject: Filepro-list Digest, Vol 71, Issue 2 In-Reply-To: <4B15502E.7040009@mirrotek.com> Message-ID: <200912012152.nB1LqA1W092004@admin114.securesites.net> Thanks ... And they are welcome to anything I ever write here or anywhere. But, I would just add that it is Ken "and Ron" who keep things going so well.... John P.S. - Some others as well of course... But these two are the programming brains. > -----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, December 01, 2009 12:20 PM > To: filepro-list at lists.celestial.com > Subject: Re: Filepro-list Digest, Vol 71, Issue 2 > > > > > > Date: Tue, 1 Dec 2009 08:06:23 -0500 > > From: "John Esak" > > Subject: Cheat sheet for opendir() > > To: > > Message-ID: <200912011305.nB1D5ILD063840 at admin114.securesites.net> > > Content-Type: text/plain; charset="us-ascii" > > > > > >> He has this line of code that gave me the answer: > >> > >>> ::handle_for_opendir=opendir("*.csv",foldername): > >>> > >> A little bit better explanation of on this command in the > >> documentation > >> would help avoid this problem for people in the future. > >> > >> Boaz > >> > > > > > > Oh my God. I wondered how in the world you could be > confused about such a > > simple function, so I looked at the doc you get from within > *cabe. It is > > beyond horrible. > > > > Let me clarify a couple other things. Consider this a hints > list, not a > > thorough doc by any means... But at least what should have > been there for > > you in the real doc. If you want a really, complete, > thorough step-by-step > > manual about opendir() or *any* filePro function.... Then > check by keyword > > in the Survivor Series CD's and you will be brought > directly to one or more > > movies that will immediately play in Windows Media Player. There is > > absolutely no need to ever struggle about anything filePro > with this set of > > hundreds and hundreds of movies... Indexed with thousands > and thousands of > > keywords at your fingertips. Okay, ad over, good hints > start here... > > > > > As usual, John, you hit the nail on the head and supply tons > of useful > information. > > I did not go to the Survivor Series simply because I hadn't > thought of > them as a resource and, in any case, I don't have them at > home which is > where I was working that night. I'll have to look into > setting them up > on my server as an available resource. > > Still, I would've expected most of this information in the > documentation. I was able to glean the information on the > @DIRLIST from > having remembered someone mention something a few months ago about > OPENDIR using an array and eventually pulled the information together > from elsewhere, I still wouldn't have known everything that > was in your > post. > > If someone at FP is paying attention they would save a lot of trouble > simply cutting and pasting that post and putting it in the docs under > the OPENDIR heading together with a link to this from all the other > applicable commands including CHDIR. > > I'm still amazed at how well Ken has been able to keep FilePro so > relevant and capable to this day. Aside from the sexiness or real > estate that a windows-based system would provide the only other thing > lacking to keep FP relevant is a way to integrate it with a web page > that is just as easy as the rest of the application development. > > Boaz > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From hemmerjohn at hotmail.com Tue Dec 1 20:39:50 2009 From: hemmerjohn at hotmail.com (John Hemmer) Date: Tue, 1 Dec 2009 23:39:50 -0500 Subject: Problem with startup menu on filePro Windows version 5.0 In-Reply-To: <4B151B34.2000402@mirrotek.com> References: <4B151B34.2000402@mirrotek.com> Message-ID: I was playing with adjusting the size of the Windows Startup Menu and I some how change the screen to take up the whole screen so that I can no longer use the mouse to control the size of placement of the filePro window on my screen or to change the screen parameters. I have search through the manual but I cannot find the file or setting that control window size. Thanks in advance for any suggestions. John Hemmer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091201/2c8afe20/attachment.html From kenbrody at spamcop.net Wed Dec 2 07:17:52 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Wed, 02 Dec 2009 10:17:52 -0500 Subject: Problem with startup menu on filePro Windows version 5.0 In-Reply-To: References: <4B151B34.2000402@mirrotek.com> Message-ID: <4B168520.7050700@spamcop.net> John Hemmer wrote: > I was playing with adjusting the size of the Windows Startup Menu and I some how change the screen to take up the whole screen so that I can no longer use the mouse to control the size of placement of the filePro window on my screen or to change the screen parameters. I have search through the manual but I cannot find the file or setting that control window size. Thanks in advance for any suggestions. My guess is you changed the properties from "windowed" to "full screen". Press Alt+Enter to switch back to windowed mode. -- Kenneth Brody From hemmerjohn at hotmail.com Wed Dec 2 07:51:34 2009 From: hemmerjohn at hotmail.com (John Hemmer) Date: Wed, 2 Dec 2009 10:51:34 -0500 Subject: Problem with startup menu on filePro Windows version 5.0 In-Reply-To: <4B168520.7050700@spamcop.net> References: <4B151B34.2000402@mirrotek.com> <4B168520.7050700@spamcop.net> Message-ID: Thanks Ken. That worked! John -------------------------------------------------- From: "Kenneth Brody" Sent: Wednesday, December 02, 2009 10:17 AM To: "John Hemmer" Cc: Subject: Re: Problem with startup menu on filePro Windows version 5.0 > John Hemmer wrote: >> I was playing with adjusting the size of the Windows Startup Menu and I >> some how change the screen to take up the whole screen so that I can no >> longer use the mouse to control the size of placement of the filePro >> window on my screen or to change the screen parameters. I have search >> through the manual but I cannot find the file or setting that control >> window size. Thanks in advance for any suggestions. > > My guess is you changed the properties from "windowed" to "full screen". > Press Alt+Enter to switch back to windowed mode. > > -- > Kenneth Brody > From nlp at vss3.com Wed Dec 2 08:25:52 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Wed, 02 Dec 2009 11:25:52 -0500 Subject: Generating Output Count Message-ID: <4B169510.7090607@vss3.com> Guys, I am wondering how I got this result. I am watching a report process. The screen displays something like: Records Selected: 29953 Generating Output: 21900 And all of a sudden, I get the message that is activated by @done processing and the report ends. It has happened twice now, and I had to start again. Counts are different but Generating Output is no where near zero. The processing is archiving data and everything looks exactly right until it stops. If I select the same records again (at least the ones that did not archive on the earlier pass) it processes the remaining records exactly as it should. I could understand if it threw an error or something, but everything looks perfect. Anyone else seen behavior like this and has some idea what might be going on?. BTW: Windows Server 2003, 5.0 filepro. 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 rkreiss at verizon.net Wed Dec 2 08:32:01 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Wed, 02 Dec 2009 11:32:01 -0500 Subject: Problem with startup menu on filePro Windows version 5.0 In-Reply-To: References: <4B151B34.2000402@mirrotek.com> Message-ID: <006701ca736c$fa5754d0$ef05fe70$@net> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of John Hemmer Sent: Tuesday, December 01, 2009 11:40 PM To: filepro-list at lists.celestial.com Subject: Problem with startup menu on filePro Windows version 5.0 I was playing with adjusting the size of the Windows Startup Menu and I some how change the screen to take up the whole screen so that I can no longer use the mouse to control the size of placement of the filePro window on my screen or to change the screen parameters. I have search through the manual but I cannot find the file or setting that control window size. Thanks in advance for any suggestions. John Hemmer John, Press when in filePro. This will return the full screen to a window. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091202/c387ea03/attachment.html From bruce at stn.com Wed Dec 2 12:00:20 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 2 Dec 2009 15:00:20 -0500 Subject: Generating Output Count In-Reply-To: <4B169510.7090607@vss3.com> References: <4B169510.7090607@vss3.com> Message-ID: Nancy Palmquist wrote Wednesday, December 02, 2009 11:26 AM: > > Guys, > > I am wondering how I got this result. > > I am watching a report process. The screen displays something like: > > Records Selected: 29953 > > Generating Output: 21900 > > And all of a sudden, I get the message that is activated by > @done processing and the report ends. > > It has happened twice now, and I had to start again. Counts > are different but Generating Output is no where near zero. > > The processing is archiving data and everything looks exactly > right until it stops. If I select the same records again (at > least the ones that did not archive on the earlier pass) it > processes the remaining records exactly as it should. > > I could understand if it threw an error or something, but > everything looks perfect. > > Anyone else seen behavior like this and has some idea what > might be going on?. > > BTW: Windows Server 2003, 5.0 filepro. > > Nancy > Nancy, I'm assuming that since you say archiving that this process is deleting records (after archival)? Not that that should be a problem, but I'm just curious about how much is involved in that one step. Even for a simple report that didn't post or delete, my first instinct would be to say that something jumps unexpectedly to @done or a label after @done where it encounters an exit--maybe even conditional on data. But you say two runs against the same data behave differently-- so that makes me think it's something else. Are you archiving to qualified file of the file you're running out of? There's that weird thing in Windows fp about one qualifiers lock having potential of making other locks look bad. But I would think you would get some kind of error msg if that was the problem. Also, does the screen go blank for quite a bit when it bombs out? I've seen where the process is actually finishing on windows fp, but the screen just won't show a good bit of the last part of the count down. Bruce Bruce Easton STN, Inc. From nlp at vss3.com Wed Dec 2 14:09:38 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Wed, 02 Dec 2009 17:09:38 -0500 Subject: Generating Output Count In-Reply-To: References: <4B169510.7090607@vss3.com> Message-ID: <4B16E5A2.20600@vss3.com> Bruce Easton wrote: > Nancy Palmquist wrote Wednesday, December 02, 2009 11:26 AM: > >> Guys, >> >> I am wondering how I got this result. >> >> I am watching a report process. The screen displays something like: >> >> Records Selected: 29953 >> >> Generating Output: 21900 >> >> And all of a sudden, I get the message that is activated by >> @done processing and the report ends. >> >> It has happened twice now, and I had to start again. Counts >> are different but Generating Output is no where near zero. >> >> The processing is archiving data and everything looks exactly >> right until it stops. If I select the same records again (at >> least the ones that did not archive on the earlier pass) it >> processes the remaining records exactly as it should. >> >> I could understand if it threw an error or something, but >> everything looks perfect. >> >> Anyone else seen behavior like this and has some idea what >> might be going on?. >> >> BTW: Windows Server 2003, 5.0 filepro. >> >> Nancy >> >> > > Nancy, I'm assuming that since you say archiving that > this process is deleting records (after archival)? Not that > that should be a problem, but I'm just curious about how > much is involved in that one step. > You are correct, I am taking records out of driver/key and putting them in driver/key07 or some other qualifier. This is associated with an order and it depends on where the order was archived. Most every record was archived to 07 because I selected records created in 07 and stuff usually happens really fast with orders. I check the live order data, if it is there, nothing happens, the record is not archived. I check 07, if it is there (and it was all but 300 times out of 21,000 records)it gets moved and ends or I check 08, and 09 and if it is not in any file, I move it to keybad. These are orders that might have been deleted or cleared out for some reason. Simple logic really, I have done it many times. This logic has been generalized and I copy it to all the support files that have this same connection. > Even for a simple report that didn't post or delete, my > first instinct would be to say that something jumps > unexpectedly to @done or a label after @done where it > encounters an exit--maybe even conditional on data. But > you say two runs against the same data behave differently-- > so that makes me think it's something else. > This is not possible. There is no exit. Only one END and it would just move to the next record. There are only three lines in the @DONE @DONE msgbox "Finished moving XXXXX records" end That is about it, so there is nothing to jump into. > Are you archiving to qualified file of the file you're > running out of? There's that weird thing in Windows fp > about one qualifiers lock having potential of making > other locks look bad. But I would think you would get > some kind of error msg if that was the problem. > > Yes I archive to qualifiers. > Also, does the screen go blank for quite a bit when > it bombs out? I've seen where the process is actually > finishing on windows fp, but the screen just won't > show a good bit of the last part of the count down. > > Screen looked perfect. It was just displaying the @done message, and the screen still showed that there was a large number in the Generating Output count. It should have been 0. I selected a 2 week part of the month I tried in the first crash, and it ran to 0 as it should. I kind of watched it, out of the corner of my eye to see if it hit that done message. Worked great. Thanks for the comments. I got nothing else. And it seems I can not duplicate it on command. I am not going to tweak the programming any more and need to run it a few more times. The archiving is slow on this file and I can not have something running too long. So I will do it by subsets until I get 2007 done. Nancy > Bruce > > Bruce Easton > STN, Inc. > > > _______________________________________________ > 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091202/feede697/attachment-0001.html From kenbrody at spamcop.net Wed Dec 2 14:20:06 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Wed, 02 Dec 2009 17:20:06 -0500 Subject: Generating Output Count In-Reply-To: <4B16E5A2.20600@vss3.com> References: <4B169510.7090607@vss3.com> <4B16E5A2.20600@vss3.com> Message-ID: <4B16E816.3050407@spamcop.net> Nancy Palmquist wrote: > Bruce Easton wrote: >> Nancy Palmquist wrote Wednesday, December 02, 2009 11:26 AM: >> >>> Guys, >>> >>> I am wondering how I got this result. >>> >>> I am watching a report process. The screen displays something like: >>> >>> Records Selected: 29953 >>> >>> Generating Output: 21900 >>> >>> And all of a sudden, I get the message that is activated by @done >>> processing and the report ends. [...] >>> BTW: Windows Server 2003, 5.0 filepro. [...] > There is no exit. Only one END and it would just > move to the next record. > There are only three lines in the @DONE > @DONE msgbox "Finished moving XXXXX records" > end > > That is about it, so there is nothing to jump into. Other than the obvious "can the code above @DONE fall into @DONE" question, I would start by including @RS, @TS, and @RP in the @DONE message. Of particular interest is what @RP shows as the number of records processed. [...] > Screen looked perfect. It was just displaying the @done message, and > the screen still showed that there was a large number in the Generating > Output count. It should have been 0. Am I correct in assuming that pressing Enter caused *report to exit? (ie: it really was done.) [...] -- Kenneth Brody From nlp at vss3.com Thu Dec 3 07:18:34 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Thu, 03 Dec 2009 10:18:34 -0500 Subject: Generating Output Count In-Reply-To: <4B16E816.3050407@spamcop.net> References: <4B169510.7090607@vss3.com> <4B16E5A2.20600@vss3.com> <4B16E816.3050407@spamcop.net> Message-ID: <4B17D6CA.9080702@vss3.com> Kenneth Brody wrote: > Nancy Palmquist wrote: >> Bruce Easton wrote: >>> Nancy Palmquist wrote Wednesday, December 02, 2009 11:26 AM: >>> >>>> Guys, >>>> >>>> I am wondering how I got this result. >>>> >>>> I am watching a report process. The screen displays something like: >>>> >>>> Records Selected: 29953 >>>> >>>> Generating Output: 21900 >>>> >>>> And all of a sudden, I get the message that is activated by @done >>>> processing and the report ends. > [...] >>>> BTW: Windows Server 2003, 5.0 filepro. > [...] >> There is no exit. Only one END and it would just move to the next >> record. >> There are only three lines in the @DONE >> @DONE msgbox "Finished moving XXXXX records" >> end >> >> That is about it, so there is nothing to jump into. > > Other than the obvious "can the code above @DONE fall into @DONE" > question, I would start by including @RS, @TS, and @RP in the @DONE > message. Of particular interest is what @RP shows as the number of > records processed. > > [...] >> Screen looked perfect. It was just displaying the @done message, and >> the screen still showed that there was a large number in the >> Generating Output count. It should have been 0. > > Am I correct in assuming that pressing Enter caused *report to exit? > (ie: it really was done.) > > [...] > You are correct in assuming it did exit as it should when I pressed ENTER. I ran the process again, selected the same range of records and it processed to zero. I had the weird thing happen twice yesterday, however. Now I just tried to run two, files at the same time, and they both tried to write to rp{00000 (for an temp index) The first one I started crashed saying the index was invalid. The second one went merrily along. I cleared all the lost rp* and st* files in the temp folder, started it again and it seems to be happy. There were a number (40 or so) of lost files in the temp folder. 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 GSimon at americanriverintl.com Thu Dec 3 08:21:37 2009 From: GSimon at americanriverintl.com (George Simon) Date: Thu, 3 Dec 2009 11:21:37 -0500 Subject: Generating Output Count In-Reply-To: <4B16E816.3050407@spamcop.net> References: <4B169510.7090607@vss3.com> <4B16E5A2.20600@vss3.com> <4B16E816.3050407@spamcop.net> Message-ID: I've had the same problem at one customer. Also running Windows Server 2003 and filePro 5.0.14. This program, (part of a vertical application) generates monthly statements. It is running perfectly in many other locations, most of them also running Windows Server 2003. The program would select the correct amount of records and then exit without warning before finishing. It did not always happen at the same record count. Sometimes it would only print a couple of the selected records and exit. Other times it would print 90% and then exit. I tried to solve the problem for many months, even going to the customer's site and running the statements myself to make sure everything was being done properly, but I was never able to figure out what was causing it to exit without warning. It made the running of the monthly statements a nightmare. So bad in fact that the customer, after running my software for over 10 years, gave up and moved to something else. I could not blame him one bit as I would have done the same thing. One thing I did notice was that when I sent the output to a file, instead of the printer, the problem did not occur as often but it would still occur. -----Original Message----- From: Kenneth Brody [mailto:kenbrody at spamcop.net] Sent: Wednesday, December 02, 2009 5:20 PM To: Nancy Palmquist Cc: filepro-list at lists.celestial.com Subject: Re: Generating Output Count Nancy Palmquist wrote: > Bruce Easton wrote: >> Nancy Palmquist wrote Wednesday, December 02, 2009 11:26 AM: >> >>> Guys, >>> >>> I am wondering how I got this result. >>> >>> I am watching a report process. The screen displays something like: >>> >>> Records Selected: 29953 >>> >>> Generating Output: 21900 >>> >>> And all of a sudden, I get the message that is activated by @done >>> processing and the report ends. [...] >>> BTW: Windows Server 2003, 5.0 filepro. [...] > There is no exit. Only one END and it would just > move to the next record. > There are only three lines in the @DONE > @DONE msgbox "Finished moving XXXXX records" > end > > That is about it, so there is nothing to jump into. Other than the obvious "can the code above @DONE fall into @DONE" question, I would start by including @RS, @TS, and @RP in the @DONE message. Of particular interest is what @RP shows as the number of records processed. [...] > Screen looked perfect. It was just displaying the @done message, and > the screen still showed that there was a large number in the Generating > Output count. It should have been 0. Am I correct in assuming that pressing Enter caused *report to exit? (ie: it really was done.) [...] -- Kenneth Brody From nlp at vss3.com Thu Dec 3 08:42:30 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Thu, 03 Dec 2009 11:42:30 -0500 Subject: Generating Output Count In-Reply-To: References: <4B169510.7090607@vss3.com> <4B16E5A2.20600@vss3.com> <4B16E816.3050407@spamcop.net> Message-ID: <4B17EA76.50909@vss3.com> George Simon wrote: > I've had the same problem at one customer. Also running Windows Server 2003 and filePro 5.0.14. > This program, (part of a vertical application) generates monthly statements. It is running perfectly in many other locations, most of them also running Windows Server 2003. The program would select the correct amount of records and then exit without warning before finishing. It did not always happen at the same record count. Sometimes it would only print a couple of the selected records and exit. Other times it would print 90% and then exit. I tried to solve the problem for many months, even going to the customer's site and running the statements myself to make sure everything was being done properly, but I was never able to figure out what was causing it to exit without warning. It made the running of the monthly statements a nightmare. So bad in fact that the customer, after running my software for over 10 years, gave up and moved to something else. I could not blame him one bit as I would have done the same thing. > One thing I did notice was that when I sent the output to a file, instead of the printer, the problem did not occur as often but it would still occur. > George, I have run the process 10 times today, and no failure or strangeness at all. Except one. I had 1 occurrence crash and say the rp{00000 was invalid. When I started a second occurrence that was running on a different file. I looked in the temp folder and it looked to me like the second occurrence used the same rp{00000 file to write its index, and that messed up the other report. Have repeated many times today, and no other issue. I did clear out the temp folder, so maybe it hit the last character it can put in the rp name or something and repeated. I can only guess. 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 GSimon at americanriverintl.com Thu Dec 3 08:50:59 2009 From: GSimon at americanriverintl.com (George Simon) Date: Thu, 3 Dec 2009 11:50:59 -0500 Subject: Generating Output Count In-Reply-To: <4B17EA76.50909@vss3.com> References: <4B169510.7090607@vss3.com> <4B16E5A2.20600@vss3.com> <4B16E816.3050407@spamcop.net> <4B17EA76.50909@vss3.com> Message-ID: Like I said, I have the same program running in many other locations without a problem. That leads me to believe it is not a filePro problem. All I know is that I was never able to get it to work at that particular location, although it had also run there without a problem for many years. Something changed, but I don't know what. -----Original Message----- From: Nancy Palmquist [mailto:nlp at vss3.com] Sent: Thursday, December 03, 2009 11:43 AM To: George Simon Cc: Kenneth Brody; filepro-list at lists.celestial.com Subject: Re: Generating Output Count George Simon wrote: > I've had the same problem at one customer. Also running Windows Server 2003 and filePro 5.0.14. > This program, (part of a vertical application) generates monthly statements. It is running perfectly in many other locations, most of them also running Windows Server 2003. The program would select the correct amount of records and then exit without warning before finishing. It did not always happen at the same record count. Sometimes it would only print a couple of the selected records and exit. Other times it would print 90% and then exit. I tried to solve the problem for many months, even going to the customer's site and running the statements myself to make sure everything was being done properly, but I was never able to figure out what was causing it to exit without warning. It made the running of the monthly statements a nightmare. So bad in fact that the customer, after running my software for over 10 years, gave up and moved to something else. I could not blame him one bit as I would have done the same thing. > One thing I did notice was that when I sent the output to a file, instead of the printer, the problem did not occur as often but it would still occur. > George, I have run the process 10 times today, and no failure or strangeness at all. Except one. I had 1 occurrence crash and say the rp{00000 was invalid. When I started a second occurrence that was running on a different file. I looked in the temp folder and it looked to me like the second occurrence used the same rp{00000 file to write its index, and that messed up the other report. Have repeated many times today, and no other issue. I did clear out the temp folder, so maybe it hit the last character it can put in the rp name or something and repeated. I can only guess. 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 GSimon at americanriverintl.com Thu Dec 3 08:54:55 2009 From: GSimon at americanriverintl.com (George Simon) Date: Thu, 3 Dec 2009 11:54:55 -0500 Subject: Generating Output Count In-Reply-To: <4B17EA76.50909@vss3.com> References: <4B169510.7090607@vss3.com> <4B16E5A2.20600@vss3.com> <4B16E816.3050407@spamcop.net> <4B17EA76.50909@vss3.com> Message-ID: I neglected to mention that I also moved all the customer's data to my computer and was able to run the statements from there without any errors, 100% of the time. Maybe is a combination of things. One thing is for sure, it did not happen just to you. Also, the only other 2 things in common are filePro and Windows Server 2003. -----Original Message----- From: Nancy Palmquist [mailto:nlp at vss3.com] Sent: Thursday, December 03, 2009 11:43 AM To: George Simon Cc: Kenneth Brody; filepro-list at lists.celestial.com Subject: Re: Generating Output Count George Simon wrote: > I've had the same problem at one customer. Also running Windows Server 2003 and filePro 5.0.14. > This program, (part of a vertical application) generates monthly statements. It is running perfectly in many other locations, most of them also running Windows Server 2003. The program would select the correct amount of records and then exit without warning before finishing. It did not always happen at the same record count. Sometimes it would only print a couple of the selected records and exit. Other times it would print 90% and then exit. I tried to solve the problem for many months, even going to the customer's site and running the statements myself to make sure everything was being done properly, but I was never able to figure out what was causing it to exit without warning. It made the running of the monthly statements a nightmare. So bad in fact that the customer, after running my software for over 10 years, gave up and moved to something else. I could not blame him one bit as I would have done the same thing. > One thing I did notice was that when I sent the output to a file, instead of the printer, the problem did not occur as often but it would still occur. > George, I have run the process 10 times today, and no failure or strangeness at all. Except one. I had 1 occurrence crash and say the rp{00000 was invalid. When I started a second occurrence that was running on a different file. I looked in the temp folder and it looked to me like the second occurrence used the same rp{00000 file to write its index, and that messed up the other report. Have repeated many times today, and no other issue. I did clear out the temp folder, so maybe it hit the last character it can put in the rp name or something and repeated. I can only guess. 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 frank7767 at aol.com Thu Dec 3 11:57:08 2009 From: frank7767 at aol.com (frank7767 at aol.com) Date: Thu, 03 Dec 2009 14:57:08 -0500 Subject: Qualifiers Message-ID: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> I am in adding 5 qualifiers to an existing Filepro system....The process of adding them is very tedious. is there a way to add these qualifiers to all the filepro files via a script or any other way? Regards Frank Gemeinhardt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091203/26d19c11/attachment.html From john at valar.com Thu Dec 3 12:06:48 2009 From: john at valar.com (John Esak) Date: Thu, 3 Dec 2009 15:06:48 -0500 Subject: Qualifiers In-Reply-To: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> Message-ID: <200912032005.nB3K5f0B088094@admin114.securesites.net> I have written both Unix and Windows filePro programs to do this... but I just looked in the place where they should be and they weren't... :-( I'll look again soon. Maybe someone else will post something, but you should mention which platform. You do know that if the file you are adding qualifiers to, has all the proper indexes, and you add the qualifier through the ddefine method, it will make all the keys/datas/indexes for you... so it really isn't very hard. My programs just did it for a qualifier typed in by a user during another process. What did you mean by "tedious"? 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 frank7767 at aol.com Sent: Thursday, December 03, 2009 2:57 PM To: filepro-list at celestial.com Subject: Qualifiers I am in adding 5 qualifiers to an existing Filepro system....The process of adding them is very tedious. is there a way to add these qualifiers to all the filepro files via a script or any other way? Regards Frank Gemeinhardt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091203/ccc7f75d/attachment-0001.html From yoresoft at sbcglobal.net Thu Dec 3 12:14:25 2009 From: yoresoft at sbcglobal.net (Richard Hane) Date: Thu, 3 Dec 2009 12:14:25 -0800 (PST) Subject: Fw: Qualifiers In-Reply-To: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> Message-ID: <82844.83854.qm@web81407.mail.mud.yahoo.com> ----- Forwarded Message ---- From: Richard Hane To: frank7767 at aol.com Sent: Thu, December 3, 2009 2:13:20 PM Subject: Re: Qualifiers Frank, While I was the IT mgr for an accounting firm, we did all our compilation work in filePro.? Each client was assign a new qualifier. Format "A12". We had to create the qualifier files from 25 files for each qualifier.? What we did was set up a master set using qualifier "zzz".? I created a simple batch file (doqual.bat %1)? %1 = the qualifier code.? Very simple under Windows.? I would expect the same under *nix.? One hint, assuming you are NOT using data files just key files; make sure that your master set's data files have at least 1 byte.? That way they will be copied.? I used xcopy with a /s /e.? If you are on *nix that won't mean a thing. Hope this helped, Rick Hane Controller Deluxe Stitcher Company Inc www.deluxestitcher.com rhane at deluxestitcher.com ? ________________________________ From: "frank7767 at aol.com" To: filepro-list at celestial.com Sent: Thu, December 3, 2009 1:57:08 PM Subject: Qualifiers ?I am in adding 5 qualifiers to an existing Filepro system....The process of adding them is very tedious. is there a way to add these qualifiers to all the filepro files via a script or any other way? Regards Frank Gemeinhardt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091203/5bad821e/attachment.html From appl at jpr.com Thu Dec 3 12:20:38 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Thu, 3 Dec 2009 15:20:38 -0500 Subject: Qualifiers In-Reply-To: <200912032005.nB3K5f0B088094@admin114.securesites.net> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> <200912032005.nB3K5f0B088094@admin114.securesites.net> Message-ID: <20091203202038.GB8343@jpradley.jpr.com> Yes, using ddefine to add a bunch of qualifiers to a filePro database is quickly done by ddefine, but Frank, I think, was staring at several hundred filePro database directories in each of which he wants to add the same five qualifiers. I can see that being rather tedious. But is it scriptable? John Esak propounded (on Thu, Dec 03, 2009 at 03:06:48PM -0500): | I have written both Unix and Windows filePro programs to do this... but I | just looked in the place where they should be and they weren't... :-( I'll | look again soon. Maybe someone else will post something, but you should | mention which platform. You do know that if the file you are adding | qualifiers to, has all the proper indexes, and you add the qualifier through | the ddefine method, it will make all the keys/datas/indexes for you... so it | really isn't very hard. My programs just did it for a qualifier typed in by | a user during another process. | | What did you mean by "tedious"? | | 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 frank7767 at aol.com | Sent: Thursday, December 03, 2009 2:57 PM | To: filepro-list at celestial.com | Subject: Qualifiers | | I am in adding 5 qualifiers to an existing Filepro system....The process of | adding them is very tedious. | is there a way to add these qualifiers to all the filepro files via a script | or any other way? | | Regards | Frank Gemeinhardt -- JP From kenbrody at spamcop.net Thu Dec 3 12:31:57 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 03 Dec 2009 15:31:57 -0500 Subject: Qualifiers In-Reply-To: <20091203202038.GB8343@jpradley.jpr.com> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> <200912032005.nB3K5f0B088094@admin114.securesites.net> <20091203202038.GB8343@jpradley.jpr.com> Message-ID: <4B18203D.8030001@spamcop.net> Jean-Pierre A. Radley wrote: > Yes, using ddefine to add a bunch of qualifiers to a filePro database is > quickly done by ddefine, but Frank, I think, was staring at several > hundred filePro database directories in each of which he wants to add > the same five qualifiers. > > I can see that being rather tedious. But is it scriptable? [...] Pseudo-code (untested): for file in list_of_files do cd $PFDATA$PFDIR/filepro/$file for qual in list_of_qualifiers do create empty key$qual create empty data$qual for ix in A through Z do if index.$ix exists, copy (header of) index.$ix to index$qual.$ix done append "$qual" to qualifiers file chown/chmod key$qual data$qual index$qual.* rebuild all indexes in qualifier done done -- Kenneth Brody From brian at aljex.com Thu Dec 3 14:01:24 2009 From: brian at aljex.com (Brian K. White) Date: Thu, 03 Dec 2009 17:01:24 -0500 Subject: Qualifiers In-Reply-To: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> Message-ID: <4B183534.7090901@aljex.com> frank7767 at aol.com wrote: > I am in adding 5 qualifiers to an existing Filepro system....The > process of adding them is very tedious. > is there a way to add these qualifiers to all the filepro files via a > script or any other way? > > Regards > Frank Gemeinhardt We (and you at least on one box) have a script that copies one qualifier to another, and we use that to create new qualifiers by specifying unqualified as the source qualifier. On our systems nowadays we treat the unqualified dataset as a special case that is mostly empty except for a few things that are meant to be common between all qualifiers. Look on fg1.aljex.com at /u/aljex/bin/cpq I does have a requirement that you have what we call a company start script to provide the initial environment. That tells cpq what directory to work in and what qualifier to copy. If you are doing this on fg1 then you would do this: If the filepro directory you are working in is, say, /u/gempro , first make a company start-script that define the unqualified dataset in /u/gempro In fact, I already had exactly such a system set up for you: /u/aljex/start/gempro: ------------------------------ #!/bin/bash . fpini COMPANY=gempro PFNAME="Gemeinhart Produce System ($TTY)" PFDIR=/u/gempro/appl . fprun ------------------------------ A lot of magic happens in .fpini and .fprun so that this is all you need for most start scripts. For a normal company environment there would be one more line here PFQUAL=something So, for you, if you wanted to create 5 new qualifiers in the gempro system, you would just enter the gempro unqualified system and run 5 cpq commands. gempro cpq aaa cpq bbb cpq ccc cpq ddd cpq eee exit Then, assuming the qualifiers are to be used as datasets for different customers, create 5 matching start-scripts for them. You could copy gempro to 5 new names and then edit them. The new scripts would look like this: /u/aljex/start/aaa: ------------------------------ #!/bin/bash . fpini COMPANY=aaa PFNAME="AAA System ($TTY)" PFQUAL=aaa PFDIR=/u/gempro/appl . fprun ------------------------------ [...] /u/aljex/start/eee: ------------------------------ #!/bin/bash . fpini COMPANY=eee PFNAME="EEE System ($TTY)" PFQUAL=eee PFDIR=/u/gempro/appl . fprun ------------------------------ Then to do work in these systems you run the matching start-script. for instance bbb, or "bbb p" To make a user only ever work in their system you put put the start script and a starting menu in their .profile /home/aaauser1/.profile : [...] exec aaa p main Otherwise feel free to look at what cpq does and make a version that does what you want. It's about what Ken described in his post. Attached is the script for everyone else. Taken out of the context of Aljex boxes, you could get rid of the $COMPANY test line and get the necessary working directory and source qualifier ($DD and $SQ near the top) some other way like ask the user or more cmdline args. This could all be done directly in filepro too, except for chmod/chown I guess, but you could just run setperms as a separate step afterwards to take care of that. In the help wherever it says to run "company cpq ..." Our environment start-scripts are designed to be used two ways. You can run a single command in a given environment by running "company command ..." or you may just run "company" with no args and you are put into a new child shell in that environment. Actually there is a 3rd usage, you can run ". company :" which loads up your current shell with that environment. That's useful in cron jobs and cgi and a few other cases. So it just means either run a compnay start-script in the command in place of the word company, like: gempro cpq aaa or already be in the environment you want to clone, by having run the scrip with no arguments sometime before. That's what my directions above do. gempro # now we are in the gempro environment # which just means that # COMPANY=gempro # PFDATA="" # PFDIR=/u/gempro # PFQUAL="" cpq aaa cpq bbb etc... -- bkw -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cpq Url: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091203/7b079e64/attachment.pl From john at valar.com Thu Dec 3 17:12:25 2009 From: john at valar.com (John Esak) Date: Thu, 3 Dec 2009 20:12:25 -0500 Subject: Qualifiers In-Reply-To: <20091203202038.GB8343@jpradley.jpr.com> Message-ID: <200912040111.nB41BIF0000316@admin114.securesites.net> Actually, I've always written it right in filePro (or years ago in C). Why wouldn't it be scriptable? Probgably very easy with awk, but I think even the Bourne shell could manage it. Oh, yes, come to think of it... In the NEX no, no, the Survivor Series Accounting.... There is a very elaborate add qualifiers program and a remove one as well. However, that is not a free product. In fact, it isn't supported anymore, but I will still sell it. Anyone who *owns* the SS Accounting and is smart enough to cull out the add / delete qualifier scheme and make it a little more generic than it was for the SS package is welcome to do it and post it here.... Just the add/delete qualifier thing.... :-) JP, you are certainly smart enough... But what would be your incentive? 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 Jean-Pierre A. Radley > Sent: Thursday, December 03, 2009 3:21 PM > To: FilePro Mailing List > Subject: Re: Qualifiers > > Yes, using ddefine to add a bunch of qualifiers to a filePro > database is > quickly done by ddefine, but Frank, I think, was staring at several > hundred filePro database directories in each of which he wants to add > the same five qualifiers. > > I can see that being rather tedious. But is it scriptable? > > > John Esak propounded (on Thu, Dec 03, 2009 at 03:06:48PM -0500): > | I have written both Unix and Windows filePro programs to do > this... but I > | just looked in the place where they should be and they > weren't... :-( I'll > | look again soon. Maybe someone else will post something, > but you should > | mention which platform. You do know that if the file you are adding > | qualifiers to, has all the proper indexes, and you add the > qualifier through > | the ddefine method, it will make all the keys/datas/indexes > for you... so it > | really isn't very hard. My programs just did it for a > qualifier typed in by > | a user during another process. > | > | What did you mean by "tedious"? > | > | John > | > | _____ > | 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 frank7767 at aol.com > | Sent: Thursday, December 03, 2009 2:57 PM > | To: filepro-list at celestial.com > | Subject: Qualifiers > | > | I am in adding 5 qualifiers to an existing Filepro > system....The process of > | adding them is very tedious. > | is there a way to add these qualifiers to all the filepro > files via a script > | or any other way? > | > | Regards > | Frank Gemeinhardt > > -- > JP > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From john at valar.com Thu Dec 3 17:18:11 2009 From: john at valar.com (John Esak) Date: Thu, 3 Dec 2009 20:18:11 -0500 Subject: Qualifiers In-Reply-To: <4B18203D.8030001@spamcop.net> Message-ID: <200912040117.nB41H4KV002105@admin114.securesites.net> Yes, that is the idea of course... Very nifty... And to help further, the "getting the header only" part could be done with dd if=ix_file of=ixq_file count=1024 bs=1 Meaning 1024 covers the index header fine and gives you a nice clean new index. Ken's done all the other work. Wow. Now, I want to see it in batch! :-) Which is why I always wrote it in filePro. 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, December 03, 2009 3:32 PM > To: FilePro Mailing List > Subject: Re: Qualifiers > > Jean-Pierre A. Radley wrote: > > Yes, using ddefine to add a bunch of qualifiers to a > filePro database is > > quickly done by ddefine, but Frank, I think, was staring at several > > hundred filePro database directories in each of which he > wants to add > > the same five qualifiers. > > > > I can see that being rather tedious. But is it scriptable? > [...] > > Pseudo-code (untested): > > for file in list_of_files > do > cd $PFDATA$PFDIR/filepro/$file > for qual in list_of_qualifiers > do > create empty key$qual > create empty data$qual > for ix in A through Z > do > if index.$ix exists, copy (header of) index.$ix to > index$qual.$ix > done > append "$qual" to qualifiers file > chown/chmod key$qual data$qual index$qual.* > rebuild all indexes in qualifier > done > done > > -- > Kenneth Brody > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From kenbrody at spamcop.net Thu Dec 3 20:00:57 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 03 Dec 2009 23:00:57 -0500 Subject: Qualifiers In-Reply-To: <200912040117.nB41H4KV002105@admin114.securesites.net> References: <200912040117.nB41H4KV002105@admin114.securesites.net> Message-ID: <4B188979.3020600@spamcop.net> John Esak wrote: > Yes, that is the idea of course... Very nifty... And to help further, the > "getting the header only" part could be done with dd if=ix_file of=ixq_file > count=1024 bs=1 > > Meaning 1024 covers the index header fine and gives you a nice clean new > index. For efficiency's sake, I would use "bs=1024 count=1" instead. Not much difference for a single file, but it adds up if scripting hundreds of indexes. > Ken's done all the other work. Wow. Now, I want to see it in batch! :-) > Which is why I always wrote it in filePro. Current cmd.exe batch processing is actually pretty decent. In particular for this case is the capability of multi-line for and if statements. It might actually be doable in a Windows .bat file. [...] >> Pseudo-code (untested): >> >> for file in list_of_files >> do >> cd $PFDATA$PFDIR/filepro/$file >> for qual in list_of_qualifiers >> do >> create empty key$qual >> create empty data$qual >> for ix in A through Z >> do >> if index.$ix exists, copy (header of) index.$ix to >> index$qual.$ix >> done >> append "$qual" to qualifiers file >> chown/chmod key$qual data$qual index$qual.* >> rebuild all indexes in qualifier >> done >> done -- Kenneth Brody From john at valar.com Thu Dec 3 20:45:28 2009 From: john at valar.com (John Esak) Date: Thu, 3 Dec 2009 23:45:28 -0500 Subject: Qualifiers In-Reply-To: <4B188979.3020600@spamcop.net> Message-ID: <200912040444.nB44iMO1066982@admin114.securesites.net> Of course bs=1024 count=1 is so much better. But, then, I'm forgetting... Didn't you once tell me that 2048 would actually be better for some reason? I know the header all fits in 1024... But I've been using 2048 in all my stuff for a couple years now and I think it was something that happened or something you told me that caused me to change it. Anyway, yes, why count through 1024 or 2048 bytes one at a time... When dd is so flexible. Actually, oeverall, through all the powerful things Unix has provided since time began... I think I like dd the best of all the utilities.... It is just so easy to understand and so useful for so many different things. So now... Let's see, my favorite things... Music, sex, filePro, dd ... Not particularly in that order based on the day and other circumstances? :-) John > -----Original Message----- > From: Kenneth Brody [mailto:kenbrody at spamcop.net] > Sent: Thursday, December 03, 2009 11:01 PM > To: john at valar.com > Cc: 'FilePro Mailing List' > Subject: Re: Qualifiers > > John Esak wrote: > > Yes, that is the idea of course... Very nifty... And to > help further, the > > "getting the header only" part could be done with dd > if=ix_file of=ixq_file > > count=1024 bs=1 > > > > Meaning 1024 covers the index header fine and gives you a > nice clean new > > index. > > For efficiency's sake, I would use "bs=1024 count=1" instead. > Not much > difference for a single file, but it adds up if scripting > hundreds of indexes. > > > Ken's done all the other work. Wow. Now, I want to see it > in batch! :-) > > Which is why I always wrote it in filePro. > > Current cmd.exe batch processing is actually pretty decent. > In particular > for this case is the capability of multi-line for and if statements. > > It might actually be doable in a Windows .bat file. > > [...] > >> Pseudo-code (untested): > >> > >> for file in list_of_files > >> do > >> cd $PFDATA$PFDIR/filepro/$file > >> for qual in list_of_qualifiers > >> do > >> create empty key$qual > >> create empty data$qual > >> for ix in A through Z > >> do > >> if index.$ix exists, copy (header of) index.$ix to > >> index$qual.$ix > >> done > >> append "$qual" to qualifiers file > >> chown/chmod key$qual data$qual index$qual.* > >> rebuild all indexes in qualifier > >> done > >> done > > -- > Kenneth Brody > From nlp at vss3.com Fri Dec 4 07:02:23 2009 From: nlp at vss3.com (Nancy Palmquist) Date: Fri, 04 Dec 2009 10:02:23 -0500 Subject: [!! SPAM] Qualifiers In-Reply-To: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> Message-ID: <4B19247F.4080407@vss3.com> frank7767 at aol.com wrote: > I am in adding 5 qualifiers to an existing Filepro system....The > process of adding them is very tedious. > is there a way to add these qualifiers to all the filepro files via a > script or any other way? > > Regards > Frank Gemeinhardt > > > > Frank, I was writing a confirmation of the other methods and I had a revelation. Hope this helps. If you make one file with the key files and the data files you need, you can copy those to every file - since they are all zero length, you just need the names in each file. In windows you would just paste the same set of key??? and data??? into each file. In Unix, (I just open the folders from my windows side with samba and do the same thing - but that might not work for you. I don't have a great tool but maybe your Unix has a GUI side also.) Then use the Rebuild all Indexes script filepro will make for you for rebuilding all your indexes. All current versions of filepro have one. You can edit the script so you just leave the files you are making. Just run it once for each qualifer to build the indexes. PFQUAL=xxx;export PFQUAL or set PFQUAL=xxx in the environment will cause all the indexes to be run with that qualifier. And you got it. Now if you need some key files to be loaded with data from another qualifier, just do that before the indexes and you got it without too much trouble. -- 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 Fri Dec 4 09:20:02 2009 From: brian at aljex.com (Brian K. White) Date: Fri, 04 Dec 2009 12:20:02 -0500 Subject: Qualifiers In-Reply-To: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> Message-ID: <4B1944C2.9050806@aljex.com> [actually sent yesterday but lets try the right address this time...] frank7767 at aol.com wrote: > I am in adding 5 qualifiers to an existing Filepro system....The > process of adding them is very tedious. > is there a way to add these qualifiers to all the filepro files via a > script or any other way? > > Regards > Frank Gemeinhardt We (and you at least on one box) have a script that copies one qualifier to another, and we use that to create new qualifiers by specifying unqualified as the source qualifier. On our systems nowadays we treat the unqualified dataset as a special case that is mostly empty except for a few things that are meant to be common between all qualifiers. Look on fg1.aljex.com at /u/aljex/bin/cpq I does have a requirement that you have what we call a company start script to provide the initial environment. That tells cpq what directory to work in and what qualifier to copy. If you are doing this on fg1 then you would do this: If the filepro directory you are working in is, say, /u/gempro , first make a company start-script that define the unqualified dataset in /u/gempro In fact, I already had exactly such a system set up for you: /u/aljex/start/gempro: ------------------------------ #!/bin/bash . fpini COMPANY=gempro PFNAME="Gemeinhart Produce System ($TTY)" PFDIR=/u/gempro/appl . fprun ------------------------------ A lot of magic happens in .fpini and .fprun so that this is all you need for most start scripts. For a normal company environment there would be one more line here PFQUAL=something So, for you, if you wanted to create 5 new qualifiers in the gempro system, you would just enter the gempro unqualified system and run 5 cpq commands. gempro cpq aaa cpq bbb cpq ccc cpq ddd cpq eee exit Then, assuming the qualifiers are to be used as datasets for different customers, create 5 matching start-scripts for them. You could copy gempro to 5 new names and then edit them. The new scripts would look like this: /u/aljex/start/aaa: ------------------------------ #!/bin/bash . fpini COMPANY=aaa PFNAME="AAA System ($TTY)" PFQUAL=aaa PFDIR=/u/gempro/appl . fprun ------------------------------ [...] /u/aljex/start/eee: ------------------------------ #!/bin/bash . fpini COMPANY=eee PFNAME="EEE System ($TTY)" PFQUAL=eee PFDIR=/u/gempro/appl . fprun ------------------------------ Then to do work in these systems you run the matching start-script. for instance bbb, or "bbb p" To make a user only ever work in their system you put put the start script and a starting menu in their .profile /home/aaauser1/.profile : [...] exec aaa p main Otherwise feel free to look at what cpq does and make a version that does what you want. It's about what Ken described in his post. Attached is the script for everyone else. Taken out of the context of Aljex boxes, you could get rid of the $COMPANY test line and get the necessary working directory and source qualifier ($DD and $SQ near the top) some other way like ask the user or more cmdline args. This could all be done directly in filepro too, except for chmod/chown I guess, but you could just run setperms as a separate step afterwards to take care of that. In the help wherever it says to run "company cpq ..." Our environment start-scripts are designed to be used two ways. You can run a single command in a given environment by running "company command ..." or you may just run "company" with no args and you are put into a new child shell in that environment. Actually there is a 3rd usage, you can run ". company :" which loads up your current shell with that environment. That's useful in cron jobs and cgi and a few other cases. So it just means either run a compnay start-script in the command in place of the word company, like: gempro cpq aaa or already be in the environment you want to clone, by having run the scrip with no arguments sometime before. That's what my directions above do. gempro # now we are in the gempro environment # which just means that # COMPANY=gempro # PFDATA="" # PFDIR=/u/gempro # PFQUAL="" cpq aaa cpq bbb etc... -- bkw -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cpq Url: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091204/1dfd8ac6/attachment.pl From del at altsystem.com Fri Dec 4 10:59:28 2009 From: del at altsystem.com (Del) Date: Fri, 4 Dec 2009 13:59:28 -0500 Subject: Fw: [!! SPAM] Qualifiers Message-ID: <02c201ca7513$e83b9dd0$0d0201c9@Tiger> I hesitate to answer this because my solution is so hokey. But it works great, and I have been using it for years. My system is based on multiple qualifiers. Since I have hundreds of individual files, it is impossible to create them manually. Basically, we use qualifiers to create new companies. Some of my clients run many companies with many sets of books, inventory, etc. This solution will only work on SCO Unix, as far as I know (maybe other flavors of Unix, but not Windows). I have a copy of an old Microsoft Basic package that I used to write a program to create a new qualifier in all files in the system. (Also wrote one to delete a qualifier). I am more familiar with basic than with Unix scripting, so I have written a number of my utility pgms in Basic. I don't let end users run this. When they want a new company, they call and ask me to create it. The most important part of the strategy is that I have reserved the unqualified file for new qualifier creation only. The unqualified files are loaded with the initial values that you would want to have when you start up a new company. Mostly, this means they are empty, but some have initial startup values (like a chart of accounts, for instance). You have to position yourself in the "filepro" directory where the files are and run the basic program. It asks for the new qualifier code (we call it the company code, four characters long). Once you enter and verify it, the program uses "ls" to create a list of all files in the system. Then it uses the file list to copy the unqualified file to the new qualifier. When finished, you have an exact copy of the unqualified files in the new qualifier. The program finishes by running a unix script to set file permissions on the the qualifier files. Users can start using the new qualifier immediately to customize the data. The basic program is very simple, and I am including a copy at the end of this email (after Nancy's email). If anybody wants the program and a copy of the mbasic interpreter, I will send it free of charge via email attachment. Del Neroni ----- Original Message ----- From: "Nancy Palmquist" To: Cc: Sent: Friday, December 04, 2009 10:02 AM Subject: Re: [!! SPAM] Qualifiers > frank7767 at aol.com wrote: >> I am in adding 5 qualifiers to an existing Filepro system....The >> process of adding them is very tedious. >> is there a way to add these qualifiers to all the filepro files via a >> script or any other way? >> >> Regards >> Frank Gemeinhardt >> >> >> >> > Frank, > > I was writing a confirmation of the other methods and I had a > revelation. Hope this helps. > > If you make one file with the key files and the data files you need, you > can copy those to every file - since they are all zero length, you just > need the names in each file. In windows you would just paste the same > set of key??? and data??? into each file. In Unix, (I just open the > folders from my windows side with samba and do the same thing - but that > might not work for you. I don't have a great tool but maybe your Unix > has a GUI side also.) > > Then use the Rebuild all Indexes script filepro will make for you for > rebuilding all your indexes. All current versions of filepro have one. > You can edit the script so you just leave the files you are making. Just > run it once for each qualifer to build the indexes. PFQUAL=xxx;export > PFQUAL or set PFQUAL=xxx in the environment will cause all the indexes > to be run with that qualifier. > > And you got it. Now if you need some key files to be loaded with data > from another qualifier, just do that before the indexes and you got it > without too much trouble. > > > > > -- > 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 > > 10 GOTO 30 20 SAVE "tools/makequal.bas",A:STOP 30 REM 40 PRINT "CREATE NEW COMPANY" 45 PRINT:PRINT "This program will create a new company." 46 PRINT " Once created, a new company can be removed only with difficulty." 47 PRINT " Do you wish to continue? (Answer 'Y' or 'N')" 48 INPUT A$ 49 IF A$ <> "Y" AND A$ <> "y" THEN SYSTEM 60 INPUT "Enter new company code: ";QUAL$ 65 IF LEN(QUAL$)<>4 THEN PRINT:PRINT "Invalid Company Code - Must be four digits":PRINT "Please try again.":A$=INPUT$(1):GOTO 60 70 PRINT "New company code is "+QUAL$+": Is this correct?" 80 INPUT YESNO$ 90 IF YESNO$ <> "Y" AND YESNO$ <> "y" AND YESNO$ <> "YES" AND YESNO$ <> "yes" THEN END 92 REM check company code to see if already in use 93 OPEN"I",3,"stgcntrc/qualify" 94 IF EOF(3) THEN GOTO 100 ELSE LINE INPUT#3,A$ 95 IF A$=QUAL$ THEN PRINT:PRINT "Company already on file; try again":PRINT "Press any key to continue":A$=INPUT$(1):CLOSE:GOTO 30 96 GOTO 94 100 SHELL "ls */key >/tmp/list1" 101 SHELL "ls */data >/tmp/list2" 102 SHELL "ls */index.* >/tmp/list3" 104 SHELL "cat /tmp/list1 /tmp/list2 /tmp/list3 >/tmp/list" 110 'SHELL "more /tmp/list" 111 'XX$=INPUT$(1) 130 OPEN"I",1,"/tmp/list" 140 ON ERROR GOTO 210 150 IF EOF(1) THEN GOTO 500 ELSE LINE INPUT#1,A$ 160 PRINT A$ 170 X=INSTR(A$,"index") 180 IF X>0 THEN GOTO 300 185 X=INSTR(A$,"key") 186 IF X=0 THEN X=INSTR(A$,"data") 187 IF X=0 THEN PRINT "BAD Filename":STOP 190 SHELL "cp "+A$+" "+A$+QUAL$ 195 PRINT "cp "+A$+" "+A$+QUAL$ 196 'XX$=INPUT$(1) 200 GOTO 150 210 RESUME 150 300 'move index 310 X=INSTR(A$,"x.") 320 IF X=0 THEN PRINT "Bad Index";STOP 325 X=X+1 330 B$=MID$(A$,1,X-1)+QUAL$+MID$(A$,X,2) 350 SHELL "cp "+A$+" "+B$ 355 PRINT "cp "+A$+" "+B$ 356 'XX$=INPUT$(1) 360 RETURN 500 REM 600 REM 605 REM 650 RUN "tools/chown.bas" From brian at aljex.com Fri Dec 4 17:45:37 2009 From: brian at aljex.com (Brian K. White) Date: Fri, 04 Dec 2009 20:45:37 -0500 Subject: Qualifiers In-Reply-To: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> Message-ID: <4B19BB41.9070604@aljex.com> frank7767 at aol.com wrote: > I am in adding 5 qualifiers to an existing Filepro system....The > process of adding them is very tedious. > is there a way to add these qualifiers to all the filepro files via a > script or any other way? > > Regards > Frank Gemeinhardt I tried to post full details twice but perhaps the script attachement is bouncing the post to be moderator approved and Mark or Bill hasn't gotten to it yet.. Anyways, trying to post again, shorter: This makes a lot of Aljex assumptions, it's not really general purpose, but, on your fg1.aljex.com box you can do this: Take a look at /u/aljex/start/gempro. That's what we call a company environment start script. In that case it sets up the environment for filepro files in /u/gempro, unqualified. (the ". fpini" at the top unsets PFQUAL, and there is no PFQUAL=... in the script) It's only 3 lines in the middle that you need to think about. Copy the script to a new name and change those lines as appropriate , in stead of PFDIR=/u/gempro, make it whatever your fp tree is that you are working on. (I suggest do not use /appl or /u/appl, I suggest reserve those for your binaries and do all customer work in other directories, and don't put binaries in those dirs, just data & menus) I will use gempro as the example for now as if that was the system you are working in. Next look at /u/aljex/bin/cpq. That's a script that copies a qualifier to another qualifier. We create new qualifiers by using that to copy the unqualified dataset to a new name. In our case we always treat the unqualified dataset as a special case. the files are all either empty or if they have data it is data that is meant to be common to all qualifiers, or is meant to be a common default or fallback that is common to all qualifiers. cpq gets two necessary pieces of info from the environment, which is set up by company start-scripts. PFQUAL and PFDATA/PFDIR. It checks for the existence of $COMPANY to ensure that you have run some company start-script. That way, it can assume that if PFQUAL or PFDATA or PFDIR are empty or unset, it's because the start-script intentionally wants it that way, not merely because you forgot to set them to something. Moving on, to create a new qualifier "aaa" in /u/gempro/appl/filepro Just run: gempro cpq aaa To do all 5 you could run gempro once with no args. This places you in a new shell in that environment. Then you could just run cpq directly 5 times. gempro cpq aaa cpq bbb cpq ccc cpq ddd cpq eee exit Now to use them, go create 5 new start scripts by copying /u/aljex/start/gempro to /u/aljex/start/aaa , bbb, ... eee In the new script, insert a line "PFQUAL=aaa" and change the company and pfname lines to match. Leave the pfdir lines alone in all cases. /u/aljex/start/gempro: ---top--- #!/bin/bash . fpini COMPANY=gempro PFNAME="Gemeinhart Produce System ($TTY)" PFDIR=/u/gempro/appl . fprun ---eof--- You create new ones like this: /u/aljex/start/aaa: ---top--- #!/bin/bash . fpini COMPANY=aaa PFNAME="AAA System ($TTY)" PFQUAL=aaa PFDIR=/u/gempro/appl . fprun ---eof--- I don't want the cpq script to be some mystery to the rest of the list so rather than attach it I'll try justpasting it in this time, but understand that may make it harder to copy and use. If my other posts ever show up they have the script as an attachement. /u/aljex/bin/cpq: ---top--- #!/bin/ksh # cpq - copy qualifier to new qualifier # Filepro dir and source qualifier come from environment. # Target qualifier comes from command line. # Source may be unqualified. # Must be in a company start script environment. # # By default: # Works on all files in the filepro directory that don't have a .common # # If any filepro files are specified then only they are processed. # # -f "force" option, ignores .common # if used with filenames, affects all (only) files that come after it. # # usage: company cpq newqual [files...] [-f] [files...] # examples: # in /u/global, copy unqualified to bbb, respect .common # (will ignore files like zipcodes and fpl_menu) # global cpq bbb # in /u/global, copy unqualified zipcodes to 1970, ignore .common # global cpq 1970 -f zipcodes # # 20060508 brian at aljex.com DD=${PFDATA}${PFDIR}/filepro # data dir SQ=$PFQUAL # source qualifier [[ "$1" ]] && { TQ=$1 ; shift ; } # target qualifier BK=`stty -a |awk 'BEGIN{RS=";"}/intr =/{print $3}'` FORCE=false abrt () { cat <<-%%USAGE ${1:+Error: $@} cpq - copy qualifier to new qualifier Filepro dir and source qualifier come from environment. Target qualifier comes from command line. Source may be unqualified. Must be in a company start script environment. By default: * Works on all files in the filepro directory that dont have a .common * If any filepro files are specified then only they are processed. * -f "force" option, ignores .common if used with filenames, affects all (only) files that come after it. usage: company cpq newqual [files...] [-f] [files...] examples: in /u/global, copy unqualified to bbb, respect .common (will ignore files with .common, like zipcodes and fpl_menu): global cpq bbb in /u/global, copy unqualified zipcodes to 1970, ignore .common: global cpq 1970 -f zipcodes %%USAGE exit 1 } [[ "$COMPANY" ]] || abrt "Missing COMPANY." [[ "$TQ" ]] || abrt "Missing target qualifier." [[ "$SQ" = "$TQ" ]] && abrt "Source and Target qualifiers are the same." cd $DD || abrt "Couldnt cd ${DD}" echo "This will copy all qualifier \"${SQ}\" to new qualifier \"${TQ}\"" echo "in $DD ." echo "Press ${BK:-BREAK} to Abort now." echo "Press ENTER to continue." read for d in ${*:-*} ; do echo [[ "$d" = "-f" ]] && { FORCE=: ; continue ; } cd ${DD}/$d || continue print "$d : \c" [[ -e key$SQ ]] || continue $FORCE || [ ! -e .common ] || continue print "key \c" cp -p key$SQ key$TQ print "data \c" cp -p data$SQ data$TQ ls index${SQ}.* >/dev/null 2>&1 && { for i in index${SQ}.* ; do I=${i##*.} print "$I \c" cp -p $i index${TQ}.$I done } grep -q "^${TQ}\$" qualify || echo $TQ >> qualify done echo ---eof--- Also to make those start-scripts make more sense to the list: /u/aljex/bin/fpini: ---top--- # fpini - Part of Aljex environment management system. # Intentionally no shebang line above. # This file (fpini), and fprun, are sourced by company start-scripts, like so: # /u/aljex/start/foo: # #!/bin/bash # . fpini # always first line after shebang # COMPANY=foo # PFNAME="Foo System ($TTY)" # PFQUAL=foo # PFDIR=/u/global/appl # . fprun # always last line in the file # # removed ksh-isms, now works in bash, ksh, zsh. # ksh was causing a bug involving the break key in rare cases. # (bizz, on linux, 64bit) # # brian at aljex.com export PATHFILE=/etc/default/fppath export PFPROG=`sed -n 1p <$PATHFILE` export PFDATA=`sed -n 2p <$PATHFILE` export PFDIR=`sed -n 3p <$PATHFILE` export PFDSK=${PFDATA:-/} unset PFDLDIR PFGLOB PFMENU PFCONFIG PFTMP FPMERGE PFQUAL FPFAXDIR MILERDATA COMPANY PFNAME APS ALJEX_TYPE PREFIX FAXSYS ALJEX_DI ALJEX_CM PS1='\h:\w \$ ' # Strip any company-specific path(s) from the beginning of $PATH while [[ ${PATH:0:5} = "/pix/" ]] ; do PATH=${PATH#*:} ;done ---eof--- /u/aljex/bin/fprun: ---top--- # fprun - Main part of Aljex environment management system. # Intentionally no shebang line above. # This file (fprun), and fpini, are sourced by company start-scripts, like so: # /u/aljex/start/foo: # #!/bin/bash # . fpini # always first line after shebang # COMPANY=foo # PFNAME="Foo System ($TTY)" # PFQUAL=foo # PFDIR=/u/global/appl # . fprun # always last line in the file # # removed ksh-isms, now works in bash, ksh, zsh. # ksh was causing a bug involving the break key in rare cases. # (bizz, on linux, 64bit) # # brian at aljex.com umask 0 : ${CRON:=false} #typeset -u HOST=`hostname` export HOSTNAME=${HOSTNAME:-`hostname`} # this is for cgi/cron/etc [ -z "WANADDR" ] && . /etc/profile.local # Set many variables dynamically based on the main company settings. # Assumes that fpini has previously unset all. # This doesn't override any variables that already exist, so you just put # any differences from default in the company start script. export COMPANY PFNAME PFQUAL PFDIR PFDATA ALJEX_TYPE PREFIX export PFCONFIG=${PFCONFIG:-${PFDATA}${PFDIR}/fp/lib/config} [ -f ${PFCONFIG}.${COMPANY} ] && export PFCONFIG=${PFCONFIG}.${COMPANY} export PFMENU=${PFMENU:-${PFDATA}${PFDIR}/fp/menus} export PFGLOB=${PFGLOB:-${PFDATA}${PFDIR}/fp/lib/edits} export PS1="${HOSTNAME}: ${PFNAME}: " export APS="$PS1" export PFTMP=${PFTMP:-/pix/${COMPANY}/tmp} export PFDLDIR=${PFDLDIR:-/pix/${COMPANY}/logos} export FPMERGE=${FPMERGE:-${PFDATA}${PFDIR}/fpmerge} export MILERDATA=${MILERDATA:-${PFTMP}/pcmiler} export FPFAXDIR=${FPFAXDIR:-${PFTMP}/vsifax} export PALMDIR=${PALMDIR:-${PFTMP}/palm} export MAILTYPE=${MAILTYPE:-bare} [ -n "$DEFFAXSYS" -a -z "$FAXSYS" ] && FAXSYS=$DEFFAXSYS [ -n "$FAXSYS" ] && export FAXSYS FAXSOFTWARE=$FAXSYS # TODO: ditch FAXSOFTWARE export SESSPID=$$ # session process id, because filepro has no @pid [ -n "$ALJEX_CM" ] && export ALJEX_CM # custom menus (use qualified fpl_menu) PATH=/pix/${COMPANY}/bin:$PATH # for company-specific scripts like cron jobs # scanning version differences [ -n "$ALJEX_DI" ] && export ALJEX_DI case "$ALJEX_DI" in 7.*) vs="/pix/${COMPANY}/.AljexDI_v7" [ -e "$vs" ] || { touch "$vs" ; chmod 444 "$vs" ; } unset vs : ${SCANIMG:=lib/scanimg_v$ALJEX_DI} export SCANIMG ;; esac # xterms present a weird case, there is no tty when /etc/profile runs, # yet each xterm gets a new tty without running /etc/profile any more. [ -z "$TTY" -o "$TTY" = "not a tty" ] && { tty=`tty` TTY=${tty##*/} PFNAME=`echo "$PFNAME" |sed "s/()/($TTY)/;s/not a tty/$TTY/"` PS1="${HOSTNAME}: ${PFNAME}: " APS="$PS1" } # human readable company without (tty) export COMPANYNAME=${PFNAME%\(*} # nologin file FPRUN_NOLOGIN=${PFTMP}/nologin case "$ALJEX_TYPE" in air) PREFIX=air ;; rail) PREFIX=r ;; logistics) PREFIX=ll ;; broker|"") PREFIX= ;; esac preexec () { # pre exec setup # do this when running something, even if it's just a child shell # don't do this when just setting up env in current shell # look for per-company nologin file # like /etc/nologin but only for one company [ -f $FPRUN_NOLOGIN ] && { # always at least print the basic message to stderr echo "$COMPANY is disabled." >&2 # If in cron then don't hang for user input, # and don't test for root, just exit now. # We want root to be able to use the system manually, # but we don't want roots cron jobs to include this company. $CRON && exit 1 # if not in cron then wait for acknowledgment keypress echo -n "Press [Enter] " read # allow root to proceed [ `id -u` = 0 ] || exit 1 echo "root allowed" } # create any referenced directories if they don't exist for tdir in $PFTMP $PFDLDIR $MILERDATA ${FPFAXDIR}/sent $PALMDIR ; do [ -d $tdir ] || mkdir -p $tdir done unset tdir # miscelaneous fixups. # pix invoice_public & invoice symlink [ -d /pix/${COMPANY}/invoice_public -a -L /pix/${COMPANY}/invoice ] || { [ -d /pix/${COMPANY}/invoice -a ! -d /pix/${COMPANY}/invoice_public ] && mv /pix/${COMPANY}/invoice /pix/${COMPANY}/invoice_public mkdir -p /pix/${COMPANY}/invoice_public/thumb (cd /pix/${COMPANY} ;ln -s invoice_public invoice) } # logo.pcl needs to exist for print code tables, empty is ok. [ -e ${PFDLDIR}/logo.pcl ] || touch ${PFDLDIR}/logo.pcl # put environment name in the window title bar tty -s && [ -n "$TTY" -a -z "$NOTITLE" ] && wtitle "${HOSTNAME}: $PFNAME" } # launch app or shell or merely set env case "$@" in "") # spawn a subshell in env so you can exit back out echo "Entering $PFNAME Environment" preexec exec ${SHELL:-sh} ;; ":") # do nothing, use with ". company :" to source-in the environment : ;; query|status) # test enable/disable status [ -f $FPRUN_NOLOGIN ] && { $CRON || echo "$COMPANY is DISABLED on ${HOSTNAME}." exit 1 } || { $CRON || echo "$COMPANY is ENABLED on ${HOSTNAME}." exit 0 } ;; disable) # turn off this system so only root can use it [ `id -u` = 0 ] || { echo "Only root may do this!" ; exit 1 ; } [ -f $FPRUN_NOLOGIN ] && { echo "$FPRUN_NOLOGIN exists. $COMPANY was already disabled." } || { touch $FPRUN_NOLOGIN && echo "$FPRUN_NOLOGIN created. $COMPANY is now disabled." || echo "Could not create $FPRUN_NOLOGIN !" } ;; enable) # remove previous block and allow users to use this system [ `id -u` = 0 ] || { echo "Only root may do this!" ; exit 1 ; } [ -f $FPRUN_NOLOGIN ] && { rm -f $FPRUN_NOLOGIN && echo "$FPRUN_NOLOGIN removed. $COMPANY is now enabled." || echo "Could not remove $FPRUN_NOLOGIN !" } || { echo "$FPRUN_NOLOGIN not present. $COMPANY was already enabled." } ;; cleantmp) # delete old temp files echo "Deleteing stale files in $PFTMP" find $PFTMP -mtime +1 ! -wholename "$FPRUN_NOLOGIN" -delete ;; *) # run a command in the env as a child preexec exec "$@" ;; esac ---eof--- -- bkw From hemmerjohn at hotmail.com Fri Dec 4 21:02:10 2009 From: hemmerjohn at hotmail.com (John Hemmer) Date: Sat, 5 Dec 2009 00:02:10 -0500 Subject: cannot access files In-Reply-To: <4B19BB41.9070604@aljex.com> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> <4B19BB41.9070604@aljex.com> Message-ID: I saved my filePro data files on a memory stick, restored Windows XP and then copied my filePro files back into the directory C:\filepro\billing Now whenever I attempt to ADD INQUIRE UPDATE. I get a window saying: Windows - No Disk Exception Processing Message c0000013 Parameters 75b6bf7c 75b6bf7c 75b6bf7c Cancel | Try Again | Continue | ________| __________| __________| Clicking the Cancel or Continue Button... gives the following filePro error message: *** A System Error Has Occurred *** A:/filepro/billing/keyx1: Error Number -1 Windows error #21: The device is not ready. Which is indicating that It is looking for the files on the Floppy Drive and It is using 'nix system terminology. Any clues why this is happening. It happens for all files I try to look at. Thanks in Advance John -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091205/0442d6f3/attachment.html From fairlite at fairlite.com Sat Dec 5 01:06:02 2009 From: fairlite at fairlite.com (Fairlight) Date: Sat, 5 Dec 2009 04:06:02 -0500 Subject: cannot access files In-Reply-To: ; from hemmerjohn@hotmail.com on Sat, Dec 05, 2009 at 12:02:10AM -0500 References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> <4B19BB41.9070604@aljex.com> Message-ID: <20091205040601.A12340@iglou.com> Sounds like PFDSK and friends may have been set in the environment, and now they're not. Right click on My Computer, go to Properties, bring up the Advanced tab, and click Environment Variables to set the necessary ones. mark-> -- Audio panton, cogito singularis, From kenbrody at spamcop.net Sat Dec 5 08:50:03 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Sat, 05 Dec 2009 11:50:03 -0500 Subject: Qualifiers In-Reply-To: <4B19BB41.9070604@aljex.com> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> <4B19BB41.9070604@aljex.com> Message-ID: <4B1A8F3B.8080201@spamcop.net> Brian K. White wrote: [...] > I tried to post full details twice but perhaps the script attachement is > bouncing the post to be moderator approved and Mark or Bill hasn't > gotten to it yet.. [...] I received both copies that you posted. -- Kenneth Brody From kenbrody at spamcop.net Sat Dec 5 08:52:53 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Sat, 05 Dec 2009 11:52:53 -0500 Subject: cannot access files In-Reply-To: References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> <4B19BB41.9070604@aljex.com> Message-ID: <4B1A8FE5.2060204@spamcop.net> John Hemmer wrote: > I saved my filePro data files on a memory stick, restored Windows XP and then copied my filePro files back into the directory C:\filepro\billing > > Now whenever I attempt to ADD INQUIRE UPDATE. I get a window saying: > > Windows - No Disk > > Exception Processing Message c0000013 Parameters 75b6bf7c 75b6bf7c 75b6bf7c > > Cancel | Try Again | Continue | > ________| __________| __________| > > Clicking the Cancel or Continue Button... gives the following filePro error message: > > > *** A System Error Has Occurred *** > A:/filepro/billing/keyx1: Error Number -1 > Windows error #21: > The device is not ready. You lost your filePro environment settings when you restored XP. Make sure that you have PFDSK set correctly. > Which is indicating that It is looking for the files on the Floppy Drive and It is using 'nix system terminology. I'm not sure what you mean by "Unix system terminology". > Any clues why this is happening. It happens for all files I try to look at. Set PFDSK as needed by your system. If you are only using drive C:, then make sure PFDSK=C -- Kenneth Brody From hemmerjohn at hotmail.com Sat Dec 5 10:46:34 2009 From: hemmerjohn at hotmail.com (John Hemmer) Date: Sat, 5 Dec 2009 13:46:34 -0500 Subject: cannot access files In-Reply-To: <20091205040601.A12340@iglou.com> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com><4B19BB41.9070604@aljex.com> <20091205040601.A12340@iglou.com> Message-ID: Mark, Thanks and also to Ken. That solved my problem. Mark you sure work late. I did not expect to see a solution so soon. Thanks again. John -------------------------------------------------- From: "Fairlight" Sent: Saturday, December 05, 2009 4:06 AM To: Subject: Re: cannot access files > Sounds like PFDSK and friends may have been set in the environment, and > now > they're not. > > Right click on My Computer, go to Properties, bring up the Advanced tab, > and click Environment Variables to set the necessary ones. > > mark-> > -- > Audio panton, cogito singularis, > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From john at valar.com Sat Dec 5 13:16:28 2009 From: john at valar.com (John Esak) Date: Sat, 5 Dec 2009 16:16:28 -0500 Subject: filePro help needed... Message-ID: <200912052115.nB5LFK6p017601@admin114.securesites.net> filePro'ers I got a call from Dale Egan asking if I am truly retired... Did I want some work? :-) Very hard for the inner "me" to say, "Yes, I'm really retired, and No, I don't want (or need?) the work!" Well, the need part left aside... Maybe a year or two from now I'll be begging for something... Anything to do... But for now, I am so happy getting my little studio together and writing some new fiction as well that I don't want to take on new work. I really just hate responsibility these days. :-) Also, periodically, I am continuing to help 21st Century with some of the projects which keep them very busy. So... I told Dale I would explain the project he wants help with, and put a note out here for those of you who can do it to give him a call. I don't know any of the particulars, but I wrote something very nearly like this for Nexus, but never put the finishing touches on it. Now, because of something Bob R. at anzio.com has done to enhance Anziowin, will make the project a snap. And, would probably (if done generically enough) be something one would sell to lots of filePro users. Apparently, now Anziowin can be made to scan documents and store/transport the image somewhere with an assigned name. (Maybe it's done this awhile, and it's not new... don't know.) Anyway, what Dale wants to do is scan documents from any filePro record (I'm guessing a customer record). The documents scanned would be anything invoices, work sheets, who knows. But, the image file would be "attached" to the record by some unique key and naming convention and stored on a share or anywhere that the users (and filePro) can get to them. Anyone going to a record could press an @key and pull up a browse of the images and view them. Now, of course, this is all dead simple and I would hesitate to say how many hours, not even days this would take for me to write.... Heck, once I investigated the part that Bob's program does as its function, the actual skeleton of the code would probably really only take minutes. But, I like Scotty on the Enterprise would say, "Oh that will take 6 days Captain!"... :-) Seriously, whatever time it would take you, I'm sure Dale and you could arrange a project price or maybe even a price per/hr, but I think I heard him say he would not want it on an hourly basis... (don't blame him really... viz the statement I just made above. :-) But, anyway, this is not a tough deal and could bring in someone a little work in these trying times. Dale is a good guy, reliable help with a project and not too shabby a filePro programmer himself, but he has just bought the Lee Myles (auto maintenance, transmissions?) company and pretty much has his hands full. So email him if you're interested. I had immediately mentioned Sound Idea's version of this function (written in C), but Dale told me he had already checked that out a little, and it relies on some things that Bob's terminal emulator doesn't need, like a VPN maybe and other constraints. Dale's email address is dale at eganauto.com. I don't mean to make light of how easy or hard this project is. The devil is always in the details, but really this is a simple browse routine looking through a header detail file arrangement and nothing more. It does not even require any pig browse capabilities, so if you have a good facility with building an @key that doesn't lock the record (which I hope is SOP for everyone these days), and an understanding of good file-naming schemes, you're there. Now, why did I write this instead of Dale? Simple, he called me because I wasn't in the FP Room tonight or last night. I found a new blues bar... Very high energy, great players... Thursday nights are open for all.... So now there are 3 nights a week I can do some playing and I'd rather do that than write code.... But he told me honestly that if he wrote this note... he thought he would be assailed with all the kinds of things people used to assail the "newbie" with in the past. Happily, it's not too much like that anymore. But, I said I'd lay it out for him. Again, it seems easy... But who knows what you'll encounter... Maybe multi-user contention for the scanner? Permissions problems on the files, or worst of all... creeping feature-ism! :-) Good luck to whoever ends up doing this. If... A year has gone by, and I'm tired of having fun, playing drums, writing music and science fiction.... And maybe for some insane reason am actually bored out of my mind.... AND this project still hasn't been written... Well then, maybe.... Possibly.... Perhaps... I'll write it, but no one should be holding their breath. :-) John Esak From brian at aljex.com Sun Dec 6 09:50:33 2009 From: brian at aljex.com (Brian K. White) Date: Sun, 06 Dec 2009 12:50:33 -0500 Subject: filePro help needed... In-Reply-To: <200912052115.nB5LFK6p017601@admin114.securesites.net> References: <200912052115.nB5LFK6p017601@admin114.securesites.net> Message-ID: <4B1BEEE9.3010606@aljex.com> John Esak wrote: > > > filePro'ers > > I got a call from Dale Egan asking if I am truly retired... Did I want some > work? :-) Very hard for the inner "me" to say, "Yes, I'm really retired, > and No, I don't want (or need?) the work!" Well, the need part left > aside... Maybe a year or two from now I'll be begging for something... > Anything to do... But for now, I am so happy getting my little studio > together and writing some new fiction as well that I don't want to take on > new work. I really just hate responsibility these days. :-) Also, > periodically, I am continuing to help 21st Century with some of the projects > which keep them very busy. > > So... I told Dale I would explain the project he wants help with, and put a > note out here for those of you who can do it to give him a call. I don't > know any of the particulars, but I wrote something very nearly like this for > Nexus, but never put the finishing touches on it. Now, because of something > Bob R. at anzio.com has done to enhance Anziowin, will make the project a > snap. And, would probably (if done generically enough) be something one > would sell to lots of filePro users. Apparently, now Anziowin can be made > to scan documents and store/transport the image somewhere with an assigned > name. (Maybe it's done this awhile, and it's not new... don't know.) > Anyway, what Dale wants to do is scan documents from any filePro record (I'm > guessing a customer record). The documents scanned would be anything > invoices, work sheets, who knows. But, the image file would be "attached" > to the record by some unique key and naming convention and stored on a share > or anywhere that the users (and filePro) can get to them. Anyone going to a > record could press an @key and pull up a browse of the images and view them. > Now, of course, this is all dead simple and I would hesitate to say how many > hours, not even days this would take for me to write.... Heck, once I > investigated the part that Bob's program does as its function, the actual > skeleton of the code would probably really only take minutes. But, I like > Scotty on the Enterprise would say, "Oh that will take 6 days Captain!"... > :-) Seriously, whatever time it would take you, I'm sure Dale and you could > arrange a project price or maybe even a price per/hr, but I think I heard > him say he would not want it on an hourly basis... (don't blame him > really... viz the statement I just made above. :-) > > But, anyway, this is not a tough deal and could bring in someone a little > work in these trying times. Dale is a good guy, reliable help with a > project and not too shabby a filePro programmer himself, but he has just > bought the Lee Myles (auto maintenance, transmissions?) company and pretty > much has his hands full. So email him if you're interested. > > I had immediately mentioned Sound Idea's version of this function (written > in C), but Dale told me he had already checked that out a little, and it > relies on some things that Bob's terminal emulator doesn't need, like a VPN > maybe and other constraints. > > Dale's email address is dale at eganauto.com. > > I don't mean to make light of how easy or hard this project is. The devil is > always in the details, but really this is a simple browse routine looking > through a header detail file arrangement and nothing more. It does not even > require any pig browse capabilities, so if you have a good facility with > building an @key that doesn't lock the record (which I hope is SOP for > everyone these days), and an understanding of good file-naming schemes, > you're there. > > Now, why did I write this instead of Dale? Simple, he called me because I > wasn't in the FP Room tonight or last night. I found a new blues bar... Very > high energy, great players... Thursday nights are open for all.... So now > there are 3 nights a week I can do some playing and I'd rather do that than > write code.... But he told me honestly that if he wrote this note... he > thought he would be assailed with all the kinds of things people used to > assail the "newbie" with in the past. Happily, it's not too much like that > anymore. But, I said I'd lay it out for him. Again, it seems easy... But > who knows what you'll encounter... Maybe multi-user contention for the > scanner? Permissions problems on the files, or worst of all... creeping > feature-ism! :-) > > Good luck to whoever ends up doing this. If... A year has gone by, and I'm > tired of having fun, playing drums, writing music and science fiction.... > And maybe for some insane reason am actually bored out of my mind.... AND > this project still hasn't been written... Well then, maybe.... Possibly.... > Perhaps... I'll write it, but no one should be holding their breath. :-) > > John Esak > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > We've been doing that since about 2000 (though the way it works today is certainly better than the way it worked then) I don't have time to actually do work for anyone else, nor I think does Aljex in general, but I don't mind sharing the process & the code. Have him call us and run through a scanning demo with someone from sales or support and talk to Tom about getting the code He might not be willing to simply give it. It works just like he's describing though. Use your app, which the users already know how to navigate, as the db & index for your document imaging. Just go to any place in your app and hit a key to either scan things into that record or view things that are already there. Works the same in-house or over the internet. It's a natural and users love it way better than most dedicated document imaging systems. The way we do it isn't tied to any particular terminal emulator. It works with Anzio, or with a modified PuTTY (free) included in the client pc installer, or with any of several other emulators that have any form of exec() feature (Facetwin, AniTA, SecureCRT at least) Or it also works with no terminal emulator at all. The installer registers a special type of url in windows, which you can trigger from any terminal emulator that has a run-program escape sequence, or directly from a web page with no terminal. The url runs a tiny batch file that runs the scanner and uploads a pdf to the server via http-post. http://install.aljex.com/AljexClient/Install%20Aljex%20Client%207.3.0.8.exe That's the client part. Putty is free, and the scanning util is free for us to distribute as part of our app, but you would have to get your own unlimited distribution license for the scanner library from Dynarithmic to redistribute it to your own users as part of your app. But it's a one-time thing. That's why I can post a link to it like that with no protections or serial numbers. Once you add this feature to your app (be it with our stuff or Anzio or any other way) your customers will find your app indispensable and time saving etc.. Partly just because anyone anywhere can refer to the documents at will. No filing cabinet, no tracking down who has that customers file or the paperwork for that job, no walking to the fax machine to fax or email those pages to someone. It does put a heavy new workload on your servers though. Image processing is heavy cpu work compared to anything you normally do in filepro, and it quickly fills up hard drives. At low volumes and low user counts you might not notice at first, because you almost can't buy a server today that isn't over-spec for 5 or 10 users doing just ordinary filepro work, so you can add some more work without noticing. But dealing with scanned images quickly adds up to tax a server once you actually start using it a little. -- bkw From brian at aljex.com Sun Dec 6 09:52:00 2009 From: brian at aljex.com (Brian K. White) Date: Sun, 06 Dec 2009 12:52:00 -0500 Subject: Qualifiers In-Reply-To: <4B1A8F3B.8080201@spamcop.net> References: <8CC4269EE30753F-43C4-B939@webmail-d020.sysops.aol.com> <4B19BB41.9070604@aljex.com> <4B1A8F3B.8080201@spamcop.net> Message-ID: <4B1BEF40.9080607@aljex.com> Kenneth Brody wrote: > Brian K. White wrote: > [...] >> I tried to post full details twice but perhaps the script attachement >> is bouncing the post to be moderator approved and Mark or Bill hasn't >> gotten to it yet.. > [...] > > I received both copies that you posted. Ah ok. In that case sorry for flooding. It must have been my own external spam filter service that blocked my copy from coming back to me. -- bkw From fairlite at fairlite.com Mon Dec 7 13:05:09 2009 From: fairlite at fairlite.com (Fairlight) Date: Mon, 7 Dec 2009 16:05:09 -0500 Subject: version control Message-ID: <20091207160509.A26762@iglou.com> I thought I remembered someone here asking about version control for filePro a while back. After my recent experiences, I have to say that Subversion should do the job with ease--even if ABE is not set to ASCII. SVN handles binary files quite nicely. There would be some maintenance requirements in terms of adding files to version control once they've been created, but that's not a big deal. Somehow I managed to skip CVS all these years, but it's just as well, as SVN is supposed to be better anyway. And I'm actually wondering how I did without it all these years. :) (I had my own version [no pun intended] of version control, but it was informal.) mark-> From wvaughan at steelerubber.com Mon Dec 7 13:23:06 2009 From: wvaughan at steelerubber.com (Walter Vaughan) Date: Mon, 07 Dec 2009 16:23:06 -0500 Subject: version control In-Reply-To: <20091207160509.A26762@iglou.com> References: <20091207160509.A26762@iglou.com> Message-ID: <4B1D723A.7000203@steelerubber.com> Fairlight wrote: >I thought I remembered someone here asking about version control for >filePro a while back. > >After my recent experiences, I have to say that Subversion should do the >job with ease--even if ABE is not set to ASCII. SVN handles binary files >quite nicely. > > Also, it works with *nix and there is a version for Windows as well. From fairlite at fairlite.com Mon Dec 7 13:27:50 2009 From: fairlite at fairlite.com (Fairlight) Date: Mon, 7 Dec 2009 16:27:50 -0500 Subject: version control In-Reply-To: <4B1D723A.7000203@steelerubber.com>; from wvaughan@steelerubber.com on Mon, Dec 07, 2009 at 04:23:06PM -0500 References: <20091207160509.A26762@iglou.com> <4B1D723A.7000203@steelerubber.com> Message-ID: <20091207162750.A27266@iglou.com> Y'all catch dis heeyah? Walter Vaughan been jivin' 'bout like: > Fairlight wrote: > > >I thought I remembered someone here asking about version control for > >filePro a while back. > > > >After my recent experiences, I have to say that Subversion should do the > >job with ease--even if ABE is not set to ASCII. SVN handles binary files > >quite nicely. > > > > > Also, it works with *nix and there is a version for Windows as well. Actually, Walter... I was just thinking... :) If you set up your development box with Apache + DAV + SVN, and set up your repositories and per-directory access control correctly, you could make updates of client sites as painless as grabbing the latest snapshot of a product, and include a script in the snapshot to update any tables/indexes/whatever that need updating. IOW, you could use SVN not just for version control, but as a distribution channel for customers. Just a thought... mark-> -- Audio panton, cogito singularis, From wvaughan at steelerubber.com Mon Dec 7 13:43:49 2009 From: wvaughan at steelerubber.com (Walter Vaughan) Date: Mon, 07 Dec 2009 16:43:49 -0500 Subject: version control In-Reply-To: <20091207162750.A27266@iglou.com> References: <20091207160509.A26762@iglou.com> <4B1D723A.7000203@steelerubber.com> <20091207162750.A27266@iglou.com> Message-ID: <4B1D7715.3080501@steelerubber.com> Fairlight wrote: >Y'all catch dis heeyah? Walter Vaughan been jivin' 'bout like: > > >>Fairlight wrote: >> >>> thought I remembered someone here asking about version control for >>>filePro a while back. >>> >>>After my recent experiences, I have to say that Subversion should do the >>>job with ease--even if ABE is not set to ASCII. SVN handles binary files >>>quite nicely. >>> >>> >>Also, it works with *nix and there is a version for Windows as well. >> >> > >Actually, Walter... I was just thinking... :) If you set up your >development box with Apache + DAV + SVN, and set up your repositories and >per-directory access control correctly, you could make updates of client >sites as painless as grabbing the latest snapshot of a product, and include >a script in the snapshot to update any tables/indexes/whatever that need >updating. > >IOW, you could use SVN not just for version control, but as a distribution >channel for customers. > > Yup. We also use SVK We use svn to manage website changes. One of our guys here has at home gigs of his mp3's under svn to make distribution easy for him. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091207/b1e773e2/attachment.html From bill at celestial.com Mon Dec 7 14:30:50 2009 From: bill at celestial.com (Bill Campbell) Date: Mon, 7 Dec 2009 14:30:50 -0800 Subject: version control In-Reply-To: <20091207162750.A27266@iglou.com> References: <20091207160509.A26762@iglou.com> <4B1D723A.7000203@steelerubber.com> <20091207162750.A27266@iglou.com> Message-ID: <20091207223049.GB12364@ayn.mi.celestial.com> On Mon, Dec 07, 2009, Fairlight wrote: >Y'all catch dis heeyah? Walter Vaughan been jivin' 'bout like: >> Fairlight wrote: >> >> >I thought I remembered someone here asking about version control for >> >filePro a while back. >> > >> >After my recent experiences, I have to say that Subversion should do the >> >job with ease--even if ABE is not set to ASCII. SVN handles binary files >> >quite nicely. >> > >> > >> Also, it works with *nix and there is a version for Windows as well. > >Actually, Walter... I was just thinking... :) If you set up your >development box with Apache + DAV + SVN, and set up your repositories and >per-directory access control correctly, you could make updates of client >sites as painless as grabbing the latest snapshot of a product, and include >a script in the snapshot to update any tables/indexes/whatever that need >updating. > >IOW, you could use SVN not just for version control, but as a distribution >channel for customers. In fact, the python eazy_install/buildout system used for building many python applications including Plone can do svn checkouts on the fly while building packages. I'm not convinced that this is a Good Idea(tm) as it can lead to unintended consequences if somebody changes something in a package which breaks things. 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 Bagdikian's Observation: Trying to be a first-rate reporter on the average American newspaper is like trying to play Bach's "St. Matthew Passion" on a ukelele. From appl at jpr.com Tue Dec 8 17:26:25 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Tue, 8 Dec 2009 20:26:25 -0500 Subject: Qualifiers In-Reply-To: <200912040111.nB41BIF0000316@admin114.securesites.net> References: <20091203202038.GB8343@jpradley.jpr.com> <200912040111.nB41BIF0000316@admin114.securesites.net> Message-ID: <20091209012625.GA28779@jpradley.jpr.com> John Esak propounded (on Thu, Dec 03, 2009 at 08:12:25PM -0500): | Anyone who *owns* the SS Accounting and is smart enough to cull out the add | / delete qualifier scheme and make it a little more generic than it was for | the SS package is welcome to do it and post it here.... Just the add/delete | qualifier thing.... :-) | | JP, you are certainly smart enough... But what would be your incentive? Despite your suggestion, I didn't consult your nice SS stuff, but just dashed off 'addqual' using the Korn shell. I only wrote 30% of the script's 74 lines; the rest is Bob Stockler's work, setting up variables and checking stuff. My last run of 'timex addqual philly' ended with: "addqual" added "philly" to 114 directories and 471 indices. real 41.24 user 24.78 sys 14.35 Of course the load on my CPUs and their speed and the size of the databases affect the timing, but Frank's 544 databases ought to be provisioned in five or six minutes per qualifier. Find 'addqual' in the filePro directory of ftp.jpr.com. -- JP From pulliamr at earthlink.net Wed Dec 9 07:10:03 2009 From: pulliamr at earthlink.net (ROBERT PULLIAM) Date: Wed, 9 Dec 2009 10:10:03 -0500 Subject: e-mail Message-ID: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> Using unix - have field with e-mail addresses. Is there a way to batch send to all patients with email address. Can also transfer the data to a windows machine, Would it be easier to send batch emails from Windows? Thanks in advance - Robert Pulliam MD -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091209/04b3f076/attachment.html From rkreiss at verizon.net Wed Dec 9 07:25:40 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Wed, 09 Dec 2009 10:25:40 -0500 Subject: e-mail In-Reply-To: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> References: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> Message-ID: <001f01ca78e3$de55e180$9b01a480$@net> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of ROBERT PULLIAM Sent: Wednesday, December 09, 2009 10:10 AM To: filepro Subject: e-mail Using unix - have field with e-mail addresses.? Is there a way to batch send to all patients with email address.? Can also transfer the data to a windows machine,? Would it be easier to send batch emails from Windows? ? Thanks in advance - Robert Pulliam MD There have been quite a few posting here regarding sending email from *nix. Two easy solutions are: lightmail from Fairlight contact Mark at fairlite at fairlite.com Printwizard from: 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 Both programs will allow you to easily send emails using the email addresses stores in your fp files. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From wvaughan at steelerubber.com Wed Dec 9 08:38:43 2009 From: wvaughan at steelerubber.com (Walter Vaughan) Date: Wed, 09 Dec 2009 11:38:43 -0500 Subject: e-mail In-Reply-To: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> References: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> Message-ID: <4B1FD293.6040001@steelerubber.com> ROBERT PULLIAM wrote: > Using unix - have field with e-mail addresses. Is there a way > to batch send to all patients with email address. Can also transfer > the data to a windows machine, Would it be easier to send batch > emails from Windows? > > Thanks in advance - Robert Pulliam MD Stop thinking about sending it yourself. Get a trial account with someone like ConstantContact.com or whomever Let them deal with the opt-in, opt-out, black listing, white listing, RBLS, ugh.... While you can roll you own solution, it makes no sence today. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091209/80ee071b/attachment.html From appl at jpr.com Wed Dec 9 08:54:32 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Wed, 9 Dec 2009 11:54:32 -0500 Subject: e-mail In-Reply-To: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> References: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> Message-ID: <20091209165432.GB28779@jpradley.jpr.com> ROBERT PULLIAM propounded (on Wed, Dec 09, 2009 at 10:10:03AM -0500): | Using unix - have field with e-mail addresses. Is there a way | to batch send to all patients with email address. Can also transfer the data to a windows machine, Would it be easier to send batch emails from Windows? Spin out the email addresses into a file using the CSV format. Then mail your message to `cat that_file`. -- JP From fairlite at fairlite.com Wed Dec 9 10:20:26 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 9 Dec 2009 13:20:26 -0500 Subject: e-mail In-Reply-To: <20091209165432.GB28779@jpradley.jpr.com>; from appl@jpr.com on Wed, Dec 09, 2009 at 11:54:32AM -0500 References: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> <20091209165432.GB28779@jpradley.jpr.com> Message-ID: <20091209132026.A12511@iglou.com> The honourable and venerable J. P. Radley spoke thus: > ROBERT PULLIAM propounded (on Wed, Dec 09, 2009 at 10:10:03AM -0500): > | Using unix - have field with e-mail addresses. Is there a way > | to batch send to all patients with email address. Can also transfer the data to a windows machine, Would it be easier to send batch emails from Windows? > > Spin out the email addresses into a file using the CSV format. > > Then mail your message to `cat that_file`. Uhm, JP? And have the To: header contain -allllll- those addresses? Bad, bad idea. I can't believe you just advocated that. I mean, I thought I'd seen everything, but I'm gonna go check and see if Satan is snowblowing his driveway... mark-> -- Audio panton, cogito singularis, From fairlite at fairlite.com Wed Dec 9 10:25:10 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 9 Dec 2009 13:25:10 -0500 Subject: e-mail In-Reply-To: <4B1FD293.6040001@steelerubber.com>; from wvaughan@steelerubber.com on Wed, Dec 09, 2009 at 11:38:43AM -0500 References: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> <4B1FD293.6040001@steelerubber.com> Message-ID: <20091209132510.B12511@iglou.com> Y'all catch dis heeyah? Walter Vaughan been jivin' 'bout like: > > Stop thinking about sending it yourself. > Get a trial account with someone like ConstantContact.com or whomever > > Let them deal with the opt-in, opt-out, black listing, white listing, > RBLS, ugh.... Your experiences and mine must differ vastly. If you're not doing anything patently -stupid-, you shouldn't end up on any RBL. As far as opt in or out, he's already got the data, having a third party involved makes no logical sense. > While you can roll you own solution, it makes no sence today. Sure it does. It's not like it's complex or time-consuming. Assuming one needed a new mail agent, about 10min to (purchase)?, download and install/configure. Assuming one has an SMTP server handy, which one probably does. If not, add 30min tops, and -maybe- a request to get a proper PTR record. During which 30min (if even necessary, if you don't have an existing server), you've already written the code for fP to handle mailing, and have read the headlines on your favourite news site and had a cuppa. If you already have the resources and will incur no risks, it makes no sense to incur extra expense by contracting a third party to intervene. mark-> -- Audio panton, cogito singularis, From appl at jpr.com Wed Dec 9 10:28:39 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Wed, 9 Dec 2009 13:28:39 -0500 Subject: e-mail In-Reply-To: <20091209132026.A12511@iglou.com> References: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> <20091209165432.GB28779@jpradley.jpr.com> <20091209132026.A12511@iglou.com> Message-ID: <20091209182839.GC28779@jpradley.jpr.com> Mark Luljak propounded (on Wed, Dec 09, 2009 at 01:20:26PM -0500): | The honourable and venerable J. P. Radley spoke thus: | > ROBERT PULLIAM propounded (on Wed, Dec 09, 2009 at 10:10:03AM -0500): | > | Using unix - have field with e-mail addresses. Is there a way | > | to batch send to all patients with email address. Can also transfer the data to a windows machine, Would it be easier to send batch emails from Windows? | > | > Spin out the email addresses into a file using the CSV format. | > | > Then mail your message to `cat that_file`. | | Uhm, JP? And have the To: header contain -allllll- those addresses? | | Bad, bad idea. | | I can't believe you just advocated that. I mean, I thought I'd seen | everything, but I'm gonna go check and see if Satan is snowblowing his | driveway... Quick and dirty, eh? If I were to use such a list, I'd address the mail to myself with a Bcc to the file_list. I know that mutt does not include the Bcc as a header but I think that this is not necessarily the case for other MUAs. -- JP From fairlite at fairlite.com Wed Dec 9 10:51:26 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 9 Dec 2009 13:51:26 -0500 Subject: e-mail In-Reply-To: <20091209182839.GC28779@jpradley.jpr.com>; from appl@jpr.com on Wed, Dec 09, 2009 at 01:28:39PM -0500 References: <17806FEB408C41F3AB77167CA8C83FF9@accesshealthwv.com> <20091209165432.GB28779@jpradley.jpr.com> <20091209132026.A12511@iglou.com> <20091209182839.GC28779@jpradley.jpr.com> Message-ID: <20091209135126.B13066@iglou.com> On Wed, Dec 09, 2009 at 01:28:39PM -0500, J. P. Radley, the prominent pundit, witicized: > > Quick and dirty, eh? Quick, but -very- dirty. :) > If I were to use such a list, I'd address the mail to myself with a Bcc > to the file_list. That's one way. If one isn't going to handle the messages individually, probably the best way, but then you don't have a "To:" header that matches the recipient's email address, and the spam filters on the receiving end might nuke it just out of spite for that alone. I'd just iterate over the list properly for each recipient, to do it correctly. > I know that mutt does not include the Bcc as a header but I think that > this is not necessarily the case for other MUAs. Correct. I've seen blank Bcc headers on inbound mail. Just tested my (older) version of mutt, and you're right about that as well--and even if it did, you could unset it. :) mark-> -- Audio panton, cogito singularis, From fpgroups at gmail.com Wed Dec 9 12:16:54 2009 From: fpgroups at gmail.com (Jose Lerebours) Date: Wed, 9 Dec 2009 15:16:54 -0500 Subject: OT: ssh between linux and sco unix Message-ID: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> Trying to setup an UBUNTU Linux box to ssh to an SCO UNIX box without the need to enter a password. I found this article http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ I followed every step but I am still forced to type in a password to connect to SCO UNIX. The root of the problem is the need to interface a linux server running PHP + Apache to extract and push data from a SCO UNIX running filePro. I tried using PHP built-in ftp commands but I am not able to execute shell scripts thus I cannot run filePro *reports ... Any assistance will be appreciated! Thank you all in advance!!!!! Jose Lerebours -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091209/7759c0f8/attachment-0001.html From appl at jpr.com Wed Dec 9 12:26:53 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Wed, 9 Dec 2009 15:26:53 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> References: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> Message-ID: <20091209202653.GD28779@jpradley.jpr.com> Jose Lerebours propounded (on Wed, Dec 09, 2009 at 03:16:54PM -0500): | Trying to setup an UBUNTU Linux box to ssh to an SCO UNIX box without the | need to enter a password. | I found this article | | http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ | | I followed every step but I am still forced to type in a password to connect | to SCO UNIX. The root of the problem is | the need to interface a linux server running PHP + Apache to extract and | push data from a SCO UNIX running filePro. That article is less than clear. Which user's public key on the Linux machine did you copy into which user's .ssh/authorized_keys file on the SCO box? On the Linux box, what user are you logged in as, and which command are you using to go to the SCO machine? -- JP From fpgroups at gmail.com Wed Dec 9 12:34:48 2009 From: fpgroups at gmail.com (Jose Lerebours) Date: Wed, 9 Dec 2009 15:34:48 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <20091209202653.GD28779@jpradley.jpr.com> References: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> <20091209202653.GD28779@jpradley.jpr.com> Message-ID: <4c8e878f0912091234i65872b44h6bd8e67859afe0c4@mail.gmail.com> On Wed, Dec 9, 2009 at 3:26 PM, Jean-Pierre A. Radley wrote: > Jose Lerebours propounded (on Wed, Dec 09, 2009 at 03:16:54PM -0500): > | Trying to setup an UBUNTU Linux box to ssh to an SCO UNIX box without the > | need to enter a password. > | I found this article > | > | > http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ > | > | I followed every step but I am still forced to type in a password to > connect > | to SCO UNIX. The root of the problem is > | the need to interface a linux server running PHP + Apache to extract and > | push data from a SCO UNIX running filePro. > > That article is less than clear. > > Which user's public key on the Linux machine did you copy into which > user's .ssh/authorized_keys file on the SCO box? > > On the Linux box, what user are you logged in as, and which command are > you using to go to the SCO machine? > > I created a user in the SCO box called "web". I created the same user in the LINUX box. Logged in as "web" in linux and ran command `ssh web at unix` I was prompted to accept the key and then for a password. At this point, both LINUX and SCO have the id_rsa file created within the .ssh directory for user "web" I was logged in as "josel" but then `sudo su` to run the steps listed on the article I always used "web" as the user when logging into SCO or attempting to run remote commands Regards, jose -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091209/9f122c24/attachment.html From bill at celestial.com Wed Dec 9 12:36:12 2009 From: bill at celestial.com (Bill Campbell) Date: Wed, 9 Dec 2009 12:36:12 -0800 Subject: OT: ssh between linux and sco unix In-Reply-To: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> References: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> Message-ID: <20091209203612.GB31500@ayn.mi.celestial.com> On Wed, Dec 09, 2009, Jose Lerebours wrote: >Trying to setup an UBUNTU Linux box to ssh to an SCO UNIX box without the >need to enter a password. >I found this article > >http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ > >I followed every step but I am still forced to type in a password to connect >to SCO UNIX. The root of the problem is >the need to interface a linux server running PHP + Apache to extract and >push data from a SCO UNIX running filePro. Don't use ssh for this, but use rsync module(s). Using rsync modules makes it easy to restrict access by IP address and directory, and doesn't involve doing nasty things like have ssh keys with empty passwords. Another way to handle this if the machines are on the same network is using NFS to share a transfer directory, and have cron jobs that process files in that directory. >I tried using PHP built-in ftp commands but I am not able to execute shell >scripts thus I cannot run filePro *reports ... We also use XML-RPC with python extensively for things like this as they are quite easy to use, and can provide easy access to a set of commands on the remote system. 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 Whatever the State saith is a lie; whatever it hath is a theft: all is counterfeit in it, the gnawing, sanguinary, insatiate monster. -- Friedrich Wilhelm Nietzsche From appl at jpr.com Wed Dec 9 12:55:08 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Wed, 9 Dec 2009 15:55:08 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4c8e878f0912091234i65872b44h6bd8e67859afe0c4@mail.gmail.com> References: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> <20091209202653.GD28779@jpradley.jpr.com> <4c8e878f0912091234i65872b44h6bd8e67859afe0c4@mail.gmail.com> Message-ID: <20091209205508.GE28779@jpradley.jpr.com> Jose Lerebours propounded (on Wed, Dec 09, 2009 at 03:34:48PM -0500): | On Wed, Dec 9, 2009 at 3:26 PM, Jean-Pierre A. Radley wrote: | | > Jose Lerebours propounded (on Wed, Dec 09, 2009 at 03:16:54PM -0500): | > | Trying to setup an UBUNTU Linux box to ssh to an SCO UNIX box without the | > | need to enter a password. | > | I found this article | > | | > | | > http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ | > | | > | I followed every step but I am still forced to type in a password to | > connect | > | to SCO UNIX. The root of the problem is | > | the need to interface a linux server running PHP + Apache to extract and | > | push data from a SCO UNIX running filePro. | > | > That article is less than clear. | > | > Which user's public key on the Linux machine did you copy into which | > user's .ssh/authorized_keys file on the SCO box? | > | > On the Linux box, what user are you logged in as, and which command are | > you using to go to the SCO machine? | > | > | I created a user in the SCO box called "web". I created the same user in | the LINUX | box. Logged in as "web" in linux and ran command `ssh web at unix` I was | prompted | to accept the key and then for a password. | | At this point, both LINUX and SCO have the id_rsa file created within the | .ssh | directory for user "web" | | I was logged in as "josel" but then `sudo su` to run the steps listed on the | article | I always used "web" as the user when logging into SCO or attempting to run | remote | commands | Answer my first question, please. -- JP From boaz at mirrotek.com Wed Dec 9 13:29:11 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Wed, 09 Dec 2009 16:29:11 -0500 Subject: e-mail In-Reply-To: References: Message-ID: <4B2016A7.9090300@mirrotek.com> > > Date: Wed, 9 Dec 2009 13:20:26 -0500 From: Fairlight > Subject: Re: e-mail To: FilePro Mailing List > Message-ID: > <20091209132026.A12511 at iglou.com> Content-Type: text/plain; > charset=us-ascii The honourable and venerable J. P. Radley spoke thus: >> > ROBERT PULLIAM propounded (on Wed, Dec 09, 2009 at 10:10:03AM -0500): >> > | Using unix - have field with e-mail addresses. Is there a way >> > | to batch send to all patients with email address. Can also transfer the data to a windows machine, Would it be easier to send batch emails from Windows? >> > >> > Spin out the email addresses into a file using the CSV format. >> > >> > Then mail your message to `cat that_file`. >> > > Uhm, JP? And have the To: header contain -allllll- those addresses? > > Bad, bad idea. > > I can't believe you just advocated that. I mean, I thought I'd seen > everything, but I'm gonna go check and see if Satan is snowblowing his > driveway... > > mark-> > -- Audio panton, cogito singularis, Since I use Windows-based FPro I use Windows-based e-mail programs. In this case I use Blat (http://www.blat.net/194/ ). Blat has an option that allows you to send BCC to a list defined in a separate file. Set up Blat (or use the command line parameters for smtp server and 'from'address). Create the e-mail as a file. Create the file of e-mail addresses to send to. Then run the command: Blat -bf -subject Blat has many other options available if needed including sending attachments, etc. HTH, Boaz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091209/6585168c/attachment.html From fpgroups at gmail.com Wed Dec 9 16:44:43 2009 From: fpgroups at gmail.com (Jose Lerebours) Date: Wed, 9 Dec 2009 19:44:43 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <20091209205508.GE28779@jpradley.jpr.com> References: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> <20091209202653.GD28779@jpradley.jpr.com> <4c8e878f0912091234i65872b44h6bd8e67859afe0c4@mail.gmail.com> <20091209205508.GE28779@jpradley.jpr.com> Message-ID: <4c8e878f0912091644s691cf876y263bca002ac03ee2@mail.gmail.com> On Wed, Dec 9, 2009 at 3:55 PM, Jean-Pierre A. Radley wrote: > Jose Lerebours propounded (on Wed, Dec 09, 2009 at 03:34:48PM -0500): > | On Wed, Dec 9, 2009 at 3:26 PM, Jean-Pierre A. Radley > wrote: > | > | > Jose Lerebours propounded (on Wed, Dec 09, 2009 at 03:16:54PM -0500): > | > | Trying to setup an UBUNTU Linux box to ssh to an SCO UNIX box without > the > | > | need to enter a password. > | > | I found this article > | > | > | > | > | > > http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ > | > | > | > | I followed every step but I am still forced to type in a password to > | > connect > | > | to SCO UNIX. The root of the problem is > | > | the need to interface a linux server running PHP + Apache to extract > and > | > | push data from a SCO UNIX running filePro. > | > > | > That article is less than clear. > | > > | > Which user's public key on the Linux machine did you copy into which > | > user's .ssh/authorized_keys file on the SCO box? > | > > | > On the Linux box, what user are you logged in as, and which command are > | > you using to go to the SCO machine? > | > > | > > | I created a user in the SCO box called "web". I created the same user in > | the LINUX > | box. Logged in as "web" in linux and ran command `ssh web at unix` I was > | prompted > | to accept the key and then for a password. > | > | At this point, both LINUX and SCO have the id_rsa file created within the > | .ssh > | directory for user "web" > | > | I was logged in as "josel" but then `sudo su` to run the steps listed on > the > | article > | I always used "web" as the user when logging into SCO or attempting to > run > | remote > | commands > | > > > Answer my first question, please. > > I was logged in as "web" and I copied /home/web/.ssh/[key file] to the SCO box Regards, jose -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091209/e37e99bd/attachment-0001.html From fairlite at fairlite.com Wed Dec 9 18:23:27 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 9 Dec 2009 21:23:27 -0500 Subject: e-mail In-Reply-To: <4B2016A7.9090300@mirrotek.com>; from boaz@mirrotek.com on Wed, Dec 09, 2009 at 04:29:11PM -0500 References: <4B2016A7.9090300@mirrotek.com> Message-ID: <20091209212327.F20716@iglou.com> In the relative spacial/temporal region of Wed, Dec 09, 2009 at 04:29:11PM -0500, Boaz Bezborodko achieved the spontaneous generation of the following: > Since I use Windows-based FPro I use Windows-based e-mail programs. In > this case I use Blat (http://www.blat.net/194/ ). LightMail runs on Windows. :) http://www.fairlite.com/fc/products/lightmail/ mark-> -- Audio panton, cogito singularis, From toma at aldridgeinc.com Wed Dec 9 20:21:35 2009 From: toma at aldridgeinc.com (Tom Aldridge) Date: Wed, 09 Dec 2009 22:21:35 -0600 Subject: OT: ssh between linux and sco unix In-Reply-To: References: Message-ID: <4B20774F.7030806@aldridgeinc.com> > Jose Lerebours propounded (on Wed, Dec 09, 2009 at 03:16:54PM -0500): > | Trying to setup an UBUNTU Linux box to ssh to an SCO UNIX box without the > | need to enter a password. > | I found this article > | > | http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ > | > | I followed every step but I am still forced to type in a password to connect > | to SCO UNIX. The root of the problem is > | the need to interface a linux server running PHP + Apache to extract and > | push data from a SCO UNIX running filePro. > Jose, Here is my working example of what I do with several machines, i.e.... I "pull" rsync backups from a couple of machines to a machine, and I push backups to another machine simply because I have no shell access on that machine to set up a "pull". Been doing it on an automated basis, for several years without any security issues that I am aware of. Note, having identical user names on both machines is not necessary. Permissions are critical however. ------------------------------------------------------------ Create the backup script and test it first. Then, to automate the login process: Create ~/.ssh on the local machine if necessary and set the permissions to: chmod -R 700 ~/.ssh Create the public/private keys on the local machine: ssh-keygen -t rsa This created two files in the ~/.ssh directory: ~/.ssh//id_rsa (the private key) and ~/.ssh/id_rsa.pub (the public key), which you will share with the remote host. Now send your public key to the remote machine, so that it can trust you. scp ~/.ssh/id_rsa.pub username at machine.domain.com:.ssh/authorized_keys2 Set the permissions on the remote machine if necessary as well: chmod -R 0700 ~/.ssh IMPORTANT NOTE ABOUT THE PUBLIC KEY: If you're pulling the backup to the backup machine, copy (using scp) the same public key to each machine you're going to backup. Simply change the username at machine.domain.com each time you run the scp string: scp ~/.ssh/id_rsa.pub username at machine.domain.com:.ssh/authorized_keys2 If you're pushing the backup to a backup machine, append the public key to the authorized_keys file (be sure be in the home directory of the machine your pushing from): $ cd ~/homedir; cat .ssh/id_rsa.pub | ssh username at machine.domain.com 'cat >> .ssh/authorized_keys' ------------------------------------------------------------ Tom Aldridge From wvaughan at steelerubber.com Thu Dec 10 07:31:50 2009 From: wvaughan at steelerubber.com (Walter Vaughan) Date: Thu, 10 Dec 2009 10:31:50 -0500 Subject: e-mail In-Reply-To: <20091209212327.F20716@iglou.com> References: <4B2016A7.9090300@mirrotek.com> <20091209212327.F20716@iglou.com> Message-ID: <4B211466.4050807@steelerubber.com> Fairlight wrote: >LightMail runs on Windows. :) > > I was not trying to take money out of your pocket, rather *IF* this is the start of an email marketing program, a much better solution would be to use a templated method that manages opt-in and opt-out automatically. 1) export list from filePro 2) upload file to service 3) create and send professional looking email 4) measure delivery results 5) monitor effectivness, modify offer, and go to step 3 You are really going to want to have a feedback mechanism to tell you if email address is bad, and may just suffer from visible typo. Or people don't want to be emailed anymore. My point was to close the marketing circle, rather than just fire out a bunch of emails. The above method would make no sence if it's a one time thing related to a single transaction. From rkreiss at verizon.net Thu Dec 10 08:56:47 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Thu, 10 Dec 2009 11:56:47 -0500 Subject: e-mail In-Reply-To: <4B211466.4050807@steelerubber.com> References: <4B2016A7.9090300@mirrotek.com> <20091209212327.F20716@iglou.com> <4B211466.4050807@steelerubber.com> Message-ID: <006701ca79b9$c3337300$499a5900$@net> > -----Original Message----- > From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro- > list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Walter > Vaughan > Sent: Thursday, December 10, 2009 10:32 AM > To: filePro > Subject: Re: e-mail > > Fairlight wrote: > > >LightMail runs on Windows. :) > > > > > I was not trying to take money out of your pocket, rather > *IF* this is the start of an email marketing program, a much > better solution would be to use a templated method that > manages opt-in and opt-out automatically. > > 1) export list from filePro > 2) upload file to service > 3) create and send professional looking email > 4) measure delivery results > 5) monitor effectivness, modify offer, and go to step 3 > > You are really going to want to have a feedback mechanism > to tell you if email address is bad, and may just suffer from > visible typo. Or people don't want to be emailed anymore. > > My point was to close the marketing circle, rather than > just fire out a bunch of emails. > > The above method would make no sence if it's a one time > thing related to a single transaction. > The above presumes that all of the emails are the same(bulk email). This may not be what is wanted. I am using emails for one client where each person is getting a different pdf attachment of their activity. This totally automates a monthly process which runs through Windows task manager the first of every month and emails the individual reports without a clerk having to send 100 reports manually. In actuality, 75 reports are emailed with the balance being faxed. This is all build into programming which generates the proper output and commands for sending either by email or fax. Now, I have used Lightmail in my office. However, in this case, since my client is already using Printwizard, the process is run using Printwizard. I like both products. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From fpgroups at gmail.com Thu Dec 10 10:06:49 2009 From: fpgroups at gmail.com (Jose Lerebours) Date: Thu, 10 Dec 2009 13:06:49 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4B20774F.7030806@aldridgeinc.com> References: <4B20774F.7030806@aldridgeinc.com> Message-ID: <4c8e878f0912101006i5c5f4b50l8a625018e2e4eb95@mail.gmail.com> On Wed, Dec 9, 2009 at 11:21 PM, Tom Aldridge wrote: > Jose Lerebours propounded (on Wed, Dec 09, 2009 at 03:16:54PM -0500): >> | Trying to setup an UBUNTU Linux box to ssh to an SCO UNIX box without >> the >> | need to enter a password. >> | I found this article >> | >> | >> http://lani78.wordpress.com/2008/08/08/generate-a-ssh-key-and-disable-password-authentication-on-ubuntu-server/ >> | >> | I followed every step but I am still forced to type in a password to >> connect >> | to SCO UNIX. The root of the problem is >> | the need to interface a linux server running PHP + Apache to extract and >> | push data from a SCO UNIX running filePro. >> >> > Jose, > > Here is my working example of what I do with several machines, i.e.... I > "pull" rsync backups from a couple of machines to a machine, and I push > backups to another machine simply because I have no shell access on that > machine to set up a "pull". Been doing it on an automated basis, for several > years without any security issues that I am aware of. > > Note, having identical user names on both machines is not necessary. > Permissions are critical however. > > ------------------------------------------------------------ > Create the backup script and test it first. > > Then, to automate the login process: > > Create ~/.ssh on the local machine if necessary and set the permissions > to: chmod -R 700 ~/.ssh > > Create the public/private keys on the local machine: > > ssh-keygen -t rsa > > This created two files in the ~/.ssh directory: ~/.ssh//id_rsa (the > private key) and ~/.ssh/id_rsa.pub (the public key), which you will > share with the remote host. > > Now send your public key to the remote machine, so that it can trust you. > > scp ~/.ssh/id_rsa.pub username at machine.domain.com:.ssh/authorized_keys2 > > Set the permissions on the remote machine if necessary as well: chmod -R > 0700 ~/.ssh > > IMPORTANT NOTE ABOUT THE PUBLIC KEY: > > If you're pulling the backup to the backup machine, copy (using scp) the > same public key to each machine you're going to backup. Simply change > the username at machine.domain.com each time you run the scp string: scp > ~/.ssh/id_rsa.pub username at machine.domain.com:.ssh/authorized_keys2 > > If you're pushing the backup to a backup machine, append the public key > to the authorized_keys file (be sure be in the home directory of the > machine your pushing from): $ cd ~/homedir; cat .ssh/id_rsa.pub | ssh > username at machine.domain.com 'cat >> .ssh/authorized_keys' > ------------------------------------------------------------ > > Tom Aldridge > Tom, I am still required to enter a password to run shell scripts/commands off remote server. If I type ssh web at unix l /tmp I have to type password for user "web" as defined in the SCO box. Please notice the "unix" in web at unix is pointing to the SCO UNIX box. I really need this to work without having to enter the password - If I get this done, I will finish my project in matter of hours ... Regards, Jose -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091210/a0622323/attachment.html From fairlite at fairlite.com Thu Dec 10 10:51:04 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 10 Dec 2009 13:51:04 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4c8e878f0912101006i5c5f4b50l8a625018e2e4eb95@mail.gmail.com>; from fpgroups@gmail.com on Thu, Dec 10, 2009 at 01:06:49PM -0500 References: <4B20774F.7030806@aldridgeinc.com> <4c8e878f0912101006i5c5f4b50l8a625018e2e4eb95@mail.gmail.com> Message-ID: <20091210135104.D12225@iglou.com> With neither thought nor caution, Jose Lerebours blurted: > > ssh-keygen -t rsa You forgot the critical part--leave the passphrase -empty- during key generation. That's the part Jose needs. :) > > scp ~/.ssh/id_rsa.pub username at machine.domain.com:.ssh/authorized_keys2 Why are you using authorized_keys2? RSA keys have always gone in authorized_keys. I think authorized_keys2 may be meant for DSA keys, although I've honestly never even heard of the authorized_keys2 file before your email, and I've been using ssh for automation for...well a very LONG time. :) In fact, I just read the man page (and expressly searched for authorized_keys, and there's no mention of a file ending in 2 at all in the docs. Where'd you get that info? > Tom, > > I am still required to enter a password to run shell scripts/commands off > remote server. > > If I type ssh web at unix l /tmp > > I have to type password for user "web" as defined in the SCO box. Please > notice the > "unix" in web at unix is pointing to the SCO UNIX box. > > I really need this to work without having to enter the password - If I get > this done, I > will finish my project in matter of hours ... Make sure that the ssh key itself is generated using an empty passphrase. mark-> -- Audio panton, cogito singularis, From toma at aldridgeinc.com Thu Dec 10 11:12:43 2009 From: toma at aldridgeinc.com (Tom Aldridge) Date: Thu, 10 Dec 2009 13:12:43 -0600 Subject: OT: ssh between linux and sco unix In-Reply-To: <4c8e878f0912101006i5c5f4b50l8a625018e2e4eb95@mail.gmail.com> References: <4B20774F.7030806@aldridgeinc.com> <4c8e878f0912101006i5c5f4b50l8a625018e2e4eb95@mail.gmail.com> Message-ID: <4B21482B.8090105@aldridgeinc.com> On 12/10/2009 12:06 PM, Jose Lerebours wrote: > > Tom, > > I am still required to enter a password to run shell scripts/commands > off remote server. > > If I type ssh web at unix l /tmp > > I have to type password for user "web" as defined in the SCO box. > Please notice the > "unix" in web at unix is pointing to the SCO UNIX box. > > I really need this to work without having to enter the password - If I > get this done, I > will finish my project in matter of hours ... > > Regards, > > Jose Jose, What I gave you was for automated ssh logins for an rsync backup. However, I also have numerous linux boxes logging with no password to a server to run filePro stuff. However the process is essentially the same as per below. Before you read that though: 1) what is your command for logging in? Mine for example is along the lines of: "ssh -t login at domain.com '/usr/apps/script'". 2) Possibly you need to clear the known_hosts file and then remake and recopy your authentication key. 3) Other than that, maybe an ssh version issue? Anyway... SSH NO PASSWORD LOGIN -- EXAMPLE 1) At local box, copy the known_hosts file to known_hosts-bak and clear the contents of known_hosts b) Generate a pair of authentication keys. Do not enter a passphrase: $ ssh-keygen -t rsa 2) ssh into remotebox a) On remotebox, create the .ssh directory under users directory and set permissions and ownership (the directory may already exist obviously). If not: # cd /home/username; mkdir -p .ssh; chown -R username /home/username/.ssh; chgrp username /home/username/.ssh; chmod 755 /home/username; chmod -R 700 /home/username/.ssh 3) Exit from remotebox and back at localbox, append localbox's new public key to the authorized_keys file on remotebox (be sure be in the localbox's home directory: $ cd /home/user; cat .ssh/id_rsa.pub | ssh user at remotebox.com 'cat >> .ssh/authorized_keys' You will be prompted to enter localbox's password one last time. From now on you should be able to log into remotebox without a password. Tom From fairlite at fairlite.com Thu Dec 10 11:51:55 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 10 Dec 2009 14:51:55 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4B21482B.8090105@aldridgeinc.com>; from toma@aldridgeinc.com on Thu, Dec 10, 2009 at 01:12:43PM -0600 References: <4B20774F.7030806@aldridgeinc.com> <4c8e878f0912101006i5c5f4b50l8a625018e2e4eb95@mail.gmail.com> <4B21482B.8090105@aldridgeinc.com> Message-ID: <20091210145155.A15905@iglou.com> known_hosts has no bearing on the issue. If known_hosts were an issue, the client would make Jose -painfully- aware of it, with a message including all caps warnings. mark-> From toma at aldridgeinc.com Fri Dec 11 05:53:57 2009 From: toma at aldridgeinc.com (Tom Aldridge) Date: Fri, 11 Dec 2009 07:53:57 -0600 Subject: OT: ssh between linux and sco unix In-Reply-To: References: Message-ID: <4B224EF5.1010707@aldridgeinc.com> Mark replied: > > You forgot the critical part--leave the passphrase -empty- during key > generation. That's the part Jose needs. :) There are so many examples of this process and they pretty much ALL say that part, so I assumed he knew that. In fact, now that I just googled "ssh/authorized_keys2" and it returned 75,400 results) I see there are so many examples of this entire process I'm not sure why he brought it to this list or why I responded. > >>> scp ~/.ssh/id_rsa.pub username at machine.domain.com:.ssh/authorized_keys2 > > Why are you using authorized_keys2? RSA keys have always gone in > authorized_keys. I think authorized_keys2 may be meant for DSA keys, > although I've honestly never even heard of the authorized_keys2 file before > your email, and I've been using ssh for automation for...well a very LONG > time. :) Long time... me too. In fact, just the other night I set up a no password ssh rsync backup for my daughter's windows box (cygwin) to a web hosting's backup server and authorized_keys2 worked while authorized_keys didn't. I've used one or the other depending on which one took. I guess it's an ssh version thing... something I pointed out to him that could be an issue between his linux and sco box. Tom > > In fact, I just read the man page (and expressly searched for > authorized_keys, and there's no mention of a file ending in 2 at all in the > docs. > > Where'd you get that info? > >> Tom, >> >> I am still required to enter a password to run shell scripts/commands off >> remote server. >> >> If I type ssh web at unix l /tmp >> >> I have to type password for user "web" as defined in the SCO box. Please >> notice the >> "unix" in web at unix is pointing to the SCO UNIX box. >> >> I really need this to work without having to enter the password - If I get >> this done, I >> will finish my project in matter of hours ... > > Make sure that the ssh key itself is generated using an empty passphrase. > > mark-> From fpgroups at gmail.com Fri Dec 11 06:52:15 2009 From: fpgroups at gmail.com (Jose Lerebours) Date: Fri, 11 Dec 2009 09:52:15 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4B224EF5.1010707@aldridgeinc.com> References: <4B224EF5.1010707@aldridgeinc.com> Message-ID: <4c8e878f0912110652x125bf8dfu575defa5b9b46927@mail.gmail.com> On Fri, Dec 11, 2009 at 8:53 AM, Tom Aldridge wrote: > Mark replied: > > > > You forgot the critical part--leave the passphrase -empty- during key > > generation. That's the part Jose needs. :) > > There are so many examples of this process and they pretty much ALL say > that part, so I assumed he knew that. In fact, now that I just googled > "ssh/authorized_keys2" and it returned 75,400 results) I see there are > so many examples of this entire process I'm not sure why he brought it > to this list or why I responded. > > I was aware of it and I never used passphrase ... On my original post I included a link to one of those many hits and after having followed the steps, I still was not able to log in nor run a commands without providing a password. > > > >>> scp ~/.ssh/id_rsa.pub username at machine.domain.com: > .ssh/authorized_keys2 > > > > Why are you using authorized_keys2? RSA keys have always gone in > > authorized_keys. I think authorized_keys2 may be meant for DSA keys, > > although I've honestly never even heard of the authorized_keys2 file > before > > your email, and I've been using ssh for automation for...well a very LONG > > time. :) > > Long time... me too. In fact, just the other night I set up a no > password ssh rsync backup for my daughter's windows box (cygwin) to a > web hosting's backup server and authorized_keys2 worked while > authorized_keys didn't. I've used one or the other depending on which > one took. I guess it's an ssh version thing... something I pointed out > to him that could be an issue between his linux and sco box. > > At this point, I am going to try you last suggestion to remove the trusted hosts and start over again. I am inclined to pay for the service if one of you is willing to take it up and get this thing to work for me ... Please let me know if interested! Regards, Jose -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091211/863b89ee/attachment.html From fairlite at fairlite.com Fri Dec 11 07:06:36 2009 From: fairlite at fairlite.com (Fairlight) Date: Fri, 11 Dec 2009 10:06:36 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4B224EF5.1010707@aldridgeinc.com>; from toma@aldridgeinc.com on Fri, Dec 11, 2009 at 07:53:57AM -0600 References: <4B224EF5.1010707@aldridgeinc.com> Message-ID: <20091211100636.A17592@iglou.com> With neither thought nor caution, Tom Aldridge blurted: > > There are so many examples of this process and they pretty much ALL say > that part, so I assumed he knew that. In fact, now that I just googled If he knew, he'd have it working already. :) > Long time... me too. In fact, just the other night I set up a no > password ssh rsync backup for my daughter's windows box (cygwin) to a > web hosting's backup server and authorized_keys2 worked while > authorized_keys didn't. I've used one or the other depending on which > one took. I guess it's an ssh version thing... something I pointed out > to him that could be an issue between his linux and sco box. I think it comes down to what the AuthorizedKeysFile directive in sshd_conf is configured to use. There's nothing magical about the 2 suffix that I can tell, and there's only one such directive in the man page for sshd_config. My -guess- is that Fedora (I believe you use Fedora), in their infinite wisdom, broke with tradition and set the directive to a new location for some obscure reason. mark-> From henry at vegena.net Fri Dec 11 11:31:49 2009 From: henry at vegena.net (Enrique Arredondo) Date: Fri, 11 Dec 2009 11:31:49 -0800 (CST) Subject: browse lookup in report Message-ID: Why can't we use browse lookups at the selection processing of a report ? Is there a scientific explanation for that? thanks EA From toma at aldridgeinc.com Fri Dec 11 10:28:37 2009 From: toma at aldridgeinc.com (Tom Aldridge) Date: Fri, 11 Dec 2009 12:28:37 -0600 Subject: OT: ssh between linux and sco unix In-Reply-To: <4c8e878f0912110652x125bf8dfu575defa5b9b46927@mail.gmail.com> References: <4B224EF5.1010707@aldridgeinc.com> <4c8e878f0912110652x125bf8dfu575defa5b9b46927@mail.gmail.com> Message-ID: <4B228F55.50502@aldridgeinc.com> On 12/11/2009 8:52 AM, Jose Lerebours wrote: > > > On Fri, Dec 11, 2009 at 8:53 AM, Tom Aldridge > wrote: > > Mark replied: > > > > You forgot the critical part--leave the passphrase -empty- during key > > generation. That's the part Jose needs. :) > > There are so many examples of this process and they pretty much ALL say > that part, so I assumed he knew that. In fact, now that I just googled > "ssh/authorized_keys2" and it returned 75,400 results) I see there are > so many examples of this entire process I'm not sure why he brought it > to this list or why I responded. > > > I was aware of it and I never used passphrase ... > > On my original post I included a link to one of those many hits and > after having followed the steps, I still was not able to log in nor run > a commands without providing a password. > > > > >>> scp ~/.ssh/id_rsa.pub > username at machine.domain.com:.ssh/authorized_keys2 > > > > Why are you using authorized_keys2? RSA keys have always gone in > > authorized_keys. I think authorized_keys2 may be meant for DSA keys, > > although I've honestly never even heard of the authorized_keys2 > file before > > your email, and I've been using ssh for automation for...well a > very LONG > > time. :) > > Long time... me too. In fact, just the other night I set up a no > password ssh rsync backup for my daughter's windows box (cygwin) to a > web hosting's backup server and authorized_keys2 worked while > authorized_keys didn't. I've used one or the other depending on which > one took. I guess it's an ssh version thing... something I pointed out > to him that could be an issue between his linux and sco box. > > > At this point, I am going to try you last suggestion to remove the > trusted hosts and start over again. I am inclined to pay for the > service if one of you is willing to take it up and get this thing to > work for me ... Please let me know if interested! > > Regards, > > > Jose > Jose, Other than what I've given you, I'm not sure what else to look for. Did you try both authorized_keys and authorized_keys2? Did you make sure .ssh permissions are set correctly on both boxes? Did you check out what version of ssh is running on either box? You could try setting up a no-password ssh log in between two users on the same linux box or between two linux boxes, if you have those available. If you can get that to work, it's something with the SCO box. Tom From john at valar.com Fri Dec 11 14:09:09 2009 From: john at valar.com (John Esak) Date: Fri, 11 Dec 2009 17:09:09 -0500 Subject: browse lookup in report In-Reply-To: Message-ID: <200912112207.nBBM7vni019121@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 Enrique Arredondo > Sent: Friday, December 11, 2009 2:32 PM > To: filepro-list at lists.celestial.com > Subject: browse lookup in report > > Why can't we use browse lookups at the selection processing > of a report ? > > Is there a scientific explanation for that? > > thanks > > EA Yes, the answer is. Just because. Now this worked when my sister used it on me back in the 50'. Has it lost its power? John Esak P.S. There really is probably no technical reason why the browse function couldn't be adapted to work without the concept of a screen behind it. The larger issue is that a browse by its nature is a mechanism that allows the user to select one (1) record. You would have to arrange some "other" processing simply to hold any records (more than one) on which you were going to run the report part of the whole routine. There are numerous ways of doing this of course... None really perfectly suited, but some ideas do come to mind as work-arounds. Sit in rclerk and run your browse against the file from which you want to select records. Store them in another file congruent to the first file and then ump out with a SYSTEM command to actually run the report on that spin-off file. Another really off-the-top with no sanity checking at all that would run in select processing is: Put up an array (you know a listbx) of the file you are sitting in. Selecting a choice from the listbox would lookup dash you to that record and select it, then put up the array again. When they were done picking records, lookup dash to the last record in the file (based on the command line choice of an index) and END. The report would then run with all the choices made through the listbox method. Very strange, but I don't see why it wouldn't work. John From kenbrody at spamcop.net Fri Dec 11 14:57:01 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Fri, 11 Dec 2009 17:57:01 -0500 Subject: browse lookup in report In-Reply-To: References: Message-ID: <4B22CE3D.9030006@spamcop.net> Enrique Arredondo wrote: > Why can't we use browse lookups at the selection processing of a report ? > > Is there a scientific explanation for that? Because doing so would have required crossing the streams. :-) -- Kenneth Brody From rkreiss at verizon.net Fri Dec 11 15:37:13 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Fri, 11 Dec 2009 18:37:13 -0500 Subject: browse lookup in report In-Reply-To: References: Message-ID: <005b01ca7aba$de477090$9ad651b0$@net> > -----Original Message----- > From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro- > list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Enrique > Arredondo > Sent: Friday, December 11, 2009 2:32 PM > To: filepro-list at lists.celestial.com > Subject: browse lookup in report > > Why can't we use browse lookups at the selection processing of a report ? > > Is there a scientific explanation for that? > > thanks > > EA The only way to get a browse lookup in a report is to create your selection process in *clerk and then using system to run the report. The pass the parameters to the report's actual select process by either using -r on the command line or by setting environmental variables from *clerk and the get these in the select process. Use @pm etc to get these values. Sy="/fp/rreport foobar -f this_repeort -v sel_options -a -r" --------------- Original Message --------------- At 05:57P Fri Dec 11 2009, Kenneth Brody wrote: > Enrique Arredondo wrote: > > Why can't we use browse lookups at the selection processing of a report ? > > > > Is there a scientific explanation for that? > > Because doing so would have required crossing the streams. :-) > To get to the other side? 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 ScottWalker at RAMSystemsCorp.com Fri Dec 11 16:10:22 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Fri, 11 Dec 2009 19:10:22 -0500 Subject: browse lookup in report In-Reply-To: <200912112207.nBBM7vni019121@admin114.securesites.net> References: <200912112207.nBBM7vni019121@admin114.securesites.net> Message-ID: <000001ca7abf$81cedb00$856c9100$@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 John Esak Sent: Friday, December 11, 2009 5:09 PM To: 'Enrique Arredondo'; filepro-list at lists.celestial.com Cc: filepro-list at lists.celestial.com Subject: RE: browse lookup in report > -----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 Enrique Arredondo > Sent: Friday, December 11, 2009 2:32 PM > To: filepro-list at lists.celestial.com > Subject: browse lookup in report > > Why can't we use browse lookups at the selection processing > of a report ? > > Is there a scientific explanation for that? > > thanks > > EA Yes, the answer is. Just because. Now this worked when my sister used it on me back in the 50'. Has it lost its power? John Esak P.S. There really is probably no technical reason why the browse function couldn't be adapted to work without the concept of a screen behind it. The larger issue is that a browse by its nature is a mechanism that allows the user to select one (1) record. You would have to arrange some "other" processing simply to hold any records (more than one) on which you were going to run the report part of the whole routine. There are numerous ways of doing this of course... None really perfectly suited, but some ideas do come to mind as work-arounds. Sit in rclerk and run your browse against the file from which you want to select records. Store them in another file congruent to the first file and then ump out with a SYSTEM command to actually run the report on that spin-off file. Another really off-the-top with no sanity checking at all that would run in select processing is: Put up an array (you know a listbx) of the file you are sitting in. Selecting a choice from the listbox would lookup dash you to that record and select it, then put up the array again. When they were done picking records, lookup dash to the last record in the file (based on the command line choice of an index) and END. The report would then run with all the choices made through the listbox method. Very strange, but I don't see why it wouldn't work. John I often have wanted to be able to use a browse lookup in sort/select processing. Think about it...you are running an Accounts Receivable report...it asks you "All Customers or Single Customer". You say Single. Then it says "Enter Customer Code to Select: ". OK, since you want the report for "Republic Viking Engineering Design Services" you now have to magically remember what their customer code is. It would be great to enter the first few characters of their name and then press to pop up a browse lookup of the customer file. Make your pick and away you go! That feature alone would have made me move to 5.6 since most of my reports have a lot of selectivity where you need to use the appropriate code (ie. Customer Code, Factory Code, Salesman Code, Office Code, Category Code, Part#, etc.) Regards, Scott Scott Walker RAM Systems Corp From toma at aldridgeinc.com Fri Dec 11 16:32:12 2009 From: toma at aldridgeinc.com (Tom Aldridge) Date: Fri, 11 Dec 2009 18:32:12 -0600 Subject: OT: ssh between linux and sco unix In-Reply-To: References: Message-ID: <4B22E48C.8000305@aldridgeinc.com> Fairlight replied to Tom Aldridge: > With neither thought nor caution, Tom Aldridge blurted: > >> There are so many examples of this process and they pretty much ALL say >> that part, so I assumed he knew that. In fact, now that I just googled >> > If he knew, he'd have it working already. :) > > Mark, how does putting a smiley face at the end of a sentence alter the meaning of an unnecessary remark? :) >> Long time... me too. In fact, just the other night I set up a no >> password ssh rsync backup for my daughter's windows box (cygwin) to a >> web hosting's backup server and authorized_keys2 worked while >> authorized_keys didn't. I've used one or the other depending on which >> one took. I guess it's an ssh version thing... something I pointed out >> to him that could be an issue between his linux and sco box. >> > I think it comes down to what the AuthorizedKeysFile directive in sshd_conf > is configured to use. There's nothing magical about the 2 suffix that I > can tell, and there's only one such directive in the man page for > sshd_config. > > My -guess- is that Fedora (I believe you use Fedora), in their infinite > wisdom, broke with tradition and set the directive to a new location for > some obscure reason. > > mark-> > Mark, it is not a Fedora thing. Not at all. I am positive. Tom From fairlite at fairlite.com Fri Dec 11 16:39:53 2009 From: fairlite at fairlite.com (Fairlight) Date: Fri, 11 Dec 2009 19:39:53 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4B22E48C.8000305@aldridgeinc.com>; from toma@aldridgeinc.com on Fri, Dec 11, 2009 at 06:32:12PM -0600 References: <4B22E48C.8000305@aldridgeinc.com> Message-ID: <20091211193953.A617@iglou.com> You'll never BELIEVE what Tom Aldridge said here...: > Mark, how does putting a smiley face at the end of a sentence alter the > meaning of an unnecessary remark? :) In my case, it means I'm smiling and find something either amusing or ironic. It's a tone indicator. > Mark, it is not a Fedora thing. Not at all. I am positive. Well, if Fedora ships configured to use the keys2 file by default, they're hanging on to an old configuration standard: http://www.itefix.no/i2/node/11260 I was right the first time around...the keys2 files was originally for DSA keys as opposed to RSA keys. Now they all go in one file...which is -supposed- to just be authorized_keys, not authorized_keys2. mark-> -- Audio panton, cogito singularis, From appl at jpr.com Fri Dec 11 16:46:44 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Fri, 11 Dec 2009 19:46:44 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4c8e878f0912091644s691cf876y263bca002ac03ee2@mail.gmail.com> References: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> <20091209202653.GD28779@jpradley.jpr.com> <4c8e878f0912091234i65872b44h6bd8e67859afe0c4@mail.gmail.com> <20091209205508.GE28779@jpradley.jpr.com> <4c8e878f0912091644s691cf876y263bca002ac03ee2@mail.gmail.com> Message-ID: <20091212004644.GF28779@jpradley.jpr.com> Jose Lerebours propounded (on Wed, Dec 09, 2009 at 07:44:43PM -0500): | On Wed, Dec 9, 2009 at 3:55 PM, Jean-Pierre A. Radley wrote: | | I was logged in as "web" and I copied /home/web/.ssh/[key file] to the SCO | box | If you really want help, Jose, then *really* answer my question! What is the actual filename you refer to as [key file]? And to what /path/filename was it copied on the Linux box? -- JP From brian at aljex.com Fri Dec 11 18:13:32 2009 From: brian at aljex.com (Brian K. White) Date: Fri, 11 Dec 2009 21:13:32 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <20091212004644.GF28779@jpradley.jpr.com> References: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> <20091209202653.GD28779@jpradley.jpr.com> <4c8e878f0912091234i65872b44h6bd8e67859afe0c4@mail.gmail.com> <20091209205508.GE28779@jpradley.jpr.com> <4c8e878f0912091644s691cf876y263bca002ac03ee2@mail.gmail.com> <20091212004644.GF28779@jpradley.jpr.com> Message-ID: <4B22FC4C.4040902@aljex.com> Jean-Pierre A. Radley wrote: > Jose Lerebours propounded (on Wed, Dec 09, 2009 at 07:44:43PM -0500): > | On Wed, Dec 9, 2009 at 3:55 PM, Jean-Pierre A. Radley wrote: > | > | I was logged in as "web" and I copied /home/web/.ssh/[key file] to the SCO > | box > | > > If you really want help, Jose, then *really* answer my question! > > What is the actual filename you refer to as [key file]? > > And to what /path/filename was it copied on the Linux box? > I cracked up when I read that. I sent a file. What file did you send exactly? I sent a file. -- bkw From fairlite at fairlite.com Fri Dec 11 18:27:53 2009 From: fairlite at fairlite.com (Fairlight) Date: Fri, 11 Dec 2009 21:27:53 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4B22FC4C.4040902@aljex.com>; from brian@aljex.com on Fri, Dec 11, 2009 at 09:13:32PM -0500 References: <4c8e878f0912091216i765e2e78i1e4cd7418545cd45@mail.gmail.com> <20091209202653.GD28779@jpradley.jpr.com> <4c8e878f0912091234i65872b44h6bd8e67859afe0c4@mail.gmail.com> <20091209205508.GE28779@jpradley.jpr.com> <4c8e878f0912091644s691cf876y263bca002ac03ee2@mail.gmail.com> <20091212004644.GF28779@jpradley.jpr.com> <4B22FC4C.4040902@aljex.com> Message-ID: <20091211212753.A2895@iglou.com> Is it just me, or did Brian K. White say: > > I sent a file. > What file did you send exactly? > I sent a file. Okay, what did the file contain? I dunno, I just sent a file. Containing what? Whatever was in the file. Okay, where did you put it? I don't know. Wherever it got stored. I've actually -had- conversations like that with people. :/ mark-> -- Audio panton, cogito singularis, From kenbrody at spamcop.net Sat Dec 12 08:04:13 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Sat, 12 Dec 2009 11:04:13 -0500 Subject: browse lookup in report In-Reply-To: References: Message-ID: <4B23BEFD.7070902@spamcop.net> Jim Asman wrote: > > --------------- Original Message --------------- > At 05:57P Fri Dec 11 2009, Kenneth Brody wrote: > >> Enrique Arredondo wrote: >>> Why can't we use browse lookups at the selection processing of a report ? >>> >>> Is there a scientific explanation for that? >> Because doing so would have required crossing the streams. :-) > > To get to the other side? No, that would be crossing the road. I guess it was too obscure of a reference? http://www.imdb.com/title/tt0087332/quotes#qt0475898 -- Kenneth Brody From toma at aldridgeinc.com Sat Dec 12 08:56:21 2009 From: toma at aldridgeinc.com (Tom Aldridge) Date: Sat, 12 Dec 2009 10:56:21 -0600 Subject: OT: ssh between linux and sco unix In-Reply-To: References: Message-ID: <4B23CB35.8020700@aldridgeinc.com> From: Fairlight > Well, if Fedora ships configured to use the keys2 file by default, they're > hanging on to an old configuration standard: > > http://www.itefix.no/i2/node/11260 > > No Fedora is not hanging onto an old standard... The ~/.ssh directories of any no-password-ssh accounts each have an authorized_keys file, not 2. > I was right the first time around...the keys2 files was originally for DSA > keys as opposed to RSA keys. Now they all go in one file...which is > -supposed- to just be authorized_keys, not authorized_keys2. > > mark-> > Now I am not sure why I suggested in the one example to use authorized_keys2. It just seems to me that I've had more than one occassion when setting this up to a box that I didn't control, that I had to place the key into authorized_key2 to get the darn thing to work. Like the other day in setting up with windows-->web hoster backup server thing I referred to. Tom From fairlite at fairlite.com Sat Dec 12 09:44:26 2009 From: fairlite at fairlite.com (Fairlight) Date: Sat, 12 Dec 2009 12:44:26 -0500 Subject: OT: ssh between linux and sco unix In-Reply-To: <4B23CB35.8020700@aldridgeinc.com>; from toma@aldridgeinc.com on Sat, Dec 12, 2009 at 10:56:21AM -0600 References: <4B23CB35.8020700@aldridgeinc.com> Message-ID: <20091212124426.A26140@iglou.com> You'll never BELIEVE what Tom Aldridge said here...: > No Fedora is not hanging onto an old standard... The ~/.ssh directories > of any no-password-ssh accounts each have an authorized_keys file, not 2. Ok. > Now I am not sure why I suggested in the one example to use > authorized_keys2. It just seems to me that I've had more than one > occassion when setting this up to a box that I didn't control, that I > had to place the key into authorized_key2 to get the darn thing to work. > Like the other day in setting up with windows-->web hoster backup server > thing I referred to. I think that's called "tossing solutions that might work at a problem that you don't fully understand". People do this all the time. Sometimes it works by luck (ie., in this case, you have an older installation of openssh that recognises authorized_keys2 and get lucky). Sometimes it doesn't work but is harmless. And other times...well, other times people throw random fixes at things out of desperation and it costs them a few hundred to $1k+ to get not only a working solution, but to get the mess they created sorted out. I didn't really comment previously, other than to wonder why you'd be suggesting a file that no current documentation suggests exists (unless manually set to be relevant). But all along I've had the feeling that you've been tossing a solution at this problem (and some of your own problems) without fully understanding what you're doing. I'm not insulting you, I'm telling you (and anyone that would do the same) to be careful. "Fixing" things without understanding what you're doing can have some nasty (and sometimes expensive) side effects. Someone I do work for screwed up a virgin samba installation on an OpenSuSE box -so- badly and -so- obscurely that it took 5hrs just to find out what the heck they mangled. Then it took 30 seconds to actually do correctly what they tried to "fix" the first time. All because they didn't actually understand how the subsystem works, a $100 charge turned into a $500 charge. Then he wanted to dispute the cost, blame the OS, and any odd number of things--none of which flew with me. Key point being that that's a prime example of someone "fixing" something without knowing what they're doing, with unfortunate and costly side effects. BTW...the reason I didn't initially recognise authorized_keys2 as -ever- being a valid file is because... PuTTY's developer refused to do DSA (version 2) for a while, citing security issues. I therefore personally avoided version 2 for quite some time, deferring to his cryptological expertise over my own. Eventually I switched to version 2 when my ISP mandated a full change and banned version 1. By that time, DSA keys were allowed in the same authorized key file as RSA keys, so I'd never seen documentation to the contrary because I missed dealing with DSA through that entire period of time where they were segregated. That's why I had to look up the history of that file when the docs came up blank. But I -did- look it up...which is something one should do if you're being careful about how you fix things. But it's "your" (ie., anyone's that tries [semi-]random fixes) dime if you want to do it the risky way. I just don't like to see the risky way being advocated as a blanket solution. mark-> -- Audio panton, cogito singularis, From toma at aldridgeinc.com Sun Dec 13 08:23:32 2009 From: toma at aldridgeinc.com (Tom Aldridge) Date: Sun, 13 Dec 2009 10:23:32 -0600 Subject: OT: ssh between linux and sco unix In-Reply-To: References: Message-ID: <4B251504.300@aldridgeinc.com> Fairlight replied to Tom Aldridge: > I think that's called "tossing solutions that might work at a problem > that you don't fully understand". > > People do this all the time. Sometimes it works by luck (ie., in this > case, you have an older installation of openssh that recognises > authorized_keys2 and get lucky). Sometimes it doesn't work but is > harmless. > And other times...well, other times people throw random fixes at things > out > of desperation and it costs them a few hundred to $1k+ to get not only a > working solution, but to get the mess they created sorted out. > It is my opinion that suggesting trying authorized_keys2 is hardly like throwing crap at a wall to see if it sticks. God, please in the future remind me of my normal mode of operating.... "monitor but don't contribute" to avoid getting sucked into a boorishly long thread with Fairlight. Sorry Mark, but you make contributing to this list rather unappealing because you are such a know-it-all. You may be very informed, but you lack humility. Tom From rkreiss at gccconsulting.net Mon Dec 14 13:12:59 2009 From: rkreiss at gccconsulting.net (gcc consulting) Date: Mon, 14 Dec 2009 16:12:59 -0500 Subject: Filepro dlowdown Message-ID: <20091214211259.8ECF4729B6C@mail31.mailforbusiness.com> Windows Server 2008 Client - Windows XP After a Windiows XP update around Thanksgiving, my client has noticed a conciderable slowdown when filpro exits back to the menu from *clerk. This only seems to happen from application menus where filenames are used. If entered from the developers menu, no delay. We are talking about 10 second or more to return to the calling menu. Has anyone else seen this problem? Richard Kreiss GCC Consulting >From my phone >From my phone # From john at valar.com Mon Dec 14 13:20:42 2009 From: john at valar.com (John Esak) Date: Mon, 14 Dec 2009 16:20:42 -0500 Subject: Filepro dlowdown In-Reply-To: <20091214211259.8ECF4729B6C@mail31.mailforbusiness.com> Message-ID: <200912142119.nBELJSsp042605@admin114.securesites.net> I saw this exact symptom one time... Years ago... But it was when I tried to mount an NFS filepro directory. Never tried it since. I'm sure youre not doing that... But is it possible your developmer menu has access to the correct DNS and the user menu doesn't? 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: Monday, December 14, 2009 4:13 PM > To: Filepro List > Subject: Filepro dlowdown > > Windows Server 2008 > Client - Windows XP > > After a Windiows XP update around Thanksgiving, my client has > noticed a conciderable slowdown when filpro exits back to the > menu from *clerk. > > This only seems to happen from application menus where > filenames are used. If entered from the developers menu, no delay. > > We are talking about 10 second or more to return to the calling menu. > > Has anyone else seen this problem? > > Richard Kreiss > GCC Consulting > > >From my phone > > >From my phone # > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From rkreiss at verizon.net Mon Dec 14 13:27:47 2009 From: rkreiss at verizon.net (Rkreiss@verizon.net]) Date: Mon, 14 Dec 2009 16:27:47 -0500 Subject: Filepro dlowdown Message-ID: <0KUN00DKRVM92ZA0@vms173019.mailsrvcs.net> John, The problem is most pronounced with the locally attacted computers. This is less of a problem when running from Terminal server. The terminal server is mapped to the database server through a gigabit connection. The local machines are connected through a 100 mb switch. I have a lot of processing running in auto processing on the file which takes the longest to exit. Could this cause such a lon delay? This processing runs very fast when accessing a record. Richard -----Original Message----- From: John Esak Sent: Monday, December 14, 2009 4:20 PM To: 'gcc consulting' ; 'Filepro List' Cc: filepro-list at lists.celestial.com Subject: RE: Filepro dlowdown I saw this exact symptom one time... Years ago... But it was when I tried to mount an NFS filepro directory. Never tried it since. I'm sure youre not doing that... But is it possible your developmer menu has access to the correct DNS and the user menu doesn't? 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: Monday, December 14, 2009 4:13 PM > To: Filepro List > Subject: Filepro dlowdown > > Windows Server 2008 > Client - Windows XP > > After a Windiows XP update around Thanksgiving, my client has > noticed a conciderable slowdown when filpro exits back to the > menu from *clerk. > > This only seems to happen from application menus where > filenames are used. If entered from the developers menu, no delay. > > We are talking about 10 second or more to return to the calling menu. > > Has anyone else seen this problem? > > Richard Kreiss > GCC Consulting > > >From my phone > > >From my phone # > _______________________________________________ > 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 john at valar.com Mon Dec 14 13:42:47 2009 From: john at valar.com (John Esak) Date: Mon, 14 Dec 2009 16:42:47 -0500 Subject: Filepro dlowdown In-Reply-To: <0KUN00DKRVM92ZA0@vms173019.mailsrvcs.net> Message-ID: <200912142141.nBELfXem052261@admin114.securesites.net> I don't see how the processing could affect this problem at all. And as you say it works fine reocrd to record and when you have different connection types. I know I would always like to run on the server like rdp'ing (terminal services) into the server and working rather than dragging stuff back and forth to local machines of course. But you know that, so no help there. Did this just start happening? John > -----Original Message----- > From: Rkreiss at verizon.net] [mailto:rkreiss at verizon.net] > Sent: Monday, December 14, 2009 4:28 PM > To: john at valar.com; 'gcc consulting'; 'Filepro List' > Cc: filepro-list at lists.celestial.com > Subject: RE: Filepro dlowdown > > John, > > The problem is most pronounced with the locally attacted > computers. This is less of a problem when running from > Terminal server. > > The terminal server is mapped to the database server through > a gigabit connection. The local machines are connected > through a 100 mb switch. > > I have a lot of processing running in auto processing on the > file which takes the longest to exit. Could this cause such > a lon delay? > > This processing runs very fast when accessing a record. > > Richard > > -----Original Message----- > From: John Esak > Sent: Monday, December 14, 2009 4:20 PM > To: 'gcc consulting' ; 'Filepro > List' > Cc: filepro-list at lists.celestial.com > Subject: RE: Filepro dlowdown > > I saw this exact symptom one time... Years ago... But it was > when I tried to > mount an NFS filepro directory. Never tried it since. I'm > sure youre not > doing that... But is it possible your developmer menu has > access to the > correct DNS and the user menu doesn't? > > 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: Monday, December 14, 2009 4:13 PM > > To: Filepro List > > Subject: Filepro dlowdown > > > > Windows Server 2008 > > Client - Windows XP > > > > After a Windiows XP update around Thanksgiving, my client has > > noticed a conciderable slowdown when filpro exits back to the > > menu from *clerk. > > > > This only seems to happen from application menus where > > filenames are used. If entered from the developers menu, no delay. > > > > We are talking about 10 second or more to return to the > calling menu. > > > > Has anyone else seen this problem? > > > > Richard Kreiss > > GCC Consulting > > > > >From my phone > > > > >From my phone # > > _______________________________________________ > > 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 verizon.net Mon Dec 14 14:22:20 2009 From: rkreiss at verizon.net (Rkreiss@verizon.net]) Date: Mon, 14 Dec 2009 17:22:20 -0500 Subject: Filepro dlowdown Message-ID: <0KUN00JQZY56QH58@vms173001.mailsrvcs.net> Yes - after an OS update around Thanksgiving. Richard -----Original Message----- From: John Esak Sent: Monday, December 14, 2009 4:42 PM To: 'Rkreiss at verizon.net]' ; 'gcc consulting' ; 'Filepro List' Cc: filepro-list at lists.celestial.com Subject: RE: Filepro dlowdown I don't see how the processing could affect this problem at all. And as you say it works fine reocrd to record and when you have different connection types. I know I would always like to run on the server like rdp'ing (terminal services) into the server and working rather than dragging stuff back and forth to local machines of course. But you know that, so no help there. Did this just start happening? John > -----Original Message----- > From: Rkreiss at verizon.net] [mailto:rkreiss at verizon.net] > Sent: Monday, December 14, 2009 4:28 PM > To: john at valar.com; 'gcc consulting'; 'Filepro List' > Cc: filepro-list at lists.celestial.com > Subject: RE: Filepro dlowdown > > John, > > The problem is most pronounced with the locally attacted > computers. This is less of a problem when running from > Terminal server. > > The terminal server is mapped to the database server through > a gigabit connection. The local machines are connected > through a 100 mb switch. > > I have a lot of processing running in auto processing on the > file which takes the longest to exit. Could this cause such > a lon delay? > > This processing runs very fast when accessing a record. > > Richard > > -----Original Message----- > From: John Esak > Sent: Monday, December 14, 2009 4:20 PM > To: 'gcc consulting' ; 'Filepro > List' > Cc: filepro-list at lists.celestial.com > Subject: RE: Filepro dlowdown > > I saw this exact symptom one time... Years ago... But it was > when I tried to > mount an NFS filepro directory. Never tried it since. I'm > sure youre not > doing that... But is it possible your developmer menu has > access to the > correct DNS and the user menu doesn't? > > 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: Monday, December 14, 2009 4:13 PM > > To: Filepro List > > Subject: Filepro dlowdown > > > > Windows Server 2008 > > Client - Windows XP > > > > After a Windiows XP update around Thanksgiving, my client has > > noticed a conciderable slowdown when filpro exits back to the > > menu from *clerk. [The entire original message is not included] From john at valar.com Mon Dec 14 14:48:24 2009 From: john at valar.com (John Esak) Date: Mon, 14 Dec 2009 17:48:24 -0500 Subject: Filepro dlowdown In-Reply-To: <0KUN00JQZY56QH58@vms173001.mailsrvcs.net> Message-ID: <200912142247.nBEMlAal078120@admin114.securesites.net> Any chance of "rolling back" the upgrades since then? It probably is impossible, but it would be interesting to see if it actually made the problem go away. > -----Original Message----- > From: Rkreiss at verizon.net] [mailto:rkreiss at verizon.net] > Sent: Monday, December 14, 2009 5:22 PM > To: john at valar.com; 'gcc consulting'; 'Filepro List' > Cc: filepro-list at lists.celestial.com > Subject: RE: Filepro dlowdown > > Yes - after an OS update around Thanksgiving. > > Richard > > -----Original Message----- > From: John Esak > Sent: Monday, December 14, 2009 4:42 PM > To: 'Rkreiss at verizon.net]' ; 'gcc > consulting' ; 'Filepro List' > > Cc: filepro-list at lists.celestial.com > Subject: RE: Filepro dlowdown > > I don't see how the processing could affect this problem at > all. And as you > say it works fine reocrd to record and when you have > different connection > types. I know I would always like to run on the server like rdp'ing > (terminal services) into the server and working rather than > dragging stuff > back and forth to local machines of course. But you know > that, so no help > there. Did this just start happening? > > John > > > -----Original Message----- > > From: Rkreiss at verizon.net] [mailto:rkreiss at verizon.net] > > Sent: Monday, December 14, 2009 4:28 PM > > To: john at valar.com; 'gcc consulting'; 'Filepro List' > > Cc: filepro-list at lists.celestial.com > > Subject: RE: Filepro dlowdown > > > > John, > > > > The problem is most pronounced with the locally attacted > > computers. This is less of a problem when running from > > Terminal server. > > > > The terminal server is mapped to the database server through > > a gigabit connection. The local machines are connected > > through a 100 mb switch. > > > > I have a lot of processing running in auto processing on the > > file which takes the longest to exit. Could this cause such > > a lon delay? > > > > This processing runs very fast when accessing a record. > > > > Richard > > > > -----Original Message----- > > From: John Esak > > Sent: Monday, December 14, 2009 4:20 PM > > To: 'gcc consulting' ; 'Filepro > > List' > > Cc: filepro-list at lists.celestial.com > > Subject: RE: Filepro dlowdown > > > > I saw this exact symptom one time... Years ago... But it was > > when I tried to > > mount an NFS filepro directory. Never tried it since. I'm > > sure youre not > > doing that... But is it possible your developmer menu has > > access to the > > correct DNS and the user menu doesn't? > > > > 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: Monday, December 14, 2009 4:13 PM > > > To: Filepro List > > > Subject: Filepro dlowdown > > > > > > Windows Server 2008 > > > Client - Windows XP > > > > > > After a Windiows XP update around Thanksgiving, my client has > > > noticed a conciderable slowdown when filpro exits back to the > > > menu from *clerk. > > > [The entire original message is not included] > From rkreiss at gccconsulting.net Mon Dec 14 19:23:33 2009 From: rkreiss at gccconsulting.net (gcc consulting) Date: Mon, 14 Dec 2009 22:23:33 -0500 Subject: Filepro dlowdown Message-ID: <20091215032131.3B90217147@mail32.mailforbusiness.com> John, They may try backing the updates on one computer and then tedt it. If things are running as they should, I have suggested they then install the update 1 at a time until thet find the one causing the problem. This will allow them to only install the updates that work. Richard >From my phone # -----Original Message----- From: John Esak Sent: Monday, December 14, 2009 5:48 PM To: 'Rkreiss at verizon.net]' ; 'gcc consulting' ; 'Filepro List' Cc: filepro-list at lists.celestial.com Subject: RE: Filepro dlowdown Any chance of "rolling back" the upgrades since then? It probably is impossible, but it would be interesting to see if it actually made the problem go away. > -----Original Message----- > From: Rkreiss at verizon.net] [mailto:rkreiss at verizon.net] > Sent: Monday, December 14, 2009 5:22 PM > To: john at valar.com; 'gcc consulting'; 'Filepro List' > Cc: filepro-list at lists.celestial.com > Subject: RE: Filepro dlowdown > > Yes - after an OS update around Thanksgiving. > > Richard > > -----Original Message----- > From: John Esak > Sent: Monday, December 14, 2009 4:42 PM > To: 'Rkreiss at verizon.net]' ; 'gcc > consulting' ; 'Filepro List' > > Cc: filepro-list at lists.celestial.com > Subject: RE: Filepro dlowdown > > I don't see how the processing could affect this problem at > all. And as you > say it works fine reocrd to record and when you have > different connection > types. I know I would always like to run on the server like rdp'ing > (terminal services) into the server and working rather than > dragging stuff > back and forth to local machines of course. But you know > that, so no help > there. Did this just start happening? > > John > > > -----Original Message----- > > From: Rkreiss at verizon.net] [mailto:rkreiss at verizon.net] > > Sent: Monday, December 14, 2009 4:28 PM > > To: john at valar.com; 'gcc consulting'; 'Filepro List' > > Cc: filepro-list at lists.celestial.com > > Subject: RE: Filepro dlowdown > > > > John, > > > > The problem is most pronounced with the locally attacted > > computers. This is less of a problem when running from > > Terminal server. > > > > The terminal server is mapped to the database server through > > a gigabit connection. The local machines are connected > > through a 100 mb switch. > > > > I have a lot of processing running in auto processing on the > > file which takes the longest to exit. Could this cause such > > a lon delay? > > > > This processing runs very fast when accessing a record. > > > > Richard > > > > -----Original Message----- > > From: John Esak > > Sent: Monday, December 14, 2009 4:20 PM > > To: 'gcc consulting' ; 'Filepro [The entire original message is not included] From wvaughan at steelerubber.com Tue Dec 15 05:09:51 2009 From: wvaughan at steelerubber.com (Walter Vaughan) Date: Tue, 15 Dec 2009 08:09:51 -0500 Subject: Filepro dlowdown In-Reply-To: <0KUN00JQZY56QH58@vms173001.mailsrvcs.net> References: <0KUN00JQZY56QH58@vms173001.mailsrvcs.net> Message-ID: <4B278A9F.3010909@steelerubber.com> Rkreiss at verizon.net] wrote: >Yes - after an OS update around Thanksgiving. > What's wierd is that you said terminal clients were not affected. There has been a major update to RDP client software. I'd have expected the opposite if what you report. From rkreiss at verizon.net Tue Dec 15 05:37:44 2009 From: rkreiss at verizon.net (Rkreiss@verizon.net]) Date: Tue, 15 Dec 2009 08:37:44 -0500 Subject: Filepro dlowdown Message-ID: <0KUP0035V4ITGJU1@vms173017.mailsrvcs.net> Remember, Terminal Server, in this case, is an ap server. A quad processor and lots of memory and most importantly, no network contention. I made one small change last nigt in an auto process table which opens a number of files to fill screens with information. One process loops through a transaction file and displays the open items, on screen, using dummy fields. I set a variable so this is run only once and then the file is closed. I'll see later this AM if it helps. The other thing is I installed 5.6.10 last night remotely. Maybe this will help but I doubt it. As John suggested, we may roll back one machine and then test the OS updates until we find the one causing the problem. The only problem is if this works, 19 other machines will have to be updated. Richard >From phone -----Original Message----- From: Walter Vaughan Sent: Tuesday, December 15, 2009 8:09 AM To: filePro Subject: Re: Filepro dlowdown Rkreiss at verizon.net] wrote: >Yes - after an OS update around Thanksgiving. > What's wierd is that you said terminal clients were not affected. There has been a major update to RDP client software. I'd have expected the opposite if what you report. _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From mtauber19 at comcast.net Wed Dec 16 05:06:38 2009 From: mtauber19 at comcast.net (mtauber19 at comcast.net) Date: Wed, 16 Dec 2009 13:06:38 +0000 (UTC) Subject: Facebook Application Message-ID: <1104542260.36591260968798867.JavaMail.root@sz0121a.westchester.pa.mail.comcast.net> I am working on a facebook application using fpcgi. I need the first two lines of the html document rendered by the fpcgi program to be When I use the filepro command: html "1" :CR @pw{".htm" :TI "Title" The page that is rendered has the html tag rendered as I would appreciate any suggestions to resolve this. Thank You Marv Tauber -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091216/8c6b6265/attachment.html From fairlite at fairlite.com Wed Dec 16 07:10:32 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 16 Dec 2009 10:10:32 -0500 Subject: Facebook Application In-Reply-To: <1104542260.36591260968798867.JavaMail.root@sz0121a.westchester.pa.mail.comcast.net>; from mtauber19@comcast.net on Wed, Dec 16, 2009 at 01:06:38PM +0000 References: <1104542260.36591260968798867.JavaMail.root@sz0121a.westchester.pa.mail.comcast.net> Message-ID: <20091216101032.A8650@iglou.com> Four score and seven years--eh, screw that! At about Wed, Dec 16, 2009 at 01:06:38PM +0000, mtauber19 at comcast.net blabbed on about: > I am working on a facebook application using fpcgi. I need the first two lines of the html document rendered by the fpcgi program to be > > > > > When I use the filepro command: > > html "1" :CR @pw{".htm" :TI "Title" > > The page that is rendered has the html tag rendered as > > > I would appreciate any suggestions to resolve this. Rntirely give up on fP's HTML pseudo-markup language. At -best-, it's HTML 3.2, and even then it's not complete. Use open/writeline/close and just output the correct code at the low level as you assemble it. mark-> -- Audio panton, cogito singularis, From henry at vegena.net Wed Dec 16 07:16:15 2009 From: henry at vegena.net (Enrique Arredondo) Date: Wed, 16 Dec 2009 09:16:15 -0600 Subject: Facebook Application In-Reply-To: <1104542260.36591260968798867.JavaMail.root@sz0121a.westchester.pa.mail.comcast.net> References: <1104542260.36591260968798867.JavaMail.root@sz0121a.westchester.pa.mail.comcast.net> Message-ID: <4B28F9BF.20708@vegena.net> mtauber19 at comcast.net wrote: > I am working on a facebook application using fpcgi. I need the first > two lines of the html document rendered by the fpcgi program to be > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > xmlns:fb="http://www.wzhu.devrs002.facebook.com/2008/fbml"> > > When I use the filepro command: > > html "1" :CR @pw{".htm" :TI "Title" > > The page that is rendered has the html tag rendered as > > > I would appreciate any suggestions to resolve this. > > Thank You > > > Marv Tauber > ------------------------------------------------------------------------ > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > Use the free text command, I do that when I need to add java scripts html "1" :tx "" and voila! -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091216/cb7bc3fa/attachment.html From bruce at stn.com Wed Dec 16 07:25:51 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 16 Dec 2009 10:25:51 -0500 Subject: Facebook Application In-Reply-To: <4B28F9BF.20708@vegena.net> References: <1104542260.36591260968798867.JavaMail.root@sz0121a.westchester.pa.mail.comcast.net> <4B28F9BF.20708@vegena.net> Message-ID: Enrique Arredondo wrote Wednesday, December 16, 2009 10:16 AM: >> mtauber19 at comcast.net wrote: [..] >> When I use the filepro command: >> html "1" :CR @pw{".htm" :TI "Title" >> The page that is rendered has the html tag rendered as >> > > Use the free text command, I do that when I need to add java scripts > > html "1" :tx " html "1" :tx "" > > and voila! But Enrique, how are you opening the file prior to those free-form commands. When you open the file with :cr, would you not still get a line above those with "" ? Bruce Bruce Easton STN, Inc. From bruce at stn.com Wed Dec 16 07:48:16 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 16 Dec 2009 10:48:16 -0500 Subject: Facebook Application In-Reply-To: <20091216101032.A8650@iglou.com> References: <1104542260.36591260968798867.JavaMail.root@sz0121a.westchester.pa.mail.comcast.net> <20091216101032.A8650@iglou.com> Message-ID: <80CCD298896C4E3EB3CFEA87F6F7ABF7@DONDESKTOP> Fairlight wrote Wednesday, December 16, 2009 10:11 AM: > mtauber19 at comcast.net blabbed on about: > > I am working on a facebook application using fpcgi. I need > the first > > two lines of the html document rendered by the fpcgi program to be > > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > > xmlns:fb="http://www.wzhu.devrs002.facebook.com/2008/fbml"> > > > > When I use the filepro command: > > > > html "1" :CR @pw{".htm" :TI "Title" > > > > The page that is rendered has the html tag rendered as > > > > I would appreciate any suggestions to resolve this. > > Rntirely give up on fP's HTML pseudo-markup language. At > -best-, it's HTML 3.2, and even then it's not complete. > > Use open/writeline/close and just output the correct code at > the low level as you assemble it. > > mark-> > -- My 5.0.14 online help shows a :dt option to the HTML :cr command and it also shows a :tx option (which should just output whatever you say still inside the Message-ID: <200912161632.nBGGWbbq040649@admin114.securesites.net> I *hate* to agree with Mark. :-) But I had already written exactly the same thing as he did... But then I read forward in the thread just to see what everyone else had said... So I dleeted my response. Really, using the I/O routines to open() and then writeline() every line just the way you want it then close() and you have the most control possible. I do have a lot of old processes that make quicky html pages out of simple filePro data... Using the filePro HTML commands, but only because when I wrote those, I didn't know any better. 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 Bruce Easton > Sent: Wednesday, December 16, 2009 10:48 AM > To: filepro-list at lists.celestial.com > Subject: RE: Facebook Application > > Fairlight wrote Wednesday, December 16, 2009 10:11 AM: > > > mtauber19 at comcast.net blabbed on about: > > > I am working on a facebook application using fpcgi. I need > > the first > > > two lines of the html document rendered by the fpcgi program to be > > > > > > > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > > > > > xmlns:fb="http://www.wzhu.devrs002.facebook.com/2008/fbml"> > > > > > > When I use the filepro command: > > > > > > html "1" :CR @pw{".htm" :TI "Title" > > > > > > The page that is rendered has the html tag rendered as > > > > > > I would appreciate any suggestions to resolve this. > > > > Rntirely give up on fP's HTML pseudo-markup language. At > > -best-, it's HTML 3.2, and even then it's not complete. > > > > Use open/writeline/close and just output the correct code at > > the low level as you assemble it. > > > > mark-> > > -- > > My 5.0.14 online help shows a :dt option to the HTML :cr command > and it also shows a :tx option (which should just output whatever > you say still inside the using those, if they work as expected, would satisfy the need of > the application (even if the tags were not exactly as you specified). > > I usually open the output document with HTML :cr and then > issue nothing > but html :tx commands thereafter, until a html :cl to close the file. > (This keeps you from having to learn most of the native fp html > commands, but does not address your problem. > > Therefore, I agree with Mark. Especially in this case - why > fight with > a new language when you just need to have filePro output the lines > exactly as they have been already specified for you. Of course > if you already have a lot of other code in the filePro-HTML-command > format, then you might want to see if you can get the options to > "HTML :cr" working for you. > > Bruce > > Bruce Easton > STN, Inc. > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From fairlite at fairlite.com Wed Dec 16 11:16:25 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 16 Dec 2009 14:16:25 -0500 Subject: Facebook Application In-Reply-To: ; from bruce@stn.com on Wed, Dec 16, 2009 at 10:25:51AM -0500 References: <1104542260.36591260968798867.JavaMail.root@sz0121a.westchester.pa.mail.comcast.net> <4B28F9BF.20708@vegena.net> Message-ID: <20091216141625.A12236@iglou.com> On Wed, Dec 16, 2009 at 10:25:51AM -0500, after drawing runes in goat's blood, Bruce Easton cast forth these immortal, mystical words: > Enrique Arredondo wrote Wednesday, December 16, 2009 10:16 AM: > > >> mtauber19 at comcast.net wrote: > [..] > >> When I use the filepro command: > >> html "1" :CR @pw{".htm" :TI "Title" > >> The page that is rendered has the html tag rendered as > >> > > > > Use the free text command, I do that when I need to add java scripts > > > > html "1" :tx " > html "1" :tx "" > > > > and voila! > > But Enrique, how are you opening the file prior to those > free-form commands. When you open the file with :cr, would > you not still get a line above those with "" ? Better question: how are you going to guarantee XHTML 1.1 compliance with the strict form specified by the namespace, using HTML commands that output incorrect or incomplete markup? FOr instance, didn't even exist back when fP implemented this. If you try doing a table without TBODY nowadays, it'll never validate against strict XHTML. You'd have to fix -every- discrepancy in every tag or structural element, not just the initial doctype and html tags. I mean,
doesn't even exist anymore in XHTML, to give you an idea. Which leads back to...don't use the built-in markup functionality, it's going to cause you severe pain. As long as I'm ending up posting again...has the OP considered the license seats issue? Granted, not every app put on Facebook is necessarily going to be used by millions at once, but if your license count is exceeded, fpcgi is not actually very kind about fP license seat limits. Hope you have a huge license or lots of money. Which is better than saying I hope your app doesn't get too popular... :) mark-> -- Audio panton, cogito singularis, From john at valar.com Wed Dec 16 12:05:04 2009 From: john at valar.com (John Esak) Date: Wed, 16 Dec 2009 15:05:04 -0500 Subject: Facebook Application In-Reply-To: <20091216141625.A12236@iglou.com> Message-ID: <200912162003.nBGK3nU8039472@admin114.securesites.net> > > FOr instance, didn't even exist back when fP implemented this. > If you try doing a table without TBODY nowadays, it'll never validate > against strict XHTML. You'd have to fix -every- discrepancy > in every tag Hmmm, I thought was in html 3.0. But, your point is taken. John From fairlite at fairlite.com Wed Dec 16 12:37:13 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 16 Dec 2009 15:37:13 -0500 Subject: Facebook Application In-Reply-To: <200912162003.nBGK3nU8039472@admin114.securesites.net>; from john@valar.com on Wed, Dec 16, 2009 at 03:05:04PM -0500 References: <20091216141625.A12236@iglou.com> <200912162003.nBGK3nU8039472@admin114.securesites.net> Message-ID: <20091216153713.A14919@iglou.com> Simon--er, no...it was John Esak--said: > > > > FOr instance, didn't even exist back when fP implemented this. > > If you try doing a table without TBODY nowadays, it'll never validate > > against strict XHTML. You'd have to fix -every- discrepancy > > in every tag > > > Hmmm, I thought was in html 3.0. But, your point is taken. Not , but . The spec used to go:
Nowadays, there's a after , and a before
:
mark-> -- Audio panton, cogito singularis, From bruce at stn.com Wed Dec 16 12:42:33 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 16 Dec 2009 15:42:33 -0500 Subject: Facebook Application In-Reply-To: <200912162003.nBGK3nU8039472@admin114.securesites.net> References: <20091216141625.A12236@iglou.com> <200912162003.nBGK3nU8039472@admin114.securesites.net> Message-ID: <05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP> John Esak wrote Wednesday, December 16, 2009 3:05 PM: > To: filepro-list at lists.celestial.com > Subject: RE: Facebook Application > > > > > FOr instance, didn't even exist back when fP > implemented this. > > If you try doing a table without TBODY nowadays, it'll > never validate > > against strict XHTML. You'd have to fix -every- > discrepancy in every > > tag > > > > Hmmm, I thought was in html 3.0. But, your point is taken. > > John > No, and ---two different tags. But using "html :tx" for everything after opening the output document (until the output document needs closing) would cover using newer tags. What I never considered was the need to have something before the tag as in Enrique's original post. Unless some usage of fp's "html :cr :dt :tx" would give a workable equivalent, which I doubt, then sounds like using open and writeline might be the only way to go for him. Bruce Bruce Easton STN, Inc. From fairlite at fairlite.com Wed Dec 16 12:46:51 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 16 Dec 2009 15:46:51 -0500 Subject: Facebook Application In-Reply-To: <05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP>; from bruce@stn.com on Wed, Dec 16, 2009 at 03:42:33PM -0500 References: <20091216141625.A12236@iglou.com> <200912162003.nBGK3nU8039472@admin114.securesites.net> <05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP> Message-ID: <20091216154651.A15079@iglou.com> Y'all catch dis heeyah? Bruce Easton been jivin' 'bout like: > > No, and ---two different tags. But using "html :tx" > for everything after opening the output document (until the > output document needs closing) would cover using newer tags. My contention would be that if you have to go -that- far to get the newer tags, and spell them out anyway, why bother messing with an intermediate layer at all? I don't even want to know how attributes are handled... :) mark-> -- Audio panton, cogito singularis, From bruce at stn.com Wed Dec 16 12:47:58 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 16 Dec 2009 15:47:58 -0500 Subject: Facebook Application In-Reply-To: <05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP> References: <20091216141625.A12236@iglou.com><200912162003.nBGK3nU8039472@admin114.securesites.net> <05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP> Message-ID: Bruce Easton wrote Wednesday, December 16, 2009 3:43 PM > To: filepro-list at lists.celestial.com > Subject: RE: Facebook Application > > John Esak wrote Wednesday, December 16, 2009 3:05 PM: > > To: filepro-list at lists.celestial.com > > Subject: RE: Facebook Application > > > > > > > > FOr instance, didn't even exist back when fP > > implemented this. > > > If you try doing a table without TBODY nowadays, it'll > > never validate > > > against strict XHTML. You'd have to fix -every- > > discrepancy in every > > > tag > > > > > > > > Hmmm, I thought was in html 3.0. But, your point is taken. > > > > John > > > > No, and ---two different tags. But using "html :tx" > for everything after opening the output document (until the > output document needs closing) would cover using newer tags. > What I never considered was the need to have something before > the tag as in Enrique's original post. Unless some --> OOPS - that should be Marv Tauber's original post. <-- > usage of fp's "html :cr :dt :tx" would give a workable > equivalent, which I doubt, then sounds like using open and > writeline might be the only way to go for him. > > Bruce > > Bruce Easton > STN, Inc. > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From john at valar.com Wed Dec 16 12:59:57 2009 From: john at valar.com (John Esak) Date: Wed, 16 Dec 2009 15:59:57 -0500 Subject: Facebook Application In-Reply-To: <20091216153713.A14919@iglou.com> Message-ID: <200912162058.nBGKwlON064311@admin114.securesites.net> Eep... > -----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: Wednesday, December 16, 2009 3:37 PM > To: filepro-list at lists.celestial.com > Subject: Re: Facebook Application > > Simon--er, no...it was John Esak--said: > > > > > > FOr instance, didn't even exist back when fP > implemented this. > > > If you try doing a table without TBODY nowadays, it'll > never validate > > > against strict XHTML. You'd have to fix -every- discrepancy > > > in every tag > > > > > > Hmmm, I thought was in html 3.0. But, your point is taken. > > Not , but . The spec used to go: > > > > > >
> > Nowadays, there's a after , and a > before
: > > > > > > > >
> > mark-> > -- > Audio panton, cogito singularis, > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From bruce at stn.com Wed Dec 16 13:02:58 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 16 Dec 2009 16:02:58 -0500 Subject: Facebook Application In-Reply-To: <20091216154651.A15079@iglou.com> References: <20091216141625.A12236@iglou.com><200912162003.nBGK3nU8039472@admin114.securesites.net><05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP> <20091216154651.A15079@iglou.com> Message-ID: <6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP> Fairlight wrote Wednesday, December 16, 2009 3:47 PM: > Y'all catch dis heeyah? Bruce Easton been jivin' 'bout like: > > > > No, and ---two different tags. But using "html :tx" > > for everything after opening the output document (until the output > > document needs closing) would cover using newer tags. > > My contention would be that if you have to go -that- far to > get the newer tags, and spell them out anyway, why bother > messing with an intermediate layer at all? > > I don't even want to know how attributes are handled... :) > > mark-> Well I agree I don't want to learn about fp's own options for its own html commands nor the commands themselves, but I don't view what I described (using only :cr :tx and :cl) as using an intermediate layer. I just view that as just a different way of outputting the file. Maybe I liked using the html :tx because I could still see more lines on average in the fp editor. Usually when I'm using writeline, I wind up having an extra line to output what was assigned on the previous line. I do plan on writing any new code with just open and writeline, and as I work back thru older code - changing it to that method. I've already been doing that for a while. Bruce Bruce Easton STN, Inc. From fairlite at fairlite.com Wed Dec 16 13:13:41 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 16 Dec 2009 16:13:41 -0500 Subject: Facebook Application In-Reply-To: <6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP>; from bruce@stn.com on Wed, Dec 16, 2009 at 04:02:58PM -0500 References: <20091216141625.A12236@iglou.com><200912162003.nBGK3nU8039472@admin114.securesites.net><05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP> <20091216154651.A15079@iglou.com> <6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP> Message-ID: <20091216161341.A15471@iglou.com> Only Bruce Easton would say something like: > but I don't view what I described (using only :cr :tx and :cl) > as using an intermediate layer. I just view that as just Well the whole thing is an intermediate layer. You have your content, you have your markup. Then you've got this little shorthand intermediate layer to tell fP how to apply markup -to- the content. It's a further layer of abstration that probably makes debugging a complete bitch. > a different way of outputting the file. Maybe I liked using > the html :tx because I could still see more lines on average > in the fp editor. Usually when I'm using writeline, I wind > up having an extra line to output what was assigned on the > previous line. > > I do plan on writing any new code with just open and writeline, > and as I work back thru older code - changing it to that > method. I've already been doing that for a while. http://www.fairlite.com/fc/products/html2prc/ Write your HTML/JS/whatever in whatever you please. Convert it with this, and you get a PRC table that, when CALLed, will output the original. All you have to do is make changes to the dynamic parts in fP. For instance, if I'm doing a table or a select box, I'll only do one row of the table or one option just as a skeleton, and throw a lookup with a getnext loop around it, and just quickly edit in the field concatenations. But you don't have to dink with 99%+ of it if it's just some dynamic parts inside a lot of static content. So you edit in whatever...FrontPage (*gag*), or whatever editor you like for HTML/JS. Get it down to where you like the way it looks in the browser, and then just convert it and tweak it so it can be CALLed and do the job it needs to. (Sometimes this involves declaring some extern variables if you want to pass some in...but for real or dummy fields it wouldn't require any extra declarations.) Problem solved. :) Essentially, the program creates the PRC table, which simply splits up long lines into *cabe-editable chunks, and outputs each line or line segment using...you guessed it...writeline(). That or write(), I can't remember without looking. Same concept--I've never had it add whitespace in the middle of a split, in any event, so it's solid. mark-> -- Audio panton, cogito singularis, From bruce at stn.com Wed Dec 16 13:34:44 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 16 Dec 2009 16:34:44 -0500 Subject: Facebook Application In-Reply-To: <20091216161341.A15471@iglou.com> References: <20091216141625.A12236@iglou.com><200912162003.nBGK3nU8039472@admin114.securesites.net><05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP><20091216154651.A15079@iglou.com><6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP> <20091216161341.A15471@iglou.com> Message-ID: <7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> Fairlight write Wednesday, December 16, 2009 4:14 PM: > > Only Bruce Easton would say something like: > > but I don't view what I described (using only :cr :tx and :cl) as > > using an intermediate layer. I just view that as just > > Well the whole thing is an intermediate layer. You have your > content, you have your markup. Then you've got this little > shorthand intermediate layer to tell fP how to apply markup > -to- the content. It's a further layer of abstration that > probably makes debugging a complete bitch. > [..] Right, but my point was that doing: Then: ab=""{4{"" If: Then: ax=writeline(aa,ab) verses: Then: html :tx ""{4{"" is just a difference in handling how output is done, not really whether or not you have to learn some extra in fp for html (since, as I said - I am only using :cr, :tx and :cl). So as long as you're outputting from a processing table, I don't see where either technique poses another layer over the other. But to me sometimes having to have something above the ; from bruce@stn.com on Wed, Dec 16, 2009 at 04:34:44PM -0500 References: <20091216141625.A12236@iglou.com><200912162003.nBGK3nU8039472@admin114.securesites.net><05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP><20091216154651.A15079@iglou.com><6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP> <20091216161341.A15471@iglou.com> <7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> Message-ID: <20091216164120.A16136@iglou.com> On Wed, Dec 16, 2009 at 04:34:44PM -0500, Bruce Easton, the prominent pundit, witicized: > > But to me sometimes having to have something above the tag in the output is reason enough to stay away from the internal > fp html commands altogether. Depends...does it truncate or append when you start? If append, you could pre-populate the required data, then use the html stuff. I don't recommend it, I'm saying it might be possible. m-> -- Audio panton, cogito singularis, From bruce at stn.com Wed Dec 16 14:57:07 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 16 Dec 2009 17:57:07 -0500 Subject: Facebook Application In-Reply-To: <20091216164120.A16136@iglou.com> References: <20091216141625.A12236@iglou.com><200912162003.nBGK3nU8039472@admin114.securesites.net><05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP><20091216154651.A15079@iglou.com><6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP><20091216161341.A15471@iglou.com><7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com> Message-ID: <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> Fairlight wrote Wednesday, December 16, 2009 4:41 PM: > On Wed, Dec 16, 2009 at 04:34:44PM -0500, Bruce Easton, the > prominent pundit, > witicized: > > > > But to me sometimes having to have something above the > > tag in the output is reason enough to stay away from the > internal fp > > html commands altogether. > > Depends...does it truncate or append when you start? If > append, you could pre-populate the required data, then use > the html stuff. I don't recommend it, I'm saying it might be > possible. > > m-> > -- Well -I tried some things with variations on the fp HTML :cr command, and I don't believe Marv can use it to start off his output document. I was not able to get anything other than one type of document type specification by using the :dt option. But maybe there are reserved codes that come after the :dt to set up for different doc types. I couldn't find any documentation of such. BUT, you can use: html :cr [outdocpathandname] :tx [other stuff] and that output (otherstuff) does appear *before* the tag. So I tried it with Marv's requirement and it worked fine to handle the document type spec. What I could not find a way to do is embed anything else within the tag as in . I even tried using :zz and that didn't help. (5.0.14). And to answer your question Mark, I don't believe there is any way to use fp's HTML commands to append to a file. So back to saying 'just use open and writeline, for crying out loud..' :) Bruce Bruce Easton STN, Inc. From henry at vegena.net Wed Dec 16 15:42:32 2009 From: henry at vegena.net (Enrique Arredondo) Date: Wed, 16 Dec 2009 17:42:32 -0600 Subject: Facebook Application In-Reply-To: <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> References: <20091216141625.A12236@iglou.com><200912162003.nBGK3nU8039472@admin114.securesites.net><05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP><20091216154651.A15079@iglou.com><6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP><20091216161341.A15471@iglou.com><7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com> <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> Message-ID: <4B297068.3000603@vegena.net> Bruce Easton wrote: > Fairlight wrote Wednesday, December 16, 2009 4:41 PM: > >> On Wed, Dec 16, 2009 at 04:34:44PM -0500, Bruce Easton, the >> prominent pundit, >> witicized: >> >>> But to me sometimes having to have something above the >>> >> > >>> tag in the output is reason enough to stay away from the >>> >> internal fp >> >>> html commands altogether. >>> >> Depends...does it truncate or append when you start? If >> append, you could pre-populate the required data, then use >> the html stuff. I don't recommend it, I'm saying it might be >> possible. >> >> m-> >> -- >> > > Well -I tried some things with variations on the fp HTML :cr > command, and I don't believe Marv can use it to start off his > output document. > > I was not able to get anything other than one type of document > type specification by using the :dt option. But maybe there are > reserved codes that come after the :dt to set up for different doc > types. I couldn't find any documentation of such. > > BUT, you can use: > > html :cr [outdocpathandname] :tx [other stuff] > > and that output (otherstuff) does appear *before* > the tag. So I tried it with Marv's requirement and it > worked fine to handle the document type spec. > > What I could not find a way to do is embed anything else within > the tag as in . I even tried using :zz > and that didn't help. (5.0.14). > > And to answer your question Mark, I don't believe there is any > way to use fp's HTML commands to append to a file. > > So back to saying 'just use open and writeline, for crying out loud..' :) > > Bruce > > Bruce Easton > STN, Inc. > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > He might need to prefix those 2 lines on the fly after the file gets created, at the @done tag -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091216/e9b79a45/attachment.html From wrandall at fptech.com Wed Dec 16 15:43:46 2009 From: wrandall at fptech.com (Bill Randall) Date: Wed, 16 Dec 2009 18:43:46 -0500 Subject: Facebook Application In-Reply-To: <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> References: <20091216141625.A12236@iglou.com><200912162003.nBGK3nU8039472@admin114.securesites.net><05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP><20091216154651.A15079@iglou.com><6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP><20091216161341.A15471@iglou.com><7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com> <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> Message-ID: <4B2970B2.6030607@fptech.com> Use JSFILE :CR to create the file. It creates an ASCII file just like HTML excepts adds no data, labels or anything. You can then add what you want the header to be with: JSFILE "1" :TX "stuff" You are in complete control at that point just as Bruce like his syntax to be. Bill Bruce Easton wrote: > Fairlight wrote Wednesday, December 16, 2009 4:41 PM: > >> On Wed, Dec 16, 2009 at 04:34:44PM -0500, Bruce Easton, the >> prominent pundit, >> witicized: >> >>> But to me sometimes having to have something above the >>> >> > >>> tag in the output is reason enough to stay away from the >>> >> internal fp >> >>> html commands altogether. >>> >> Depends...does it truncate or append when you start? If >> append, you could pre-populate the required data, then use >> the html stuff. I don't recommend it, I'm saying it might be >> possible. >> >> m-> >> -- >> > > Well -I tried some things with variations on the fp HTML :cr > command, and I don't believe Marv can use it to start off his > output document. > > I was not able to get anything other than one type of document > type specification by using the :dt option. But maybe there are > reserved codes that come after the :dt to set up for different doc > types. I couldn't find any documentation of such. > > BUT, you can use: > > html :cr [outdocpathandname] :tx [other stuff] > > and that output (otherstuff) does appear *before* > the tag. So I tried it with Marv's requirement and it > worked fine to handle the document type spec. > > What I could not find a way to do is embed anything else within > the tag as in . I even tried using :zz > and that didn't help. (5.0.14). > > And to answer your question Mark, I don't believe there is any > way to use fp's HTML commands to append to a file. > > So back to saying 'just use open and writeline, for crying out loud..' :) > > Bruce > > Bruce Easton > STN, Inc. > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > -- William Randall wrandall at fptech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091216/826f320a/attachment.html From bruce at stn.com Wed Dec 16 16:36:59 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 16 Dec 2009 19:36:59 -0500 Subject: Facebook Application In-Reply-To: <4B2970B2.6030607@fptech.com> References: <20091216141625.A12236@iglou.com><200912162003.nBGK3nU8039472@admin114.securesites.net><05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP><20091216154651.A15079@iglou.com><6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP><20091216161341.A15471@iglou.com><7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com><351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> <4B2970B2.6030607@fptech.com> Message-ID: Wow--thanks, Bill. I keep forgetting about jsfile and it is documented. For someone who already has a fair amount of code already using html :cr, then html :tx ... , just switching it to use jsfile :cr and jsfile :tx would be much simpler than switching it to use open and writeline. Would have to watch out for the line endings on long lines since 'jsfile' is 2 bigger than 'html' - but gosh if you didn't think that was a problem you could global replace them outside of fp in a few seconds. (for vi I think the ed command to switch them would be: :g/html \"1\" ^A/s/html \"1\" ^A/jsfile \"1\" ^A/g) Bruce ________________________________ From: filepro-list-bounces+bruce=stn.com at lists.celestial.com [mailto:filepro-list-bounces+bruce=stn.com at lists.celestial.com] On Behalf Of Bill Randall Sent: Wednesday, December 16, 2009 6:44 PM To: filepro-list at lists.celestial.com Subject: Re: Facebook Application Use JSFILE :CR to create the file. It creates an ASCII file just like HTML excepts adds no data, labels or anything. You can then add what you want the header to be with: JSFILE "1" :TX "stuff" You are in complete control at that point just as Bruce like his syntax to be. Bill Bruce Easton wrote: Fairlight wrote Wednesday, December 16, 2009 4:41 PM: On Wed, Dec 16, 2009 at 04:34:44PM -0500, Bruce Easton, the prominent pundit, witicized: But to me sometimes having to have something above the -- Well -I tried some things with variations on the fp HTML :cr command, and I don't believe Marv can use it to start off his output document. I was not able to get anything other than one type of document type specification by using the :dt option. But maybe there are reserved codes that come after the :dt to set up for different doc types. I couldn't find any documentation of such. BUT, you can use: html :cr [outdocpathandname] :tx [other stuff] and that output (otherstuff) does appear *before* the tag. So I tried it with Marv's requirement and it worked fine to handle the document type spec. What I could not find a way to do is embed anything else within the tag as in . I even tried using :zz and that didn't help. (5.0.14). And to answer your question Mark, I don't believe there is any way to use fp's HTML commands to append to a file. So back to saying 'just use open and writeline, for crying out loud..' :) Bruce Bruce Easton STN, Inc. _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list -- William Randall wrandall at fptech.com From fairlite at fairlite.com Wed Dec 16 16:44:33 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 16 Dec 2009 19:44:33 -0500 Subject: Facebook Application In-Reply-To: ; from bruce@stn.com on Wed, Dec 16, 2009 at 07:36:59PM -0500 References: <20091216141625.A12236@iglou.com><200912162003.nBGK3nU8039472@admin114.securesites.net><05E127CEB9AE4F64B6F373FFE81B3F27@DONDESKTOP><20091216154651.A15079@iglou.com><6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP><20091216161341.A15471@iglou.com><7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com><351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> <4B2970B2.6030607@fptech.com> Message-ID: <20091216194433.B19744@iglou.com> You'll never BELIEVE what Bruce Easton said here...: > (for vi I think the ed command to switch them > would be: :g/html \"1\" ^A/s/html \"1\" ^A/jsfile \"1\" ^A/g) I believe you mean :s not :g ...and if you're not on the line in question, then :%s mark-> From ken.m.cole at gmail.com Wed Dec 16 16:48:00 2009 From: ken.m.cole at gmail.com (Ken Cole) Date: Thu, 17 Dec 2009 10:48:00 +1000 Subject: Facebook Application In-Reply-To: <20091216194433.B19744@iglou.com> References: <20091216141625.A12236@iglou.com> <20091216154651.A15079@iglou.com> <6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP> <20091216161341.A15471@iglou.com> <7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com> <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> <4B2970B2.6030607@fptech.com> <20091216194433.B19744@iglou.com> Message-ID: <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com> No :g means global in the file, every line this command is: :g/target/s/string1/string2/ globally find target and substitute for string1 string2 This will only do the substitute one per line unless there is a trailing g for global in the line. On Thu, Dec 17, 2009 at 10:44 AM, Fairlight wrote: > You'll never BELIEVE what Bruce Easton said here...: >> (for vi I think the ed command to switch them >> ?would be: ?:g/html \"1\" ^A/s/html \"1\" ^A/jsfile \"1\" ^A/g) > > I believe you mean :s not :g ?...and if you're not on the line in question, > then :%s > > mark-> > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From fairlite at fairlite.com Wed Dec 16 17:54:32 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 16 Dec 2009 20:54:32 -0500 Subject: Facebook Application In-Reply-To: <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com>; from ken.m.cole@gmail.com on Thu, Dec 17, 2009 at 10:48:00AM +1000 References: <20091216154651.A15079@iglou.com> <6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP> <20091216161341.A15471@iglou.com> <7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com> <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> <4B2970B2.6030607@fptech.com> <20091216194433.B19744@iglou.com> <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com> Message-ID: <20091216205432.A21309@iglou.com> You'll never BELIEVE what Ken Cole said here...: > No :g means global in the file, every line > > this command is: > > :g/target/s/string1/string2/ > > globally find target and substitute for string1 string2 > > This will only do the substitute one per line unless there is a > trailing g for global in the line. Huh. I've been using %s for that, rather than g. The leading command, not the "globally within line" suffix. It -seems- that they're semantically the same, although I'd like to know if I'm right in that assessment. I'll ask here, since I believe the person that taught me %s is deceased. :( mark-> From ken.m.cole at gmail.com Wed Dec 16 18:44:44 2009 From: ken.m.cole at gmail.com (Ken Cole) Date: Thu, 17 Dec 2009 12:44:44 +1000 Subject: Facebook Application In-Reply-To: <20091216205432.A21309@iglou.com> References: <20091216154651.A15079@iglou.com> <20091216161341.A15471@iglou.com> <7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com> <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> <4B2970B2.6030607@fptech.com> <20091216194433.B19744@iglou.com> <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com> <20091216205432.A21309@iglou.com> Message-ID: <94928a910912161844oe5ffcedy138b234e5fb860f0@mail.gmail.com> Actually: % means the entire file and other commands can follow it, not just "s" and from what I can find % and g do mean the same thing as would :1,419s if you knew there were 419 lines in the file. The other two options are easier but for the sake of the discussion! :-) On Thu, Dec 17, 2009 at 11:54 AM, Fairlight wrote: > You'll never BELIEVE what Ken Cole said here...: >> No :g means global in the file, every line >> >> this command is: >> >> :g/target/s/string1/string2/ >> >> globally find target and substitute for string1 string2 >> >> This will only do the substitute one per line unless there is a >> trailing g for global in the line. > > Huh. ?I've been using %s for that, rather than g. ?The leading command, not > the "globally within line" suffix. > > It -seems- that they're semantically the same, although I'd like to know if > I'm right in that assessment. ?I'll ask here, since I believe the person > that taught me %s is deceased. :( > > mark-> > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From fairlite at fairlite.com Wed Dec 16 18:55:29 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 16 Dec 2009 21:55:29 -0500 Subject: Facebook Application In-Reply-To: <94928a910912161844oe5ffcedy138b234e5fb860f0@mail.gmail.com>; from ken.m.cole@gmail.com on Thu, Dec 17, 2009 at 12:44:44PM +1000 References: <20091216161341.A15471@iglou.com> <7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com> <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> <4B2970B2.6030607@fptech.com> <20091216194433.B19744@iglou.com> <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com> <20091216205432.A21309@iglou.com> <94928a910912161844oe5ffcedy138b234e5fb860f0@mail.gmail.com> Message-ID: <20091216215529.A22510@iglou.com> On Thu, Dec 17, 2009 at 12:44:44PM +1000, after drawing runes in goat's blood, Ken Cole cast forth these immortal, mystical words: > Actually: > > % means the entire file and other commands can follow it, not just "s" > > and from what I can find % and g do mean the same thing as would > :1,419s if you knew there were 419 lines in the file. The other two > options are easier but for the sake of the discussion! :-) True, although, Bill Vermillion taught me a couple neat ones, including: Delete all lines: :1,$d So :1,419s would be more easily expressed 1,$s I think. As well, if you were on a certain line and wanted only things from that line forward to the end of the file replaced: :.,$s I'm used to using :.,$d when I do email replies (which is why my signature is sometimes missing, if I'm in a hurry). :) Another handy one is :1,.d which deletes all lines from the start to present line (inclusive). Bill was a veritable vi dictionary. mark-> From mschw at athenet.net Wed Dec 16 19:14:35 2009 From: mschw at athenet.net (Mike Schwartz) Date: Wed, 16 Dec 2009 21:14:35 -0600 Subject: Facebook Application In-Reply-To: <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com> References: <20091216141625.A12236@iglou.com> <20091216154651.A15079@iglou.com> <6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP> <20091216161341.A15471@iglou.com> <7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com> <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> <4B2970B2.6030607@fptech.com> <20091216194433.B19744@iglou.com> <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com> Message-ID: <009601ca7ec7$100560a0$301021e0$@net> > No :g means global in the file, every line I always thought global meant every OCCURANCE of the string in every line. I'll have to test it again... Mike Schwartz From fairlite at fairlite.com Wed Dec 16 19:22:07 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 16 Dec 2009 22:22:07 -0500 Subject: Facebook Application In-Reply-To: <009601ca7ec7$100560a0$301021e0$@net>; from mschw@athenet.net on Wed, Dec 16, 2009 at 09:14:35PM -0600 References: <6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP> <20091216161341.A15471@iglou.com> <7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com> <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> <4B2970B2.6030607@fptech.com> <20091216194433.B19744@iglou.com> <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com> <009601ca7ec7$100560a0$301021e0$@net> Message-ID: <20091216222207.A23211@iglou.com> Four score and seven years--eh, screw that! At about Wed, Dec 16, 2009 at 09:14:35PM -0600, Mike Schwartz blabbed on about: > > No :g means global in the file, every line > > I always thought global meant every OCCURANCE of the string in every > line. I'll have to test it again... That's the trailing /g not a leading :g Simple, eh? :) And people said emacs was too complicated! mark-> From ken.m.cole at gmail.com Wed Dec 16 19:22:10 2009 From: ken.m.cole at gmail.com (Ken Cole) Date: Thu, 17 Dec 2009 13:22:10 +1000 Subject: Facebook Application In-Reply-To: <009601ca7ec7$100560a0$301021e0$@net> References: <20091216141625.A12236@iglou.com> <20091216161341.A15471@iglou.com> <7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP> <20091216164120.A16136@iglou.com> <351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP> <4B2970B2.6030607@fptech.com> <20091216194433.B19744@iglou.com> <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com> <009601ca7ec7$100560a0$301021e0$@net> Message-ID: <94928a910912161922h294658elb88193021b14408a@mail.gmail.com> Mike, You need two g's for that, one at the start for every line and one at the end for every occurrence on the line. >From what I can ascertain :g is the same as % and as Mark had eluded 1,$ but onoy does the first occurrence on the line. Ken P.S. How is that Wisconsin winter treating you mate, nice and brisk? :-) On Thu, Dec 17, 2009 at 1:14 PM, Mike Schwartz wrote: >> No :g means global in the file, every line > > ? ? I always thought global meant every OCCURANCE of the string in every > line. ?I'll have to test it again... > > Mike Schwartz > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From bruce at stn.com Wed Dec 16 19:23:49 2009 From: bruce at stn.com (Bruce Easton) Date: Wed, 16 Dec 2009 22:23:49 -0500 Subject: Facebook Application In-Reply-To: <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com> References: <20091216141625.A12236@iglou.com> <20091216154651.A15079@iglou.com><6011331C5A0A40C3A2BFD88D8EF932F5@DONDESKTOP><20091216161341.A15471@iglou.com><7A355D0BC1A94060990F5F726EDC2F87@DONDESKTOP><20091216164120.A16136@iglou.com><351AF2A262334F1AAD6A726D2F06F4A6@DONDESKTOP><4B2970B2.6030607@fptech.com><20091216194433.B19744@iglou.com> <94928a910912161648w63451001m1cd5e3d40768a6c4@mail.gmail.com> Message-ID: Ken Cole wrote Wednesday, December 16, 2009 7:48 PM: > > No :g means global in the file, every line > > this command is: > > :g/target/s/string1/string2/ > > globally find target and substitute for string1 string2 > > This will only do the substitute one per line unless there is > a trailing g for global in the line. Yeah - I realize that now I really didn't want the trailing g since what I was searching for (to replace on all lines) was the first occurrence of 'html "1" :'. Unlikely that there would be more than one of that string anyway. Bruce > > On Thu, Dec 17, 2009 at 10:44 AM, Fairlight > wrote: > > You'll never BELIEVE what Bruce Easton said here...: > >> (for vi I think the ed command to switch them > >> ?would be: ?:g/html \"1\" ^A/s/html \"1\" ^A/jsfile \"1\" ^A/g) > > > > I believe you mean :s not :g ?...and if you're not on the line in > > question, then :%s > > > > mark-> From ras at anzio.com Thu Dec 17 06:30:43 2009 From: ras at anzio.com (Bob Rasmussen) Date: Thu, 17 Dec 2009 06:30:43 -0800 (PST) Subject: filePro help needed... In-Reply-To: <4B1BEEE9.3010606@aljex.com> References: <200912052115.nB5LFK6p017601@admin114.securesites.net> <4B1BEEE9.3010606@aljex.com> Message-ID: On Sun, 6 Dec 2009, Brian K. White wrote: > (clipping a lot) > > It does put a heavy new workload on your servers though. Image > processing is heavy cpu work compared to anything you normally do in > filepro, and it quickly fills up hard drives. > At low volumes and low user counts you might not notice at first, > because you almost can't buy a server today that isn't over-spec for 5 > or 10 users doing just ordinary filepro work, so you can add some more > work without noticing. > But dealing with scanned images quickly adds up to tax a server once you > actually start using it a little. While I can understand the heavy storage requirements on the server, I'm curious about the CPU-intensive part. What do you do with the image files on the server other than store them and feed them back? 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 fairlite at fairlite.com Thu Dec 17 06:52:02 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 17 Dec 2009 09:52:02 -0500 Subject: filePro help needed... In-Reply-To: ; from ras@anzio.com on Thu, Dec 17, 2009 at 06:30:43AM -0800 References: <200912052115.nB5LFK6p017601@admin114.securesites.net> <4B1BEEE9.3010606@aljex.com> Message-ID: <20091217095202.E8534@iglou.com> At Thu, Dec 17, 2009 at 06:30:43AM -0800 or thereabouts, suspect Bob Rasmussen was observed uttering: > On Sun, 6 Dec 2009, Brian K. White wrote: > > > (clipping a lot) > > > > It does put a heavy new workload on your servers though. Image > > processing is heavy cpu work compared to anything you normally do in > > filepro, and it quickly fills up hard drives. > > At low volumes and low user counts you might not notice at first, > > because you almost can't buy a server today that isn't over-spec for 5 > > or 10 users doing just ordinary filepro work, so you can add some more > > work without noticing. > > But dealing with scanned images quickly adds up to tax a server once you > > actually start using it a little. > > While I can understand the heavy storage requirements on the server, I'm > curious about the CPU-intensive part. What do you do with the image files > on the server other than store them and feed them back? Automated ImageMagick processing, or the like, perhaps? I can see conversions, resizes, watermarking, etc., being done in an automated fashion. And it could get worse...imagine if you tried driving video, not just still images. Video transcoding like YouTube does is -not- a low-horsepower task, especially on the scale at which they do it, but even one video at a time--video transcoding is a huge resource hog on the best of hardware. The -best- I've seen out of a Core2 Duo E8400 at 3GHz is 190fps, and that' actually really rare. Usually it tops out at 130fps or so. Spread that across any goodish volume of processing... Even a quad Xeon top of the line rig won't get you all that far. mark-> -- Audio panton, cogito singularis, From deweyweekender at yahoo.com Thu Dec 17 09:00:19 2009 From: deweyweekender at yahoo.com (deweyweekender at yahoo.com) Date: Thu, 17 Dec 2009 17:00:19 +0000 Subject: Fw: filePro help needed... Message-ID: <149251753-1261069306-cardhu_decombobulator_blackberry.rim.net-1864990607-@bda347.bisx.prod.on.blackberry> -----Original Message----- From: deweyweekender at yahoo.com Date: Thu, 17 Dec 2009 16:57:39 To: Bob Rasmussen Subject: Re: filePro help needed... Blackberry only supports top posting apparently... With that said we have used filepro to scan store and file all of our invoices, payables, contracts, and any other important documents for over 7 years now and there is no shortage of space or taxing of the system resources. We do file these images in folders with the highest directory being the year they were scanned so that we can just delete the older records if space becomes an issue. It has been a huge time saver for us to not only file the papers, but also to retrieve and distribute them when needed. I totally recommend this project. And if space is an issue, dedicate a server to their storage. The cost will be repaid quickly in the man hours that are needed to file papers in their files then go through the entire file to find it later! Good luck. -Ivan ------Original Message------ From: Bob Rasmussen Sender: filepro-list-bounces+deweyweekender=yahoo.com at lists.celestial.com To: Brian K. White Cc: filepro-list at lists.celestial.com Subject: Re: filePro help needed... Sent: Dec 17, 2009 9:30 AM On Sun, 6 Dec 2009, Brian K. White wrote: > (clipping a lot) > > It does put a heavy new workload on your servers though. Image > processing is heavy cpu work compared to anything you normally do in > filepro, and it quickly fills up hard drives. > At low volumes and low user counts you might not notice at first, > because you almost can't buy a server today that isn't over-spec for 5 > or 10 users doing just ordinary filepro work, so you can add some more > work without noticing. > But dealing with scanned images quickly adds up to tax a server once you > actually start using it a little. While I can understand the heavy storage requirements on the server, I'm curious about the CPU-intensive part. What do you do with the image files on the server other than store them and feed them back? 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 From john at valar.com Thu Dec 17 10:10:26 2009 From: john at valar.com (John Esak) Date: Thu, 17 Dec 2009 13:10:26 -0500 Subject: FW: A filePro Holiday Greeting & Newsletter Message-ID: <200912171809.nBHI9BJm052651@admin114.securesites.net> Hello, I'm taking the onus of posting this newsletter and Holiday greeting from FpTech. I can't tell you how happy I am to read this note. I would say that all of us would love to see something like this periodically. And, if FpTech doesn't have the manpower to do it say quarterly or (good God monthly)... I'll bet one of us would take on the chore each time_spec to do it for them. In other words, pick out some new things that have been learned, some new feature or two, some just plain readable and/or interesting stuff about filePro... And send it to them. They could then edit/add/modify/delete/proof it in whatever way and send it out to their mailing list. Who knows, just an idea. I would volunteer to do the first one for end of January. (Though, knowing me like I do... It might be quite a bit longer.... :-). Anyway, I'm cross-posting this to our beloved mailing list since I have not seen it sent by them... And they might have not felt it fair to send to this list. To my mind, and I'm guessing everyone else's here, it is a welcome piece of communication. I would like to publicly thank whoever put this together and just say, bravo. In future, don't feel the need to tie such filePro-related news to a Holiday. Just send it along to this list as well as to your resellers/developers. I'm sure we all will appreciate it. While I'm at it, I might say that throughout reading the whole note, I kept expecting there to be a plug or suggestion to buy some filePro product for the Holiday. Since they didn't do it... And I think they would have had every right to do so, I'll do it *for* them. I don't know if they have any specials or discounts or anything. I haven't spoken with anyone at the company since the meeting at Larry Hoover's house whenever that was. However, you could call and ask, or you could just call and buy something whether there is a discount or not. Why not buy a copy of xfer for Windows and Unix, or maybe get a copy of fpSQL (if that is still available, I don't even know). Maybe buy a few more user licenses that you've been needing, or just get a copy of the latest version for your home machine or laptop. Heck, I don't know, just make some effort to support the company. I do know that I was very happy to hear they managed through this past year okay, if not with banner sales. And I know that I would dearly love to see a similar letter or one with even more accomplishment and better sales 12 months from now at the next Holiday season. For this little program to make its way through the four decades since the very first computer toy ever built... Through working pretty damn well on some of the biggest, most awesome business servers of today... Well, it's an amazing feat, and there aren't a handful of other programs out there that can also make that claim. I wish them well, and thanks again for the news update, the new version, and all the B,S & T it took to keep filePro surviving all this time. 1979 to 2009, thank God, that isn't carved into a gravestone this year. :-) And you know, all the new generation Z'ers would it be now? They are all saying that 40 is the new 20 aren't they? Well, if they're not, they should be. Dare I say it... Merry Christmas and a Happy New Year to everyone. John Esak -----Original Message----- From: FpTech Sales [mailto:sales at fptech.com] Sent: Thursday, December 17, 2009 10:15 AM To: john at valar.com Subject: A filePro Holiday Greeting & Newletter Hello filePro customers. The holiday season is once again here. Even with the hard economic times, we have had a pretty decent year and hope that all of you also have had as much success as possible in our stressful economy. We have signed up many new developers who never heard of filePro until they inherited some customers. They evaluated filePro and the customer's needs and elected to become developers after realizing, in the high volume environments, that filePro was far superior to anything that they could otherwise recommend. We wish to welcome them to our family of growing filePro resellers and wish them much success. Revision 5.6.10 has been released and is ready for download. You can review the readme at: https://www.fptech.com/Products/Docs/rmfp5610.txt DID YOU KNOW? -------------------- filePro 5.6 has been installed and operates correctly on Windows 7. Like Vista, just do not install in the root of the C drive. -------------------- filePro 5.6 has been installed and operates correctly on a MAC. Did we really say that? Yep. Well, it works on a MAC that is running Windows on MAC with their product called Parallel Desktop. There were no issues with licensing or printing. Pretty cool. -------------------- "DISPLAY" by itself will refresh the fields on the screen, leaving the rest as-is. "DISPLAY (@SN)" will redraw the entire screen, clearing out things like SHOW statements that might have been drawn on the screen. -------------------- Windows has changed how they store un-install information. Our shield does not handle the new location at this time. If you ever wish to un-install filePro, use the filePro utility: Start-Programs-fP Technologies-Uninstall filePro. -------------------- filePro doesn't, and never did, allow partial-key index searches on date fields. In order to do a partial-key index search, the field must sort in ASCII order, such as the "*" edit, or any local- or global edits. System edits, such as the date types, do not sort in ASCII order. For example, a (10,mdyy/) field does not have all the Aprils together, and therefore could not search on "04/" as a key. -------------------- Windows error codes can be found here: http://msdn.microsoft.com/en-us/library/ms681381.aspx These codes are sometimes helpful in diagnosing errors that may be reported by filePro. If you have the environmental variable PFSHOWWINERROR=ON set in your config file, filePro will report the actual windows error number and the above url will detail the error. Many errors reported by filePro have nothing to do with filePro. -------------------- If a record is selected during the sort/select phase, and it gets deleted/reused before it gets reached during the output phase, then yes filePro will use the new record. We are not sure what happens if the record was deleted, but not yet reused. We believe it simply gets silently skipped. If this could be a problem with a particular report, don't use the "-u" flag on the report command line option. -------------------- DID YOU KNOW? -------------------- Norton does it again. A recent Norton anti-virus update caused a major support problem. For some reason, yet to be figured out, Norton decided that p.exe on Windows was performing a 'High Risk Function' and removed it from several customers systems. At that point of course, filePro would not run. There is a warning box and if the user takes their time to read it and evaluate it and drill down through the hoops that Norton displays, you can restore p.exe and exclude it from the Risk Management process. Of course most don't even know what p.exe is and assume that Norton knows what it is doing. We recommend avast! (http://www.avast.com/index.html) Norton and McAfee historically have been too intrusive and use way too many resources. Plus they cost more. PCTools is another very good product. -------------------- DID YOU KNOW? -------------------- That BackupEDGE is certified filePro Partner. edge.transfer will allow archives to be transferred from any medium to any medium, such as - Disk to tape - FTP to DVD - Tape to AWS You get the idea. BackupEDGE archives are re-formatted automatically, and re-segmented as necessary. We see lots of uses, including... - Do a fast backup to a disk archive, transfer periodically to tape for off-site. - FTP backups daily, send one weekly to Amazon or a remote FTP site. The README and example transfer script, are at: ftp://ftp.microlite.com/pub/transfer. -------------------- If you want something inexpensive but very versatile take a look at NetGear's ReadyNAS product line. (www.readynas.com). These little boxes are Ethernet NAS devices that support Windows, Mac, Linux and Unix. They also support sharable USB printers. For $399.00 you get a box with one 500GB SATA drive, you can add another for RAID 1 (configures it automatically). The $399 box (ReadyNAS duo) is available at BestBuy if you want to get it a try. (easy to return) Their product line goes up to 1-2U rack NAS devices For a very good presentation of the product, visit: http://www.youtube.com/watch?v=4sD3BjhOjq8&feature=related -------------------- For those of you who made it this far, we wish you a very Happy Holiday season and a most successful and healthy New Year. >From all of us at fP Technologies, Thank you! From wvaughan at steelerubber.com Thu Dec 17 10:23:17 2009 From: wvaughan at steelerubber.com (Walter Vaughan) Date: Thu, 17 Dec 2009 13:23:17 -0500 Subject: FW: A filePro Holiday Greeting & Newsletter In-Reply-To: <200912171809.nBHI9BJm052651@admin114.securesites.net> References: <200912171809.nBHI9BJm052651@admin114.securesites.net> Message-ID: <4B2A7715.2080508@steelerubber.com> fpTech Sales wrote: >You can review the readme at: >https://www.fptech.com/Products/Docs/rmfp5610.txt > > Remove the "s" https://www.fptech.com/Products/Docs/rmfp5610.txt From john at valar.com Thu Dec 17 10:51:49 2009 From: john at valar.com (John Esak) Date: Thu, 17 Dec 2009 13:51:49 -0500 Subject: FW: A filePro Holiday Greeting & Newsletter In-Reply-To: <4B2A7715.2080508@steelerubber.com> Message-ID: <200912171850.nBHIodu8070782@admin114.securesites.net> That's funny. It worked for me.... 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 Walter Vaughan > Sent: Thursday, December 17, 2009 1:23 PM > To: filePro; FPTech Sales > Subject: Re: FW: A filePro Holiday Greeting & Newsletter > > fpTech Sales wrote: > > >You can review the readme at: > >https://www.fptech.com/Products/Docs/rmfp5610.txt > > > > > Remove the "s" > https://www.fptech.com/Products/Docs/rmfp5610.txt > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From john at valar.com Thu Dec 17 10:55:08 2009 From: john at valar.com (John Esak) Date: Thu, 17 Dec 2009 13:55:08 -0500 Subject: What about *nix??? Message-ID: <200912171853.nBHIrrFM072025@admin114.securesites.net> Okay, now you've done it.... I've just read the README and found a good thing. It kind of proves the old adage "All good things come to those who wait." (Windows) #1016 On Windows, ddefine did not allow you to create or access files with a dot in the filename. So, that's nice.... But what about Unix? Now, I have some documentation somewhere that will show I sent you this problem back in 1994. :-) I was trying to create a secret file to hold the resin prices for the plastics at nexus, and ddefine would not let me make it. I just tried on a Linux system and lo and behold, it let me build a new file called ".resin"! Yay! *clerk will let me into the file from the command line! Yay! But, :-( ddefine, nor any of the other creation programs, nor any of the runtime programs will let me access the file once it's been created. Has this been addressed in the 1016 fix? I don't have the 5.6.10 loaded on a Windows system to try it... And since the fix only lists Windows specifically, could it be you think you fixed this back when I reported the Unix problem? Should I send this in as a add-on to the original bug? Actually, I think there really isn't any major bug, but probably just an oversite in the LISTBOX() being used to display the available files and it possibly using a system call that by default doesn't show filenames starting with a ".". That would be an easy thing to fix, wouldn't it? Oh no! 5.6.11? I know you guys want to lock down the 5 version of filePro and move on to other things. Maybe it's time to start charging $50 bucks or something to tick licenses up for each minor bugfix to 5? Would that help defray the cost of keeping the hits coming for those wanting to keepp their tools up to date? John From fairlite at fairlite.com Thu Dec 17 11:34:10 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 17 Dec 2009 14:34:10 -0500 Subject: What about *nix??? In-Reply-To: <200912171853.nBHIrrFM072025@admin114.securesites.net>; from john@valar.com on Thu, Dec 17, 2009 at 01:55:08PM -0500 References: <200912171853.nBHIrrFM072025@admin114.securesites.net> Message-ID: <20091217143410.B17768@iglou.com> When asked his whereabouts on Thu, Dec 17, 2009 at 01:55:08PM -0500, John Esak took the fifth, drank it, and then slurred: > > So, that's nice.... But what about Unix? Now, I have some documentation What about linux? RHEL3 is no longer supported by fP-Tech, aparently. The GLIBC distribution of this NON-EOL distribution (it still gets updates from the vendor) is not new enough to support the binaries as distributed. A client went to update yesterday and got a rude surprise during installation. GLIBC_2.4 is required and the latest this goes is 2.3.3. Binaries for each patchlevel within the same major/minor should be built to the same requirements. If it were 5.7 or 6.x, I'd not have a problem with the compatibility requirements changing. But it's a 5.6.xx upgrade. No requirements should change. mark-> -- Audio panton, cogito singularis, From bill at celestial.com Thu Dec 17 11:49:09 2009 From: bill at celestial.com (Bill Campbell) Date: Thu, 17 Dec 2009 11:49:09 -0800 Subject: What about *nix??? In-Reply-To: <20091217143410.B17768@iglou.com> References: <200912171853.nBHIrrFM072025@admin114.securesites.net> <20091217143410.B17768@iglou.com> Message-ID: <20091217194909.GA8087@ayn.mi.celestial.com> On Thu, Dec 17, 2009, Fairlight wrote: >When asked his whereabouts on Thu, Dec 17, 2009 at 01:55:08PM -0500, >John Esak took the fifth, drank it, and then slurred: >> >> So, that's nice.... But what about Unix? Now, I have some documentation > >What about linux? RHEL3 is no longer supported by fP-Tech, aparently. >The GLIBC distribution of this NON-EOL distribution (it still gets >updates from the vendor) is not new enough to support the binaries as >distributed. A client went to update yesterday and got a rude surprise >during installation. GLIBC_2.4 is required and the latest this goes is >2.3.3. I don't think this is directly related, but I have run into problems on Linux boxes with 2.6.x kernels and old binaries that are compiled assuming that errno is an int. On SuSE Linux Enterprise 9 and later, setting this environment variable allows these to run successfully. LD_ASSUME_KERNEL=2.4.1 export LD_ASSUME_KERNEL The programs that need this are generally built on older versions of Red Hat which either haven't be recompiled or the developers are too lazy/ignorant to fix their C source. 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 Never chastise a Windows user...just smile at them kindly as you would a disadvantaged child. WBM From kenbrody at spamcop.net Thu Dec 17 12:02:04 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 17 Dec 2009 15:02:04 -0500 Subject: What about *nix??? In-Reply-To: <200912171853.nBHIrrFM072025@admin114.securesites.net> References: <200912171853.nBHIrrFM072025@admin114.securesites.net> Message-ID: <4B2A8E3C.4050400@spamcop.net> John Esak wrote: > > Okay, now you've done it.... I've just read the README and found a good > thing. > > It kind of proves the old adage "All good things come to those who wait." > > > (Windows) #1016 > On Windows, ddefine did not allow you to create or access files with > a dot in the filename. > > > > So, that's nice.... But what about Unix? *nix filePro has always allowed a dot in filenames. The problem came when people xfered their dot-containing files from *nix to Windows, and ddefine would reject the name. > Now, I have some documentation > somewhere that will show I sent you this problem back in 1994. :-) I was > trying to create a secret file to hold the resin prices for the plastics at > nexus, and ddefine would not let me make it. I just tried on a Linux system > and lo and behold, it let me build a new file called ".resin"! Yay! *clerk > will let me into the file from the command line! Yay! But, :-( ddefine, nor > any of the other creation programs, nor any of the runtime programs will > let me access the file once it's been created. Has this been addressed in > the 1016 fix? I don't have the 5.6.10 loaded on a Windows system to try > it... And since the fix only lists Windows specifically, could it be you > think you fixed this back when I reported the Unix problem? Should I send > this in as a add-on to the original bug? Well, you did say you wanted the file to be "secret". :-) The list of filenames that filePro presents to the user do not include files that start with a dot, as is *nix tradition. (I could get picky and say that the fix says "files with a dot _in_ the filename", and not "at the start of the filename", but I won't. In any case, what you are describing is a distinct issue from the fix.) You can always set PFNAME=.resin if you need to handle this scenario. > Actually, I think there really isn't any major bug, but probably just an > oversite in the LISTBOX() being used to display the available files and it > possibly using a system call that by default doesn't show filenames starting > with a ".". That would be an easy thing to fix, wouldn't it? Well, then your file wouldn't be secret anymore. Unless you are saying that (some?) creation programs shouldn't filter those out. [...] -- Kenneth Brody From john at valar.com Thu Dec 17 13:47:23 2009 From: john at valar.com (John Esak) Date: Thu, 17 Dec 2009 16:47:23 -0500 Subject: What about *nix??? In-Reply-To: <4B2A8E3C.4050400@spamcop.net> Message-ID: <200912172146.nBHLk8T0041407@admin114.securesites.net> Actually, for me, I would prefer that files with a "." at the beginning do not get shown in any of the file lists. You are right that does keep them secret, at least from the typical filePro user. And, I can easily use PFNAME as you say or work from the command line or menu line. No problem. That's actually why I was asking if this should be reported as a bug, and suggested that it is supposed to work that way because of the not showing files starting with a "." thing. If it's a glitch it's a glitch. If it's something people want a workaround for, they've got it. I was just wondering whether you meant it to be that way. Obviously, you did. Fine with me, if this is a voting thing. :-) Really, the only :-( I had originally put in my message (before I refined it realizing all the runtime progs don't let you in) was that ddefine won't let you *back* into a file once you've defined it the first time. Getting back in to re-define it is impossible because ddefine doesn't take arguments. Well, let's see, I suppose there's always "autoshuf" :-). Oh wait... Are you saying by the fix, that ddefine *does* let you in through the listbox as well as through the [NEW] option? I guess I'll have to see it when I load the 5.6.10. John > -----Original Message----- > From: Kenneth Brody [mailto:kenbrody at spamcop.net] > Sent: Thursday, December 17, 2009 3:02 PM > To: john at valar.com > Cc: filepro-list at lists.celestial.com > Subject: Re: What about *nix??? > > John Esak wrote: > > > > Okay, now you've done it.... I've just read the README and > found a good > > thing. > > > > It kind of proves the old adage "All good things come to > those who wait." > > > > > > (Windows) #1016 > > On Windows, ddefine did not allow you to create or > access files with > > a dot in the filename. > > > > > > > > So, that's nice.... But what about Unix? > > *nix filePro has always allowed a dot in filenames. The > problem came when > people xfered their dot-containing files from *nix to > Windows, and ddefine > would reject the name. > > > Now, I have some documentation > > somewhere that will show I sent you this problem back in > 1994. :-) I was > > trying to create a secret file to hold the resin prices for > the plastics at > > nexus, and ddefine would not let me make it. I just tried > on a Linux system > > and lo and behold, it let me build a new file called > ".resin"! Yay! *clerk > > will let me into the file from the command line! Yay! But, > :-( ddefine, nor > > any of the other creation programs, nor any of the runtime > programs will > > let me access the file once it's been created. Has this > been addressed in > > the 1016 fix? I don't have the 5.6.10 loaded on a Windows > system to try > > it... And since the fix only lists Windows specifically, > could it be you > > think you fixed this back when I reported the Unix problem? > Should I send > > this in as a add-on to the original bug? > > Well, you did say you wanted the file to be "secret". :-) > > The list of filenames that filePro presents to the user do > not include files > that start with a dot, as is *nix tradition. (I could get > picky and say > that the fix says "files with a dot _in_ the filename", and > not "at the > start of the filename", but I won't. In any case, what you > are describing > is a distinct issue from the fix.) > > You can always set PFNAME=.resin if you need to handle this scenario. > > > Actually, I think there really isn't any major bug, but > probably just an > > oversite in the LISTBOX() being used to display the > available files and it > > possibly using a system call that by default doesn't show > filenames starting > > with a ".". That would be an easy thing to fix, wouldn't it? > > Well, then your file wouldn't be secret anymore. Unless you > are saying that > (some?) creation programs shouldn't filter those out. > > [...] > > -- > Kenneth Brody > From ScottWalker at RAMSystemsCorp.com Thu Dec 17 15:23:42 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Thu, 17 Dec 2009 18:23:42 -0500 Subject: RReport flags Message-ID: <000901ca7f6f$fa22ea10$ee68be30$@com> I want to have it to: 1) not ask which index to use 2)not stop at sort screen 3) not ask if I want to select all records (if possible) 3) bring up a blank extended selection set screen What is the right combination of flags for this? Thanks a lot! 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/20091217/75208c44/attachment.html From rkreiss at verizon.net Thu Dec 17 15:37:53 2009 From: rkreiss at verizon.net (Rkreiss@verizon.net]) Date: Thu, 17 Dec 2009 18:37:53 -0500 Subject: RReport flags Message-ID: <0KUT001I8LN5U068@vms173017.mailsrvcs.net> -----Original Message----- From: Scott Walker Sent: Thursday, December 17, 2009 6:23 PM To: filepro-list at lists.celestial.com Subject: RReport flags I want to have it to: 1) not ask which index to use 2)not stop at sort screen 3) not ask if I want to select all records (if possible) 3) bring up a blank extended selection set screen What is the right combination of flags for this? *report foobar -f myreport -s That should do what you want. Richard Thanks a lot! Scott Scott Walker RAM Systems Corp (704) 896-6549 ScottWalker at RAMSystemCorp.com [The entire original message is not included] From ScottWalker at RAMSystemsCorp.com Thu Dec 17 15:44:57 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Thu, 17 Dec 2009 18:44:57 -0500 Subject: RReport flags In-Reply-To: <0KUT001I8LN5U068@vms173017.mailsrvcs.net> References: <0KUT001I8LN5U068@vms173017.mailsrvcs.net> Message-ID: <001401ca7f72$f24afb40$d6e0f1c0$@com> -----Original Message----- From: Scott Walker Sent: Thursday, December 17, 2009 6:23 PM To: filepro-list at lists.celestial.com Subject: RReport flags Scott STUPIDLY asked: I want to have it to: 1) not ask which index to use 2)not stop at sort screen 3) not ask if I want to select all records (if possible) 3) bring up a blank extended selection set screen What is the right combination of flags for this? Richard kindly answered: *report foobar -f myreport -s That should do what you want. Richard Scott says: Richard, DUH! Thanks! Regards, Scott Scott Scott Walker RAM Systems Corp (704) 896-6549 ScottWalker at RAMSystemCorp.com [The entire original message is not included] _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From kenbrody at spamcop.net Thu Dec 17 16:49:33 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Thu, 17 Dec 2009 19:49:33 -0500 Subject: What about *nix??? In-Reply-To: <200912172146.nBHLk8T0041407@admin114.securesites.net> References: <200912172146.nBHLk8T0041407@admin114.securesites.net> Message-ID: <4B2AD19D.4000509@spamcop.net> John Esak wrote: > [...] > Oh wait... Are you saying by the fix, that ddefine *does* let you in through > the listbox as well as through the [NEW] option? I guess I'll have to see > it when I load the 5.6.10. No, the filename listboxes won't include names that start with a dot. The fix is that, under Windows, you previously couldn't create, nor access, an existing file, in ddefine, if the filename contained a dot anywhere. So, if you were to xfer "foo.bar" from Unix to Windows, ddefine would show the name in the list, but refuse to accept it, considering it an "invalid" filename. (Back in 8.3 days, this made sense.) All other filePro files would access the file just fine. BTW, you can get to the "secret" file in ddefine by selecting "[NEW]" and typing the "secret" filename. This doesn't help other programs, of course. -- Kenneth Brody From dsokyno at hotmail.com Thu Dec 17 20:04:46 2009 From: dsokyno at hotmail.com (George Davidson) Date: Thu, 17 Dec 2009 23:04:46 -0500 Subject: No subject Message-ID: George Davidson From john at valar.com Thu Dec 17 21:49:19 2009 From: john at valar.com (John Esak) Date: Fri, 18 Dec 2009 00:49:19 -0500 Subject: What about *nix??? In-Reply-To: <4B2AD19D.4000509@spamcop.net> Message-ID: <200912180548.nBI5m5rd004362@admin114.securesites.net> Wow! I never thought of that! Go into dddefine, choose [NEW] and then type in the filename with a leading ".". I know the programs behave that way, I just never would have thought of it. That's why you are you... And I am me. :-( :-) John > -----Original Message----- > From: Kenneth Brody [mailto:kenbrody at spamcop.net] > Sent: Thursday, December 17, 2009 7:50 PM > To: john at valar.com > Cc: filepro-list at lists.celestial.com > Subject: Re: What about *nix??? > > John Esak wrote: > > > [...] > > Oh wait... Are you saying by the fix, that ddefine *does* > let you in through > > the listbox as well as through the [NEW] option? I guess > I'll have to see > > it when I load the 5.6.10. > > No, the filename listboxes won't include names that start > with a dot. The > fix is that, under Windows, you previously couldn't create, > nor access, an > existing file, in ddefine, if the filename contained a dot > anywhere. So, if > you were to xfer "foo.bar" from Unix to Windows, ddefine > would show the name > in the list, but refuse to accept it, considering it an > "invalid" filename. > (Back in 8.3 days, this made sense.) All other filePro > files would access > the file just fine. > > BTW, you can get to the "secret" file in ddefine by selecting > "[NEW]" and > typing the "secret" filename. This doesn't help other > programs, of course. > > -- > Kenneth Brody > From john at valar.com Thu Dec 17 23:53:40 2009 From: john at valar.com (John Esak) Date: Fri, 18 Dec 2009 02:53:40 -0500 Subject: What about *nix??? In-Reply-To: <94928a910912172213s4c9ca389of0c482d4eb8aa87e@mail.gmail.com> Message-ID: <200912180752.nBI7qPdb042365@admin114.securesites.net> Absolutely Ken... I am much happier to be me than Ken... So :-) :-( If that is what you were thinking.... :-) But having Ken's sharp mind would would definitely elicit a :-( :-) since I will never have that. Hell, two smileys could never depict what I was thinking by that statement. ?-) Hey, It should be getting pretty hot down there about now, huh? We just had a really freezing cold one last night. I still made it down to the club to play a bit, but today I bought gloves and a new jacket! Problem is I can't bring myself to use the hood when I have all these great Ozzy hats! How do you guys keep your ears warm... Or is it just that it never gets cold enough down under to worry about your ears? :-) John > -----Original Message----- > From: Ken Cole [mailto:ken.m.cole at gmail.com] > Sent: Friday, December 18, 2009 1:14 AM > To: john at valar.com > Subject: Re: What about *nix??? > > John shouldn't that be :-) :-( > > :-) > > On Fri, Dec 18, 2009 at 3:49 PM, John Esak wrote: > > Wow! ?I never thought of that! ?Go into dddefine, choose > [NEW] and then type > > in the filename with a leading ".". ?I know the programs > behave that way, I > > just never would have thought of it. That's why you are > you... And I am me. > > :-( ?:-) > > > > John > > > > > >> -----Original Message----- > >> From: Kenneth Brody [mailto:kenbrody at spamcop.net] > >> Sent: Thursday, December 17, 2009 7:50 PM > >> To: john at valar.com > >> Cc: filepro-list at lists.celestial.com > >> Subject: Re: What about *nix??? > >> > >> John Esak wrote: > >> > > >> [...] > >> > Oh wait... Are you saying by the fix, that ddefine *does* > >> let you in through > >> > the listbox as well as through the [NEW] option? ?I guess > >> I'll have to see > >> > it when I load the 5.6.10. > >> > >> No, the filename listboxes won't include names that start > >> with a dot. ?The > >> fix is that, under Windows, you previously couldn't create, > >> nor access, an > >> existing file, in ddefine, if the filename contained a dot > >> anywhere. ?So, if > >> you were to xfer "foo.bar" from Unix to Windows, ddefine > >> would show the name > >> in the list, but refuse to accept it, considering it an > >> "invalid" filename. > >> ? (Back in 8.3 days, this made sense.) ?All other filePro > >> files would access > >> the file just fine. > >> > >> BTW, you can get to the "secret" file in ddefine by selecting > >> "[NEW]" and > >> typing the "secret" filename. ?This doesn't help other > >> programs, of course. > >> > >> -- > >> Kenneth Brody > >> > > > > _______________________________________________ > > Filepro-list mailing list > > Filepro-list at lists.celestial.com > > http://mailman.celestial.com/mailman/listinfo/filepro-list > > > From brian at aljex.com Fri Dec 18 00:10:17 2009 From: brian at aljex.com (Brian K. White) Date: Fri, 18 Dec 2009 03:10:17 -0500 Subject: filePro help needed... In-Reply-To: References: <200912052115.nB5LFK6p017601@admin114.securesites.net> <4B1BEEE9.3010606@aljex.com> Message-ID: <4B2B38E9.7010206@aljex.com> Bob Rasmussen wrote: > On Sun, 6 Dec 2009, Brian K. White wrote: > >> (clipping a lot) >> >> It does put a heavy new workload on your servers though. Image >> processing is heavy cpu work compared to anything you normally do in >> filepro, and it quickly fills up hard drives. >> At low volumes and low user counts you might not notice at first, >> because you almost can't buy a server today that isn't over-spec for 5 >> or 10 users doing just ordinary filepro work, so you can add some more >> work without noticing. >> But dealing with scanned images quickly adds up to tax a server once you >> actually start using it a little. > > While I can understand the heavy storage requirements on the server, I'm > curious about the CPU-intensive part. What do you do with the image files > on the server other than store them and feed them back? Depending what format you use to collect images, you have to convert them to something else, sometimes more than once, to print them and/or fax them and/or email them and/or display them in a browser. Actually I should have said "No matter what format" not "Depending what format". Some formats make some jobs more efficient and others others, but no single format provides an efficient to all uses of the image data. If I scan to tiffg3, I can fax for free, but everything else costs work, even viewing, because I do not accept requiring the user to install a browser plugin just to view images when so many image formats exist that the browser can display natively. If I scan to png or gif I can view and email for free but it costs to fax or print or pdf. If I scan to pdf it costs to fax and print, email is free, but viewing is less immediate on the client since they must have acrobate installed and they have to wait for it to laod up, every, time.... I used to collect images as tiff and then convert to equivalent png on the server because my pc scanner util of the day couldnt save as png or gif natively. (jpg was out the door as too ineffiecient) Then later and for most users still today, I collected them as png. In both cases, I have to use ghostscript to print and to fax. (I wasn't keeping the original tiff's because of disk space, more importantly, tape drive space and backup time windows) I tried for a long time to get users to accept emails that were just html with the images as img tags, but they just insist on pdf, so, for customers that scan to png, I have to run ghostpdl a lot to generate pdfs of emailed invoices which contain a front page in pcl generated from filepro, followed by the associated scanned images, all in one neat pdf. Great for the end user. Hard on the server. My latest version of our scanning scans directly to pdf on the pc. And I have pdftk which seems to be slicing and dicing pdfs at a high level (without actually re-rasterizing, if that's even a word). That's less work but not no work. And ghostscript still has to work to print them and hylafax/vsifax still have to work to convert to tiffg3 to fax them. And in all of these cases I have to generate a large enough thumbnail view of every new file that the user can get some sense of what the file is from the thimbnail. Thats a lot of work right there. I measure "lot of work" by the fact that, it takes the server a few solid seconds to do it. Which is an eternity considering that's just one person doing one thing on a box that's otherwise supports 200 concurrent people just fine. Actually in no case is emailing really free, I must always base64 it at least, since sending embedded links in emails is usually blocked these days, and I decided a while back it wasn't good practise. I should be sending the end user their actual statement (or whatever) not a mere link that might break in the future. base64 is a pretty cheap process but not as cheap as merely handling/copying. Further... say I scan at fax quality settings 1bpp 200x200, well faxes are really 196x204 and hylafax/vsifax actually has to resample or resize that internally, and pcl printers mostly don't actually print at 200dp1 even if you ask, they have to actually use 600dpi internally top print 200dpi, some can do this transparently, some require me to do it on the server with ghostscript, which means really I just have to do it on the server all the time. But some people deal with documents that can not really be imaged at 1bpp. They require at _least_ 4bit greyscale. Which really ends up being 8bit greyscale or 8bit indexed color where all the colors are shades of grey. That explodes the file size up so hugely that I must drop the resolution down to 100dpi and use lossy jpeg compression and still the file sizes are 2 to 4 times larger (which adds up fast at thousands of pages per day) a 100dpi 8bit greyscale looks pretty garbagy when faxed, looks ok on screen, and only looks ok printed if you print at 600 or higher dpi so that the printer can emulate greyscale with dithering. Theres definitely a lot more to document imaging and integrating in a useful way with your application than merely handling the files and passing them around without otherwise touching them. -- bkw From boaz at mirrotek.com Fri Dec 18 05:52:38 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Fri, 18 Dec 2009 08:52:38 -0500 Subject: RReport flags In-Reply-To: References: Message-ID: <4B2B8926.60408@mirrotek.com> > > Date: Thu, 17 Dec 2009 18:23:42 -0500 > From: "Scott Walker" > Subject: RReport flags > To: > Message-ID: <000901ca7f6f$fa22ea10$ee68be30$@com> > Content-Type: text/plain; charset="us-ascii" > > I want to have it to: > > > > 1) not ask which index to use > > 2)not stop at sort screen > > 3) not ask if I want to select all records (if possible) > > 3) bring up a blank extended selection set screen > > > > What is the right combination of flags for this? > > > > Thanks a lot! > > > > Scott > You might want to consider John Esak's method of running a report from a SYSTEM command that he has in his FilePro Survivor videos*. He creates a window with dummy variables for the selection criteria where you can do all the checks you want on the data, and allow the user to move around until they are happy. Then, when they "escape" to run the report he saves the selection criteria in environment variables using PUTENV and runs the report with the SYSTEM command. A selection table is created that reads in the environment variables using GETENV and selects the records. I just watched some of these last night and I'm sorry that I waited so long to do so. Boaz From john at valar.com Fri Dec 18 07:02:04 2009 From: john at valar.com (John Esak) Date: Fri, 18 Dec 2009 10:02:04 -0500 Subject: RReport flags In-Reply-To: <4B2B8926.60408@mirrotek.com> Message-ID: <200912181500.nBIF0o79092472@admin114.securesites.net> Thanks Boaz... I'm pretty sure Scott has the SS CD's... He's just lazy like the rest of us... :-) and worse, just forgetting simple stuff... Like the rest of us... And his "duh" proves that out. I know *just* how he feels. Sometimes, I find myself trying to remember something so basic, it's actually sfcary. When I do finally drag back whatever it is to consciousness, I can't imagine how I'd possibly forgotten it. I'd call them senior moments, but they're getting more like senior days... And oh yeah, what used to be bad hair days have turned into a bad hair decade.... :-) :-( Did anyone ever mention it's a b*tch getting old? :-) But, thanks again for the nice words about the SS movies... They took one heck of a long time to get right, and they truly are worth watching. I hate to keep saying that because it sounds like such an obvious plug... But so many times I've seen questions here which if they had just typed in a keyword the whole thing would be right there at their fingertips. And, true story... Last week a guy I have never met or even seen on this list emailed me to say that he had been designing filePro screens since the first version of Profile Plus from Radio Shack days, and after watching the Design Screens movies he felt like he knew only 1/10th of how many things could be done and how quickly. A very nice compliment. Boy, he is really going to flip when he gets to the processing section! :-) John > > Scott > > > > You might want to consider John Esak's method of running a > report from a > SYSTEM command that he has in his FilePro Survivor videos*. > He creates > a window with dummy variables for the selection criteria > where you can > do all the checks you want on the data, and allow the user to move > around until they are happy. Then, when they "escape" to run > the report > he saves the selection criteria in environment variables using PUTENV > and runs the report with the SYSTEM command. A selection table is > created that reads in the environment variables using GETENV > and selects > the records. > > > I just watched some of these last night and I'm sorry that I > waited so > long to do so. > > Boaz > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From rkreiss at verizon.net Fri Dec 18 09:07:38 2009 From: rkreiss at verizon.net (Rkreiss@verizon.net]) Date: Fri, 18 Dec 2009 12:07:38 -0500 Subject: RReport flags Message-ID: <0KUU002G5Y8PSBVE@vms173017.mailsrvcs.net> To post from phone: Another method would be to pass the parameters using the -r variables on the command line (another John suggestion) and @pm etc to retrieve the value(s). One can combine parameters and hash them in the -v select process used to run the report. I currently use the method to pass record numbers to select for a report of exceptions to run when the primary report finishes. These numbers are seperated by commas and I use strtok and mid to get each record number to place into an array. A dash lookup handles selecting each record. Both methods work nicely. Richard Kreiss -----Original Message----- From: Boaz Bezborodko Sent: Friday, December 18, 2009 8:52 AM To: filepro-list at lists.celestial.com Cc: Scott Walker Subject: Re: RReport flags > > Date: Thu, 17 Dec 2009 18:23:42 -0500 > From: "Scott Walker" > Subject: RReport flags > To: > Message-ID: <000901ca7f6f$fa22ea10$ee68be30$@com> > Content-Type: text/plain; charset="us-ascii" > > I want to have it to: > > > > 1) not ask which index to use > > 2)not stop at sort screen > > 3) not ask if I want to select all records (if possible) > > 3) bring up a blank extended selection set screen > > > > What is the right combination of flags for this? > > > > Thanks a lot! > > > > Scott > You might want to consider John Esak's method of running a report from a SYSTEM command that he has in his FilePro Survivor videos*. He creates a window with dummy variables for the selection criteria where you can do all the checks you want on the data, and allow the user to move around until they are happy. Then, when they "escape" to run the report he saves the selection criteria in environment variables using PUTENV and runs the report with the SYSTEM command. A selection table is created that reads in the environment variables using GETENV and selects the records. I just watched some of these last night and I'm sorry that I waited so long to do so. Boaz _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From boaz at mirrotek.com Fri Dec 18 09:16:17 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Fri, 18 Dec 2009 12:16:17 -0500 Subject: RReport flags In-Reply-To: <0KUU002G5Y8PSBVE@vms173017.mailsrvcs.net> References: <0KUU002G5Y8PSBVE@vms173017.mailsrvcs.net> Message-ID: <4B2BB8E1.20202@mirrotek.com> I had used this in the past, but John's environment method has the advantage of being able to pass an almost unlimited amount of variables while having them named. Boaz Rkreiss at verizon.net] wrote: > To post from phone: > > Another method would be to pass the parameters using the -r variables on the command line (another John suggestion) and @pm etc to retrieve the value(s). > > One can combine parameters and hash them in the -v select process used to run the report. > > I currently use the method to pass record numbers to select for a report of exceptions to run when the primary report finishes. These numbers are seperated by commas and I use strtok and mid to get each record number to place into an array. > > A dash lookup handles selecting each record. > > Both methods work nicely. > > Richard Kreiss > > -----Original Message----- > From: Boaz Bezborodko > Sent: Friday, December 18, 2009 8:52 AM > To: filepro-list at lists.celestial.com > Cc: Scott Walker > Subject: Re: RReport flags > > >> Date: Thu, 17 Dec 2009 18:23:42 -0500 >> From: "Scott Walker" >> Subject: RReport flags >> To: >> Message-ID: <000901ca7f6f$fa22ea10$ee68be30$@com> >> Content-Type: text/plain; charset="us-ascii" >> >> I want to have it to: >> >> >> >> 1) not ask which index to use >> >> 2)not stop at sort screen >> >> 3) not ask if I want to select all records (if possible) >> >> 3) bring up a blank extended selection set screen >> >> >> >> What is the right combination of flags for this? >> >> >> >> Thanks a lot! >> >> >> >> Scott >> >> > > You might want to consider John Esak's method of running a report from a > SYSTEM command that he has in his FilePro Survivor videos*. He creates > a window with dummy variables for the selection criteria where you can > do all the checks you want on the data, and allow the user to move > around until they are happy. Then, when they "escape" to run the report > he saves the selection criteria in environment variables using PUTENV > and runs the report with the SYSTEM command. A selection table is > created that reads in the environment variables using GETENV and selects > the records. > > > I just watched some of these last night and I'm sorry that I waited so > long to do so. > > Boaz > _______________________________________________ > 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/20091218/fd846452/attachment.html From laura at hvcomputer.com Fri Dec 18 10:54:37 2009 From: laura at hvcomputer.com (Laura Brody) Date: Fri, 18 Dec 2009 13:54:37 -0500 Subject: What about *nix??? In-Reply-To: <200912180752.nBI7qPdb042365@admin114.securesites.net> References: <200912180752.nBI7qPdb042365@admin114.securesites.net> Message-ID: <20091218135437.en17xf0gg0w88g80-ynhenoebql@webmail.spamcop.net> Quoting John Esak : > Absolutely Ken... I am much happier to be me than Ken... So :-) :-( I think that most people would agree with you. I'm far from perfect, but I have reached a point in my life where I have made peace with the fact that I won't get any taller or smarter or ..... I'm ok as is. Some things I can change/improve, but there are a long list of things that aren't and I don't waste time and energy on them. > If that is what you were thinking.... :-) But having Ken's sharp mind would > would definitely elicit a :-( :-) since I will never have that. It used to be sharper... (Mine too) so I guess I'll blame the kids... > > Hell, two smileys could never depict what I was thinking by that statement. > ?-) > > Hey, It should be getting pretty hot down there about now, huh? We just had > a really freezing cold one last night. I still made it down to the club to > play a bit, but today I bought gloves and a new jacket! Problem is I can't > bring myself to use the hood when I have all these great Ozzy hats! How do > you guys keep your ears warm... Or is it just that it never gets cold enough > down under to worry about your ears? :-) > > > John > >> -----Original Message----- >> From: Ken Cole [mailto:ken.m.cole at gmail.com] >> Sent: Friday, December 18, 2009 1:14 AM >> To: john at valar.com >> Subject: Re: What about *nix??? >> >> John shouldn't that be :-) :-( >> >> :-) >> >> On Fri, Dec 18, 2009 at 3:49 PM, John Esak wrote: >> > Wow! ?I never thought of that! ?Go into dddefine, choose >> [NEW] and then type >> > in the filename with a leading ".". ?I know the programs >> behave that way, I >> > just never would have thought of it. That's why you are >> you... And I am me. >> > :-( ?:-) >> > >> > John >> > >> > >> >> -----Original Message----- >> >> From: Kenneth Brody [mailto:kenbrody at spamcop.net] >> >> Sent: Thursday, December 17, 2009 7:50 PM >> >> To: john at valar.com >> >> Cc: filepro-list at lists.celestial.com >> >> Subject: Re: What about *nix??? >> >> >> >> John Esak wrote: >> >> > >> >> [...] >> >> > Oh wait... Are you saying by the fix, that ddefine *does* >> >> let you in through >> >> > the listbox as well as through the [NEW] option? ?I guess >> >> I'll have to see >> >> > it when I load the 5.6.10. >> >> >> >> No, the filename listboxes won't include names that start >> >> with a dot. ?The >> >> fix is that, under Windows, you previously couldn't create, >> >> nor access, an >> >> existing file, in ddefine, if the filename contained a dot >> >> anywhere. ?So, if >> >> you were to xfer "foo.bar" from Unix to Windows, ddefine >> >> would show the name >> >> in the list, but refuse to accept it, considering it an >> >> "invalid" filename. >> >> ? (Back in 8.3 days, this made sense.) ?All other filePro >> >> files would access >> >> the file just fine. >> >> >> >> BTW, you can get to the "secret" file in ddefine by selecting >> >> "[NEW]" and >> >> typing the "secret" filename. ?This doesn't help other >> >> programs, of course. >> >> >> >> -- >> >> 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 > -- Laura Brody +------------- Hudson Valley Computer Associates, Inc ----------+ | PO Box 859; 120 Sixth Street http://www.hvcomputer.com | | Verplanck, NY 10596-0859 Voice mail: (914) 739-5004 | +------ PC repair locally, filePro programming globally --------+ From rkreiss at verizon.net Fri Dec 18 11:14:03 2009 From: rkreiss at verizon.net (Rkreiss@verizon.net]) Date: Fri, 18 Dec 2009 14:14:03 -0500 Subject: What about *nix??? Message-ID: <0KUV007S243EHD55@vms173005.mailsrvcs.net> -----Original Message----- From: Laura Brody Sent: Friday, December 18, 2009 1:54 PM To: filepro-list at lists.celestial.com Subject: RE: What about *nix??? Quoting John Esak : > Absolutely Ken... I am much happier to be me than Ken... So :-) :-( I think that most people would agree with you. I'm far from perfect, but I have reached a point in my life where I have made peace with the fact that I won't get any taller or smarter or Taller, at this stage we're shrinking. I've lost an inch. And do to age, can't find it. :). Richard >From phone ..... I'm ok as is. Some things I can change/improve, but there are a long list of things that aren't and I don't waste time and energy on them. > If that is what you were thinking.... :-) But having Ken's sharp mind would > would definitely elicit a :-( :-) since I will never have that. It used to be sharper... (Mine too) so I guess I'll blame the kids... > > Hell, two smileys could never depict what I was thinking by that statement. > ?-) > > Hey, It should be getting pretty hot down there about now, huh? We just had > a really freezing cold one last night. I still made it down to the club to > play a bit, but today I bought gloves and a new jacket! Problem is I can't > bring myself to use the hood when I have all these great Ozzy hats! How do > you guys keep your ears warm... Or is it just that it never gets cold enough > down under to worry about your ears? :-) > > > John > >> -----Original Message----- >> From: Ken Cole [mailto:ken.m.cole at gmail.com] >> Sent: Friday, December 18, 2009 1:14 AM >> To: john at valar.com >> Subject: Re: What about *nix??? >> >> John shouldn't that be :-) :-( >> >> :-) >> >> On Fri, Dec 18, 2009 at 3:49 PM, John Esak wrote: >> > Wow! ?I never thought of that! ?Go into dddefine, choose >> [NEW] and then type >> > in the filename with a leading ".". ?I know the programs >> behave that way, I >> > just never would have thought of it. That's why you are >> you... And I am me. >> > :-( ?:-) >> > >> > John >> > >> > >> >> -----Original Message----- >> >> From: Kenneth Brody [mailto:kenbrody at spamcop.net] >> >> Sent: Thursday, December 17, 2009 7:50 PM >> >> To: john at valar.com >> >> Cc: filepro-list at lists.celestial.com >> >> Subject: Re: What about *nix??? >> >> >> >> John Esak wrote: >> >> > [The entire original message is not included] From ken.m.cole at gmail.com Fri Dec 18 22:04:09 2009 From: ken.m.cole at gmail.com (Ken Cole) Date: Sat, 19 Dec 2009 16:04:09 +1000 Subject: What about *nix??? In-Reply-To: <200912180752.nBI7qPdb042365@admin114.securesites.net> References: <94928a910912172213s4c9ca389of0c482d4eb8aa87e@mail.gmail.com> <200912180752.nBI7qPdb042365@admin114.securesites.net> Message-ID: <94928a910912182204o35f1e1i3f3a75f2dd555431@mail.gmail.com> Yes john, It s very very "warm" here right now, every day is 80+ in your language some days are up to 35c. Great for the 3 B's Beach, Beer and BBQ. Hmm, thinks don't change much between summer and winter when I think about it. :-) Our hats do not bother covering our ears as you suggested, because it never gets cold enough, well not around here anyway. An Akubra just wouldn't be the same with ear warmers :-) All the best to everyone for the holidays and the new year. Cheers Ken On Fri, Dec 18, 2009 at 5:53 PM, John Esak wrote: > Absolutely Ken... I am much happier to be me than Ken... ?So :-) ?:-( > > If that is what you were thinking.... :-) ?But having Ken's sharp mind would > would definitely elicit a :-( ? :-) ?since I will never have that. > > Hell, two smileys could never depict what I was thinking by that statement. > ?-) > > Hey, It should be getting pretty hot down there about now, huh? ?We just had > a really freezing cold one last night. ?I still made it down to the club to > play a bit, but today I bought gloves and a new jacket! ?Problem is I can't > bring myself to use the hood when I have all these great Ozzy hats! ?How do > you guys keep your ears warm... Or is it just that it never gets cold enough > down under to worry about your ears? ?:-) > > > John > >> -----Original Message----- >> From: Ken Cole [mailto:ken.m.cole at gmail.com] >> Sent: Friday, December 18, 2009 1:14 AM >> To: john at valar.com >> Subject: Re: What about *nix??? >> >> John shouldn't that be :-) :-( >> >> :-) >> >> On Fri, Dec 18, 2009 at 3:49 PM, John Esak wrote: >> > Wow! ?I never thought of that! ?Go into dddefine, choose >> [NEW] and then type >> > in the filename with a leading ".". ?I know the programs >> behave that way, I >> > just never would have thought of it. That's why you are >> you... And I am me. >> > :-( ?:-) >> > >> > John >> > >> > >> >> -----Original Message----- >> >> From: Kenneth Brody [mailto:kenbrody at spamcop.net] >> >> Sent: Thursday, December 17, 2009 7:50 PM >> >> To: john at valar.com >> >> Cc: filepro-list at lists.celestial.com >> >> Subject: Re: What about *nix??? >> >> >> >> John Esak wrote: >> >> > >> >> [...] >> >> > Oh wait... Are you saying by the fix, that ddefine *does* >> >> let you in through >> >> > the listbox as well as through the [NEW] option? ?I guess >> >> I'll have to see >> >> > it when I load the 5.6.10. >> >> >> >> No, the filename listboxes won't include names that start >> >> with a dot. ?The >> >> fix is that, under Windows, you previously couldn't create, >> >> nor access, an >> >> existing file, in ddefine, if the filename contained a dot >> >> anywhere. ?So, if >> >> you were to xfer "foo.bar" from Unix to Windows, ddefine >> >> would show the name >> >> in the list, but refuse to accept it, considering it an >> >> "invalid" filename. >> >> ? (Back in 8.3 days, this made sense.) ?All other filePro >> >> files would access >> >> the file just fine. >> >> >> >> BTW, you can get to the "secret" file in ddefine by selecting >> >> "[NEW]" and >> >> typing the "secret" filename. ?This doesn't help other >> >> programs, of course. >> >> >> >> -- >> >> 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 fairlite at fairlite.com Fri Dec 18 22:38:57 2009 From: fairlite at fairlite.com (Fairlight) Date: Sat, 19 Dec 2009 01:38:57 -0500 Subject: What about *nix??? In-Reply-To: <94928a910912182204o35f1e1i3f3a75f2dd555431@mail.gmail.com>; from ken.m.cole@gmail.com on Sat, Dec 19, 2009 at 04:04:09PM +1000 References: <94928a910912172213s4c9ca389of0c482d4eb8aa87e@mail.gmail.com> <200912180752.nBI7qPdb042365@admin114.securesites.net> <94928a910912182204o35f1e1i3f3a75f2dd555431@mail.gmail.com> Message-ID: <20091219013857.A8616@iglou.com> With neither thought nor caution, Ken Cole blurted: > Yes john, > > It s very very "warm" here right now, every day is 80+ in your > language some days are up to 35c. My gaming buddy down your way said it was 85F -with- the A/C going one day this week. :) I think I'll pass...I don't like > 71F. > Great for the 3 B's Beach, Beer and BBQ. Hmm, thinks don't change much > between summer and winter when I think about it. :-) There are actually more than three B's, but this is a "family" mailing list. :) > Our hats do not bother covering our ears as you suggested, because it > never gets cold enough, well not around here anyway. An Akubra just > wouldn't be the same with ear warmers :-) It's like 39F here right this second, but I wish it would just bloody make up its mind. It's been all over the place...as low as the 20's, as high as 60. My sinuses are such a wreck, I'm considering bed "early" (it's only 1:30am...that's practically afternoon yet!!!!) on a Friday night. :( When you go on a sneezefest that wracks your body every time, it just drains you. My sinuses wouldn't be so bad if it would just pick cold or warm, and stop flipping back and forth. You know I'm miserable when I can't even game. :/ Hats? I have a fan set on high aimed at my head about 6" away from me--trying to freeze-dry my sinuses! Seriously! :) And that's with an ambient 60F. > All the best to everyone for the holidays and the new year. Yup, everyone have a Merry Christmas, Happy New Year, or whatever else you may be celebrating! And may the new year be FAR more prosperous, stable, and enjoyable than this last one has been for many! mark-> From r.hemer at w-link.net Mon Dec 21 12:08:22 2009 From: r.hemer at w-link.net (Rodgers Hemer) Date: Mon, 21 Dec 2009 12:08:22 -0800 Subject: Printing Labels Message-ID: <1E47149C-CACF-4821-B8D5-808D8E3B2518@w-link.net> FP 5.0.15 on Windows XP I need to print address labels on a laser printer (HP2100). The label setup and instructions in FP assume continuous feed paper. How do I format output to use the laser printer with paper that has a 3/4" margin at top and bottom?. Thanks. Rodgers Hemer 206.523.2329 r.hemer at w-link.net From bill at celestial.com Mon Dec 21 13:10:26 2009 From: bill at celestial.com (Bill Campbell) Date: Mon, 21 Dec 2009 13:10:26 -0800 Subject: Printing Labels In-Reply-To: <1E47149C-CACF-4821-B8D5-808D8E3B2518@w-link.net> References: <1E47149C-CACF-4821-B8D5-808D8E3B2518@w-link.net> Message-ID: <20091221211026.GA23005@ayn.mi.celestial.com> On Mon, Dec 21, 2009, Rodgers Hemer wrote: >FP 5.0.15 on Windows XP >I need to print address labels on a laser printer (HP2100). The label >setup and instructions in FP assume continuous feed paper. How do I format >output to use the laser printer with paper that has a 3/4" margin at top >and bottom?. I do this be feeding a tab-delimited file to a script that turns it into groff input to format and print the labels. 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 Good luck to all you optimists out there who think Microsoft can deliver 35 million lines of quality code on which you can operate your business. -- John C. Dvorak From jlasman at telus.net Mon Dec 21 13:38:32 2009 From: jlasman at telus.net (Jim Asman) Date: Mon, 21 Dec 2009 13:38:32 -0800 Subject: Printing Labels Message-ID: On Mon, Dec 21, 2009, Rodgers Hemer wrote: > FP 5.0.15 on Windows XP > > I need to print address labels on a laser printer (HP2100). The label > setup and instructions in FP assume continuous feed paper. How do I format > output to use the laser printer with paper that has a 3/4" margin at top > and bottom?. Filepro knows nothing of margins. It delivers labels one after another to your specification. It is up to you to insure the the number of lines per label divides evenly into the lines per page of labels. You supply a PCL code to the printer at the beginning of the printing to specify margins and line spacing. Typical label sheets have 20 1 x 4 labels and 1/2 inch top margin with 60 print lines. This is normally the default PCL printer page format, so as long as you define your label format as 6 lines, at 6 lpi all should work out fine. You say your label sheet has 3/4 inch margins top and bottom. I am suspicious as that doesn't seem like a standard size label. How many labels are there per sheet? And what are the dimensions of each? 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 ken.m.cole at gmail.com Mon Dec 21 16:10:09 2009 From: ken.m.cole at gmail.com (Ken Cole) Date: Tue, 22 Dec 2009 10:10:09 +1000 Subject: End and the syntax parser Message-ID: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> This is something for everyone to toy with over the holidays (sorry for the pun). Now I think this same point has been discussed previously but without any action being taken. Should anything be done is the point of the email. One of the filePro programmers working here had a problem the other day that some code didn't seem to be running. The processing table passed syntax check, created the tok file, etc and ran to a particular point and then stopped with the rest of the code not running. Now this is Sco 5v6.0.0 with filePro 5.0.14R4. After spending serious time trying to work out why the code wasn't running, no goto's over the code, no gosub's without returns, etc I had a look for them and found the problem. There was a long variable called "EndDate" being used. The fat fingered, well in this case light fingered, programmer instead of entering: EndDate=lookup(6) had entered: End=lookup(6) Now I know Ken has mentioned before that everything after an "end" statement is ignored when being parsed as it will never be processed. I am of the mind though that this is a syntax error as a "reserved" word is being used as a variable and I feel there should have been an error thrown at syntax check time. I believe the following rules should be checked. 1. If there is anything after "end" on a line that is not a comment then it is an error. 2. Reserved words should not be allowed as variables and if attempted to do so as in this example then it is an error. What do the rest of you think? I am wrong in thinking this should throw and error? Cheers, Merry Christmas and a safe and prosperous New Year. Ken From amazu at trusteeservicesinc.com Mon Dec 21 16:10:56 2009 From: amazu at trusteeservicesinc.com (Alan Mazuti) Date: Mon, 21 Dec 2009 16:10:56 -0800 Subject: End and the syntax parser In-Reply-To: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> References: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> Message-ID: <00db01ca829b$3c2240e0$b466c2a0$@com> Spot on Ken. Now for a round of dead ants! -----Original Message----- From: filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.com [mailto:filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.co m] On Behalf Of Ken Cole Sent: Monday, December 21, 2009 4:10 PM To: Filepro Lists Subject: End and the syntax parser This is something for everyone to toy with over the holidays (sorry for the pun). Now I think this same point has been discussed previously but without any action being taken. Should anything be done is the point of the email. One of the filePro programmers working here had a problem the other day that some code didn't seem to be running. The processing table passed syntax check, created the tok file, etc and ran to a particular point and then stopped with the rest of the code not running. Now this is Sco 5v6.0.0 with filePro 5.0.14R4. After spending serious time trying to work out why the code wasn't running, no goto's over the code, no gosub's without returns, etc I had a look for them and found the problem. There was a long variable called "EndDate" being used. The fat fingered, well in this case light fingered, programmer instead of entering: EndDate=lookup(6) had entered: End=lookup(6) Now I know Ken has mentioned before that everything after an "end" statement is ignored when being parsed as it will never be processed. I am of the mind though that this is a syntax error as a "reserved" word is being used as a variable and I feel there should have been an error thrown at syntax check time. I believe the following rules should be checked. 1. If there is anything after "end" on a line that is not a comment then it is an error. 2. Reserved words should not be allowed as variables and if attempted to do so as in this example then it is an error. What do the rest of you think? I am wrong in thinking this should throw and error? Cheers, Merry Christmas and a safe and prosperous New Year. Ken _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From ken.m.cole at gmail.com Mon Dec 21 16:21:09 2009 From: ken.m.cole at gmail.com (Ken Cole) Date: Tue, 22 Dec 2009 10:21:09 +1000 Subject: End and the syntax parser In-Reply-To: <00db01ca829b$3c2240e0$b466c2a0$@com> References: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> <00db01ca829b$3c2240e0$b466c2a0$@com> Message-ID: <94928a910912211621n32bdb650y753f811a72d3168c@mail.gmail.com> Alan, I can nearly remember that night in Philli! Cheers Ken On Tue, Dec 22, 2009 at 10:10 AM, Alan Mazuti wrote: > Spot on Ken. ? Now for a round of dead ants! > > -----Original Message----- > From: filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.com > [mailto:filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.co > m] On Behalf Of Ken Cole > Sent: Monday, December 21, 2009 4:10 PM > To: Filepro Lists > Subject: End and the syntax parser > > This is something for everyone to toy with over the holidays (sorry > for the pun). > > Now I think this same point has been discussed previously but without > any action being taken. ?Should anything be done is the point of the > email. > > One of the filePro programmers working here had a problem the other > day that some code didn't seem to be running. > > The processing table passed syntax check, created the tok file, etc > and ran to a particular point and then stopped with the rest of the > code not running. > > Now this is Sco 5v6.0.0 with filePro 5.0.14R4. > > After spending serious time trying to work out why the code wasn't > running, no goto's over the code, no gosub's without returns, etc I > had a look for them and found the problem. > > There was a long variable called "EndDate" being used. > > The fat fingered, well in this case light fingered, programmer instead > of entering: > > EndDate=lookup(6) > > had entered: > > End=lookup(6) > > Now I know Ken has mentioned before that everything after an "end" > statement is ignored when being parsed as it will never be processed. > > I am of the mind though that this is a syntax error as a "reserved" > word is being used as a variable and I feel there should have been an > error thrown at syntax check time. > > I believe the following rules should be checked. > > 1. If there is anything after "end" on a line that is not a comment > then it is an error. > 2. Reserved words should not be allowed as variables and if attempted > to do so as in this example then it is an error. > > What do the rest of you think? > I am wrong in thinking this should throw and error? > > Cheers, Merry Christmas and a safe and prosperous New Year. > > Ken > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > From tryder at westnet.com.au Mon Dec 21 18:40:43 2009 From: tryder at westnet.com.au (Tony Ryder) Date: Tue, 22 Dec 2009 12:40:43 +1000 Subject: End and the syntax parser In-Reply-To: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> References: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> Message-ID: <86C176909B064C56A47C55C20890EFF5@ws2> I aggree, But if this is fixed you will have to update to 5.6 Tony -----Original Message----- From: filepro-list-bounces+tryder=westnet.com.au at lists.celestial.com [mailto:filepro-list-bounces+tryder=westnet.com.au at lists.celestial.com] On Behalf Of Ken Cole Sent: Tuesday, December 22, 2009 10:10 AM To: Filepro Lists Subject: End and the syntax parser This is something for everyone to toy with over the holidays (sorry for the pun). Now I think this same point has been discussed previously but without any action being taken. Should anything be done is the point of the email. One of the filePro programmers working here had a problem the other day that some code didn't seem to be running. The processing table passed syntax check, created the tok file, etc and ran to a particular point and then stopped with the rest of the code not running. Now this is Sco 5v6.0.0 with filePro 5.0.14R4. After spending serious time trying to work out why the code wasn't running, no goto's over the code, no gosub's without returns, etc I had a look for them and found the problem. There was a long variable called "EndDate" being used. The fat fingered, well in this case light fingered, programmer instead of entering: EndDate=lookup(6) had entered: End=lookup(6) Now I know Ken has mentioned before that everything after an "end" statement is ignored when being parsed as it will never be processed. I am of the mind though that this is a syntax error as a "reserved" word is being used as a variable and I feel there should have been an error thrown at syntax check time. I believe the following rules should be checked. 1. If there is anything after "end" on a line that is not a comment then it is an error. 2. Reserved words should not be allowed as variables and if attempted to do so as in this example then it is an error. What do the rest of you think? I am wrong in thinking this should throw and error? Cheers, Merry Christmas and a safe and prosperous New Year. Ken _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From ken.m.cole at gmail.com Mon Dec 21 18:42:44 2009 From: ken.m.cole at gmail.com (Ken Cole) Date: Tue, 22 Dec 2009 12:42:44 +1000 Subject: End and the syntax parser In-Reply-To: <86C176909B064C56A47C55C20890EFF5@ws2> References: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> <86C176909B064C56A47C55C20890EFF5@ws2> Message-ID: <94928a910912211842l734402e7ibce84d7c61d1542f@mail.gmail.com> We already have the latest licenses and are going through a QA and acceptance test phase now anyway so I don't see that being a challenge, but a good thought for anyone else who hadn't thought of that outcome. Ken On Tue, Dec 22, 2009 at 12:40 PM, Tony Ryder wrote: > I aggree, But if this is fixed you will have to update to 5.6 > > Tony > > -----Original Message----- > From: filepro-list-bounces+tryder=westnet.com.au at lists.celestial.com > [mailto:filepro-list-bounces+tryder=westnet.com.au at lists.celestial.com] On > Behalf Of Ken Cole > Sent: Tuesday, December 22, 2009 10:10 AM > To: Filepro Lists > Subject: End and the syntax parser > > This is something for everyone to toy with over the holidays (sorry for the > pun). > > Now I think this same point has been discussed previously but without any > action being taken. ?Should anything be done is the point of the email. > > One of the filePro programmers working here had a problem the other day that > some code didn't seem to be running. > > The processing table passed syntax check, created the tok file, etc and ran > to a particular point and then stopped with the rest of the code not > running. > > Now this is Sco 5v6.0.0 with filePro 5.0.14R4. > > After spending serious time trying to work out why the code wasn't running, > no goto's over the code, no gosub's without returns, etc I had a look for > them and found the problem. > > There was a long variable called "EndDate" being used. > > The fat fingered, well in this case light fingered, programmer instead of > entering: > > EndDate=lookup(6) > > had entered: > > End=lookup(6) > > Now I know Ken has mentioned before that everything after an "end" > statement is ignored when being parsed as it will never be processed. > > I am of the mind though that this is a syntax error as a "reserved" > word is being used as a variable and I feel there should have been an error > thrown at syntax check time. > > I believe the following rules should be checked. > > 1. If there is anything after "end" on a line that is not a comment then it > is an error. > 2. Reserved words should not be allowed as variables and if attempted to do > so as in this example then it is an error. > > What do the rest of you think? > I am wrong in thinking this should throw and error? > > Cheers, Merry Christmas and a safe and prosperous New Year. > > Ken > _______________________________________________ > 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 fairlite at fairlite.com Mon Dec 21 19:49:42 2009 From: fairlite at fairlite.com (Fairlight) Date: Mon, 21 Dec 2009 22:49:42 -0500 Subject: End and the syntax parser In-Reply-To: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com>; from ken.m.cole@gmail.com on Tue, Dec 22, 2009 at 10:10:09AM +1000 References: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> Message-ID: <20091221224942.A5608@iglou.com> In the relative spacial/temporal region of Tue, Dec 22, 2009 at 10:10:09AM +1000, Ken Cole achieved the spontaneous generation of the following: > Now I think this same point has been discussed previously but without > any action being taken. Should anything be done is the point of the > email. [snip] > I believe the following rules should be checked. > > 1. If there is anything after "end" on a line that is not a comment > then it is an error. > 2. Reserved words should not be allowed as variables and if attempted > to do so as in this example then it is an error. > > What do the rest of you think? > I am wrong in thinking this should throw and error? Welllllll....*vascilate* Does it happen with other reserved words? I mean, if it happens with, say, dim, lookup, etc... Everything would have to be changed to be uniform. This wouldn't be a problem if fP wasn't a bareword-variable language. You don't run into this in perl because you have variable type indicators ($,@,%,*). Other languages (JavaScript, Java [I think], et al) rely on case sensitivity, so you can have variables that are reserved words but don't collide due to case. Actually, I did just run a little test: #include int main() { int exit; exit = 2; printf("Got here.\n"); exit; } [arcadia-SuSE] [~] [10:34pm]: ./a.out Got here. In light of C's behaviour of allowing collisions, it would make me tend to say that an exception shouldn't be thrown in fP. However, if you look at C's -behaviour- when allowing collisions, it's sane in that it's interpreting the first 'exit' as a variable because it's an lvalue. Ideally, I think the parser should be redone to determine the semantic use of the term in question and to behave accordingly based on context. Barring that, I agree with you that variable names should not be able to be reserved words. The thing is, when you try to -enforce- that policy, you -still- need to determine the semantics of how a term is being used. So instead of just tossing up an exception, it really should go back to what I said in two paragraphs ago. If you need the semantics determined to throw the exception, you may as well go the extra mile and perform the correct operations rather than just toss errors at people, IMHO. Actually, I am now confused, as I did an extra test... I changed the last line of the C program to exit(1) and get: [arcadia-SuSE] [~] [10:45pm]: !cc cc test.c test.c: In function `main': test.c:7: error: called object `exit' is not a function So it bails at compile time. You've overridden the core function with a variable. It'll let you do it, but you can't have it both ways. Either way you go, then, it seems that collisions should either be disallowed entirely, or throw an exception. But you still have to do the same work to get to the point you can enforce -any- type of end behaviour, whether it's overriding or throwing an error. And that can't be pretty to have to write. I gotta ask, "Is it -really- worth changing?" Just don't screw it up. :) mark-> -- Audio panton, cogito singularis, From amazu at trusteeservicesinc.com Mon Dec 21 21:11:53 2009 From: amazu at trusteeservicesinc.com (Alan Mazuti) Date: Mon, 21 Dec 2009 21:11:53 -0800 Subject: End and the syntax parser In-Reply-To: <20091221224942.A5608@iglou.com> References: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> <20091221224942.A5608@iglou.com> Message-ID: <9423897B-B5F6-4AF6-94B0-0FCAB8B66768@trusteeservicesinc.com> Get a life and do dead ants! Sent from my iPhone On Dec 21, 2009, at 7:49 PM, Fairlight wrote: > In the relative spacial/temporal region of > Tue, Dec 22, 2009 at 10:10:09AM +1000, Ken Cole achieved the > spontaneous > generation of the following: >> Now I think this same point has been discussed previously but without >> any action being taken. Should anything be done is the point of the >> email. > [snip] >> I believe the following rules should be checked. >> >> 1. If there is anything after "end" on a line that is not a comment >> then it is an error. >> 2. Reserved words should not be allowed as variables and if attempted >> to do so as in this example then it is an error. >> >> What do the rest of you think? >> I am wrong in thinking this should throw and error? > > Welllllll....*vascilate* > > Does it happen with other reserved words? I mean, if it happens > with, say, > dim, lookup, etc... Everything would have to be changed to be > uniform. > > This wouldn't be a problem if fP wasn't a bareword-variable > language. You > don't run into this in perl because you have variable type indicators > ($,@,%,*). Other languages (JavaScript, Java [I think], et al) rely > on > case sensitivity, so you can have variables that are reserved words > but > don't collide due to case. > > Actually, I did just run a little test: > > #include > > int main() { > int exit; > exit = 2; > printf("Got here.\n"); > exit; > } > > [arcadia-SuSE] [~] [10:34pm]: ./a.out > Got here. > > In light of C's behaviour of allowing collisions, it would make me > tend to > say that an exception shouldn't be thrown in fP. However, if you > look at > C's -behaviour- when allowing collisions, it's sane in that it's > interpreting the first 'exit' as a variable because it's an lvalue. > > Ideally, I think the parser should be redone to determine the > semantic use > of the term in question and to behave accordingly based on context. > > Barring that, I agree with you that variable names should not be > able to be > reserved words. > > The thing is, when you try to -enforce- that policy, you -still- > need to > determine the semantics of how a term is being used. So instead of > just > tossing up an exception, it really should go back to what I said in > two > paragraphs ago. If you need the semantics determined to throw the > exception, you may as well go the extra mile and perform the correct > operations rather than just toss errors at people, IMHO. > > Actually, I am now confused, as I did an extra test... I changed > the last > line of the C program to exit(1) and get: > > [arcadia-SuSE] [~] [10:45pm]: !cc > cc test.c > test.c: In function `main': > test.c:7: error: called object `exit' is not a function > > So it bails at compile time. You've overridden the core function > with a > variable. It'll let you do it, but you can't have it both ways. > > Either way you go, then, it seems that collisions should either be > disallowed entirely, or throw an exception. But you still have to > do the > same work to get to the point you can enforce -any- type of end > behaviour, > whether it's overriding or throwing an error. And that can't be > pretty to > have to write. > > I gotta ask, "Is it -really- worth changing?" > > Just don't screw it up. :) > > mark-> > -- > Audio panton, cogito singularis, > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list From jlasman at telus.net Mon Dec 21 21:33:38 2009 From: jlasman at telus.net (Jim Asman) Date: Mon, 21 Dec 2009 21:33:38 -0800 Subject: Printing Labels Message-ID: --------------- Original Message --------------- At 07:47P Mon Dec 21 2009, Rodgers Hemer wrote: > > On Dec 21, 2009, at 1:38 PM, Jim Asman wrote: > > > On Mon, Dec 21, 2009, Rodgers Hemer wrote: > > > >> FP 5.0.15 on Windows XP > >> > >> I need to print address labels on a laser printer (HP2100). The label > >> setup and instructions in FP assume continuous feed paper. How do I format > >> output to use the laser printer with paper that has a 3/4" margin at top > >> and bottom?. > > > > Filepro knows nothing of margins. It delivers labels one after another to > > your specification. It is up to you to insure the the number of lines > > per label divides evenly into the lines per page of labels. > > > > You supply a PCL code to the printer at the beginning of the printing > > to specify margins and line spacing. Typical label sheets have 20 1 x 4 > > labels and 1/2 inch top margin with 60 print lines. This is normally > > the default PCL printer page format, so as long as you define your > > label format as 6 lines, at 6 lpi all should work out fine. > > > > You say your label sheet has 3/4 inch margins top and bottom. I am > > suspicious as that doesn't seem like a standard size label. > > > > How many labels are there per sheet? And what are the dimensions > > of each? > > > > Jim: > > The label sheets are made by Avery (5262) and have 7x2 labels, each 1 3/8" x > 4". The filePro label setup works well on the first sheet but gets the top > margins wrong on the following sheets. I got around it this time but need to > develop a better definition for the future. As I suspected, the dimensions you gave were wrong, even the 1 3/8" you last stated. Common labels are typically sized in 1/6" increments to conform to our 6 lpi line spacing. The 5262 labels are 4" x 1 1/3"", giving 8 print lines per label exactly. That is 56 print lines per sheet. As our sheet without margins is 66 lines, the format we wan. at 6 lpi is ... Top margin 5 lines Data 56 lines Bot margin 5 lines So define your label a being 8 lines, 2 across. Filepro will just keep pumping out 8 line output with no consideration to page breaks and the like. A simple PCL format command will take care of the paging. Create a print code containing... $1b &l2a0o6d5e56F That is a lowercase ell after the ampersand. Put that on your print code table and quote its number as the form init code on the options page of the output format. That's should be all you need. 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 fairlite at fairlite.com Mon Dec 21 22:16:41 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 22 Dec 2009 01:16:41 -0500 Subject: End and the syntax parser In-Reply-To: <9423897B-B5F6-4AF6-94B0-0FCAB8B66768@trusteeservicesinc.com>; from amazu@trusteeservicesinc.com on Mon, Dec 21, 2009 at 09:11:53PM -0800 References: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> <20091221224942.A5608@iglou.com> <9423897B-B5F6-4AF6-94B0-0FCAB8B66768@trusteeservicesinc.com> Message-ID: <20091222011641.A10842@iglou.com> On Mon, Dec 21, 2009 at 09:11:53PM -0800, Alan Mazuti may or may not have proven themselves an utter git by pronouncing: > Get a life and do dead ants! "I'm not getting all my memos." --Jack. O'Neill mark-> From john at valar.com Tue Dec 22 00:35:05 2009 From: john at valar.com (John Esak) Date: Tue, 22 Dec 2009 03:35:05 -0500 Subject: End and the syntax parser In-Reply-To: <20091221224942.A5608@iglou.com> Message-ID: <200912220833.nBM8XpD8053564@admin114.securesites.net> Boy... You vacilate better than anyone I know! :-) > -----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: Monday, December 21, 2009 10:50 PM > To: Filepro Lists > Subject: Re: End and the syntax parser > > In the relative spacial/temporal region of > Tue, Dec 22, 2009 at 10:10:09AM +1000, Ken Cole achieved the > spontaneous > generation of the following: > > Now I think this same point has been discussed previously > but without > > any action being taken. Should anything be done is the point of the > > email. > [snip] > > I believe the following rules should be checked. > > > > 1. If there is anything after "end" on a line that is not a comment > > then it is an error. > > 2. Reserved words should not be allowed as variables and if > attempted > > to do so as in this example then it is an error. > > > > What do the rest of you think? > > I am wrong in thinking this should throw and error? > > Welllllll....*vascilate* > > Does it happen with other reserved words? I mean, if it > happens with, say, > dim, lookup, etc... Everything would have to be changed to > be uniform. > > This wouldn't be a problem if fP wasn't a bareword-variable > language. You > don't run into this in perl because you have variable type indicators > ($,@,%,*). Other languages (JavaScript, Java [I think], et > al) rely on > case sensitivity, so you can have variables that are reserved > words but > don't collide due to case. > > Actually, I did just run a little test: > > #include > > int main() { > int exit; > exit = 2; > printf("Got here.\n"); > exit; > } > > [arcadia-SuSE] [~] [10:34pm]: ./a.out > Got here. > > In light of C's behaviour of allowing collisions, it would > make me tend to > say that an exception shouldn't be thrown in fP. However, if > you look at > C's -behaviour- when allowing collisions, it's sane in that it's > interpreting the first 'exit' as a variable because it's an lvalue. > > Ideally, I think the parser should be redone to determine the > semantic use > of the term in question and to behave accordingly based on context. > > Barring that, I agree with you that variable names should not > be able to be > reserved words. > > The thing is, when you try to -enforce- that policy, you > -still- need to > determine the semantics of how a term is being used. So > instead of just > tossing up an exception, it really should go back to what I > said in two > paragraphs ago. If you need the semantics determined to throw the > exception, you may as well go the extra mile and perform the correct > operations rather than just toss errors at people, IMHO. > > Actually, I am now confused, as I did an extra test... I > changed the last > line of the C program to exit(1) and get: > > [arcadia-SuSE] [~] [10:45pm]: !cc > cc test.c > test.c: In function `main': > test.c:7: error: called object `exit' is not a function > > So it bails at compile time. You've overridden the core > function with a > variable. It'll let you do it, but you can't have it both ways. > > Either way you go, then, it seems that collisions should either be > disallowed entirely, or throw an exception. But you still > have to do the > same work to get to the point you can enforce -any- type of > end behaviour, > whether it's overriding or throwing an error. And that can't > be pretty to > have to write. > > I gotta ask, "Is it -really- worth changing?" > > Just don't screw it up. :) > > mark-> > -- > Audio panton, cogito singularis, > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From john at valar.com Tue Dec 22 00:40:01 2009 From: john at valar.com (John Esak) Date: Tue, 22 Dec 2009 03:40:01 -0500 Subject: Printing Labels In-Reply-To: Message-ID: <200912220838.nBM8clf3055195@admin114.securesites.net> Jim, Your description of how typical labels work and how in this case to format a laserjet page.... Terrific for the PCL challenged like me. Excellent. Sent into my filepro-keep folder. Thanks, John > As I suspected, the dimensions you gave were wrong, even the > 1 3/8" you > last stated. > > Common labels are typically sized in 1/6" increments to conform to our > 6 lpi line spacing. The 5262 labels are 4" x 1 1/3"", giving 8 print > lines per label exactly. > > That is 56 print lines per sheet. As our sheet without > margins is 66 lines, > the format we wan. at 6 lpi is ... > > Top margin 5 lines > > Data 56 lines > > Bot margin 5 lines > > > So define your label a being 8 lines, 2 across. > > Filepro will just keep pumping out 8 line output with no consideration > to page breaks and the like. A simple PCL format command will take > care of the paging. Create a print code containing... > > $1b &l2a0o6d5e56F > > That is a lowercase ell after the ampersand. > > Put that on your print code table and quote its number as the > form init code on the options page of the output format. > > That's should be all you need. > > > 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 fairlite at fairlite.com Tue Dec 22 00:51:36 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 22 Dec 2009 03:51:36 -0500 Subject: End and the syntax parser In-Reply-To: <200912220833.nBM8XpD8053564@admin114.securesites.net>; from john@valar.com on Tue, Dec 22, 2009 at 03:35:05AM -0500 References: <20091221224942.A5608@iglou.com> <200912220833.nBM8XpD8053564@admin114.securesites.net> Message-ID: <20091222035136.A13559@iglou.com> You'll never BELIEVE what John Esak said here...: > Boy... You vacilate better than anyone I know! :-) If I'm going to do something, I give it my best. :) mark-> From john at valar.com Tue Dec 22 01:56:08 2009 From: john at valar.com (John Esak) Date: Tue, 22 Dec 2009 04:56:08 -0500 Subject: End and the syntax parser Message-ID: <200912220954.nBM9stGh080655@admin114.securesites.net> <(this was stuck in my DRAFTS box since the time the original message was sent. If it has already appeared on the list. My apologies.> I have no problem with both your suggestions. I think they are both good. When this becomes a dmocracy, I vote yes to add them to syntax checking. :-) 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 Ken Cole > Sent: Monday, December 21, 2009 7:10 PM > To: Filepro Lists > Subject: End and the syntax parser > > This is something for everyone to toy with over the holidays (sorry > for the pun). > > Now I think this same point has been discussed previously but without > any action being taken. Should anything be done is the point of the > email. > > One of the filePro programmers working here had a problem the other > day that some code didn't seem to be running. > > The processing table passed syntax check, created the tok file, etc > and ran to a particular point and then stopped with the rest of the > code not running. > > Now this is Sco 5v6.0.0 with filePro 5.0.14R4. > > After spending serious time trying to work out why the code wasn't > running, no goto's over the code, no gosub's without returns, etc I > had a look for them and found the problem. > > There was a long variable called "EndDate" being used. > > The fat fingered, well in this case light fingered, programmer instead > of entering: > > EndDate=lookup(6) > > had entered: > > End=lookup(6) > > Now I know Ken has mentioned before that everything after an "end" > statement is ignored when being parsed as it will never be processed. > > I am of the mind though that this is a syntax error as a "reserved" > word is being used as a variable and I feel there should have been an > error thrown at syntax check time. > > I believe the following rules should be checked. > > 1. If there is anything after "end" on a line that is not a comment > then it is an error. > 2. Reserved words should not be allowed as variables and if attempted > to do so as in this example then it is an error. > > What do the rest of you think? > I am wrong in thinking this should throw and error? > > Cheers, Merry Christmas and a safe and prosperous New Year. > > Ken > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From john at valar.com Tue Dec 22 01:56:26 2009 From: john at valar.com (John Esak) Date: Tue, 22 Dec 2009 04:56:26 -0500 Subject: End and the syntax parser In-Reply-To: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> Message-ID: <200912220955.nBM9tDmq080773@admin114.securesites.net> I have no problem with both your suggestions. I think they are both good. When this becomes a dmocracy, I vote yes to add them to syntax checking. :-) 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 Ken Cole > Sent: Monday, December 21, 2009 7:10 PM > To: Filepro Lists > Subject: End and the syntax parser > > This is something for everyone to toy with over the holidays (sorry > for the pun). > > Now I think this same point has been discussed previously but without > any action being taken. Should anything be done is the point of the > email. > > One of the filePro programmers working here had a problem the other > day that some code didn't seem to be running. > > The processing table passed syntax check, created the tok file, etc > and ran to a particular point and then stopped with the rest of the > code not running. > > Now this is Sco 5v6.0.0 with filePro 5.0.14R4. > > After spending serious time trying to work out why the code wasn't > running, no goto's over the code, no gosub's without returns, etc I > had a look for them and found the problem. > > There was a long variable called "EndDate" being used. > > The fat fingered, well in this case light fingered, programmer instead > of entering: > > EndDate=lookup(6) > > had entered: > > End=lookup(6) > > Now I know Ken has mentioned before that everything after an "end" > statement is ignored when being parsed as it will never be processed. > > I am of the mind though that this is a syntax error as a "reserved" > word is being used as a variable and I feel there should have been an > error thrown at syntax check time. > > I believe the following rules should be checked. > > 1. If there is anything after "end" on a line that is not a comment > then it is an error. > 2. Reserved words should not be allowed as variables and if attempted > to do so as in this example then it is an error. > > What do the rest of you think? > I am wrong in thinking this should throw and error? > > Cheers, Merry Christmas and a safe and prosperous New Year. > > Ken > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From john at valar.com Tue Dec 22 02:03:53 2009 From: john at valar.com (John Esak) Date: Tue, 22 Dec 2009 05:03:53 -0500 Subject: Ot: now that was strange Message-ID: <200912221002.nBMA2eIN083566@admin114.securesites.net> I found that letter holding in my DRAFTS folder so I sent it along. Then it stayed there saying it hadn't been sent yet. So, I prpended a little note about how it was stuck in my DRAFTS folder and sent it again. The list got both sends..... That should not have happened.... But sorry anyway. John From boaz at mirrotek.com Tue Dec 22 06:47:25 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 22 Dec 2009 09:47:25 -0500 Subject: Question on Header-Detail programming. Message-ID: <4B30DBFD.5050708@mirrotek.com> I've programmed a few Header-Detail applications where I used a set of line-numbers for the detail, but each set of line-numbers starts with 1. The uniqueness of each detail is based on the combination of the header number (say invoice number or order number) and the line number. I was watching John's Survivor Series where he says to use a unique number for each detail record. What is the advantages/disadvantages of using his method versus the way I've used them in the past? From rkreiss at gccconsulting.net Tue Dec 22 07:13:30 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Tue, 22 Dec 2009 10:13:30 -0500 Subject: End and the syntax parser In-Reply-To: <94928a910912211621n32bdb650y753f811a72d3168c@mail.gmail.com> References: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> <00db01ca829b$3c2240e0$b466c2a0$@com> <94928a910912211621n32bdb650y753f811a72d3168c@mail.gmail.com> Message-ID: <006801ca8319$52017a10$f6046e30$@net> > -----Original Message----- > From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro- > list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Ken Cole > Sent: Monday, December 21, 2009 7:21 PM > To: Alan Mazuti > Cc: Filepro Lists > Subject: Re: End and the syntax parser > > Alan, > > I can nearly remember that night in Philli! > > Cheers > > Ken > > On Tue, Dec 22, 2009 at 10:10 AM, Alan Mazuti > wrote: > > Spot on Ken. ? Now for a round of dead ants! > > > > -----Original Message----- > > From: filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.com > > [mailto:filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.co > > m] On Behalf Of Ken Cole > > Sent: Monday, December 21, 2009 4:10 PM > > To: Filepro Lists > > Subject: End and the syntax parser > > > > This is something for everyone to toy with over the holidays (sorry > > for the pun). > > > > Now I think this same point has been discussed previously but without > > any action being taken. ?Should anything be done is the point of the > > email. > > > > One of the filePro programmers working here had a problem the other > > day that some code didn't seem to be running. > > > > The processing table passed syntax check, created the tok file, etc > > and ran to a particular point and then stopped with the rest of the > > code not running. > > > > Now this is Sco 5v6.0.0 with filePro 5.0.14R4. > > > > After spending serious time trying to work out why the code wasn't > > running, no goto's over the code, no gosub's without returns, etc I > > had a look for them and found the problem. > > > > There was a long variable called "EndDate" being used. > > > > The fat fingered, well in this case light fingered, programmer instead > > of entering: > > > > EndDate=lookup(6) > > > > had entered: > > > > End=lookup(6) > > > > Now I know Ken has mentioned before that everything after an "end" > > statement is ignored when being parsed as it will never be processed. > > > > I am of the mind though that this is a syntax error as a "reserved" > > word is being used as a variable and I feel there should have been an > > error thrown at syntax check time. > > > > I believe the following rules should be checked. > > > > 1. If there is anything after "end" on a line that is not a comment > > then it is an error. > > 2. Reserved words should not be allowed as variables and if attempted > > to do so as in this example then it is an error. > > > > What do the rest of you think? > > I am wrong in thinking this should throw and error? > > > > Cheers, Merry Christmas and a safe and prosperous New Year. > > > > Ken > http://mailman.celestial.com/mailman/listinfo/filepro-list Ken, Syntax check of using a reserved work for a variable - Yes. The first suggestion would cause syntax warnings on most of my processing tables. I have programming where sub-routines are placed at the end of my processing tables. Some are accessed only once or rarely when an error occurs. I have found it more convenient to keep these at the bottom of a processing table after any @once or @entsel processing. @once ends with an . Also, some of my looping routines which use a goto, have an end statement so if the process fails, it doesn't fall through. Again this would cause problems. I will add to the syntax check fix request, the ability at the time of the syntax check or when entering a processing table, to select an alternate auto process table. This could also be used at tokenization time. I have a number of instances where I have processing tables for both input and output which use an alternate auto table or none at all. It is a unnecessary for me to see that dummy field conflict errors in auto processing when I am not using that table. Would any of you like an option to display the dummy fields and/or long variables defined in your auto process table when working on another table? This would possibly eliminate the duplicate casting of variables. Yes, if one has more the a one use development license, one can open another session and view the auto table. But that uses a licensed session, which may not be available. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From rkreiss at gccconsulting.net Tue Dec 22 07:27:24 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Tue, 22 Dec 2009 10:27:24 -0500 Subject: Question on Header-Detail programming. In-Reply-To: <4B30DBFD.5050708@mirrotek.com> References: <4B30DBFD.5050708@mirrotek.com> Message-ID: <006901ca831b$43577080$ca065180$@net> > -----Original Message----- > From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro- > list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Boaz > Bezborodko > Sent: Tuesday, December 22, 2009 9:47 AM > To: filepro-list at lists.celestial.com > Subject: Question on Header-Detail programming. > > I've programmed a few Header-Detail applications where I used a set of > line-numbers for the detail, but each set of line-numbers starts with > 1. The uniqueness of each detail is based on the combination of the > header number (say invoice number or order number) and the line number. > I was watching John's Survivor Series where he says to use a unique > number for each detail record. > > > What is the advantages/disadvantages of using his method versus the way > I've used them in the past? > I have used your method of numbering each detail line entered. I would say that the combination of order/invoice + line number is unique. Numbering the details allows for the them to be displayed in the order in which they were entered or created. This make matching details to vouchers or order details easier. I have one application which gives the clerk the option of displaying in a browse the order details as entered or by item # or by descriptions. I have not looked at that in John's survivor series but will take a look at it. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From rkreiss at gccconsulting.net Tue Dec 22 07:47:38 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Tue, 22 Dec 2009 10:47:38 -0500 Subject: ghost images Message-ID: <006e01ca831e$16a4d840$43ee88c0$@net> One of my clients was running a training session on his application. Windows Server 2008, clients Windows XP pro, filepro 5.6.10. I received a call yesterday telling me that they were seeing ghost images during the training session on a large screen LCD TV being used as a monitor. Here is the scenario: When a record is accessed, in auto processing a list of memos from a memo file, is displayed at the bottom of the screen. If there are other records with the same phone number, a show popup displays the names of those individuals. The processing table next checks to see what transactions are for this individual with the information being assigned to dummy variable on screen 9. Here's the problems, if the record access has the popup, and is switched to screen 9, and then switched to the first screen and the down arrow pressed to go to the next record, I am being told that the ghost of the previous popup appears. I have logged in through terminal server and not been able to duplicate this behavior. It appears that this is only happening on the computers in the office and not any logged in using terminal server. The auto process will clear the popup and all dummy fields as soon as the record number changes. Has anyone else seen this behavior? Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From boaz at mirrotek.com Tue Dec 22 08:23:16 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Tue, 22 Dec 2009 11:23:16 -0500 Subject: Question on Header-Detail programming. In-Reply-To: <006901ca831b$43577080$ca065180$@net> References: <4B30DBFD.5050708@mirrotek.com> <006901ca831b$43577080$ca065180$@net> Message-ID: <4B30F274.60105@mirrotek.com> Richard Kreiss wrote: > >> -----Original Message----- >> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com >> > [mailto:filepro- > >> list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Boaz >> Bezborodko >> Sent: Tuesday, December 22, 2009 9:47 AM >> To: filepro-list at lists.celestial.com >> Subject: Question on Header-Detail programming. >> >> I've programmed a few Header-Detail applications where I used a set of >> line-numbers for the detail, but each set of line-numbers starts with >> 1. The uniqueness of each detail is based on the combination of the >> header number (say invoice number or order number) and the line number. >> I was watching John's Survivor Series where he says to use a unique >> number for each detail record. >> >> >> What is the advantages/disadvantages of using his method versus the way >> I've used them in the past? >> >> > > I have used your method of numbering each detail line entered. I would say > that the combination of order/invoice + line number is unique. > > Numbering the details allows for the them to be displayed in the order in > which they were entered or created. This make matching details to vouchers > or order details easier. I have one application which gives the clerk the > option of displaying in a browse the order details as entered or by item # > or by descriptions. > > I have not looked at that in John's survivor series but will take a look at > it. > > > Richard Kreiss > GCC Consulting > rkreiss at gccconsulting.net > > John will probably come on here and point out something that I just realized as I'm building a new program.... If you use a master control file then you don't have to count the number of existing records in order to add one to the end. You simply go to the control file and pull out a new number and you're sure to sort in the order in which they were entered. Boaz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091222/287f2352/attachment-0001.html From brian at aljex.com Tue Dec 22 09:26:05 2009 From: brian at aljex.com (Brian K. White) Date: Tue, 22 Dec 2009 12:26:05 -0500 Subject: End and the syntax parser In-Reply-To: <006801ca8319$52017a10$f6046e30$@net> References: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> <00db01ca829b$3c2240e0$b466c2a0$@com> <94928a910912211621n32bdb650y753f811a72d3168c@mail.gmail.com> <006801ca8319$52017a10$f6046e30$@net> Message-ID: <4B31012D.9010800@aljex.com> Come on are you guys thinking? You can't make reserved words actually an error. There are too many of them and too much code already written and new "reserved" words map pop into existence at any time. And you can't pick some to be errors and others not. All you can do is go by the actual rules of the language and detect actual unambiguous errors, not try to find things that "look" like errors or that don't conform to any ideas of best practices. right off the bat, you're going to throw away some of the few dummy variables that happen to be eq lt gt etc...? Sure a line like "If: eq gt ge" requires a careful look to read, but you can't disallow it. Even if you were willing to find every "eq" in your code, forms, screens, browse formats, selection sets all through your system, how to you fix when "eq" isn't just a stand alone dummy but a member of a consecutive dim() mapping? Now you have to throw out the whole associated consecutive set and shift them all up or down so that the list fits in between any "reserved" words, displacing your existing use of all those other dummies, or maybe fp now just skips over those disallowed dummies, so if you have a consecutive list from ea to fi , under the new system the same dim line would create ea to ep and er to fj instead, and all the dummies from er to fi would be off by one from what your code expected, and fj would just be new. This is just one tiny example. You can't reserve every meaningful word. There is no problem that needs fixing here. As a programmer, you simply have to know what to do and what not to do. As for junk-after-end, I would say that any non-space on a single line that comes after an end statement, on the Then: part of a line, but before a semicolon or single qoute could be flagged as a warning in syntax check. It has to really only detect an unadorned unambiguous end statement though, not things that look like end statements due to too-simple rules. You have to allow variables and labels that not only begin with end, but are just plain end itself. I want to be able to say "goto end" and "screen end", "popup update end", "write end", etc. "gosub end" would be a bit misleading, but even that is my business. Maybe it used to really end and later developments meant that routine now needs to be a gosub? Or maybe end stands for Evaluate Next Destinataion? It's not fp's or anyone elses place to say I can't do that. You also have to allow dropping an end statement at the beginning or anywhere in an existing line. ie: You should be able to have an existing line of code: Then: some stuff ; some more ; yet more and be allowed to disable all or part of that line, without requiring you to copy and comment it all by doing Then: ; end ; ; -- bkw From john at valar.com Tue Dec 22 09:32:35 2009 From: john at valar.com (John Esak) Date: Tue, 22 Dec 2009 12:32:35 -0500 Subject: End and the syntax parser In-Reply-To: <006801ca8319$52017a10$f6046e30$@net> Message-ID: <200912221731.nBMHVLgO067036@admin114.securesites.net> Ken, > > Syntax check of using a reserved work for a variable - Yes. > > The first suggestion would cause syntax warnings on most of > my processing > tables. > > I have programming where sub-routines are placed at the end > of my processing > tables. Some are accessed only once or rarely when an error > occurs. I have > found it more convenient to keep these at the bottom of a > processing table > after any @once or @entsel processing. > > @once ends with an . Also, some of my looping routines > which use a > goto, have an end statement so if the process fails, it doesn't fall > through. Again this would cause problems. > > I will add to the syntax check fix request, the ability at > the time of the > syntax check or when entering a processing table, to select > an alternate > auto process table. This could also be used at tokenization > time. I have a > number of instances where I have processing tables for both > input and output > which use an alternate auto table or none at all. It is a > unnecessary for > me to see that dummy field conflict errors in auto processing > when I am not > using that table. > > Would any of you like an option to display the dummy fields > and/or long > variables defined in your auto process table when working on > another table? > This would possibly eliminate the duplicate casting of > variables. Yes, if > one has more the a one use development license, one can open > another session > and view the auto table. But that uses a licensed session, > which may not be > available. > > > 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 rkreiss at verizon.net Tue Dec 22 10:02:48 2009 From: rkreiss at verizon.net (Richard Kreiss) Date: Tue, 22 Dec 2009 13:02:48 -0500 Subject: End and the syntax parser In-Reply-To: <200912221731.nBMHVLgO067036@admin114.securesites.net> References: <006801ca8319$52017a10$f6046e30$@net> <200912221731.nBMHVLgO067036@admin114.securesites.net> Message-ID: <004501ca8330$f91c97f0$eb55c7d0$@net> > -----Original Message----- > From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro- > list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of John Esak > Sent: Tuesday, December 22, 2009 12:33 PM > To: filepro-list at lists.celestial.com > Subject: RE: End and the syntax parser > > > It was getting too loooong and messy. > > But, Richard. I don't see by your explanation how Ken's first suggestion > would mess you up in any way. He saying that you can't (or shouldn't) use > END and other KEYWORDS for anything other than their intended use, like > alias's, labels, and so on. I don't think this would screw you up. > > I like the attaching an auto table at time of saving processing, maybe as a > new key in the Function section. It would have to be there before the save > is pressed. > > And since we're all jumbling wishlist things ab out syntax, etc. together... > I'll muddy things further with a request that would really help me... I > would like to be able to see a full (page-able) list of all 2-char dummies, > long variables and even current rile (or switchable-file) real fields in the > debugger with their current value at the time the new button is pressed. > Now, you must type in each field at the (e)xpression prompt one at a time. > Wouldn't it be cool if you could see the contents of all the variables at > once? Yes, I'll answer my own question. :-) > John, The other piece we once talked about with long variables was, display and highlight , and when is pressed, copying it to the program line. This would save typing really long variable names and possibly making a typo. Richard > John > > > > Ken, > > > > Syntax check of using a reserved work for a variable - Yes. > > > > The first suggestion would cause syntax warnings on most of > > my processing > > tables. > > > > I have programming where sub-routines are placed at the end > > of my processing > > tables. Some are accessed only once or rarely when an error > > occurs. I have > > found it more convenient to keep these at the bottom of a > > processing table > > after any @once or @entsel processing. > > > > @once ends with an . Also, some of my looping routines > > which use a > > goto, have an end statement so if the process fails, it doesn't fall > > through. Again this would cause problems. > > > > I will add to the syntax check fix request, the ability at > > the time of the > > syntax check or when entering a processing table, to select > > an alternate > > auto process table. This could also be used at tokenization > > time. I have a > > number of instances where I have processing tables for both > > input and output > > which use an alternate auto table or none at all. It is a > > unnecessary for > > me to see that dummy field conflict errors in auto processing > > when I am not > > using that table. > > > > Would any of you like an option to display the dummy fields > > and/or long > > variables defined in your auto process table when working on > > another table? > > This would possibly eliminate the duplicate casting of > > variables. Yes, if > > one has more the a one use development license, one can open > > another session > > and view the auto table. But that uses a licensed session, > > which may not be > > available. > > > > > > 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 > > > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list From john at valar.com Tue Dec 22 10:39:53 2009 From: john at valar.com (John Esak) Date: Tue, 22 Dec 2009 13:39:53 -0500 Subject: Question on Header-Detail programming. In-Reply-To: <4B30DBFD.5050708@mirrotek.com> Message-ID: <200912221838.nBMIcdsQ096154@admin114.securesites.net> >John will probably come on here and point out something that I just realized as I'm building a new program.... >If you use a master control file then you don't have to count the number of existing records in order to add one to the end. You simply go to the control file and >pull out a new number and you're sure to sort in the order in which they were entered. > >Boaz Yes, always being sure of grabbing a higher number than anything that could already be in the file is a huge plus for me. Also, there are times when files get corrupted and this was a certain way of dealing with a more reasonable "fixing" scheme. Actually, though, didn't my suggestion say not to just use an ever incrementing number for the pieces of detail, but to assign a completely unique number to every header record as well. By using *that* unique header-number & detail-record-number you get a very reliable index that is chronologically (by time even) sequenced. This has been useful to me in the past. If you use GIANT header numbers to begin with, say a 10 digit number, than you can also play games with the leftmost number, for example all records starting with 1xxxxxxxxx are invoice header records and all starting with 2xxxxxxxxx are customer file records and so forth. If you ever use a system where there is just one (1) transaction file and the guts of that file tell you what kind of transaction it is and detail it completely. You can always have this up-front method of culling out just a particular type of transaction. Of course this only works in systems that can use just one transaction file like a G/L with all it's various modules. So, now that you know that I use this method mostly for G/L systems... It becomes important to have unique numbers in the header because there are actually times when an Accounts Payable invoice might have a vendor code of USA1 and somewhere in the customer file is a customer code of USA1 as well. You start putting customer codes together with invoice numbers and find that they are not as unique as you thought they would be. :-( And really, the final absolute specific reason I use an ever increasing unique number for any header record is it keeps its uniqueness even when the customer changes his name from Smith Brothers with a code of SMITH1 to Ludens with a code of LUDE1. The detail will never become disassociated with their correct header. By the way, if I said to *always* do this... My apologies.... This sort of convention is more... Well just that a convention to use, not a hard and fast rule. I tried to be very careful about saying what is a style you might want to adopt and what is an absolute must to have good file integrity and design. You don't *always* have to have a unique numeric header id... Hidden from users or not. But, if someday you decide to integrate some filePro app you've written with an SQL database, this is one of the first things you will wish you had done. Those SQL guys always want a field that holds a unique number... And for some reason they don't like our record number. With good reason, our record number can *change* if ever you compress out the unused records, or just delete a record and re-use it. for something else. This messes up SQL relationships. By the way... (And if you've made it this far... You probably want to hear this next thing as well... If you haven't made it this far, that is a science fiction kind of impossibility that I don't care to go into here.) Really, by having unique numbers for anything that will be considered a "header" record... You might end up with lots of them and lots of flexibility. Sort of like this: Customer File Cust-Cod Unique Cust# Fred's Quarry FRED1 1000000001 Invoice File Invoice# Unique Cust# Unique Inv# FRED1 2049 1000000001 2000000001 Invoice LineItems Invoice# Unique Cust# Unique Inv# Unique LinItem# 1 FRED1 2019 1000000001 2000000001 3000000001 3 FRED1 2019 1000000001 2000000001 3000000014 4 FRED1 2019 1000000001 2000000001 3000000019 Now, you see that there is no line-item 2. Maybe it got deleted during the phone call order or for whatever reason. Because you have diligently put unique numbers on everything, you can quickly renumber the invoice line items to be sequential using the hidden unique#. And this "looks good" to the customer. In other words there is no reason why the customer ever has to see the unique line item number, but only the human-readable one. Obviously, "skipping" a line item on your invoice is going to be cause for them to call and say "Where is Line Item 2?" In some cases not, but generally, people like to see things nice and neat. Anyway, even if the line items were added days apart with widely varying numbers, they will always be in rising sequential order so you can pull the invoice together to look any way you want it to look. And, this ability extends to any header. Say for example the invoice# has to be deleted entirely and you want to assign another number for whatever reason. You can use the hidden invoice number to do this. Same with the customer code... And this happens often believe me. Even if you use numeric customer codes there are still times they have to be changed. Having a hidden unique code number is a huge value. Unique record numbers are usually good candidates for using "hidden" indexes. No user is probably ever going to see these or need to use them. John From mschw at athenet.net Tue Dec 22 11:50:19 2009 From: mschw at athenet.net (Mike Schwartz) Date: Tue, 22 Dec 2009 13:50:19 -0600 Subject: OT: Where does Openserver pr command pickup date from? Message-ID: <017e01ca833f$fe3d9ef0$fab8dcd0$@net> I have some filepro "system" lines that print some small raw text files using the SCO Openserver 5.0.5 "pr" command in conjunction with the "lp" command. All of a sudden in the header info, the wrong date and time started showing up. The system date and time is correct. Does anybody know where the "pr" command picks up the date and time? I don't think this is a filePro problem, because if I try to print them from an openserver command prompt, the same( wrong) date shows up. Pr seems to think it's August 8, 2008! I've tried Googling for an answer, but I wasn't able to find one. The man page for "pr" in Openserver 5.0.5 didn't mention where it picks up the time. Thanks! Mike Schwartz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091222/6eed6c25/attachment-0001.html From rac at custom-mobility.com Tue Dec 22 11:59:11 2009 From: rac at custom-mobility.com (Roger Cornelius) Date: Tue, 22 Dec 2009 14:59:11 -0500 Subject: OT: Where does Openserver pr command pickup date from? In-Reply-To: <017e01ca833f$fe3d9ef0$fab8dcd0$@net> References: <017e01ca833f$fe3d9ef0$fab8dcd0$@net> Message-ID: <20091222195911.GA1282@custom-mobility.com> On 12/22/2009 13:50, Mike Schwartz wrote: > I have some filepro "system" lines that print some small raw text > files using the SCO Openserver 5.0.5 "pr" command in conjunction with the > "lp" command. > > All of a sudden in the header info, the wrong date and time started > showing up. The system date and time is correct. Does anybody know where > the "pr" command picks up the date and time? > > I don't think this is a filePro problem, because if I try to print them > from an openserver command prompt, the same( wrong) date shows up. Pr seems > to think it's August 8, 2008! > > I've tried Googling for an answer, but I wasn't able to find one. The > man page for "pr" in Openserver 5.0.5 didn't mention where it picks up the > time. > > Thanks! > > Mike Schwartz man pr(C). It uses the creation or modification time of the file. -- Roger Cornelius rac at custom-mobility.com From john at valar.com Tue Dec 22 12:11:28 2009 From: john at valar.com (John Esak) Date: Tue, 22 Dec 2009 15:11:28 -0500 Subject: Where does Openserver pr command pickup date from? In-Reply-To: <017e01ca833f$fe3d9ef0$fab8dcd0$@net> Message-ID: <200912222010.nBMKAVq3034259@admin114.securesites.net> How funny.... just today I found one of my old clients had a PFCMARK set to 10.... all the dates were screwing up today. Add "30" to an invoice date of 12/10/09 and you get /OV.... Look at PFCMARK. 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 Mike Schwartz Sent: Tuesday, December 22, 2009 2:50 PM To: 'filePro Mailing List' Subject: OT: Where does Openserver pr command pickup date from? I have some filepro "system" lines that print some small raw text files using the SCO Openserver 5.0.5 "pr" command in conjunction with the "lp" command. All of a sudden in the header info, the wrong date and time started showing up. The system date and time is correct. Does anybody know where the "pr" command picks up the date and time? I don't think this is a filePro problem, because if I try to print them from an openserver command prompt, the same( wrong) date shows up. Pr seems to think it's August 8, 2008! I've tried Googling for an answer, but I wasn't able to find one. The man page for "pr" in Openserver 5.0.5 didn't mention where it picks up the time. Thanks! Mike Schwartz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091222/bda0e8dc/attachment-0001.html From ken.m.cole at gmail.com Tue Dec 22 14:20:16 2009 From: ken.m.cole at gmail.com (Ken Cole) Date: Wed, 23 Dec 2009 08:20:16 +1000 Subject: End and the syntax parser In-Reply-To: <006801ca8319$52017a10$f6046e30$@net> References: <94928a910912211610o35c89d14p68ebc02241fb8012@mail.gmail.com> <00db01ca829b$3c2240e0$b466c2a0$@com> <94928a910912211621n32bdb650y753f811a72d3168c@mail.gmail.com> <006801ca8319$52017a10$f6046e30$@net> Message-ID: <94928a910912221420u165ac9c4we1234cac45f9251f@mail.gmail.com> Richard, I only meant to throw an error if there was anything after END on the same line, not on subsequent lines. I to put all my gosub blocks after the "main processing" so I was not envisaging making END the last statement in the entire processing. Cheers Ken On Wed, Dec 23, 2009 at 1:13 AM, Richard Kreiss wrote: > > >> -----Original Message----- >> From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com > [mailto:filepro- >> list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Ken > Cole >> Sent: Monday, December 21, 2009 7:21 PM >> To: Alan Mazuti >> Cc: Filepro Lists >> Subject: Re: End and the syntax parser >> >> Alan, >> >> I can nearly remember that night in Philli! >> >> Cheers >> >> Ken >> >> On Tue, Dec 22, 2009 at 10:10 AM, Alan Mazuti >> wrote: >> > Spot on Ken. ? Now for a round of dead ants! >> > >> > -----Original Message----- >> > From: > filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.com >> > > [mailto:filepro-list-bounces+amazu=trusteeservicesinc.com at lists.celestial.co >> > m] On Behalf Of Ken Cole >> > Sent: Monday, December 21, 2009 4:10 PM >> > To: Filepro Lists >> > Subject: End and the syntax parser >> > >> > This is something for everyone to toy with over the holidays (sorry >> > for the pun). >> > >> > Now I think this same point has been discussed previously but without >> > any action being taken. ?Should anything be done is the point of the >> > email. >> > >> > One of the filePro programmers working here had a problem the other >> > day that some code didn't seem to be running. >> > >> > The processing table passed syntax check, created the tok file, etc >> > and ran to a particular point and then stopped with the rest of the >> > code not running. >> > >> > Now this is Sco 5v6.0.0 with filePro 5.0.14R4. >> > >> > After spending serious time trying to work out why the code wasn't >> > running, no goto's over the code, no gosub's without returns, etc I >> > had a look for them and found the problem. >> > >> > There was a long variable called "EndDate" being used. >> > >> > The fat fingered, well in this case light fingered, programmer instead >> > of entering: >> > >> > EndDate=lookup(6) >> > >> > had entered: >> > >> > End=lookup(6) >> > >> > Now I know Ken has mentioned before that everything after an "end" >> > statement is ignored when being parsed as it will never be processed. >> > >> > I am of the mind though that this is a syntax error as a "reserved" >> > word is being used as a variable and I feel there should have been an >> > error thrown at syntax check time. >> > >> > I believe the following rules should be checked. >> > >> > 1. If there is anything after "end" on a line that is not a comment >> > then it is an error. >> > 2. Reserved words should not be allowed as variables and if attempted >> > to do so as in this example then it is an error. >> > >> > What do the rest of you think? >> > I am wrong in thinking this should throw and error? >> > >> > Cheers, Merry Christmas and a safe and prosperous New Year. >> > >> > Ken >> http://mailman.celestial.com/mailman/listinfo/filepro-list > > Ken, > > Syntax check of using a reserved work for a variable - Yes. > > The first suggestion would cause syntax warnings on most of my processing > tables. > > I have programming where sub-routines are placed at the end of my processing > tables. ?Some are accessed only once or rarely when an error occurs. ?I have > found it more convenient to keep these at the bottom of a processing table > after any @once or @entsel processing. > > @once ends with an . ?Also, some of my looping routines which use a > goto, have an end statement so if the process fails, it doesn't fall > through. ?Again this would cause problems. > > I will add to the syntax check fix request, the ability at the time of the > syntax check or when entering a processing table, to select an alternate > auto process table. ?This could also be used at tokenization time. ?I have a > number of instances where I have processing tables for both input and output > which use an alternate auto table or none at all. ?It is a unnecessary for > me to see that dummy field conflict errors in auto processing when I am not > using that table. > > Would any of you like an option to display the dummy fields and/or long > variables defined in your auto process table when working on another table? > This would possibly eliminate the duplicate casting of variables. ?Yes, if > one has more the a one use development license, one can open another session > and view the auto table. ?But that uses a licensed session, which may not be > available. > > > Richard Kreiss > GCC Consulting > rkreiss at gccconsulting.net > > > > > > > > > > From appl at jpr.com Tue Dec 22 14:33:27 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Tue, 22 Dec 2009 17:33:27 -0500 Subject: OT: Where does Openserver pr command pickup date from? In-Reply-To: <20091222195911.GA1282@custom-mobility.com> References: <017e01ca833f$fe3d9ef0$fab8dcd0$@net> <20091222195911.GA1282@custom-mobility.com> Message-ID: <20091222223327.GA86@jpradley.jpr.com> Roger Cornelius propounded (on Tue, Dec 22, 2009 at 02:59:11PM -0500): | On 12/22/2009 13:50, Mike Schwartz wrote: | > I have some filepro "system" lines that print some small raw text | > files using the SCO Openserver 5.0.5 "pr" command in conjunction with the | > "lp" command. | > | > All of a sudden in the header info, the wrong date and time started | > showing up. The system date and time is correct. Does anybody know where | > the "pr" command picks up the date and time? | > | > I don't think this is a filePro problem, because if I try to print them | > from an openserver command prompt, the same( wrong) date shows up. Pr seems | > to think it's August 8, 2008! | > | > I've tried Googling for an answer, but I wasn't able to find one. The | > man page for "pr" in Openserver 5.0.5 didn't mention where it picks up the | > time. | > | | man pr(C). It uses the creation or modification time of the file. Mike, if you thought the date shown in pr's output is today's date, no it isn't, it's the file's date. But Roger, shouldn't a bug report be submitted to somebody or other (that man page must have been written over thirty years ago) to the effect that there ain't no creation date to be had for a file? -- JP From bruce at stn.com Tue Dec 22 14:46:07 2009 From: bruce at stn.com (Bruce Easton) Date: Tue, 22 Dec 2009 17:46:07 -0500 Subject: ghost images In-Reply-To: <006e01ca831e$16a4d840$43ee88c0$@net> References: <006e01ca831e$16a4d840$43ee88c0$@net> Message-ID: <89833BCF5D8C4A48AB7BBE8829926D93@DONDESKTOP> Richard Kreiss wrote Tuesday, December 22, 2009 10:48 AM: [..] > > Here's the problems, if the record access has the popup, and > is switched to screen 9, and then switched to the first > screen and the down arrow pressed to go to the next record, I > am being told that the ghost of the previous popup appears. > [..] > > > Richard Kreiss Richard, when they say ghost, do you think they mean part of it still visible under or over, or as in still visible with a different intensity or what? I checked with this forum, but they were no help: http://forums.syfy.com/index.php?showforum=70 (sorry--I'll blame it on bad egg nog) Bruce From bruce at stn.com Tue Dec 22 14:48:59 2009 From: bruce at stn.com (Bruce Easton) Date: Tue, 22 Dec 2009 17:48:59 -0500 Subject: ghost images References: <006e01ca831e$16a4d840$43ee88c0$@net> Message-ID: <8F77DD4B6AEE4102A9E581C17100ECDB@DONDESKTOP> Bruce Easton wrote Tuesday, December 22, 2009 5:46 PM > > Richard Kreiss wrote Tuesday, December 22, 2009 10:48 AM: > [..] > > > > Here's the problems, if the record access has the popup, and is > > switched to screen 9, and then switched to the first screen and the > > down arrow pressed to go to the next record, I am being > told that the > > ghost of the previous popup appears. ---> and if you think that's bad, watch out for the ghost of the FUTURE popup.... > > > [..] > > > > > > Richard Kreiss > > Richard, when they say ghost, do you think they mean part of > it still visible under or over, or as in still visible with a > different intensity or what? > > I checked with this forum, but they were no help: > http://forums.syfy.com/index.php?showforum=70 > (sorry--I'll blame it on bad egg nog) > > Bruce > > From fairlite at fairlite.com Tue Dec 22 14:53:22 2009 From: fairlite at fairlite.com (Fairlight) Date: Tue, 22 Dec 2009 17:53:22 -0500 Subject: ghost images In-Reply-To: <8F77DD4B6AEE4102A9E581C17100ECDB@DONDESKTOP>; from bruce@stn.com on Tue, Dec 22, 2009 at 05:48:59PM -0500 References: <006e01ca831e$16a4d840$43ee88c0$@net> <8F77DD4B6AEE4102A9E581C17100ECDB@DONDESKTOP> Message-ID: <20091222175322.A8360@iglou.com> The honourable and venerable Bruce Easton spoke thus: > > ---> and if you think that's bad, watch out for the > ghost of the FUTURE popup.... *groan!!!* Oh man, that was so bad it was good! :) m-> From wvaughan at steelerubber.com Tue Dec 22 16:07:33 2009 From: wvaughan at steelerubber.com (Walter Vaughan) Date: Tue, 22 Dec 2009 19:07:33 -0500 Subject: OT: Where does Openserver pr command pickup date from? In-Reply-To: <20091222223327.GA86@jpradley.jpr.com> References: <017e01ca833f$fe3d9ef0$fab8dcd0$@net> <20091222195911.GA1282@custom-mobility.com> <20091222223327.GA86@jpradley.jpr.com> Message-ID: <4B315F45.8080405@steelerubber.com> Jean-Pierre A. Radley wrote: >But Roger, shouldn't a bug report be submitted to somebody or other >(that man page must have been written over thirty years ago) to the >effect that there ain't no creation date to be had for a file? > > > Don't have access to anything but the newest BSD sources /*- * Copyright (c) 1991 Keith Muller. * Copyright (c) 1993 * The Regents of the University of California. All rights reserved. and it most definitely has a lot of error checking if it can't get current time from the OS. I realize there may be nothing in common between the the BSD sources and the SCO codebase, but *I* was interested in how BSD handled determing what time to use. And if the SCO version really is broken, and if you need it to work with OSR 5, surely someone could compile it, the includes look very standard. The only living boxes I have are FreeBSD and Tandy Xenix so I am not going to be of much help. From rac at custom-mobility.com Tue Dec 22 17:34:20 2009 From: rac at custom-mobility.com (Roger Cornelius) Date: Tue, 22 Dec 2009 20:34:20 -0500 Subject: OT: Where does Openserver pr command pickup date from? In-Reply-To: <20091222223327.GA86@jpradley.jpr.com> References: <017e01ca833f$fe3d9ef0$fab8dcd0$@net> <20091222195911.GA1282@custom-mobility.com> <20091222223327.GA86@jpradley.jpr.com> Message-ID: <20091223013420.GA1402@custom-mobility.com> On 12/22/2009 17:33, Jean-Pierre A. Radley wrote: > Roger Cornelius propounded (on Tue, Dec 22, 2009 at 02:59:11PM -0500): > | On 12/22/2009 13:50, Mike Schwartz wrote: > | > I have some filepro "system" lines that print some small raw text > | > files using the SCO Openserver 5.0.5 "pr" command in conjunction with the > | > "lp" command. > | > > | > All of a sudden in the header info, the wrong date and time started > | > showing up. The system date and time is correct. Does anybody know where > | > the "pr" command picks up the date and time? > | > > | > I don't think this is a filePro problem, because if I try to print them > | > from an openserver command prompt, the same( wrong) date shows up. Pr seems > | > to think it's August 8, 2008! > | > > | > I've tried Googling for an answer, but I wasn't able to find one. The > | > man page for "pr" in Openserver 5.0.5 didn't mention where it picks up the > | > time. > | > > | > | man pr(C). It uses the creation or modification time of the file. > > Mike, if you thought the date shown in pr's output is today's date, no it > isn't, it's the file's date. > > But Roger, shouldn't a bug report be submitted to somebody or other > (that man page must have been written over thirty years ago) to the > effect that there ain't no creation date to be had for a file? I hadn't caught that, but to be generous to the author, the modification date IS the creation date if the file has never been modified, so maybe he really meant to write "the date and time of creation/modification" ... I no longer have a XENIX pr binary on medium I can read, but I do have a XENIX 286 pr manpage, ca. 1989, which says "By default, the listing is separated into pages, each headed by the page number, date and time, and the name of the file." with no clue as to which date, atime, ctime, mtime, or system date, they are referring to. -- Roger Cornelius rac at custom-mobility.com From wrandall at fptech.com Wed Dec 23 04:16:51 2009 From: wrandall at fptech.com (Bill Randall) Date: Wed, 23 Dec 2009 07:16:51 -0500 Subject: Possible customer Message-ID: <4B320A33.30304@fptech.com> We have a customer who is looking for support in Sri Lanka. Does anyone service this area or have an affiliation with anyone who might be able to assist this customer? Bill -- William Randall wrandall at fptech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091223/cbcb9b5f/attachment.html From brian at aljex.com Wed Dec 23 05:31:50 2009 From: brian at aljex.com (Brian K. White) Date: Wed, 23 Dec 2009 08:31:50 -0500 Subject: Possible customer In-Reply-To: <4B320A33.30304@fptech.com> References: <4B320A33.30304@fptech.com> Message-ID: <4B321BC6.2040509@aljex.com> Bill Randall wrote: > We have a customer who is looking for support in Sri Lanka. Does anyone > service this area or have an affiliation with anyone who might be able > to assist this customer? > > Bill I wish. I'd love to meet Arther C. Clark -- bkw From fairlite at fairlite.com Wed Dec 23 05:37:45 2009 From: fairlite at fairlite.com (Fairlight) Date: Wed, 23 Dec 2009 08:37:45 -0500 Subject: Possible customer In-Reply-To: <4B321BC6.2040509@aljex.com>; from brian@aljex.com on Wed, Dec 23, 2009 at 08:31:50AM -0500 References: <4B320A33.30304@fptech.com> <4B321BC6.2040509@aljex.com> Message-ID: <20091223083745.A25658@iglou.com> The honourable and venerable Brian K. White spoke thus: > > I wish. I'd love to meet Arther C. Clark You didn't hear that he died this year? mark-> From roberth at sim-soft.com Wed Dec 23 07:52:12 2009 From: roberth at sim-soft.com (Bob Thomason) Date: Wed, 23 Dec 2009 09:52:12 -0600 Subject: Possible customer References: <4B320A33.30304@fptech.com> Message-ID: <004401ca83e7$fc7105f0$7565a8c0@bobxp1> http://www.centuryware.com/ Sesiri Pathirane is the contact person. Good at programing but not familiar w/filepro. He does have a US phone via magic jack if that's helpful. Merry Christmas everyone!!! ----- Original Message ----- From: Bill Randall To: list filePro mailing Sent: Wednesday, December 23, 2009 6:16 AM Subject: Possible customer We have a customer who is looking for support in Sri Lanka. Does anyone service this area or have an affiliation with anyone who might be able to assist this customer? Bill -- William Randall wrandall at fptech.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/20091223/8bc62836/attachment.html From yoresoft at sbcglobal.net Wed Dec 23 12:59:04 2009 From: yoresoft at sbcglobal.net (Richard Hane) Date: Wed, 23 Dec 2009 12:59:04 -0800 (PST) Subject: HTML (fp) code Message-ID: <878769.52203.qm@web81401.mail.mud.yahoo.com> >From time to time we will see fp processing code listed as examples or with questions.? A search on Google will give you a lot more. Books, magazines, articles from Laura, John, Howie et al have listed many examples of code. However, having said the above, I find the lack of filepro processing code that uses the HTML commands extremely hard to find.? Am I just missing it?? If you know where to find examples please let me know. BTW? A collection of these would make a great table top book for any fp user. Best Holiday Wishes, Rick Hane -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091223/fcabd220/attachment.html From ken.m.cole at gmail.com Wed Dec 23 13:22:01 2009 From: ken.m.cole at gmail.com (Ken Cole) Date: Thu, 24 Dec 2009 07:22:01 +1000 Subject: HTML (fp) code In-Reply-To: <878769.52203.qm@web81401.mail.mud.yahoo.com> References: <878769.52203.qm@web81401.mail.mud.yahoo.com> Message-ID: <94928a910912231322t4307ec56y6affce1bf307f5b8@mail.gmail.com> Hi Rick, While we use filePro HTML commands in our processing, purely for legacy reasons now (we have so much code using them and called tables using them, and we have a intranet server that gets 100's of hits per minute, I get a feeling that a lot of FP programmers in our midst use the jsfile or open/write/close file handlers to write native HTML directly into those files which is why you don't see a lot of examples around. I didn't have an issue learning and using the FP syntax for HTML but many seem to think it is just an unnecessary step if you already know HTML/CSS/Javascript well enough already. If I can ever assist in some FP HTML command issue don't hesitate to holla. Happy Holidays Ken On Thu, Dec 24, 2009 at 6:59 AM, Richard Hane wrote: > From time to time we will see fp processing code listed as examples or with > questions.? A search on Google will give you a lot more. Books, magazines, > articles from Laura, John, Howie et al have listed many examples of code. > > However, having said the above, I find the lack of filepro processing code > that uses the HTML commands extremely hard to find.? Am I just missing it? > If you know where to find examples please let me know. > > BTW? A collection of these would make a great table top book for any fp > user. > > Best Holiday Wishes, > > Rick Hane > > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > From kenbrody at spamcop.net Wed Dec 23 13:28:54 2009 From: kenbrody at spamcop.net (Kenneth Brody) Date: Wed, 23 Dec 2009 16:28:54 -0500 Subject: HTML (fp) code In-Reply-To: <878769.52203.qm@web81401.mail.mud.yahoo.com> References: <878769.52203.qm@web81401.mail.mud.yahoo.com> Message-ID: <4B328B96.9090007@spamcop.net> On 12/23/2009 3:59 PM, Richard Hane wrote: > From time to time we will see fp processing code listed as examples or with questions. A search on Google will give you a lot more. Books, magazines, articles from Laura, John, Howie et al have listed many examples of code. > > However, having said the above, I find the lack of filepro processing code that uses the HTML commands extremely hard to find. Am I just missing it? If you know where to find examples please let me know. > > BTW A collection of these would make a great table top book for any fp user. [...] If you're willing to put some funding in up-front, I'll work on it over the long weekend. :-) -- Kenneth Brody From yoresoft at sbcglobal.net Wed Dec 23 14:21:09 2009 From: yoresoft at sbcglobal.net (Richard Hane) Date: Wed, 23 Dec 2009 14:21:09 -0800 (PST) Subject: HTML (fp) code In-Reply-To: <94928a910912231322t4307ec56y6affce1bf307f5b8@mail.gmail.com> References: <878769.52203.qm@web81401.mail.mud.yahoo.com> <94928a910912231322t4307ec56y6affce1bf307f5b8@mail.gmail.com> Message-ID: <806656.53439.qm@web81402.mail.mud.yahoo.com> Ken, Thanks for the offer but there really isn't any problem.? It just that I like to review code others have written to see the better mouse trap. Thanks and have a great holiday, Rick ? ________________________________ From: Ken Cole To: Richard Hane Cc: filepro-list at lists.celestial.com Sent: Wed, December 23, 2009 3:22:01 PM Subject: Re: HTML (fp) code Hi Rick, While we use filePro HTML commands in our processing, purely for legacy reasons now (we have so much code using them and called tables using them, and we have a intranet server that gets 100's of hits per minute, I get a feeling that a lot of FP programmers in our midst use the jsfile or open/write/close file handlers to write native HTML directly into those files which is why you don't see a lot of examples around. I didn't have an issue learning and using the FP syntax for HTML but many seem to think it is just an unnecessary step if you already know HTML/CSS/Javascript well enough already. If I can ever assist in some FP HTML command issue don't hesitate to holla. Happy Holidays Ken On Thu, Dec 24, 2009 at 6:59 AM, Richard Hane wrote: > From time to time we will see fp processing code listed as examples or with > questions.? A search on Google will give you a lot more. Books, magazines, > articles from Laura, John, Howie et al have listed many examples of code. > > However, having said the above, I find the lack of filepro processing code > that uses the HTML commands extremely hard to find.? Am I just missing it? > If you know where to find examples please let me know. > > BTW? A collection of these would make a great table top book for any fp > user. > > Best Holiday Wishes, > > Rick Hane > > _______________________________________________ > 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/20091223/4ba019a0/attachment-0001.html From rkreiss at gccconsulting.net Wed Dec 23 14:40:47 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Wed, 23 Dec 2009 17:40:47 -0500 Subject: HTML (fp) code In-Reply-To: <878769.52203.qm@web81401.mail.mud.yahoo.com> References: <878769.52203.qm@web81401.mail.mud.yahoo.com> Message-ID: <003201ca8420$f85dfed0$e919fc70$@net> I have sample processing tables from an STN class given a few years ago in Tampa. When I need to write HTML code, I usually refer to those processing tables. However, that said, I would agree that it may be smarter in the long run to use fp's i/o functions to write the html code. I wonder what the status of the xml programming we saw in Philadelphia? Richard Kreiss GCC Consulting rkreiss at gccconsulting.net From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Richard Hane Sent: Wednesday, December 23, 2009 3:59 PM To: filepro-list at lists.celestial.com Subject: HTML (fp) code >From time to time we will see fp processing code listed as examples or with questions. A search on Google will give you a lot more. Books, magazines, articles from Laura, John, Howie et al have listed many examples of code. However, having said the above, I find the lack of filepro processing code that uses the HTML commands extremely hard to find. Am I just missing it? If you know where to find examples please let me know. BTW A collection of these would make a great table top book for any fp user. Best Holiday Wishes, Rick Hane -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091223/22e9c72c/attachment.html From john at valar.com Wed Dec 23 21:48:48 2009 From: john at valar.com (John Esak) Date: Thu, 24 Dec 2009 00:48:48 -0500 Subject: Possible customer In-Reply-To: <4B320A33.30304@fptech.com> Message-ID: <200912240547.nBO5lZNq063478@admin114.securesites.net> I've decided to stop going to Sri Lanka so often. It's so trendy... you know what I mean? ick! :-) 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 Bill Randall Sent: Wednesday, December 23, 2009 7:17 AM To: list filePro mailing Subject: Possible customer We have a customer who is looking for support in Sri Lanka. Does anyone service this area or have an affiliation with anyone who might be able to assist this customer? Bill -- William Randall wrandall at fptech.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091224/14c04f4f/attachment.html From yoresoft at sbcglobal.net Thu Dec 24 05:54:05 2009 From: yoresoft at sbcglobal.net (Richard Hane) Date: Thu, 24 Dec 2009 05:54:05 -0800 (PST) Subject: HTML (fp) code In-Reply-To: <003201ca8420$f85dfed0$e919fc70$@net> References: <878769.52203.qm@web81401.mail.mud.yahoo.com> <003201ca8420$f85dfed0$e919fc70$@net> Message-ID: <773042.53736.qm@web81402.mail.mud.yahoo.com> Richard, Yes I took a similar STN class years ago.? It was more to do with fpWeb and Howie gave the class in Dallas. Since you mentioned the xml, it makes me bring up my one major concern about filePro.? [ holiday soap box mounted ] There has not been a major announcement or hint of one by fpTech in years. Yes I know there have been updates but not a new major item.??Most companies that don't show growth with new products or major enhauncements to exsisting ones is going to start to loose market share as well as customers. Where are the actions from the meeting held early this year?? There seem to be some real direction I saw in the minutes. Where is the XML or a true Windows version or some other GUI version or a expanding of using the HTML built in since 4.8? As I have offered before, the lack of noise from fpTech is deafening. I hope the new year proves me wrong with these fears. [ holiday soap box unmounted ] Hoping you and yours have a happy holiday season, Rick Hane ? ________________________________ From: Richard Kreiss To: Richard Hane ; filepro-list at lists.celestial.com Sent: Wed, December 23, 2009 4:40:47 PM Subject: RE: HTML (fp) code I have sample processing tables from an STN class given a few years ago in Tampa. ? When I need to write HTML code, I usually refer to those processing tables. ? However, that said, I would agree that it may be smarter in the long run to use fp?s i/o functions to write the html code. ? I wonder what the status of the xml programming we saw in Philadelphia? ? ? Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? ? ? ? ? From:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Richard Hane Sent: Wednesday, December 23, 2009 3:59 PM To: filepro-list at lists.celestial.com Subject: HTML (fp) code ? From time to time we will see fp processing code listed as examples or with questions.? A search on Google will give you a lot more. Books, magazines, articles from Laura, John, Howie et al have listed many examples of code. ? However, having said the above, I find the lack of filepro processing code that uses the HTML commands extremely hard to find.? Am I just missing it?? If you know where to find examples please let me know. ? BTW? A collection of these would make a great table top book for any fp user. ? Best Holiday Wishes, ? Rick Hane -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091224/97feca70/attachment.html From boaz at mirrotek.com Thu Dec 24 05:56:57 2009 From: boaz at mirrotek.com (Boaz Bezborodko) Date: Thu, 24 Dec 2009 08:56:57 -0500 Subject: Possible customer In-Reply-To: References: Message-ID: <4B337329.9020408@mirrotek.com> > Date: Wed, 23 Dec 2009 09:52:12 -0600 > From: "Bob Thomason" > Subject: Re: Possible customer > To: , "list filePro mailing" > > Message-ID: <004401ca83e7$fc7105f0$7565a8c0 at bobxp1> > Content-Type: text/plain; charset="iso-8859-1" > > http://www.centuryware.com/ > > Sesiri Pathirane is the contact person. Good at programing but not > familiar w/filepro. He does have a US phone via magic jack if that's > helpful. > > Merry Christmas everyone!!! > ----- Original Message ----- > From: Bill Randall > To: list filePro mailing > Sent: Wednesday, December 23, 2009 6:16 AM > Subject: Possible customer > > > We have a customer who is looking for support in Sri Lanka. Does > anyone service this area or have an affiliation with anyone who might > be able to assist this customer? > > Bill > > -- William Randall wrandall at fptech.com You can also suggest to him to get a copy of John Esak's FilePro Survivor Series. That should get him up to speed with FP in very little time. Even if he doesn't want to do the programming it will give him the background to evaluate the work. Boaz From rkreiss at gccconsulting.net Thu Dec 24 07:42:13 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Thu, 24 Dec 2009 10:42:13 -0500 Subject: HTML (fp) code In-Reply-To: <773042.53736.qm@web81402.mail.mud.yahoo.com> References: <878769.52203.qm@web81401.mail.mud.yahoo.com> <003201ca8420$f85dfed0$e919fc70$@net> <773042.53736.qm@web81402.mail.mud.yahoo.com> Message-ID: <008801ca84af$a9d39740$fd7ac5c0$@net> Rick, >From what I understand, fptech has wanted to get the base code stable and has not added any new features so they could get the core debugged. That said, it still would be nice to get some idea of what new functionality they are planning. Is XML a real product? Where is the phone app? [off the soap box] The class I was referring to was given by a gentleman from American Airlines whose name escapes me now. This was strictly HTML coding and not for any particular interface. I have used some of the to generate html reports for a few of my client?s. In most cases these are internal reports which have a shortcut on the desktop to open them. This is especially useful for management reports where senior management is not particularly computer literate. i.e. don?t want to learn how to use the program. Richard From: Richard Hane [mailto:yoresoft at sbcglobal.net] Sent: Thursday, December 24, 2009 8:54 AM To: rkreiss at gccconsulting.net; filepro-list at lists.celestial.com Subject: Re: HTML (fp) code Richard, Yes I took a similar STN class years ago. It was more to do with fpWeb and Howie gave the class in Dallas. Since you mentioned the xml, it makes me bring up my one major concern about filePro. [ holiday soap box mounted ] There has not been a major announcement or hint of one by fpTech in years. Yes I know there have been updates but not a new major item. Most companies that don't show growth with new products or major enhauncements to exsisting ones is going to start to loose market share as well as customers. Where are the actions from the meeting held early this year? There seem to be some real direction I saw in the minutes. Where is the XML or a true Windows version or some other GUI version or a expanding of using the HTML built in since 4.8? As I have offered before, the lack of noise from fpTech is deafening. I hope the new year proves me wrong with these fears. [ holiday soap box unmounted ] Hoping you and yours have a happy holiday season, Rick Hane _____ From: Richard Kreiss To: Richard Hane ; filepro-list at lists.celestial.com Sent: Wed, December 23, 2009 4:40:47 PM Subject: RE: HTML (fp) code I have sample processing tables from an STN class given a few years ago in Tampa. When I need to write HTML code, I usually refer to those processing tables. However, that said, I would agree that it may be smarter in the long run to use fp?s i/o functions to write the html code. I wonder what the status of the xml programming we saw in Philadelphia? Richard Kreiss GCC Consulting rkreiss at gccconsulting.net From: filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com [mailto:filepro-list-bounces+rkreiss=verizon.net at lists.celestial.com] On Behalf Of Richard Hane Sent: Wednesday, December 23, 2009 3:59 PM To: filepro-list at lists.celestial.com Subject: HTML (fp) code >From time to time we will see fp processing code listed as examples or with questions. A search on Google will give you a lot more. Books, magazines, articles from Laura, John, Howie et al have listed many examples of code. However, having said the above, I find the lack of filepro processing code that uses the HTML commands extremely hard to find. Am I just missing it? If you know where to find examples please let me know. BTW A collection of these would make a great table top book for any fp user. Best Holiday Wishes, Rick Hane -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mailman.celestial.com/pipermail/filepro-list/attachments/20091224/ade70dd6/attachment-0001.html From fairlite at fairlite.com Thu Dec 24 13:56:17 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 24 Dec 2009 16:56:17 -0500 Subject: HTML (fp) code In-Reply-To: <773042.53736.qm@web81402.mail.mud.yahoo.com>; from yoresoft@sbcglobal.net on Thu, Dec 24, 2009 at 05:54:05AM -0800 References: <878769.52203.qm@web81401.mail.mud.yahoo.com> <003201ca8420$f85dfed0$e919fc70$@net> <773042.53736.qm@web81402.mail.mud.yahoo.com> Message-ID: <20091224165617.A10252@iglou.com> With neither thought nor caution, Richard Hane blurted: > > There has not been a major announcement or hint of one by fpTech > in years. Yes I know there have been updates but not a new major > item.????Most companies that don't show growth with new products or major > enhauncements to exsisting ones is going to start to loose market share > as well as customers. In that case, they'd have been losing market share for the last 1.5 decades. My guess would be that they have been, although I can neither prove nor disprove that estimation. > Where are the actions from the meeting held early this year??? There seem > to be some real direction I saw in the minutes. Where is the XML or a > true Windows version or some other GUI version or a expanding of using > the HTML built in since 4.8? As I have offered before, the lack of noise > from fpTech is deafening. I hope the new year proves me wrong with these > fears. Have you -seen- the economy this year? I'm not sure R&D expenditures are necessarily a prudent move for a company that pays their employees R&D time, when it's for a product/feature that may fly or sink. If it's not absolutely necessary R&D that's essential to the operation of a company, most places have cut back on speculative R&D, from what I'm hearing. Exceptions would be small shoppes like mine that are working on projects that hardly anyone knows about, but which will hopefully pay off--and I think I'm onto a good one now. It's a service, not software to sell, in this case. But again, I'm basically flying solo, and I'm doing the development in my free time when there's nothing paying that needs addressing. I don't get paid for that. If Ken or Ron is working on a feature, the company needs to pay them. In this last year's economy, I think even I could forgive a lack of things to announce, or a slim-to-nonexistent selection of new offerings. Also, if what Richard said about a code freeze to stabilise the core is accurate, fP Tech has my praise--I've only been recommending that move for half a decade. Good to hear that it seems to have finally been done. :) mark-> From rkreiss at gccconsulting.net Thu Dec 24 18:01:39 2009 From: rkreiss at gccconsulting.net (Richard Kreiss) Date: Thu, 24 Dec 2009 21:01:39 -0500 Subject: Seasons Greeting Message-ID: <00d101ca8506$326b47f0$9741d7d0$@net> To all, Just like to take a minute to wish all the very best for the season and a Happy and Healthy New Year. Richard Kreiss GCC Consulting rkreiss at gccconsulting.net ? From flowersoft at compuserve.com Sat Dec 26 15:03:52 2009 From: flowersoft at compuserve.com (George) Date: Sat, 26 Dec 2009 18:03:52 -0500 Subject: Possible customer In-Reply-To: <20091223083745.A25658@iglou.com> References: <4B320A33.30304@fptech.com> <4B321BC6.2040509@aljex.com> <20091223083745.A25658@iglou.com> Message-ID: <004b01ca867f$b15114d0$13f33e70$@com> He died last year, 2008, he was 90 years old. -----Original Message----- From: filepro-list-bounces+flowersoft=compuserve.com at lists.celestial.com [mailto:filepro-list-bounces+flowersoft=compuserve.com at lists.celestial.com] On Behalf Of Fairlight Sent: Wednesday, December 23, 2009 8:38 AM To: list filePro mailing Subject: Re: Possible customer The honourable and venerable Brian K. White spoke thus: > > I wish. I'd love to meet Arther C. Clark You didn't hear that he died this year? mark-> _______________________________________________ Filepro-list mailing list Filepro-list at lists.celestial.com http://mailman.celestial.com/mailman/listinfo/filepro-list From fairlite at fairlite.com Sat Dec 26 15:47:10 2009 From: fairlite at fairlite.com (Fairlight) Date: Sat, 26 Dec 2009 18:47:10 -0500 Subject: OT: Clarke (was - Re: Possible customer) In-Reply-To: <004b01ca867f$b15114d0$13f33e70$@com>; from flowersoft@compuserve.com on Sat, Dec 26, 2009 at 06:03:52PM -0500 References: <4B320A33.30304@fptech.com> <4B321BC6.2040509@aljex.com> <20091223083745.A25658@iglou.com> <004b01ca867f$b15114d0$13f33e70$@com> Message-ID: <20091226184710.A7529@iglou.com> With neither thought nor caution, George blurted: > He died last year, 2008, he was 90 years old. But his ego lives on via the afterwords/forewords of his books... He used to be my favourite SF author, seriously. That changed when I found someone that didn't pull punches with the science, and who actually had a grasp on character development. Let's face it, Clarke was rarely about character development. Most of the character development (actually, much of the text) in later books like Cradle and the Rama series' last three books was Gentry Lee's doing--Clarke advised on the science, and said as much in at least one place. I grew very disenchanted when 2061 essentially was worthless as part of the series except for the last four chapters. The quality of his writing went severely downhill in general at about that time. And while he may have had great fun writing 3001 (his first -solo- book in -years-, having let Gentry Lee write much of the last three Rama books and having just given synopses to other authors to flesh out into full works [Stephen Baxter, Mike McQuay, etc.]), it was also a huge letdown that focused yet again on Clarke's increasingly myopic vision of what would be possible in the distant future, rather than revolving around the actual plot as much as it should have, especially for a series' conclusion. Vintage Clarke was great. But he definitely faded well before his death, IMNSHO. I prefer to remember him for Childhood's End, the first Rama book, Songs of Distant Earth, and other older works, rather than his later disappointments and sometimes-disastrous collaborations (*cough* Garden of Rama *cough* ...the bastard child of the series). But even then, when you compare against other authors in the genre, you start to see that Clarke's science wasn't nearly as hard as other authors', and with lacking character development, he suddenly starts looking rather a shallow author. Still...I do have my favourite Clarke treasures that will remain untarnished. Just have to accept them for what they are. mark-> From brian at aljex.com Sat Dec 26 17:45:06 2009 From: brian at aljex.com (Brian K. White) Date: Sat, 26 Dec 2009 20:45:06 -0500 Subject: OT: Clarke (was - Re: Possible customer) In-Reply-To: <20091226184710.A7529@iglou.com> References: <4B320A33.30304@fptech.com> <4B321BC6.2040509@aljex.com> <20091223083745.A25658@iglou.com> <004b01ca867f$b15114d0$13f33e70$@com> <20091226184710.A7529@iglou.com> Message-ID: <4B36BC22.9000608@aljex.com> Fairlight wrote: > With neither thought nor caution, George blurted: >> He died last year, 2008, he was 90 years old. > > ... The quality of his writing went > severely downhill in general at about that time. He also was a very poor writer when he was 5. I take the man as a whole and admire the hell out of him. -- bkw From ScottWalker at RAMSystemsCorp.com Sat Dec 26 19:55:56 2009 From: ScottWalker at RAMSystemsCorp.com (Scott Walker) Date: Sat, 26 Dec 2009 22:55:56 -0500 Subject: help with import concept Message-ID: <000601ca86a8$7f5d9e70$7e18db50$@com> Jeff, Are you still selling JHImport. I have a file to import into fp from Excel and I was thinking of giving it a try. 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/20091226/fe1ef54e/attachment.html From jeffaharrison at yahoo.com Sun Dec 27 10:09:28 2009 From: jeffaharrison at yahoo.com (Jeff Harrison) Date: Sun, 27 Dec 2009 10:09:28 -0800 (PST) Subject: help with import concept In-Reply-To: <000601ca86a8$7f5d9e70$7e18db50$@com> Message-ID: <883756.42216.qm@web50707.mail.re2.yahoo.com> --- On Sat, 12/26/09, Scott Walker wrote: > Jeff, > > ? > > Are you still selling JHImport.? > I have a file to import > into fp from Excel and I was thinking of giving it a > try. > > ? > > Regards, > > ? > > Scott > > ? > > ? > > Scott Walker > > RAM Systems Corp > > (704) 896-6549 > > ScottWalker at RAMSystemCorp.com > > ? Hi Scott. Thanks for asking - Yes, JHImport is still available for sale for $49.95. For your Excel file, you would first need to go into Excel and save the file out as .csv or an other delimited file type. JHImport then provides you with an easy visual interface that will walk you through the import process. It also saves the results as a filepro processing table so that you later run automated imports. I'll forward you additional details in a private email. Regards, Jeff jeffaharrison at yahoo.com Author of JHImport and JHExport. The fastest and easiest ways to import and export filepro data. From scott at logicdatasystems.com Thu Dec 31 10:47:28 2009 From: scott at logicdatasystems.com (Scott Nelson) Date: Thu, 31 Dec 2009 12:47:28 -0600 Subject: mutt in filepro and file permission Message-ID: <4B3CF1C0.9000302@logicdatasystems.com> filePro 5.0.13 on SCO 6 I am trying to use mutt on a system line in filePro to send an email with a PDF attachment. The PDF file is on a shared drive and is created by a windows program and it get;s the permission of the username that is logged into windows. Even though the shared folder is owned by filePro, using a chmod on the system line will not change the permissions, and mutt will not pickup the file to attach. I need to change the permission on the PDF file, or perhaps do a script that filePro will call that will run mutt, keeping the same user name as who is logged in and using filePro to be the from name. The PDF file is Not created by the user, but by a different filename and a program that runs on windows as that other user. I hope that my ramblings are clear, and I accept all ideas graciously. Happy New Year to All. Scott From appl at jpr.com Thu Dec 31 12:32:07 2009 From: appl at jpr.com (Jean-Pierre A. Radley) Date: Thu, 31 Dec 2009 15:32:07 -0500 Subject: mutt in filepro and file permission In-Reply-To: <4B3CF1C0.9000302@logicdatasystems.com> References: <4B3CF1C0.9000302@logicdatasystems.com> Message-ID: <20091231203207.GA17541@jpradley.jpr.com> Scott Nelson propounded (on Thu, Dec 31, 2009 at 12:47:28PM -0600): | filePro 5.0.13 on SCO 6 | | I am trying to use mutt on a system line in filePro to send an email | with a PDF attachment. The PDF file is on a shared drive and is created | by a windows program and it get;s the permission of the username that is | logged into windows. Even though the shared folder is owned by filePro, | using a chmod on the system line will not change the permissions, and | mutt will not pickup the file to attach. | | I need to change the permission on the PDF file, or perhaps do a script | that filePro will call that will run mutt, keeping the same user name as | who is logged in and using filePro to be the from name. The PDF file is | Not created by the user, but by a different filename and a program that | runs on windows as that other user. | | I hope that my ramblings are clear, and I accept all ideas graciously. Telling mutt to fake the From: header is no big deal, either by setting EMAIL in mutt's enfivronment, or setting "from" in the invoker's .muttrc. A file's permissions can be changed only by its owner (and of course by root). So exactly what permissions does the PDF file have? -- JP From richard at axzas.com Thu Dec 31 12:44:29 2009 From: richard at axzas.com (Richard D. Williams) Date: Thu, 31 Dec 2009 14:44:29 -0600 (CST) Subject: mutt in filepro and file permission Message-ID: <2382.70.140.77.130.1262292269.squirrel@webmail.modwest.com> Scott, Yes, you can use a system command within filepro to set the permissions . (fn is the filename) Just use, system "chmod 755" filePro 5.0.13 on SCO 6 > > I am trying to use mutt on a system line in filePro to send an email > with a PDF attachment. The PDF file is on a shared drive and is created > by a windows program and it get;s the permission of the username that is > logged into windows. Even though the shared folder is owned by filePro, > using a chmod on the system line will not change the permissions, and > mutt will not pickup the file to attach. > > I need to change the permission on the PDF file, or perhaps do a script > that filePro will call that will run mutt, keeping the same user name as > who is logged in and using filePro to be the from name. The PDF file is > Not created by the user, but by a different filename and a program that > runs on windows as that other user. > > I hope that my ramblings are clear, and I accept all ideas graciously. > > Happy New Year to All. > > Scott > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > > > From john at valar.com Thu Dec 31 15:17:02 2009 From: john at valar.com (John Esak) Date: Thu, 31 Dec 2009 18:17:02 -0500 Subject: mutt in filepro and file permission In-Reply-To: <4B3CF1C0.9000302@logicdatasystems.com> Message-ID: <200912312315.nBVNFqpr008432@admin114.securesites.net> Hey Scott, One trick is the following. You seem to know when this file is being created by some other filePro app. When the file is created, change its permissions then and there. That way the "owning" process also releases its ownership or sets permissions appropriately for subsequent processes with different access. So, I usually put the releasing code or modifying code right in the same SYSTEM command that creates the file in the first place. Something like: then: system ">/tmp/myfile; chmod 755 /tmp/myfile" You could do a chown as well here, but why bother? If all the users can read the file that is usually enough, but you can alter it any way you want because you just created it." Now, when your next program comes along it will have no problem accessing the file. You nip the problem off in the "bud" stage so to speak. If you are using file I/O to make the file or any other function... Just be sure to get the permissions right with a separate SYSTEM call while you are in that process. The smart thing to do would be to create() or open() the file... Fill it with whatever goes in it.... Close() it... Then run a system command to set its permissions to allow the access you want. Doing it at creation time saves a lot of hassle later. John Side note about xfer: Too bad this can't be done when "xfer'ing" a file. If you happen to be logged in to a Unix system as filePro, and you use the -lf function to dump the output into a file... It gets created all owned and restricted to the filePro user. Usually, when you try and get that file off the Unix system from the Windows system, a complaint is thrown up about not being able to do it. So, always change the files created with xfer to have more open permissions, before you try and grab them from a Unix share onto your Windows box. > -----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 Scott Nelson > Sent: Thursday, December 31, 2009 1:47 PM > To: filePro Mailing List > Subject: mutt in filepro and file permission > > filePro 5.0.13 on SCO 6 > > I am trying to use mutt on a system line in filePro to send an email > with a PDF attachment. The PDF file is on a shared drive and > is created > by a windows program and it get;s the permission of the > username that is > logged into windows. Even though the shared folder is owned > by filePro, > using a chmod on the system line will not change the permissions, and > mutt will not pickup the file to attach. > > I need to change the permission on the PDF file, or perhaps > do a script > that filePro will call that will run mutt, keeping the same > user name as > who is logged in and using filePro to be the from name. The > PDF file is > Not created by the user, but by a different filename and a > program that > runs on windows as that other user. > > I hope that my ramblings are clear, and I accept all ideas graciously. > > Happy New Year to All. > > Scott > _______________________________________________ > Filepro-list mailing list > Filepro-list at lists.celestial.com > http://mailman.celestial.com/mailman/listinfo/filepro-list > From fairlite at fairlite.com Thu Dec 31 18:15:57 2009 From: fairlite at fairlite.com (Fairlight) Date: Thu, 31 Dec 2009 21:15:57 -0500 Subject: mutt in filepro and file permission In-Reply-To: <200912312315.nBVNFqpr008432@admin114.securesites.net>; from john@valar.com on Thu, Dec 31, 2009 at 06:17:02PM -0500 References: <4B3CF1C0.9000302@logicdatasystems.com> <200912312315.nBVNFqpr008432@admin114.securesites.net> Message-ID: <20091231211557.A14021@iglou.com> >From inside the gravity well of a singularity, John Esak shouted: > then: system ">/tmp/myfile; chmod 755 /tmp/myfile" > > You could do a chown as well here, but why bother? If all the users can read > the file that is usually enough, but you can alter it any way you want > because you just created it." You can't do a meaningful chown on anything except SCO, John. It wouldn't work on Linux, Solaris, etc. Users other than root may not chown files away from themselves, as it would be an easy way to bypass filesystem quotas. You'd be able to create a couple gig file, make it world-readable, and chown it to someone else, freeing up space under your own quota. There are other reasons why normal users cannot chown away from themselves, but that's a primary one. The only *nix I know of that still allows this kind of behaviour is SCO. Fortunately, the OP is actually on SCO. But if ever one migrated...*poof*. mark-> -- Audio panton, cogito singularis,