1ZOOMSH(1) 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
45 You can also achieve the same result by passing the commands as
46 arguments on a single command line:
47
48 $ zoomsh "connect localhost:9999" "search computer" "show 0 1" quit
49
51 connect zurl
52 Connects to the target given by zurl.
53
54 close [zurl]
55 Closes connection to target given by zurl or all targets if zurl was
56 omitted.
57
58 show [start [count]]
59 Displays count records starting at offset given by start. First
60 records has offset 0 (unlike the Z39.50 protocol).
61
62 quit
63 Quits zoomsh.
64
65 set name [value]
66 Sets option name to value.
67
68 get name
69 Prints value of option name.
70
71 help
72 Prints list of available commands.
73
75 yaz(7), yaz-ztest(8),
76
77 Section "Building clients with ZOOM" in the YAZ manual.
78
79 [1]ZOOM home page.
80
82 1. ZOOM home page
83 http://zoom.z3950.org/
84
85
86
87YAZ 2.1.54 03/16/2007 ZOOMSH(1)