X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-client-man.xml;h=1114339cbce50931215eb15314cf2fb929a05dc5;hb=797335bc656ffda99eddacfb5fdf344f716c5f80;hp=c9e9a8b778f46e66078f4e0aafe20112cd362760;hpb=245a9ee60bf478011acf24aaa235a4ca7c575bf8;p=yaz-moved-to-github.git diff --git a/doc/yaz-client-man.xml b/doc/yaz-client-man.xml index c9e9a8b..1114339 100644 --- a/doc/yaz-client-man.xml +++ b/doc/yaz-client-man.xml @@ -1,8 +1,19 @@ - + + %local; + + %entities; + + %idcommon; ]> - + + + YAZ + &version; + yaz-client @@ -11,58 +22,76 @@ yaz-client - Z39.50/SRW client for implementors + Z39.50/SRU client for implementors yaz-client - + - + + + + + - - + addr - DESCRIPTION - - yaz-client is a Z39.50/SRW client (origin) with a - simple command line interface that allows you to test behavior and - performance of Z39.50 targets and SRW servers. - - - If the addr is specified, the client creates - a connection to the Z39.50/SRW target at the address. - - + DESCRIPTION + + yaz-client is a Z39.50/SRU client (origin) with a + simple command line interface that allows you to test behavior and + performance of Z39.50 targets and SRU servers. + + + If the addr is specified, the client creates + a connection to the Z39.50/SRU target at the address given. + + + When yaz-client is started it tries to read + commands from one of the following files: + + + Command file if it is given by option -f. + + + .yazclientrc in current working directory. + + + .yazclientrc in the user's home directory. + The value of the HOME is used to determine + the home directory. Normally, HOME is only set + on POSIX systems such as Linux, FreeBSD, Solaris. + + + + OPTIONS - -m filename - - If specified, retrieved records will be appended to the file given. - - - -a filename If specified, logging of protocol packages will be appended - file given. The special filename - - (dash) denotes standard output. + file given. If filename is + specified as -, the output is written + to stdout. - -u auth + -b filename - If specified, the auth string - will be used for authentication. + If specified, YAZ will dump BER data in readable notation + to the file specified. If filename + is specified as - the output is written + to stdout. @@ -73,18 +102,21 @@ - -q filename + -d dump - If specified, CQL configuration will be read from - the file given. + If specified, YAZ will dump BER data for all PDUs sent and received + to individual files, named + dump.DDD.raw, + where DDD is 001, 002, 003, .. - -p addr + -f cmdfile - If specified, the client will use the proxy at the address - given. + Reads commands from cmdfile. When + this option is used, YAZ client does not read .yazclientrc + from current directory or home directory. @@ -95,14 +127,46 @@ Request in kilobytes. Default value is 1024 (1 MB). - - -x - - Makes the YAZ client print hex dumps of packages sent and received - on standard output. + -m filename + + If specified, retrieved records will be appended to the file given. + + -p addr + + If specified, the client will use the proxy at the address + given. + + + + -q filename + + If specified, CQL configuration will be read from + the file given. + + + + -u auth + + If specified, the auth string + will be used for authentication. + + + + -V + + Prints YAZ version. + + + + -x + + Makes the YAZ client print hex dumps of packages sent and received + on standard output. + + @@ -116,6 +180,12 @@ yaz-<version>/client/client.c + + $HOME/.yazclientrc + + + $HOME/.yazclient.history + SEE ALSO @@ -134,7 +204,7 @@ Section "Common Command Language" in the YAZ manual. - Section "Common QUery Language" in the YAZ manual. + Section "Common Query Language" in the YAZ manual.