X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fclient.xml;h=dede72e3112398179cc7bee6f74a766aa882308e;hb=f347eed7eaf5fc499d7a56d20084184ebce4aa9e;hp=5ec2cd4dffd4db6e760c82b50719ceb2fc5230d8;hpb=bd7e251dac1b07c54884d26295f66b90cfb23131;p=yaz-moved-to-github.git diff --git a/doc/client.xml b/doc/client.xml index 5ec2cd4..dede72e 100644 --- a/doc/client.xml +++ b/doc/client.xml @@ -1,4 +1,4 @@ - + The YAZ client Introduction @@ -71,6 +71,27 @@ none. + + + -p target + + Specifies proxy address. When set YAZ client will + connect to a proxy on the address and port given. + The actual target will be specifed as part of the InitRequest + to inform the proxy about actual target. + + + + + -u authentication + + Specifies authentication. Usually the form + user/password + is used. This option does the same thing as the + auth command. + + + In order to connect to Index Data's test Z39.50 server on @@ -91,7 +112,7 @@ Commands When the YAZ client has read options and connected to a target, if given, - it will display Z > and away your command. + it will display Z> and await your command. Commands are executed by hitting the return key. You can always issue the command ? to see the list of available commands. @@ -114,7 +135,8 @@ Syntax: - [(tcp|osi)':'<[tsel/]]host[:port][/base>] + [(tcp|ssl)':']host + [:port][/base>] @@ -128,9 +150,8 @@ f query - f - Sends Search Request using the query + Sends a Search Request using the query given. @@ -154,7 +175,8 @@ - show [start[+number]] + show + [start[+number]] s @@ -162,10 +184,10 @@ position given by start a number of records given by number. If - start is not given the client will - fetch from position of the last retrieved record plus 1. If - number is not given one record will be - fetched at a time. + start is not given, then the client + will fetch from position of the last retrieved record plus 1. If + number is not given, then one record will + be fetched at a time. @@ -229,6 +251,9 @@ sent to the server when the open command is issued and the Z39.50 Initialize Request is sent, so this command must be used before open in order to be effective. + A common convention for the authopen string + is that the username - and password is separated by a slash, e.g. + myusername/mysecret. @@ -384,12 +409,37 @@ Sends Item Update Request. This command sends a "minimal" - PDU to the target supplying the last received record from the target. + PDU Update to the target supplying the last received record from + the target. If no record has been received from the target this command is ignored and nothing is sent to the target. + + + . + filename + + + Executes list of commands from + file filename, just like source on + some UNIX shells. + + + + + + ! + args + + + Executes command args in subshell + using the system call. + + + + Searching