X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-client-man.xml;h=aaf482428fa2850f6dd2fd2065da86f25bacfe47;hb=78786494a1fd16e59db481444e042737cabd5cd1;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..aaf4824 100644 --- a/doc/yaz-client-man.xml +++ b/doc/yaz-client-man.xml @@ -1,7 +1,7 @@ ]> - + @@ -17,14 +17,16 @@ yaz-client - + - + + + + - - + addr @@ -38,31 +40,36 @@ If the addr is specified, the client creates - a connection to the Z39.50/SRW target at the address. + a connection to the Z39.50/SRW target at the address given. - + + When yaz-client is invoked it attemps to read the + following files: + $HOME/.yazclientrc (home directory, Unix only) and + .yazclientrc (current directory - any platform) + For those files that are readable, the YAZ client executes commands + in those files. See COMMANDS section for description of commands. + + 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,13 +80,27 @@ - -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, .. + + + + -k size + + Sets preferred messages and maximum record size for Initialize + Request in kilobytes. Default value is 1024 (1 MB). + + + + -m filename + + If specified, retrieved records will be appended to the file given. - -p addr @@ -87,22 +108,33 @@ given. - - -k size + -q filename - Sets preferred messages and maximum record size for Initialize - Request in kilobytes. Default value is 1024 (1 MB). + If specified, CQL configuration will be read from + the file given. - - -x - - Makes the YAZ client print hex dumps of packages sent and received - on standard output. + -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 +148,12 @@ yaz-<version>/client/client.c + + .yazclientrc + + + $HOME/.yazclientrc + SEE ALSO @@ -134,7 +172,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.