On 16 Jul, 20:39, kuhrt.nospa...@encompasserve.org (Marty Kuhrt)
wrote:
> The latest version of cURL, 7.16.4, has been released for OpenVMS
> and is available for download.
>
> The location ishttp://curl.haxx.se/download.html#VMS
>
> This is the binary and object library distribution of the cURL
> 7.16.4 release. See the readme.vms file in the zip for usage
> information. The zip files contain executables and objects built
> with OpenSSL, hpSSL and without SSL support. The files are in
> architecture specific zips.
>
> The OpenSSL and noSSL versions are self-contained in that you can
> run these programs without any other software on the system. For
> the hp SSL version, you will need to have hp's matching SSL product
> installed.
>
> HW Type VMS Version Compiler Vers SSL Library Filenames
> --------+-------------+---------------+----------------+-----------
> Alpha | OpenVMS 7.3 | DEC C 6.5-001 | OpenSSL 0.9.8d | .*_openssl
> Alpha | OpenVMS 7.3 | DEC C 6.5-001 | hpSSL 1.3 | .*_hpssl
> Alpha | OpenVMS 7.3 | DEC C 6.5-001 | No SSL support | .*_nossl
> IA64 | OpenVMS 8.3 | HP C V7.3-33 | OpenSSL 0.9.7d | .*_openssl
> IA64 | OpenVMS 8.3 | HP C V7.3-33 | hp SSL 1.3 | .*_hpssl
> IA64 | OpenVMS 8.3 | HP C V7.3-33 | No SSL support | .*_nossl
> VAX | OpenVMS 7.3 | DEC C 6.4-005 | OpenSSL 0.9.8d | .*_openssl
> VAX | OpenVMS 7.3 | DEC C 6.4-005 | hpSSL 1.1-B | .*_hpssl
> VAX | OpenVMS 7.3 | DEC C 6.4-005 | No SSL support | .*_nossl
>
> For those who don't know what cURL is, here is the blurb from their main
> page...
>
> Curl is a command line tool for transferring files with
> URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER,
> TELNET, DICT, FILE and LDAP. Curl supports HTTPS
> certificates, HTTP POST, HTTP PUT, FTP uploading,
> kerberos, HTTP form based upload, proxies, cookies,
> user+password authentication, file transfer resume, http
> proxy tunneling and a busload of other useful tricks.
>
> I haven't tested all the features, since I only use the library for
> HTTP(S) stuff via C programs. It does compile and link cleanly on all
> the platforms outlined above.
>
> Some of the changes I made in the VMS specific directories didn't
> get included in the distribution in time for the 7.16.4 sources.
> If you build from scratch, you may want to get the latest files from
> the packages/vms directory from the CVS repository. The curl.h file
> was updated, but I didn't get the VMS message files updated until
> after the release.


Marty,

Thanks for your continued efforts with curl.

If there is an existing file, then a new curl output file appears to
inherit some of its charactistics.

In the example below the original output file ;1 is as I would expect,
the ;3 version has one char per line which isn't so useful,
essentially the same curl command can give different output depending
on what is already in the directory.

I have a workaround, but any chance of fixing this up?

$ curl --version
curl 7.16.4 (ALPHA-HP-VMS) libcurl/7.16.4
Protocols: tftp ftp telnet dict http file
%CURL-E-FAILED_INIT, failed init
$
$ write sys$output f$gets("version")
V8.3
$
$ curl "http://curl.haxx.se/" -o curl.lis
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
100 13381 100 13381 0 0 8363 0 0:00:01 0:00:01
--:--:-- 11849
$
$ cre curl.lis;2
anything
Exit
$
$ curl "http://curl.haxx.se/" -o curl.lis
% Total % Received % Xferd Average Speed Time Time
Time Current
Dload Upload Total Spent
Left Speed
100 13381 100 13381 0 0 7846 0 0:00:01 0:00:01
--:--:-- 10870
$
$ pip dir/fu curl.lis | sea sys$pipe ";","record form"
CURL.LIS;3 File ID: (4753,47303,0)
Record format: Variable length, maximum 0 bytes, longest 1 byte
CURL.LIS;2 File ID: (4530,56286,0)
Record format: Variable length, maximum 0 bytes, longest 8 bytes
CURL.LIS;1 File ID: (3492,27367,0)
Record format: Stream_LF, maximum 0 bytes, longest 32767 bytes
$

Thanks

Alex