User Commands ZOOMSH(1) NAME zoomsh - ZOOM shell SYNOPSIS zoomsh [commands...] DESCRIPTION zoomsh is a ZOOM client with a simple command line interface. The client demonstrates the ZOOM API and is useful for testing targets. You may pass one or more commands to zoomsh. These commands are invoked first. EXAMPLES If you start the yaz-ztest in one console you can use the ZOOM shell as follows: $ 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 You can also achieve the same result by passing the commands as arguments on a single command line: $ zoomsh "connect localhost:9999" "search computer" "show 0 1" quit COMMANDS connect _z_u_r_l Connects to the target given by _z_u_r_l. close [_z_u_r_l] Closes connection to target given by _z_u_r_l or all targets YAZ 3.0.46 Last change: 06/08/2009 1 User Commands ZOOMSH(1) if _z_u_r_l was omitted. show [_s_t_a_r_t [_c_o_u_n_t]] Displays count records starting at offset given by _s_t_a_r_t. First records has offset 0 (unlike the Z39.50 protocol). quit Quits zoomsh. set _n_a_m_e [_v_a_l_u_e] Sets option _n_a_m_e to _v_a_l_u_e. get _n_a_m_e Prints value of option _n_a_m_e. help Prints list of available commands. SEE ALSO yaz(7), yaz-ztest(8), Section "Building clients with ZOOM" in the YAZ manual. _Z_O_O_M _h_o_m_e _p_a_g_e[1]. NOTES 1. ZOOM home page http://zoom.z3950.org/ ATTRIBUTES See attributes(5) for descriptions of the following attributes: _______________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE| |_________________________________________|____________________________________|_ | Availability | SUNWlibyaz | |_________________________________________|____________________________________|_ | Interface Stability| Uncommitted | |_____________________|__________________| NOTES Source for YAZ is available on http://opensolaris.org. YAZ 3.0.46 Last change: 06/08/2009 2