Re: [U2] wGet new failure
Windows XP was not involved. This is running on Windows Server 2003. I cured the problem. I wrote a .VBS Script that calls wget and renames the resultant item name and I use a uvRunCommand on it and it works perfectly. At 6/25/2009 01:28 PM, you wrote: Stick a carat before each ampersand for Windows command line commands. Win XP+ do not work exactly the same way, in terms of command line, as the old DOS based command shells. Glen Batchelor IT Director All-Spec Industries phone: (910) 332-0424 fax: (910) 763-5664 E-mail: webmas...@all-spec.com Web: http://www.all-spec.com Blog: http://blog.all-spec.com -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of u2list0...@curt.com Sent: Thursday, June 25, 2009 10:14 AM To: U2 Users List Subject: Re: [U2] wGet new failure ok, I tried this method and I am back to my original problem. When it executes the DOS /c (I am running Win Server 2k3), it never comes back to me It hangs until I End Task on CMD.EXE At 6/25/2009 10:04 AM, you wrote: Thanks George, I'll try that method now. At 6/25/2009 09:34 AM, you wrote: I've used the following: 0047:SITE=http://wwwapps.ups.com/WebTracking/; 0048:PART1=OnlineTool?submit=TrackInquiryNumber1=:TRKID 0049:PART2=InquiryNumber2=InquiryNumber3=InquiryNumber4= 0050:PART3=InquiryNumber5=TypeOfInquiryNumber=T 0051:PART4=ups_HTML_License=:ACCESSKEY 0052:FULLREQ=SITE:PART1:PART2:PART3:PART4 0053:CMD='/usr/mbin/wget -q -O - ':FULLREQ:'' 0054:EXECUTE SH -c ':CMD:' CAPTURING JUNK 0055:HTML=JUNK The -q put in quiet mode, and the -O sends the output to a file, which in this case is - or STDOUT which gets captured by CAPTURING, and returned to UV George -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of u2list0...@curt.com Sent: Thursday, June 25, 2009 9:13 AM To: U2 Users List Subject: [U2] wGet question for Robert Porter Sorry, this is a re-post with a more specific subject I have opted for the wGet method. I give up trying to make any other version work. This one does with one very minor exception. I redirect the output to a type 1 file. Problem is, the filename it creates is 50 characters in length and I can't read or delete it from Universe. Is there an option somehow that I can't see that will let me specifically name that file it gets? At 6/23/2009 04:15 PM, you wrote: I should have mentioned that wget runs on Windows too. I've also heard of cURL. I'm not sure if we started doing stuff like this before cURL came out or not, it's just the particular tool we ended up using for that job and it's useful so we keep using it for more stuff as it comes up. It may or may not be as good as, or better than, cURL, but we haven't yet come across a need for functionality that isn't in wget. Maybe it's just me but I find the callHTTP stuff fiddly and obscure. Somehow it's usually easier to do an EXECUTE sh -c wget and capture the output to a file in a directory that's set up as a type 19 file. Dave Barrett, Lawyers' Professional Indemnity Company ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ Information from ESET NOD32 Antivirus, version of virus signature database 4183 (20090624) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com Curt Lashley 2803 North Boulevard Tampa, FL 33602 Cell: (813) 293-2878 or (800) 886-2878 Home: (813) 226-2878 or (800) 524-2878 Fax: (813) 229-2878 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ Information from ESET NOD32 Antivirus, version of virus signature database 4186 (20090624) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com Curt Lashley 2803 North Boulevard Tampa, FL 33602 Cell: (813) 293-2878 or (800) 886-2878 Home: (813) 226-2878 or (800) 524-2878 Fax: (813) 229-2878 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users __ Information from ESET NOD32 Antivirus, version of virus signature database 4188 (20090625) __ The
Re: [U2] uvRunCommand Question for Brian
IBM explained why the subroutine that Brian supplied was not working. My website was requiring a version of 1.1 not 1.0. Curt Lashley 2803 North Boulevard Tampa, FL 33602 Cell: (813) 293-2878 or (800) 886-2878 Home: (813) 226-2878 or (800) 524-2878 Fax: (813) 229-2878 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] wGet new failure
glad you got it working ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] wGet new failure
u2list0...@curt.com wrote: Windows XP was not involved. This is running on Windows Server 2003. I cured the problem. I wrote a .VBS Script that calls wget and renames the resultant item name and I use a uvRunCommand on it and it works perfectly. At 6/25/2009 01:28 PM, you wrote: Actually I think it's true for anything XP and newer, but I've not tried removing the carat on Vista. GlenB ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Web DE 4.4.2 release
The online U2 product matrix shows WebDE 4.4.2 for HP PA RISC was released this week. Any word on the itanium version? ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Program Comments/Documentation/Notes/Revision History
I've always commented my program at the beginning, but some programs have many changes and when we have 300+ lines of comments it gets a little tedious to deal with embedded in the source code. I'm think of placing them in an external file and then doing a $INSERT in the source code in order to tie them together. How do you handle the long comments? Thanks, David A. Green www.dagconsulting.com (480) 813-1725 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Program Comments/Documentation/Notes/Revision History
That might cause you problems if you use the u2 debugger. ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Program Comments/Documentation/Notes/Revision History
The notes for the changes are in the source control repo so the comments in the code are more to do with what it does rather than how it changed . -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of David A. Green Sent: 26 June 2009 17:50 To: 'U2 Users List' Subject: [U2] Program Comments/Documentation/Notes/Revision History I've always commented my program at the beginning, but some programs have many changes and when we have 300+ lines of comments it gets a little tedious to deal with embedded in the source code. I'm think of placing them in an external file and then doing a $INSERT in the source code in order to tie them together. How do you handle the long comments? Thanks, David A. Green www.dagconsulting.com (480) 813-1725 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Program Comments/Documentation/Notes/Revision History
Think about using xml for documentation in the source code, then some external tools can be used for documentation. *subRoutine to * modAdded to * mod Date . * mod Author Regards David Jordan ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Program Comments/Documentation/Notes/Revision History
From: David A. Green I've always commented my program at the beginning, but some programs have many changes and when we have 300+ lines of comments it gets a little tedious to deal with embedded in the source code. I'm think of placing them in an external file and then doing a $INSERT in the source code in order to tie them together. How do you handle the long comments? I've often thought of this as being a problem with both the language and the editors that we commonly use. Typical MV editors show all code. There is no provision for folding content or outlining. For example, in C# we can do this: #region Initialization // lots of comment lines here // variable definitions, code, etc #endregion In Visual Studio that collapses to a single line: +Initialization We can click the plus sign to open it up and see the entire section. Other editors support this feature for different languages. Code can be nested: #region Main Section #region Define Variables // definitions here #endregion vars #region Major Function 1 // code here #endregion functions #endregion main Again, that collapses to something like this: #region Main Section + Define Variables + Major Function 1 + Major Function 2 #endregion main Or collapses entirely to: + Main Section But with MV BASIC the language doesn't support this unless we use a pre-processor, and even then we don't have editors that recognize the constructs. The best we can do is to use something like this: *!+ This starts a region * code here *!- This ends the region But then we need an editor to support it. And that brings me to... a minor rant I was writing a new MV Editor to support this and many other features highly desirable to MV developers. But as with many projects where people would inevitably demand a free solution I decided to put this project on the shelf indefinitely. It's just not worth it to try to improve our lot here. Since people are so fond of open source freeware I'll suggest that the source code is available for people to enhance to recognize code as defined above. That's the spirit of open source - we're supposed to give as much as take. If no one wants to enhance one of the fine FOSS utilities out there, then it seems we'll simply never have the functionality. People all too often confuse free=liberty with free=beer. They want the software to be free-of-charge but we rarely see people publishing MV-specific enhancements to open source code as a contribution to the community. It's this condition that causes us to continually lose sites to the mainstream world as people wonder why our development practices are so primitive. C'est la vie. / Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
Re: [U2] Program Comments/Documentation/Notes/Revision History
Tony, Whilst I appreciate the structural tags I'd suggest that they are not needed. It doesn't take too much thought to recognise the self-bounding regions Label: -- return For -- next If -- else -- end Loop -- repeat Begin case -- case -- end case There are some funny possibilities with read/locked|then|else Whilst I appreciate the fine grained control your suggestion provides, my faith in programmers generally following this standard is low, and providing people haven't employed a single, linear top-down approach to their programming, I think most (all) of the collapsible regions could be derived directly from the code with minimal effort Ross Ferris Stamina Software Visage Better by Design! -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users- boun...@listserver.u2ug.org] On Behalf Of Tony G Sent: Saturday, 27 June 2009 8:27 AM To: u2-users@listserver.u2ug.org Subject: Re: [U2] Program Comments/Documentation/Notes/Revision History From: David A. Green I've always commented my program at the beginning, but some programs have many changes and when we have 300+ lines of comments it gets a little tedious to deal with embedded in the source code. I'm think of placing them in an external file and then doing a $INSERT in the source code in order to tie them together. How do you handle the long comments? I've often thought of this as being a problem with both the language and the editors that we commonly use. Typical MV editors show all code. There is no provision for folding content or outlining. For example, in C# we can do this: #region Initialization // lots of comment lines here // variable definitions, code, etc #endregion In Visual Studio that collapses to a single line: +Initialization We can click the plus sign to open it up and see the entire section. Other editors support this feature for different languages. Code can be nested: #region Main Section #region Define Variables // definitions here #endregion vars #region Major Function 1 // code here #endregion functions #endregion main Again, that collapses to something like this: #region Main Section + Define Variables + Major Function 1 + Major Function 2 #endregion main Or collapses entirely to: + Main Section But with MV BASIC the language doesn't support this unless we use a pre-processor, and even then we don't have editors that recognize the constructs. The best we can do is to use something like this: *!+ This starts a region * code here *!- This ends the region But then we need an editor to support it. And that brings me to... a minor rant I was writing a new MV Editor to support this and many other features highly desirable to MV developers. But as with many projects where people would inevitably demand a free solution I decided to put this project on the shelf indefinitely. It's just not worth it to try to improve our lot here. Since people are so fond of open source freeware I'll suggest that the source code is available for people to enhance to recognize code as defined above. That's the spirit of open source - we're supposed to give as much as take. If no one wants to enhance one of the fine FOSS utilities out there, then it seems we'll simply never have the functionality. People all too often confuse free=liberty with free=beer. They want the software to be free-of-charge but we rarely see people publishing MV-specific enhancements to open source code as a contribution to the community. It's this condition that causes us to continually lose sites to the mainstream world as people wonder why our development practices are so primitive. C'est la vie. / Tony Gravagno Nebula Research and Development TG@ remove.pleaseNebula-RnD.com ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users