X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fyaz-client-man.xml;h=1114339cbce50931215eb15314cf2fb929a05dc5;hb=797335bc656ffda99eddacfb5fdf344f716c5f80;hp=6186110f636bcdfeb916e575763d518c3440ffe5;hpb=d775854eb4b203433c54239cc447f20511850ef9;p=yaz-moved-to-github.git diff --git a/doc/yaz-client-man.xml b/doc/yaz-client-man.xml index 6186110..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 @@ -18,7 +22,7 @@ yaz-client - Z39.50/SRW client for implementors + Z39.50/SRU client for implementors @@ -28,6 +32,7 @@ + @@ -39,23 +44,33 @@ - DESCRIPTION - - yaz-client is a Z39.50/SRW client (origin) with a - simple command line interface that allows you to test behavior and - performance of Z39.50 targets and SRW servers. - - - If the addr is specified, the client creates - a connection to the Z39.50/SRW 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