From: Adam Dickmeiss Date: Mon, 4 Feb 2002 21:05:28 +0000 (+0000) Subject: About Jacobs new commands X-Git-Tag: YAZ.1.8.6~57 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=8f15e8046e0de12e8083ba941c60f854559cb6c3;p=yaz-moved-to-github.git About Jacobs new commands --- diff --git a/doc/client.xml b/doc/client.xml index dede72e..be1c227 100644 --- a/doc/client.xml +++ b/doc/client.xml @@ -1,12 +1,11 @@ - + The YAZ client Introduction yaz-client is a line-mode Z39.50 client. It supports a fair amount - of the functionality of the Z39.50-1995 standard, but some things you - need to enable or disable by re-compilation. - Its primary purpose is to exercise the - package, and verify that the protocol works OK. + of the functionality of the Z39.50-1995 standard + Its primary purpose is to exercise the package, and verify that + the protocol works OK. For the same reason some commands offers more functionality than others. Commands that exercises common Z39.50 services such as search and present have more features than less common supported services, such as Extended @@ -24,8 +23,8 @@ in a UNIX shell / WIN32 console. The zurl, specifies a Z39.50 host and, if specified, the client first tries to establish connection with the Z39.50 target on the host. - Options are, as usual, are prefixed by - followed - by a particular letter. + Options are, as usual, are prefixed by + - followed by a particular letter. The following options are supported: @@ -34,10 +33,10 @@ -m fname - ISO2709 records are appended to file - fname. All records as returned by a target(s) - in Search Responses and Present Responses are appended verbatim to - the file. + All retrieved transfer records are appended to file + fname. All records as returned by a + target(s) in Search Responses and Present Responses are appended + verbatim to the file. @@ -71,7 +70,6 @@ none. - -p target @@ -81,7 +79,6 @@ to inform the proxy about actual target. - -u authentication @@ -92,6 +89,15 @@ + + -k kilobytes + + Specifies the maximum messages size in kilobytes. + The default maxium messages for the YAZ client is 1024 + (1 MB). + + + In order to connect to Index Data's test Z39.50 server on @@ -125,7 +131,6 @@ open zurl - o Opens a connection to a server. The syntax for zurl is the same as described @@ -143,7 +148,6 @@ quit - q Ends YAZ client @@ -424,7 +428,7 @@ Executes list of commands from file filename, just like source on - some UNIX shells. + most UNIX shells. @@ -440,6 +444,83 @@ + + push_commande + command + + + The push_command takes another command as its argument. + That command is then added to the history information (so + you can retrieve it later). The command itself is not + executed. This command only works if you have GNU readline/history + enabled. + + + + + + set_apdufile + filename + + + Sets that APDU should be logged to file + filename. This command does the + thing as option -a. + + + + + + set_marcdump + filename + + + Specifies that all retrieved records should be appended ot + file filename. This command does the + thing as option -m. + + + + + + set_cclfields + filename + + + Specifies that CCL fields should be read from file + file filename. This command does the + thing as option -c. + + + + + + register_oid + name + class + OID + + + This command allows you to register your own object + identifier - so that instead of entering a long dot-notation + you can use a short name instead. + The name is your + name for the OID, class is the + class, and OID is the raw OID in + dot notation. Class is one appctx, + absyn, attet, + transyn, diagset, + recsyn, resform, + accform, extserv, + userinfo, elemspec, + varset, schema, + tagset, general. + If you're in doubt use the general + class. + + + + Searching