-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN"
- "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
-<!ENTITY zoomsh-commands SYSTEM "zoomsh-commands.xml">
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
+[
+ <!ENTITY % local SYSTEM "local.ent">
+ %local;
+ <!ENTITY % entities SYSTEM "entities.ent">
+ %entities;
+ <!ENTITY % idcommon SYSTEM "common/common.ent">
+ %idcommon;
]>
-<!-- $Id: zoomsh-man.xml,v 1.2 2006-04-24 12:41:01 marc Exp $ -->
<refentry id="zoomsh">
-
+ <refentryinfo>
+ <productname>YAZ</productname>
+ <productnumber>&version;</productnumber>
+ <info><orgname>Index Data</orgname></info>
+ </refentryinfo>
+
<refmeta>
<refentrytitle>zoomsh</refentrytitle>
<manvolnum>1</manvolnum>
+ <refmiscinfo class="manual">Commands</refmiscinfo>
</refmeta>
-
+
<refnamediv>
<refname>zoomsh</refname>
<refpurpose>ZOOM shell</refpurpose>
<refsynopsisdiv>
<cmdsynopsis>
<command>zoomsh</command>
+ <arg choice="opt"><option>-a <replaceable>apdufile</replaceable></option></arg>
+ <arg choice="opt"><option>-e</option></arg>
+ <arg choice="opt"><option>-v <replaceable>loglevel</replaceable></option></arg>
<arg choice="opt" rep="repeat">commands</arg>
</cmdsynopsis>
</refsynopsisdiv>
</para>
<para>
You may pass one or more commands to <command>zoomsh</command>.
- These commands are invoked first.
+ These commands are invoked first.
</para>
</refsect1>
+
+ <refsect1>
+ <title>OPTIONS</title>
+ <variablelist>
+ <varlistentry>
+ <term>-a <replaceable>apdufile</replaceable></term>
+ <listitem><para>
+ Logs protocol packages into apdufile (APDU log).
+ </para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-e</term>
+ <listitem><para>
+ Makes zoomsh stop processing commands as soon as an error occur.
+ The exit code of zoomsh is 1 if error occurs; 0 otherwise.
+ </para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term>-v <replaceable>loglevel</replaceable></term>
+ <listitem><para>
+ Sets YAZ log level to <replaceable>loglevel</replaceable>.
+ </para></listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect1>
<refsect1><title>EXAMPLES</title>
<para>
If you start the <command>yaz-ztest</command> in one console you
localhost:9999: 7 hits
ZOOM>show 0 1
1 Default USmarc
-001 11224466
+001 11224466
003 DLC
005 00000000000000.0
-008 910710c19910701nju 00010 eng
-010 $a 11224466
+008 910710c19910701nju 00010 eng
+010 $a 11224466
040 $a DLC $c DLC
050 00 $a 123-xyz
100 10 $a Jack Collins
</refsect1>
<refsect1><title>COMMANDS</title>
<variablelist>
-
+
<varlistentry><term><literal>connect</literal>
<replaceable>zurl</replaceable></term>
<listitem><para>
Connects to the target given by <replaceable>zurl</replaceable>.
</para></listitem></varlistentry>
-
+
<varlistentry><term><literal>close</literal>
[<replaceable>zurl</replaceable>]</term>
<listitem><para>
<replaceable>zurl</replaceable> or all targets if
<replaceable>zurl</replaceable> was omitted.
</para></listitem></varlistentry>
-
+
<varlistentry><term><literal>show</literal>
[<replaceable>start</replaceable>
[<replaceable>count</replaceable>]]
by <replaceable>start</replaceable>. First records has offset 0
(unlike the Z39.50 protocol).
</para></listitem></varlistentry>
-
+
<varlistentry><term><literal>quit</literal>
</term>
<listitem><para>
Quits <command>zoomsh</command>.
</para></listitem></varlistentry>
-
+
<varlistentry><term><literal>set</literal>
<replaceable>name</replaceable>
[<replaceable>value</replaceable>]
Sets option <replaceable>name</replaceable> to
<replaceable>value</replaceable>.
</para></listitem></varlistentry>
-
+
<varlistentry><term><literal>get</literal>
<replaceable>name</replaceable>
</term>
<listitem><para>
Prints value of option <replaceable>name</replaceable>.
</para></listitem></varlistentry>
-
+
<varlistentry><term><literal>help</literal>
</term>
<listitem><para>
Prints list of available commands.
</para></listitem></varlistentry>
-
+
</variablelist>
-
+
</refsect1>
<refsect1><title>SEE ALSO</title>
<para>
</para>
</refsect1>
</refentry>
-<!-- Keep this Emacs mode comment at the end of the file
+
+<!-- Keep this comment at the end of the file
Local variables:
mode: nxml
+nxml-child-indent: 1
End:
-->