X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=doc%2Fclient.xml;fp=doc%2Fclient.xml;h=48c699df52d0e8a528849b47dcae33f186d132ae;hp=92b38608bb66bebdd3d47ffbfbc5d9e7206833bc;hb=d82eeac05d2899fa30704e2c40e9dd603ff2c581;hpb=886a6a270e909137e3127ac4ce37c152a6e81c70 diff --git a/doc/client.xml b/doc/client.xml index 92b3860..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. @@ -80,7 +90,7 @@ - -u authentication + -u auth Specifies authentication. Usually the form user/password @@ -90,7 +100,7 @@ - -k kilobytes + -k size Specifies the maximum messages size in kilobytes. The default maximum messages for the YAZ client is 1024 @@ -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>]