File: ReadMe.txt

package info (click to toggle)
tclcurl 0.9.5-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 764 kB
  • ctags: 222
  • sloc: ansic: 1,804; tcl: 712; sh: 212; makefile: 42
file content (64 lines) | stat: -rw-r--r-- 1,761 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
TclCurl - get a URL with FTP, TELNET, LDAP, GOPHER, DICT, FILE, HTTP or HTTPS syntax.

TclCurl gives the Tcl programmer access to the facilities of libcurl, for more information
about what libcurl is capable of check http://curl.haxx.se.

To make type:

      ./configure
      make
      make install

The configure script will deduce $PREFIX from the tcl installation.
The generated Makefile uses the file $PREFIX/lib/tclConfig.sh that was left by
the make of tcl for most of its configuration parameters.

In Windows, it is a bit more complicated and the scripts are not yet done, so
if you need to compile, please let me know, I will try to give some sane 
instructions on how to do it.

Troubleshooting

If the configure script doesn't detect Tcl even though it is there, it
is probably because there is no 'tclConfig.sh' file, maybe you need
to install a 'tcl-devel' package or maybe it would be a good idea
to download Tcl/Tk 8.3.4, which  has just been released, and install that.

Red Hat 7.2 notice

I don't know why, but TclCurl won't compile right with the Tcl/Tk shipped
with Red Hat 7.2, if you want to use TclCurl, you will have to installed
a new version yourself, after all version 8.3.4 has just been released so
you can give it a try, or you can download the rpm package.

Usage:

    package require TclCurl

    set curlHandle [curl::init]

    curlHandle perform

    curlHandle getinfo curlinfo_option

    curlHandle duphandle

    curlhandle cleanup

    curl::transfer

    curl::version

    curl::escape url

    curl::unescape url

    curl::curlConfig option

Check the man page for details.


Written by:  Andres Garcia (fandom@retemail.es)

Use at your own risk.  No support.
BSD like license, check 'license.terms' for details.