updated the zebrasrv man page by copying relevant files over from yaz documentation...
[idzebra-moved-to-github.git] / doc / zebrasrv-man.sgml
index df75b76..be6c446 100644 (file)
@@ -1,5 +1,15 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
-<!-- $Id: zebrasrv-man.sgml,v 1.2 2002-10-08 09:10:49 adam Exp $ -->
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
+     <!ENTITY zebrasrv-synopsis SYSTEM "zebrasrv-synopsis.xml">
+     <!ENTITY zebrasrv-options SYSTEM "zebrasrv-options.xml">
+     <!ENTITY zebrasrv-virtual SYSTEM "zebrasrv-virtual.xml">
+     <!ENTITY gfs-synopsis-app "zebrasrv">
+     <!ENTITY reference-tools-cql-map 'section "Specifiction of CQL to RPN mappings"'>
+]>
+
+     <!-- <!ENTITY zebrasrv-commands SYSTEM "zebrasrv-commands.xml"> -->
+
+
+<!-- $Id: zebrasrv-man.sgml,v 1.3 2005-08-05 14:39:12 marc Exp $ -->
 <refentry id="zebrasrv">
  
  <refmeta>
@@ -13,6 +23,7 @@
  </refnamediv>
  
  <refsynopsisdiv>
+  <!--
   <cmdsynopsis>
    <command>zebrasrv</command>
    <arg choice="opt"><option>-a <replaceable>file</replaceable></option></arg>
    <arg choice="opt"><option>-ziST1</option></arg>
    <arg choice="opt" rep="repeat">listener-spec</arg>
   </cmdsynopsis>
-  
+  -->
+  &zebrasrv-synopsis;
  </refsynopsisdiv>
   <refsect1><title>DESCRIPTION</title>
    <para>
-    <command>zebrasrv</command> is a Z39.50 server for Zebra.
+    <command>zebrasrv</command> is a Z39.50 and SRW/U server for Zebra.
     On Unix you can run the server from the command line - and put it
     in the background. It may also operate under the inet daemon.
     On WIN32 you can run the server as a console application or
     as a WIN32 Service.
    </para>
   </refsect1>
+ <!--
+ <refsect1>
+   <title>COMMANDS</title>
+  &zebrasrv-commands;
+ </refsect1>
+ -->
   <refsect1>
    <title>OPTIONS</title>
+    
    <para>
     The options for <command>zebrasrv</command> are the same
     as those for YAZ' <command>yaz-ztest</command>.
     Option <literal>-c</literal> specifies a Zebra configuration
     file - if omitted <filename>zebra.cfg</filename> is read.
    </para>
+   
+  &zebrasrv-options;
+  </refsect1>
+  <refsect1><title>VIRTUAL HOSTS</title>
+    <para>
+     <command>zebrasrv</command>uses the YAZ server
+    </para>
+    &zebrasrv-virtual;
   </refsect1>
   <refsect1><title>FILES</title>
    <para>
    </para>
    <para>
     Section "The Z39.50 Server" in the Zebra manual.
+    <filename>http://www.indexdata.dk/zebra/doc/server.tkl</filename>
+   </para>
+   <para>
+    Section "Virtual Hosts" in the YAZ manual.
+    <filename>http://www.indexdata.dk/yaz/doc/server.vhosts.tkl</filename>
+   </para>
+   <para>
+    Section "Specification of CQL to RPN mappings" in the YAZ manual.
+    <filename>http://www.indexdata.dk/yaz/doc/tools.tkl#tools.cql.map</filename>
    </para>
   </refsect1>
 </refentry>