X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-client-man.xml;h=1114339cbce50931215eb15314cf2fb929a05dc5;hb=0c4bd81e2e56724de1adbbc753f812328fb20e3c;hp=9122f6e277c82d3f76ad769215aa91618487824c;hpb=21f7c16c6b1b694405dbc1760d3d6cb3caac38f6;p=yaz-moved-to-github.git diff --git a/doc/yaz-client-man.xml b/doc/yaz-client-man.xml index 9122f6e..1114339 100644 --- a/doc/yaz-client-man.xml +++ b/doc/yaz-client-man.xml @@ -5,11 +5,15 @@ %local; %entities; - - %common; + + %idcommon; ]> - + + + YAZ + &version; + yaz-client @@ -28,6 +32,7 @@ + @@ -39,23 +44,33 @@ - DESCRIPTION - - yaz-client is a Z39.50/SRU client (origin) with a - simple command line interface that allows you to test behavior and - performance of Z39.50 targets and SRU servers. - - - If the addr is specified, the client creates - a connection to the Z39.50/SRU target at the address given. - + DESCRIPTION + + yaz-client is a Z39.50/SRU client (origin) with a + simple command line interface that allows you to test behavior and + performance of Z39.50 targets and SRU servers. + - When yaz-client is invoked it attemps to read the - following files: - $HOME/.yazclientrc (home directory, Unix only) and - .yazclientrc (current directory - any platform) - For those files that are readable, the YAZ client executes commands - in those files. See COMMANDS section for description of commands. + If the addr is specified, the client creates + a connection to the Z39.50/SRU target at the address given. + + + When yaz-client is started it tries to read + commands from one of the following files: + + + Command file if it is given by option -f. + + + .yazclientrc in current working directory. + + + .yazclientrc in the user's home directory. + The value of the HOME is used to determine + the home directory. Normally, HOME is only set + on POSIX systems such as Linux, FreeBSD, Solaris. + + @@ -95,6 +110,16 @@ where DDD is 001, 002, 003, .. + + + -f cmdfile + + Reads commands from cmdfile. When + this option is used, YAZ client does not read .yazclientrc + from current directory or home directory. + + + -k size @@ -156,10 +181,10 @@ yaz-<version>/client/client.c - .yazclientrc + $HOME/.yazclientrc - $HOME/.yazclientrc + $HOME/.yazclient.history SEE ALSO