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.3 2004-09-22 19:22: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>
33 <refsect1><title>DESCRIPTION</title>
35 <command>yaz-client</command> is a Z39.50/SRW client (origin) with a
36 simple command line interface that allows you to test behavior and
37 performance of Z39.50 targets and SRW servers.
40 If the <replaceable>addr</replaceable> is specified, the client creates
41 a connection to the Z39.50/SRW target at the address.
45 <title>OPTIONS</title>
48 <term>-m <replaceable>filename</replaceable></term>
50 If specified, retrieved records will be appended to the file given.
54 <term>-a <replaceable>filename</replaceable></term>
56 If specified, logging of protocol packages will be appended
57 file given. The special filename <literal>-</literal>
58 (dash) denotes standard output.
62 <term>-u <replaceable>auth</replaceable></term>
64 If specified, the <replaceable>auth</replaceable> string
65 will be used for authentication.
69 <term>-c <replaceable>filename</replaceable></term>
71 If specified, CCL configuration will be read from
76 <term>-q <replaceable>filename</replaceable></term>
78 If specified, CQL configuration will be read from
84 <term>-p <replaceable>addr</replaceable></term>
86 If specified, the client will use the proxy at the address
92 <term>-k <replaceable>size</replaceable></term>
94 Sets preferred messages and maximum record size for Initialize
95 Request in kilobytes. Default value is 1024 (1 MB).
102 Makes the YAZ client print hex dumps of packages sent and received
109 <title>COMMANDS</title>
111 The YAZ client accepts the following commands.
113 &yaz-client-commands;
115 <refsect1><title>FILES</title>
117 <filename>yaz-<version>/client/client.c</filename>
120 <refsect1><title>SEE ALSO</title>
123 <refentrytitle>yaz</refentrytitle>
124 <manvolnum>7</manvolnum>
128 Section "The YAZ Client" in the YAZ manual.
131 Section "Prefix Query Format" in the YAZ manual.
134 Section "Common Command Language" in the YAZ manual.
137 Section "Common QUery Language" in the YAZ manual.
142 <!-- Keep this comment at the end of the file
147 sgml-minimize-attributes:nil
148 sgml-always-quote-attributes:t
151 sgml-parent-document:nil
152 sgml-local-catalogs: nil
153 sgml-namecase-general:t