1ZOOMSH(1) [FIXME: manual] ZOOMSH(1)
2
3
4
6 zoomsh - ZOOM shell
7
9 zoomsh [commands...]
10
12 zoomsh is a ZOOM client with a simple command line interface. The
13 client demonstrates the ZOOM API and is useful for testing targets.
14
15 You may pass one or more commands to zoomsh. These commands are invoked
16 first.
17
19 If you start the yaz-ztest in one console you can use the ZOOM shell as
20 follows:
21
22 $ zoomsh
23 ZOOM>connect localhost:9999
24 ZOOM>search computer
25 localhost:9999: 7 hits
26 ZOOM>show 0 1
27 1 Default USmarc
28 001 11224466
29 003 DLC
30 005 00000000000000.0
31 008 910710c19910701nju 00010 eng
32 010 $a 11224466
33 040 $a DLC $c DLC
34 050 00 $a 123-xyz
35 100 10 $a Jack Collins
36 245 10 $a How to program a computer
37 260 1 $a Penguin
38 263 $a 8710
39 300 $a p. cm.
40 ZOOM>quit
41
42
43
44 You can also achieve the same result by passing the commands as
45 arguments on a single command line:
46
47 $ zoomsh "connect localhost:9999" "search computer" "show 0 1" quit
48
50 connect zurl
51 Connects to the target given by zurl.
52
53 close [zurl]
54 Closes connection to target given by zurl or all targets if zurl
55 was omitted.
56
57 show [start [count]]
58 Displays count records starting at offset given by start. First
59 records has offset 0 (unlike the Z39.50 protocol).
60
61 quit
62 Quits zoomsh.
63
64 set name [value]
65 Sets option name to value.
66
67 get name
68 Prints value of option name.
69
70 help
71 Prints list of available commands.
72
74 yaz(7), yaz-ztest(8),
75
76 Section "Building clients with ZOOM" in the YAZ manual.
77
78 ZOOM home page[1].
79
81 1. ZOOM home page
82 http://zoom.z3950.org/
83
84
85
86YAZ 4.0.2 03/09/2010 ZOOMSH(1)