Fixed bug #1157: yaz-client does not read .yazclientrc from current
[yaz-moved-to-github.git] / doc / yaz-client-man.xml
index 4e928ed..2fffa3a 100644 (file)
@@ -5,10 +5,10 @@
      %local;
      <!ENTITY % entities SYSTEM "entities.ent">
      %entities;
-     <!ENTITY % common SYSTEM "common/common.ent">
-     %common;
+     <!ENTITY % idcommon SYSTEM "common/common.ent">
+     %idcommon;
 ]>
-<!-- $Id: yaz-client-man.xml,v 1.12 2006-08-28 19:18:02 adam Exp $ -->
+<!-- $Id: yaz-client-man.xml,v 1.15 2007-06-03 08:06:32 adam Exp $ -->
 <refentry id="yaz-client">
  <refentryinfo>
   <productname>YAZ</productname>
     a connection to the Z39.50/SRU target at the address given.
    </para>
   <para>
-   When <command>yaz-client</command> is invoked it attemps to read the
-   following files:
-   <literal>$HOME/.yazclientrc</literal> (home directory, Unix only) and
-   <literal>.yazclientrc</literal> (current directory - any platform)
+   When <command>yaz-client</command> is invoked it attemps to read
+   <filename>.yazclientrc</filename> from current working directory.
+   If <filename>.yazclientrc</filename> does not exist in current directory
+   YAZ client reads <filename>.yazclientrc</filename> from the
+   home directory, where the home directory is given by environment
+   variable <literal>HOME</literal>. 
    For those files that are readable, the YAZ client executes commands
    in those files. See COMMANDS section for description of commands.
   </para>
     <filename>yaz-&lt;version&gt;/client/client.c</filename>
    </para>
    <para>
-    <filename>.yazclientrc</filename>
+    <filename>$HOME/.yazclientrc</filename>
    </para>
    <para>
-    <filename>$HOME/.yazclientrc</filename>
+    <filename>$HOME/.yazclient.history</filename>
    </para>
   </refsect1>
   <refsect1><title>SEE ALSO</title>