.\" Title: zoomsh .\" Author: .\" Generator: DocBook XSL Stylesheets v1.70.1 .\" Date: 09/04/2006 .\" Manual: .\" Source: YAZ 2.1.28 .\" .TH "ZOOMSH" "1" "09/04/2006" "YAZ 2.1.28" "" .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .SH "NAME" zoomsh \- ZOOM shell .SH "SYNOPSIS" .HP 7 \fBzoomsh\fR [commands...] .SH "DESCRIPTION" .PP \fBzoomsh\fR is a ZOOM client with a simple command line interface. The client demonstrates the ZOOM API and is useful for testing targets. .PP You may pass one or more commands to \fBzoomsh\fR. These commands are invoked first. .SH "EXAMPLES" .PP If you start the \fByaz\-ztest\fR in one console you can use the ZOOM shell as follows: .sp .RS 3n .nf $ zoomsh ZOOM>connect localhost:9999 ZOOM>search computer localhost:9999: 7 hits ZOOM>show 0 1 1 Default USmarc 001 11224466 003 DLC 005 00000000000000.0 008 910710c19910701nju 00010 eng 010 $a 11224466 040 $a DLC $c DLC 050 00 $a 123\-xyz 100 10 $a Jack Collins 245 10 $a How to program a computer 260 1 $a Penguin 263 $a 8710 300 $a p. cm. ZOOM>quit .fi .RE .sp .PP You can also achieve the same result by passing the commands as arguments on a single command line: .PP $ zoomsh "connect localhost:9999" "search computer" "show 0 1" quit .SH "COMMANDS" .TP 3n connect \fIzurl\fR Connects to the target given by \fIzurl\fR. .TP 3n close [\fIzurl\fR] Closes connection to target given by \fIzurl\fR or all targets if \fIzurl\fR was omitted. .TP 3n show [\fIstart\fR [\fIcount\fR]] Displays count records starting at offset given by \fIstart\fR. First records has offset 0 (unlike the Z39.50 protocol). .TP 3n quit Quits \fBzoomsh\fR. .TP 3n set \fIname\fR [\fIvalue\fR] Sets option \fIname\fR to \fIvalue\fR. .TP 3n get \fIname\fR Prints value of option \fIname\fR. .TP 3n help Prints list of available commands. .SH "SEE ALSO" .PP \fByaz\fR(7), \fByaz\-ztest\fR(8), .PP Section "Building clients with ZOOM" in the YAZ manual. .PP [1]\&\fIZOOM home page\fR. .SH "REFERENCES" .TP 3 1.\ ZOOM home page \%http://zoom.z3950.org/