Hello Patrick, Thank you for your update of the OS400 status.
Running curl from QSH, I see output is a bit random. –version looks broken. –help is coming a bit, but options are missing. I would of think that if it was purely CCSID problem, then none of it would be readable. ----------- > curl --version cRP F $ > curl --help Usage: curl [options...] <url> This is not the full help, this menu is stripped into categories. Use "--help category" to get an overview of all categories. For all options use the manual or "--help all".$ > curl --help all Usage: curl [options...] <url> $ > curl --help http Usage: curl [options...] <url>h $ > curl --manual Warning: built-in manual was disabled at build-time $ ----------- With best regards Andrew From: curl-library <curl-library-boun...@lists.haxx.se> On Behalf Of Patrick Monnerat via curl-library Sent: Wednesday, July 24, 2024 1:58 PM To: curl-library@lists.haxx.se Cc: Patrick Monnerat <patr...@monnerat.net> Subject: [EXTERNAL] Re: CURL support of OS400 (IBMi) On 7/24/24 10: 55, Andrew Kirillovs via curl-library wrote: “The "curl" command and the test environment are currently not supported on OS/400. ” This comment should have been modified last year: - curl library is supported on OS400 since Aug On 7/24/24 10:55, Andrew Kirillovs via curl-library wrote: “The "curl" command and the test environment are currently not supported on OS/400.” This comment should have been modified last year: - curl library is supported on OS400 since Aug 23, 2007 (https://github.com/curl/curl/commit/557cc55f6f398c0cd02571c077d5c73156820513), - the cli tool since Aug 30, 2023 (https://github.com/curl/curl/commit/6f8d9cc4e9bd4b9c548453d75b660ca2b0d91154): your mail is the first feedback about it since then. - The test programs and dummy servers may be compiled but the test suite is not operational, being perl-driven. After following all build instructions and making sure QADRT in installed on the system, I see that output from “curl” command is unreadable. So, I was wondering if we are missing something in the way we build/run it, Yes, probably: I suspect a CCSID problem as it is always the case on this OS :-( I don't know how you have tested the curl command, but be aware that defining (matching) job/5250/files CCSIDs AND locale is of first importance. Don't rely on the FFFF CCSID, even if there is a default one. Obviously you did it right for compilation since you got the final objects. Likewise, since they run, this is a call time problem. or “curl” tool is missing OS400 support. The whole OS400 port does! Not from the current curl developer community that freely does more than what is reasonable for a niche/closed-source/commerial platform, but from the people/company that finally take advantages of it. Regards, Patrick Unless otherwise stated above: IBM United Kingdom Limited Registered in England and Wales with number 741598 Registered office: PO Box 41, North Harbour, Portsmouth, Hants. PO6 3AU
-- Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.html