1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
2 <!ENTITY yaz-client-commands SYSTEM "yaz-client-commands.xml">
4 <!-- $Id: yaz-client-man.xml,v 1.1 2003-10-27 12:21:24 adam Exp $ -->
5 <refentry id="yaz-client">
8 <refentrytitle>yaz-client</refentrytitle>
9 <manvolnum>1</manvolnum>
13 <refname>yaz-client</refname>
14 <refpurpose>Z39.50/SRW client for implementors</refpurpose>
19 <command>yaz-client</command>
20 <arg choice="opt"><option>-m <replaceable>filename</replaceable></option></arg>
21 <arg choice="opt"><option>-a <replaceable>filename</replaceable></option></arg>
22 <arg choice="opt"><option>-c <replaceable>filename</replaceable></option></arg>
23 <arg choice="opt"><option>-q <replaceable>filename</replaceable></option></arg>
24 <arg choice="opt"><option>-p <replaceable>addr</replaceable></option></arg>
25 <arg choice="opt"><option>-u <replaceable>auth</replaceable></option></arg>
26 <arg choice="opt"><option>-k <replaceable>size</replaceable></option></arg>
27 <arg choice="opt"><option>-x</option></arg>
28 <arg choice="opt">addr</arg>
32 <command>yaz-client-ssl</command>
33 <arg rep="repeat" choice="opt"><option>option</option></arg>
34 <arg choice="opt">addr</arg>
39 <refsect1><title>DESCRIPTION</title>
41 <command>yaz-client</command> is a Z39.50/SRW client (origin) with a
42 simple command line interface that allows you to test behavior and
43 performance of Z39.50 targets and SRW servers.
46 <command>yaz-client-ssl</command> is identical to
47 <command>yaz-client</command> except that it supports SSL transport.
50 If the <replaceable>addr</replaceable> is specified, the client creates
51 a connection to the Z39.50/SRW target at the address.
55 <title>OPTIONS</title>
58 <term>-m <replaceable>filename</replaceable></term>
60 If specified, retrieved MARC (ISO2709) records will
61 be appended to the file given.
65 <term>-a <replaceable>filename</replaceable></term>
67 If specified, logging of protocol packages will be appended
68 file given. The special filename <literal>-</literal>
69 (dash) denotes standard output.
73 <term>-u <replaceable>auth</replaceable></term>
75 If specified, the <replaceable>auth</replaceable> string
76 will be used for authentication.
80 <term>-c <replaceable>filename</replaceable></term>
82 If specified, CCL configuration will be read from
87 <term>-q <replaceable>filename</replaceable></term>
89 If specified, CQL configuration will be read from
95 <term>-p <replaceable>addr</replaceable></term>
97 If specified, the client will use the proxy at the address
103 <term>-k <replaceable>size</replaceable></term>
105 Sets preferred messages and maximum record size for Initialize
106 Request in kilobytes. Default value is 1024 (1 MB).
113 Makes the YAZ client print hex dumps of packages sent and received
120 <title>COMMANDS</title>
122 The YAZ client accepts the following commands.
124 &yaz-client-commands;
126 <refsect1><title>FILES</title>
128 <filename>yaz-<version>/client/client.c</filename>
131 <refsect1><title>SEE ALSO</title>
134 <refentrytitle>yaz</refentrytitle>
135 <manvolnum>7</manvolnum>
139 Section "The YAZ Client" in the YAZ manual.
142 Section "Prefix Query Format" in the YAZ manual.
145 Section "Common Command Language" in the YAZ manual.
148 Section "Common QUery Language" in the YAZ manual.
153 <!-- Keep this comment at the end of the file
158 sgml-minimize-attributes:nil
159 sgml-always-quote-attributes:t
162 sgml-parent-document:nil
163 sgml-local-catalogs: nil
164 sgml-namecase-general:t