X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fclient.xml;h=48c699df52d0e8a528849b47dcae33f186d132ae;hb=cf9f213fff1ae6b2471f8367114b93ae45ed8b75;hp=be1c227e59f5c2ae44b80ecb92db4555adea84ea;hpb=8f15e8046e0de12e8083ba941c60f854559cb6c3;p=yaz-moved-to-github.git diff --git a/doc/client.xml b/doc/client.xml index be1c227..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,8 +158,8 @@ Syntax: - [(tcp|ssl)':']host - [:port][/base>] + [(tcp|ssl|unix)':']host + [:port][/base>]