X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=doc%2Fclient.xml;h=48c699df52d0e8a528849b47dcae33f186d132ae;hb=5a018835d3e6920aafca465862c37c2b2ba93a03;hp=3293dc9b2f93110731515537b3f1f10605145860;hpb=51d28a42486be5dd8bef3e09097d40eeacc94377;p=yaz-moved-to-github.git diff --git a/doc/client.xml b/doc/client.xml index 3293dc9..48c699d 100644 --- a/doc/client.xml +++ b/doc/client.xml @@ -1,4 +1,4 @@ - + The YAZ client Introduction @@ -16,15 +16,24 @@ It can be started by typing - - yaz-client [options] [zurl] - + + yaz-client + -m fname + -a fname + -c fname + -v level + -p target + -u auth + -k size + zurl + + in a UNIX shell / WIN32 console. The zurl, specifies a Z39.50 host and, if specified, the client first tries to establish connection with the Z39.50 target on the host. - Options are, as usual, are prefixed by - - followed by a particular letter. + Options are prefixed by - followed by a + particular letter. The following options are supported: @@ -66,6 +75,7 @@ debug, warn, log, + malloc, all, none. @@ -75,12 +85,12 @@ Specifies proxy address. When set YAZ client will connect to a proxy on the address and port given. - The actual target will be specifed as part of the InitRequest + The actual target will be specified as part of the InitRequest to inform the proxy about actual target. - -u authentication + -u auth Specifies authentication. Usually the form user/password @@ -90,10 +100,10 @@ - -k kilobytes + -k size Specifies the maximum messages size in kilobytes. - The default maxium messages for the YAZ client is 1024 + The default maximum messages for the YAZ client is 1024 (1 MB). @@ -114,6 +124,14 @@ yaz-client -a - localhost + + The following command connects to a local server via UNIX + socket /tmp/yaz and sets maximum message size to + 5 MB. + + + yaz-client -k 5120 unix:/tmp/yaz + Commands @@ -140,7 +158,7 @@ Syntax: - [(tcp|ssl)':']host + [(tcp|ssl|unix)':']host [:port][/base>]