X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-client-man.xml;h=1114339cbce50931215eb15314cf2fb929a05dc5;hb=0c4bd81e2e56724de1adbbc753f812328fb20e3c;hp=4e928eda335e46f245c80cb2f8de54b32fd52d21;hpb=2faa91f8c7375275f7435916b40be2176379f9ee;p=yaz-moved-to-github.git diff --git a/doc/yaz-client-man.xml b/doc/yaz-client-man.xml index 4e928ed..1114339 100644 --- a/doc/yaz-client-man.xml +++ b/doc/yaz-client-man.xml @@ -5,10 +5,10 @@ %local; %entities; - - %common; + + %idcommon; ]> - + YAZ @@ -32,6 +32,7 @@ + @@ -43,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. + + @@ -99,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 @@ -160,10 +181,10 @@ yaz-<version>/client/client.c - .yazclientrc + $HOME/.yazclientrc - $HOME/.yazclientrc + $HOME/.yazclient.history SEE ALSO