%%% UGUIDE_APDX_1.TEX -- Appendix 1 of the revamped AIPS Unix Installation
%%%                      Reference.
%-----------------------------------------------------------------------
%;  Copyright (C) 1995
%;  Associated Universities, Inc. Washington DC, USA.
%;
%;  This program is free software; you can redistribute it and/or
%;  modify it under the terms of the GNU General Public License as
%;  published by the Free Software Foundation; either version 2 of
%;  the License, or (at your option) any later version.
%;
%;  This program is distributed in the hope that it will be useful,
%;  but WITHOUT ANY WARRANTY; without even the implied warranty of
%;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
%;  GNU General Public License for more details.
%;
%;  You should have received a copy of the GNU General Public
%;  License along with this program; if not, write to the Free
%;  Software Foundation, Inc., 675 Massachusetts Ave, Cambridge,
%;  MA 02139, USA.
%;
%;  Correspondence concerning AIPS should be addressed as follows:
%;          Internet email: aipsmail@nrao.edu.
%;          Postal address: AIPS Project Office
%;                          National Radio Astronomy Observatory
%;                          520 Edgemont Road
%;                          Charlottesville, VA 22903-2475 USA
%-----------------------------------------------------------------------
%%%
%%% Cut from main section 91.05.21 by Pat Murphy.
%%% Modified for 15JAN94 with new shopping list 94.02.25
%%%
%%% This file should be included by the main document.  It assumes NRAO_MACROS
%%% and FORTRAN packages are already loaded.
%%%--------------------------------------------------------------------

\centerline{\nraofont APPENDIX 1.  Unix Z Routines}
% hack to write an ``appendix whatever'' in the table of contents; see
% the writecontents and newsection macros in NRAO_MACROS.TEX...
\ifnum\contflag=1\write\contfile{\vskip 2pt\par
 {\noexpand\noindent \noexpand\bf APPENDIX 1.\enspace}\unskip\noexpand\leaderfill
 \rm\the\pageno}\fi

The following are brief (and possibly outdated) descriptions of the
current Z-routines.  They come from the headers of the files in
{\tt\$APLGEN} and were generated in an automated manner.  They are split
by category as in the {\it Going \AIPS\/}\ manuals.

The following ``categories'' are defined in the headers of the source
code: \medskip

{\settabs 5 \columns
\+&BINARY	&FITS		&FORMAT		&GRAPHICS \cr
\+&IO-BASIC	&IO-REMOTE	&IO-TV		&IO-UTIL  \cr
\+&MATH		&MESSAGES	&OOPS		&PLOT     \cr
\+&PLOT-UTIL	&PRINTER	&SERVICE	&SYSTEM   \cr
\+&TAPE		&TERMINAL	&TEXT		&TV-IO    \cr
\+&TV-UTIL	&UTILITY	&WINDOWS	&Z	  \cr
\+&Z2 \cr}\medskip

\noindent Many of the descriptions below will appear in more than one
category if the routine in question fits into two or more categories.
\bigskip
{\parindent=3cm

\medskip{\bf Category: BINARY}\medskip

\item{\tt ZBYMOV.FOR} move 8--bit bytes from in-buffer to out-buffer
\item{\tt ZBYTFL.FOR} interchange bytes in buffer if needed to go between
	local \& standard
\item{\tt ZC8CL.FOR} convert packed ASCII buffer to local character string
\item{\tt ZCLC8.FOR} convert local character string to packed ASCII buffer
\item{\tt ZDHPRL.FOR} convert 64-bit HP floating buffer to local DOUBLE
	PRECISION values
\item{\tt ZGETCH.FOR} get a character from a REAL word
\item{\tt ZI16IL.FOR} convert FITS-standard 16-bit integers to local integers
\item{\tt ZI32IL.FOR} convert FITS-standard 32-bit integers from buffer
	into local integers
\item{\tt ZI8IL.FOR} convert 8-bit unsigned integers in buffer to local
	integers
\item{\tt ZILI16.FOR} convert local integers to 16-bit FITS integers in a
	buffer
\item{\tt ZILI32.FOR} convert local integer into FITS-standard 32-bit integers
\item{\tt ZPUTCH.FOR} inserts 8-bit ``character'' into a word
\item{\tt ZR32RL.FOR} convert 32-bit IEEE floating buffer to local REAL values
\item{\tt ZR64RL.FOR} convert 64-bit IEEE floating-point buffer to local
	``DOUBLE PRECISION''
\item{\tt ZR8P4.FOR} converts pseudo I*4 to double precision - for tape
	handling only
\item{\tt ZRDMF.FOR} convert DEC Magtape Format (36 bits data in 40 bits)
	to 2 integers
\item{\tt ZRHPRL.FOR} convert 32-bit HP floating buffer to local REAL values
\item{\tt ZRLR32.FOR} converts buffer of local REAL values to IEEE 32-bit
	floating-point
\item{\tt ZRLR64.FOR} convert buffer of local double precision values to
	IEEE 64-bit float.
\item{\tt ZRM2RL.FOR} convert Modcomp to local single precision floating point
\item{\tt ZTAB.FOR} return the character form for horizontal TAB
\item{\tt ZUVPAK.FOR} Pack visibility data, 1 correlator per real with
	magic value blank.
\item{\tt ZUVXPN.FOR} Expands packed visibility data and adds weight

\medskip{\bf Category: FITS}\medskip

\item{\tt ZBYTF2.FOR} interchange bytes in buffer if needed to go between
	local \& standard
\item{\tt ZBYTFL.FOR} interchange bytes in buffer if needed to go between
	local \& standard
\item{\tt ZTPMID.FOR} pseudo-tape disk read/write for 2880-bytes records
\item{\tt ZTPOPD.FOR} open a pseudo-tape, sequential disk file for FITS
\item{\tt ZTPWAD.FOR} ``wait'' for IO operation to complete on pseudo-tape
	disk file (ZTPMID)
\item{\tt ZX8XL.FOR} convert FITS table bit array to AIPS bit array
\item{\tt ZXLX8.FOR} convert AIPS bit array to FITS binary table bit array

\medskip{\bf Category: FORMAT}\medskip

\item{\tt ZDM2DL.FOR} convert Modcomp REAL*6 and REAL*8 to local double precision

\medskip{\bf Category: GRAPHICS}\medskip

\item{\tt ZTKBUF.FOR} flush TK buffer if needed, then store 8-bit byte in buffer
\item{\tt ZTKCL2.FOR} close a Tektronix device
\item{\tt ZTKCLS.FOR} close the TK device
\item{\tt ZTKFI2.FOR} read/write from/to a Tektronix device
\item{\tt ZTKOP2.FOR} read/write from/to a Tektronix device
\item{\tt ZTKOPN.FOR} open a TK device

\medskip{\bf Category: IO-BASIC}\medskip

\item{\tt ZCLOSE.FOR} closes open devices: disk, line printer, terminal
\item{\tt ZCMPR2.FOR} truncate a disk file, returning blocks to the system
\item{\tt ZCMPRS.FOR} release space from the end of an open disk file
\item{\tt ZCREA2.FOR} create the specified disk file
\item{\tt ZCREAT.FOR} creates a disk file
\item{\tt ZDACLS.FOR} close a disk file
\item{\tt ZDAOPN.FOR} open the specified disk file
\item{\tt ZDEST2.FOR} destroy a closed disk file
\item{\tt ZDESTR.FOR} destroy a closed disk file
\item{\tt ZEXIS2.FOR} return size of disk file and if  it exists
\item{\tt ZEXIST.FOR} return file size and, consequently, whether file exists
\item{\tt ZEXPN2.FOR} expand an open disk file
\item{\tt ZEXPND.FOR} expand an open disk file --- either map or non-map now allowed
\item{\tt ZFI2.FOR} read/write one 256-integer record from/to a non-map disk file
\item{\tt ZFIO.FOR} reads and writes single 256-integer records to non-map disk files
\item{\tt ZFRE2.FOR} return AIPS data disk free space information
\item{\tt ZMI2.FOR} read/write large blocks of data from/to disk, quick return
\item{\tt ZMIO.FOR} random-access, quick return (double buffer) disk IO for large blocks
\item{\tt ZMKTMP.FOR} convert a ``temporary'' file name into a unique name
\item{\tt ZMSGCL.FOR} close Message file or terminal
\item{\tt ZMSGDK.FOR} disk IO to message file
\item{\tt ZMSGOP.FOR} open a message file or message terminal
\item{\tt ZMSGXP.FOR} expand the message file
\item{\tt ZOPEN.FOR} open binary disk files and  TTY devices
\item{\tt ZPATH.FOR} convert a file name 'Logical:file' to full path name
\item{\tt ZPHFIL.FOR} construct a physical file or device name from AIPS logical parameters
\item{\tt ZPHOLV.FOR} construct a physical file - version for UPDAT
\item{\tt ZRENA2.FOR} rename a file
\item{\tt ZTFILL.FOR} zero-fill, initialize a file IO table (FTAB) entry
\item{\tt ZTPOP2.FOR} open a tape device for double-buffer, asymchronous IO
\item{\tt ZTPWA2.FOR} wait for read/write from/to a tape device
\item{\tt ZWAI2.FOR} wait for read/write large blocks of data from/to disk
\item{\tt ZWAIT.FOR} wait for asynchronous (``MAP'') IO to finish

\medskip{\bf Category: IO-REMOTE}\medskip

\item{\tt ZRCLOS.FOR} close a connection to a server
\item{\tt ZRCLS2.FOR} close a connection to a server -- generic version
\item{\tt ZROPEN.FOR} request a connection to a server
\item{\tt ZROPN2.FOR} request a connection to a server -- generic version
\item{\tt ZRRD2.FOR} read a message from a server -- generic version
\item{\tt ZRREAD.FOR} read a message from a server
\item{\tt ZRWR2.FOR} write a message to a server -- generic version
\item{\tt ZRWRIT.FOR} write a message to a server
\item{\tt ZRXDW2.FOR} write one byte of expedited data to a remote process -- generic
\item{\tt ZRXDWR.FOR} write expedited data to a server

\medskip{\bf Category: IO-TV}\medskip

\item{\tt ZARGC2.FOR} close an ARGS TV device
\item{\tt ZARGCL.FOR} close an ARGS TV device
\item{\tt ZARGMC.FOR} issues a master clear to an ARGS TV
\item{\tt ZARGO2.FOR} open ARGS TV device
\item{\tt ZARGOP.FOR} open ARGS TV device
\item{\tt ZIPACK.FOR} pack/unpack long integers into short integer buffer
\item{\tt ZM70CL.FOR} close an IIS Model 70 TV device, flushing any buffer
\item{\tt ZM70M2.FOR} issues a master clear to an IIS Model 70 TV
\item{\tt ZM70MC.FOR} issues a master clear to an IIS Model 70 TV
\item{\tt ZM70OP.FOR} open IIS Model 70 TV device
\item{\tt ZM70XF.FOR} read/write data to IIS Model 70 TV with buffering
\item{\tt ZV20CL.FOR} close a Comtal Vision 1/20 TV device
\item{\tt ZV20OP.FOR} open Comtal Vision 1/20 TV device
\item{\tt ZV20XF.FOR} read/write data to Comtal Vision 1/20 TV device

\medskip{\bf Category: IO-UTIL}\medskip

\item{\tt ZDIR.FOR} build a full path name to files in AIPS-standard areas (HE, RU, $\dots$)
\item{\tt ZFULLN.FOR} convert file name to full pathname with no logicals
\item{\tt ZRENAM.FOR} rename a disk file

\medskip{\bf Category: MATH}\medskip

\item{\tt ZHEX10.FOR} Compute the decimal equivalent of a hexadecimal number.

\medskip{\bf Category: MESSAGES}\medskip

\item{\tt ZMSGCL.FOR} close Message file or terminal

\medskip{\bf Category: OOPS}\medskip

\item{\tt ZOINTD.C} Initialize AIPS Object directory

\medskip{\bf Category: PLOT}\medskip

\item{\tt ZTKSRV.FOR} Provides an X-Windows tektronix graphics terminal

\medskip{\bf Category: PLOT-UTIL}\medskip

\item{\tt ZDOPRT.FOR} reads bit file and causes it to be plotted on printer/plotter
\item{\tt ZLASC2.FOR} spool a closed laser printer print/plot file
\item{\tt ZLASCL.FOR} close and spool a laser printer print/plot file
\item{\tt ZLASIO.FOR} open, write to, close and spool a laser printer print/plot file
\item{\tt ZLASOP.FOR} open a laser printer print/plot file
\item{\tt ZLWIO.FOR} open, write to, close and spool a PostScript print/plot file
\item{\tt ZLWOP.FOR} open a PostScript (LaserWriter) print/plot file

\medskip{\bf Category: PRINTER}\medskip

\item{\tt ZDOPRT.FOR} reads bit file and causes it to be plotted on printer/plotter
\item{\tt ZENDPG.FOR} advance printer if needed to avoid electrostatic-printer ``burn-out''
\item{\tt ZLASC2.FOR} spool a closed laser printer print/plot file
\item{\tt ZLASCL.FOR} close and spool a laser printer print/plot file
\item{\tt ZLASIO.FOR} open, write to, close and spool a laser printer print/plot file
\item{\tt ZLASOP.FOR} open a laser printer print/plot file
\item{\tt ZLPCL2.FOR} queue a file to the line printer and delete
\item{\tt ZLPCLS.FOR} close an open printer device
\item{\tt ZLPOP2.FOR} open a line-printer text file - actual OPEN call
\item{\tt ZLPOPN.FOR} open a line-printer text file
\item{\tt ZLWIO.FOR} open, write to, close and spool a PostScript print/plot file
\item{\tt ZLWOP.FOR} open a PostScript (LaserWriter) print/plot file

\medskip{\bf Category: SERVICE}\medskip

\item{\tt ZADDR.FOR} determine if 2 addresses inside computer are the same
\item{\tt ZDELA2.FOR} delay current process a specified interval
\item{\tt ZDELAY.FOR} delay current process a specified interval
\item{\tt ZDM2DL.FOR} convert Modcomp REAL*6 and REAL*8 to local double precision
\item{\tt ZERRO2.FOR} return system error message for given system error code
\item{\tt ZGTBIT.FOR} get array of bits from a word
\item{\tt ZHEX.FOR} encode an integer into hexadecimal characters
\item{\tt ZKDUMP.FOR} display portions of an array in various Fortran formats
\item{\tt ZMSGWR.FOR} call MSGWRT based on call arguments - for C routines to call MSGWRT
\item{\tt ZMYVER.FOR} returns OLD, NEW, or TST based on translation of logical AIPS\_VERSION
\item{\tt ZPTBIT.FOR} put array of bits into a word
\item{\tt ZTIME.FOR} return the local time of day
\item{\tt ZVERSN.FOR} returns code for OLD,NEW,TST based on matching RLSNAM to logicals

\medskip{\bf Category: SYSTEM}\medskip

\item{\tt ZABOR2.FOR} establishes or carries out (when appropriate) abort handling
\item{\tt ZABORT.FOR} establishes or carries out (when appropriate) abort handling
\item{\tt ZACTV8.FOR} activate the requested program, returning process ID information
\item{\tt ZCPU.FOR} return current process CPU time and IO count
\item{\tt ZCRLOG.FOR} (re)define a logical name
\item{\tt ZDATE.FOR} return the local date
\item{\tt ZDCHI2.FOR} initialize device and Z-routine characteristics commons - local vals
\item{\tt ZDCHIC.FOR} set more system parameters; make them available to C routines
\item{\tt ZDCHIN.FOR} initialize message, device and Z-routine characteristics commons
\item{\tt ZFREE.FOR} display available disk space
\item{\tt ZGNAME.FOR} get name of current process
\item{\tt ZPRI2.FOR} raise or lower the process priority
\item{\tt ZPRIO.FOR} raise or lower the process priority
\item{\tt ZPRPAS.FOR} prompt user and read 12-character password (invisible) from CRT
\item{\tt ZSETUP.FOR} performs system-level operations after VERNAM, TSKNAM, NPOPS known
\item{\tt ZSTAI2.FOR} does any system cleanup needed at the end of interactive AIPS session
\item{\tt ZSTAIP.FOR} does any system cleanup needed at the end of interactive AIPS session
\item{\tt ZTACT2.FOR} inquires if a task is currently active on the local computer
\item{\tt ZTACTQ.FOR} inquires if a task is currently active on the local computer
\item{\tt ZTKILL.FOR} deletes (or kills) the specified process
\item{\tt ZTQSP2.FOR} display AIPS account or all processes running on the system
\item{\tt ZTQSPY.FOR} display AIPS account or all processes running on the system
\item{\tt ZTRLOG.FOR} translate a logical name
\item{\tt ZWHOMI.FOR} determines AIPSxn task name; sets NPOPS, assigns TV and TK devices

\medskip{\bf Category: TAPE}\medskip

\item{\tt ZBKLD1.FOR} initialize environment for BAKLD
\item{\tt ZBKLD2.FOR} does BACKUP operation: load images from tape to directory
\item{\tt ZBKLD3.FOR} clean up system things for BAKLD ending
\item{\tt ZBKTP1.FOR} initialize BACKUP to tape operation for BAKTP
\item{\tt ZBKTP2.FOR} write a cataloged file plus extensions to BACKUP tape in BAKTP
\item{\tt ZBKTP3.FOR} clean up host environment at end of BAKTP
\item{\tt ZBYTF2.FOR} interchange bytes in buffer if needed to go between local \& standard
\item{\tt ZBYTFL.FOR} interchange bytes in buffer if needed to go between local \& standard
\item{\tt ZMCACL.FOR} convert Modcomp compressed ASCII to Hollerith characters (for FILLR)
\item{\tt ZMOUN2.FOR} mount or dismount magnetic tape device
\item{\tt ZMOUNR.FOR} mount or dismount remote magnetic tape device
\item{\tt ZMOUNT.FOR} mount or dismount magnetic tape device
\item{\tt ZR8P4.FOR} converts pseudo I*4 to double precision - for tape handling only
\item{\tt ZRDMF.FOR} convert DEC Magtape Format (36 bits data in 40 bits) to 2 integers
\item{\tt ZRM2RL.FOR} convert Modcomp to local single precision floating point
\item{\tt ZTAP2.FOR} position (forward/back record/file), write EOF, etc. for tapes
\item{\tt ZTAPE.FOR} mount, dismount, position, write EOF, etc. for tapes
\item{\tt ZTAPIO.FOR} tape operations for IMPFIT (compressed FITS transport tape)
\item{\tt ZTAPR.FOR} mount, dismount, position, write EOF, etc. for remote tapes
\item{\tt ZTPCL2.FOR} close a tape device
\item{\tt ZTPCLD.FOR} close pseudo-tape disk file
\item{\tt ZTPCLR.FOR} closes a remote tape device (real or pseudo-tape disk)
\item{\tt ZTPCLS.FOR} closes a tape device (real or pseudo-tape disk)
\item{\tt ZTPMI2.FOR} tape read/write
\item{\tt ZTPMID.FOR} pseudo-tape disk read/write for 2880-bytes records
\item{\tt ZTPMIO.FOR} read/write tape devices with quick return IO methods
\item{\tt ZTPMIR.FOR} read/write tape devices with quick return IO methods
\item{\tt ZTPOP2.FOR} open a tape device for double-buffer, asymchronous IO
\item{\tt ZTPOPD.FOR} open a pseudo-tape, sequential disk file for FITS
\item{\tt ZTPOPN.FOR} open tape or pseudo-tape device
\item{\tt ZTPOPR.FOR} open  remote tape or pseudo-tape device
\item{\tt ZTPWA2.FOR} wait for read/write from/to a tape device
\item{\tt ZTPWAD.FOR} ``wait'' for IO operation to complete on pseudo-tape disk file (ZTPMID)
\item{\tt ZTPWAR.FOR} wait for asynchronous IO to finish on remote tape or pseudo-tape disk
\item{\tt ZTPWAT.FOR} wait for asynchronous IO to finish on tape or pseudo-tape disk
\item{\tt ZVTPC2.FOR} close virtual tape connection to remote, real-tape computer
\item{\tt ZVTPC3.FOR} close connection in real-tape computer to client, virtual-TP computer
\item{\tt ZVTPGC.FOR} close \& reopen connection in server (real-TP) to client (virtual-TP)
\item{\tt ZVTPO2.FOR} open connection in client (virtual-tape) to server (remote\&real-tape)
\item{\tt ZVTPO3.FOR} open connection in server (real-tape) to client (virtual-tape)
\item{\tt ZVTPRC.FOR} closes channel in server (real-tape) to client (virtual-tape)
\item{\tt ZVTPRO.FOR} open socket in server (real-tape) to any client (virtual-tape)
\item{\tt ZVTPRX.FOR} does IO for server (real tape) to client (Virtual-tape), close/reopen
\item{\tt ZVTPX2.FOR} writes/reads to/from server for the client (virtual tape) machine
\item{\tt ZVTPX3.FOR} reads/writes from/to client (virtual tape) for the server (real tape)

\medskip{\bf Category: TERMINAL}\medskip

\item{\tt ZPRMPT.FOR} prompt user and read 80-characters from CRT screen
\item{\tt ZPRPAS.FOR} prompt user and read 12-character password (invisible) from CRT
\item{\tt ZTTBUF.FOR} reads terminal input with no prompt or wait - simulates TV trackball
\item{\tt ZTTCLS.FOR} close a terminal device
\item{\tt ZTTOP2.FOR} open a message terminal
\item{\tt ZTTOPN.FOR} open a terminal device
\item{\tt ZTTYIO.FOR} read/write buffer to terminal

\medskip{\bf Category: TEXT}\medskip

\item{\tt ZDIR.FOR} build a full path name to files in AIPS-standard areas (HE, RU, $\dots$)
\item{\tt ZTCLOS.FOR} close text file opened with ZTOPEN
\item{\tt ZTOPE2.FOR} open text file for ZTOPEN
\item{\tt ZTOPEN.FOR} open text file - logical area, version, member name as arguments
\item{\tt ZTREAD.FOR} read next 80-character record in sequential text file (ZTOPEN type)
\item{\tt ZTXCLS.FOR} clos text file opened via ZTXOPN
\item{\tt ZTXIO.FOR} read/write a line to a text file
\item{\tt ZTXMA2.FOR} find all file names matching a given wildcard specification
\item{\tt ZTXMAT.FOR} return list of files in specified area beginning with specified chars
\item{\tt ZTXOP2.FOR} translate the file name and open a text file
\item{\tt ZTXOPN.FOR} open a text file for read or write
\item{\tt ZTXZAP.FOR} delete text file openable via ZTXOPN

\medskip{\bf Category: TV-IO}\medskip

\item{\tt ZARGS.FOR} sends command to/from the ARGS TV device
\item{\tt ZARGXF.FOR} translates IIS Model 70 commands into calls to ZARGS for ARGS TV
\item{\tt ZDEAC2.FOR} close DeAnza TV device
\item{\tt ZDEACL.FOR} close DeAnza TV device
\item{\tt ZDEAMC.FOR} issue a master clear to the TV - for DeAnzas this is a No-Op
\item{\tt ZDEAO2.FOR} opens DeAnza TV device
\item{\tt ZDEAOP.FOR} opens DeAnza TV device
\item{\tt ZDEAX2.FOR} do actual read/write from/to DeAnza device
\item{\tt ZDEAXF.FOR} do IO to DeAnza TV
\item{\tt ZIVSO2.FOR} opens IVAS TV device - using the IIS IVAS package
\item{\tt ZIVSOP.FOR} opens IVAS TV device - using the IIS package
\item{\tt ZM70C2.FOR} close IIS Model 70/75 TV device
\item{\tt ZM70O2.FOR} opens IIS Model 70.75 TV device
\item{\tt ZM70X2.FOR} read/write from/to IIS Model 70/75 device
\item{\tt ZSSSC2.FOR} Close SUN Screen Server device, flushing any buffer
\item{\tt ZSSSCL.FOR} close the SUN-Screen-Server device
\item{\tt ZSSSMC.FOR} issue a Master Clear operation to SUN-Screen-Server devbice
\item{\tt ZSSSO2.FOR} Open SUN-Screen-Server device, set-up any buffer
\item{\tt ZSSSOP.FOR} open SUN-Screen-Server (TV) device
\item{\tt ZSSSX2.FOR} write to/ read from SUN-Screen-Server device
\item{\tt ZSSSXF.FOR} write/read to/from the SUN-Screen-Server (TV) device
\item{\tt ZTTBUF.FOR} reads terminal input with no prompt or wait - simulates TV trackball
\item{\tt ZV20C2.FOR} close Comtal Vision 1/20 TV device
\item{\tt ZV20MC.FOR} issue a master clear to the TV - for Comtal this is a No-Op
\item{\tt ZV20O2.FOR} opens Comtal Vision 1/20 TV device
\item{\tt ZV20X2.FOR} does I/O to Comtal Vision 1/20 TV device
\item{\tt ZVTVC2.FOR} close virtual TV connection to remote, real-TV computer
\item{\tt ZVTVC3.FOR} close connection in real-TV computer to client, virtual-TV computer
\item{\tt ZVTVCL.FOR} close connection in client (virtual-TV) to server (remote, real-TV)
\item{\tt ZVTVGC.FOR} close \& reopen connection in server (real-TV) to client (virtual-tv)
\item{\tt ZVTVO3.FOR} open connection in server (real-TV) to client (virtual-TV)
\item{\tt ZVTVOP.FOR} opens connection from client (virtual-TV) to server (real-TV)
\item{\tt ZVTVRC.FOR} closes channel in server (real-TV) to client (virtual-TV)
\item{\tt ZVTVRO.FOR} open scket in server (real-TV) to any client (virtual-TV)
\item{\tt ZVTVX2.FOR} writes/reads to/from server for the client (virtual TV) machine
\item{\tt ZVTVX3.FOR} reads/writes from/to client (virtual TV) for the server (real TV)
\item{\tt ZVTVXF.FOR} sends data from the client (virtual TV) to server (real TV)

\medskip{\bf Category: TV-UTIL}\medskip

\item{\tt ZVTVO2.FOR} open connection in client (virtual-TV) to server (remote, real-TV)

\medskip{\bf Category: UTILITY}\medskip

\item{\tt ZERROR.FOR} prints strings associated with system error codes for Z routines
\item{\tt ZMSGER.FOR} prints strings associated with system error codes for ZMSG routines
\item{\tt ZMSSRV.FOR} Provides an X-Windows message terminal
\item{\tt ZTKSRV.FOR} Provides an X-Windows tektronix graphics terminal

\medskip{\bf Category: WINDOWS}\medskip

\item{\tt ZMSSRV.FOR} Provides an X-Windows message terminal
\item{\tt ZTKSRV.FOR} Provides an X-Windows tektronix graphics terminal

\medskip{\bf Category: Z}\medskip

\item{\tt ZABORT.FOR} establishes or carries out (when appropriate) abort handling
\item{\tt ZACTV8.FOR} activate the requested program, returning process ID information
\item{\tt ZADDR.FOR} determine if 2 addresses inside computer are the same
\item{\tt ZARGCL.FOR} close an ARGS TV device
\item{\tt ZARGMC.FOR} issues a master clear to an ARGS TV
\item{\tt ZARGOP.FOR} open ARGS TV device
\item{\tt ZARGXF.FOR} translates IIS Model 70 commands into calls to ZARGS for ARGS TV
\item{\tt ZBKLD1.FOR} initialize environment for BAKLD
\item{\tt ZBKLD2.FOR} does BACKUP operation: load images from tape to directory
\item{\tt ZBKLD3.FOR} clean up system things for BAKLD ending
\item{\tt ZBKTP1.FOR} initialize BACKUP to tape operation for BAKTP
\item{\tt ZBKTP2.FOR} write a cataloged file plus extensions to BACKUP tape in BAKTP
\item{\tt ZBKTP3.FOR} clean up host environment at end of BAKTP
\item{\tt ZBYMOV.FOR} move 8-bit bytes from in-buffer to out-buffer
\item{\tt ZBYTFL.FOR} interchange bytes in buffer if needed to go between local \& standard
\item{\tt ZC8CL.FOR} convert packed ASCII buffer to local character string
\item{\tt ZCLC8.FOR} convert local character string to packed ASCII buffer
\item{\tt ZCLOSE.FOR} closes open devices: disk, line printer, terminal
\item{\tt ZCMPRS.FOR} release space from the end of an open disk file
\item{\tt ZCPU.FOR} return current process CPU time and IO count
\item{\tt ZCREAT.FOR} creates a disk file
\item{\tt ZDATE.FOR} return the local date
\item{\tt ZDCHIN.FOR} initialize message, device and Z-routine characteristics commons
\item{\tt ZDEACL.FOR} close DeAnza TV device
\item{\tt ZDEAOP.FOR} opens DeAnza TV device
\item{\tt ZDEAXF.FOR} do IO to DeAnza TV
\item{\tt ZDELAY.FOR} delay current process a specified interval
\item{\tt ZDESTR.FOR} destroy a closed disk file
\item{\tt ZDHPRL.FOR} convert 64-bit HP floating buffer to local DOUBLE PRECISION values
\item{\tt ZDM2DL.FOR} convert Modcomp REAL*6 and REAL*8 to local double precision
\item{\tt ZENDPG.FOR} advance printer if needed to avoid electrostatic-printer ``burn-out''
\item{\tt ZERROR.FOR} prints strings associated with system error codes for Z routines
\item{\tt ZEXIST.FOR} return file size and, consequently, whether file exists
\item{\tt ZEXPND.FOR} expand an open disk file --- either map or non-map now allowed
\item{\tt ZFIO.FOR} reads and writes single 256-integer records to non-map disk files
\item{\tt ZFREE.FOR} display available disk space
\item{\tt ZGETCH.FOR} get a character from a REAL word
\item{\tt ZGNAME.FOR} get name of current process
\item{\tt ZGTBIT.FOR} get array of bits from a word
\item{\tt ZHEX.FOR} encode an integer into hexadecimal characters
\item{\tt ZIPACK.FOR} pack/unpack long integers into short integer buffer
\item{\tt ZKDUMP.FOR} display portions of an array in various Fortran formats
\item{\tt ZLASIO.FOR} open, write to, close and spool a laser printer print/plot file
\item{\tt ZLPCLS.FOR} close an open printer device
\item{\tt ZLPOPN.FOR} open a line-printer text file
\item{\tt ZLWIO.FOR} open, write to, close and spool a PostScript print/plot file
\item{\tt ZM70MC.FOR} issues a master clear to an IIS Model 70 TV
\item{\tt ZM70OP.FOR} open IIS Model 70 TV device
\item{\tt ZM70XF.FOR} read/write data to IIS Model 70 TV with buffering
\item{\tt ZMIO.FOR} random-access, quick return (double buffer) disk IO for large blocks
\item{\tt ZMKTMP.FOR} convert a ``temporary'' file name into a unique name
\item{\tt ZMOUNT.FOR} mount or dismount magnetic tape device
\item{\tt ZMSGCL.FOR} close Message file or terminal
\item{\tt ZMSGDK.FOR} disk IO to message file
\item{\tt ZMSGER.FOR} prints strings associated with system error codes for ZMSG routines
\item{\tt ZMSGOP.FOR} open a message file or message terminal
\item{\tt ZMSGXP.FOR} expand the message file
\item{\tt ZMSSRV.FOR} Provides an X-Windows message terminal
\item{\tt ZOPEN.FOR} open binary disk files and  TTY devices
\item{\tt ZPHFIL.FOR} construct a physical file or device name from AIPS logical parameters
\item{\tt ZPHOLV.FOR} construct a physical file - version for UPDAT
\item{\tt ZPRIO.FOR} raise or lower the process priority
\item{\tt ZPRMPT.FOR} prompt user and read 80-characters from CRT screen
\item{\tt ZPRPAS.FOR} prompt user and read 12-character password (invisible) from CRT
\item{\tt ZPTBIT.FOR} put array of bits into a word
\item{\tt ZPUTCH.FOR} inserts 8-bit ``character'' into a word
\item{\tt ZRDMF.FOR} convert DEC Magtape Format (36 bits data in 40 bits) to 2 integers
\item{\tt ZRENAM.FOR} rename a disk file
\item{\tt ZRLR64.FOR} convert buffer of local double precision values to IEEE 64-bit float.
\item{\tt ZRM2RL.FOR} convert Modcomp to local single precision floating point
\item{\tt ZSTAIP.FOR} does any system cleanup needed at the end of interactive AIPS session
\item{\tt ZTAB.FOR} return the character form for horizontal TAB
\item{\tt ZTACTQ.FOR} inquires if a task is currently active on the local computer
\item{\tt ZTAPE.FOR} mount, dismount, position, write EOF, etc. for tapes
\item{\tt ZTAPIO.FOR} tape operations for IMPFIT (compressed FITS transport tape)
\item{\tt ZTIME.FOR} return the local time of day
\item{\tt ZTKSRV.FOR} Provides an X-Windows tektronix graphics terminal
\item{\tt ZTOPEN.FOR} open text file - logical area, version, member name as arguments
\item{\tt ZTPMIO.FOR} read/write tape devices with quick return IO methods
\item{\tt ZTPWAT.FOR} wait for asynchronous IO to finish on tape or pseudo-tape disk
\item{\tt ZTQSPY.FOR} display AIPS account or all processes running on the system
\item{\tt ZTTBUF.FOR} reads terminal input with no prompt or wait - simulates TV trackball
\item{\tt ZTXCLS.FOR} clos text file opened via ZTXOPN
\item{\tt ZTXIO.FOR} read/write a line to a text file
\item{\tt ZTXMAT.FOR} return list of files in specified area beginning with specified chars
\item{\tt ZTXOPN.FOR} open a text file for read or write
\item{\tt ZTXZAP.FOR} delete text file openable via ZTXOPN
\item{\tt ZV20CL.FOR} close a Comtal Vision 1/20 TV device
\item{\tt ZV20MC.FOR} issue a master clear to the TV - for Comtal this is a No-Op
\item{\tt ZV20OP.FOR} open Comtal Vision 1/20 TV device
\item{\tt ZV20XF.FOR} read/write data to Comtal Vision 1/20 TV device
\item{\tt ZVERSN.FOR} returns code for OLD,NEW,TST based on matching RLSNAM to logicals
\item{\tt ZWHOMI.FOR} determines AIPSxn task name; sets NPOPS, assigns TV and TK devices

\medskip{\bf Category: Z2}\medskip

\item{\tt ZABOR2.FOR} establishes or carries out (when appropriate) abort handling
\item{\tt ZARGC2.FOR} close an ARGS TV device
\item{\tt ZARGO2.FOR} open ARGS TV device
\item{\tt ZARGS.FOR} sends command to/from the ARGS TV device
\item{\tt ZBYTF2.FOR} interchange bytes in buffer if needed to go between local \& standard
\item{\tt ZCMPR2.FOR} truncate a disk file, returning blocks to the system
\item{\tt ZCREA2.FOR} create the specified disk file
\item{\tt ZCRLOG.FOR} (re)define a logical name
\item{\tt ZDACLS.FOR} close a disk file
\item{\tt ZDAOPN.FOR} open the specified disk file
\item{\tt ZDCHI2.FOR} initialize device and Z-routine characteristics commons - local vals
\item{\tt ZDCHIC.FOR} set more system parameters; make them available to C routines
\item{\tt ZDEAC2.FOR} close DeAnza TV device
\item{\tt ZDEAO2.FOR} opens DeAnza TV device
\item{\tt ZDELA2.FOR} delay current process a specified interval
\item{\tt ZDEST2.FOR} destroy a closed disk file
\item{\tt ZDIR.FOR} build a full path name to files in AIPS-standard areas (HE, RU, $\dots$)
\item{\tt ZERRO2.FOR} return system error message for given system error code
\item{\tt ZEXIS2.FOR} return size of disk file and if  it exists
\item{\tt ZEXPN2.FOR} expand an open disk file
\item{\tt ZFI2.FOR} read/write one 256-integer record from/to a non-map disk file
\item{\tt ZFRE2.FOR} return AIPS data disk free space information
\item{\tt ZIVSO2.FOR} opens IVAS TV device - using the IIS IVAS package
\item{\tt ZLASC2.FOR} spool a closed laser printer print/plot file
\item{\tt ZLASCL.FOR} close and spool a laser printer print/plot file
\item{\tt ZLASOP.FOR} open a laser printer print/plot file
\item{\tt ZLPCL2.FOR} queue a file to the line printer and delete
\item{\tt ZLPOP2.FOR} open a line-printer text file - actual OPEN call
\item{\tt ZM70C2.FOR} close IIS Model 70/75 TV device
\item{\tt ZM70O2.FOR} opens IIS Model 70.75 TV device
\item{\tt ZMI2.FOR} read/write large blocks of data from/to disk, quick return
\item{\tt ZMOUN2.FOR} mount or dismount magnetic tape device
\item{\tt ZMOUNR.FOR} mount or dismount remote magnetic tape device
\item{\tt ZMSGWR.FOR} call MSGWRT based on call arguments - for C routines to call MSGWRT
\item{\tt ZPATH.FOR} convert a file name 'Logical:file' to full path name
\item{\tt ZPRI2.FOR} raise or lower the process priority
\item{\tt ZRCLS2.FOR} close a connection to a server -- generic version
\item{\tt ZRENA2.FOR} rename a file
\item{\tt ZROPN2.FOR} request a connection to a server -- generic version
\item{\tt ZRRD2.FOR} read a message from a server -- generic version
\item{\tt ZRWR2.FOR} write a message to a server -- generic version
\item{\tt ZRXDW2.FOR} write one byte of expedited data to a remote process -- generic
\item{\tt ZSTAI2.FOR} does any system cleanup needed at the end of interactive AIPS session
\item{\tt ZTACT2.FOR} inquires if a task is currently active on the local computer
\item{\tt ZTAP2.FOR} position (forward/back record/file), write EOF, etc. for tapes
\item{\tt ZTAPR.FOR} mount, dismount, position, write EOF, etc. for remote tapes
\item{\tt ZTKCL2.FOR} close a Tektronix device
\item{\tt ZTKOP2.FOR} read/write from/to a Tektronix device
\item{\tt ZTOPE2.FOR} open text file for ZTOPEN
\item{\tt ZTPCL2.FOR} close a tape device
\item{\tt ZTPCLR.FOR} closes a remote tape device (real or pseudo-tape disk)
\item{\tt ZTPMI2.FOR} tape read/write
\item{\tt ZTPMID.FOR} pseudo-tape disk read/write for 2880-bytes records
\item{\tt ZTPOP2.FOR} open a tape device for double-buffer, asymchronous IO
\item{\tt ZTPOPD.FOR} open a pseudo-tape, sequential disk file for FITS
\item{\tt ZTPOPR.FOR} open  remote tape or pseudo-tape device
\item{\tt ZTPWA2.FOR} wait for read/write from/to a tape device
\item{\tt ZTPWAR.FOR} wait for asynchronous IO to finish on remote tape or pseudo-tape disk
\item{\tt ZTQSP2.FOR} display AIPS account or all processes running on the system
\item{\tt ZTTCLS.FOR} close a terminal device
\item{\tt ZTTOP2.FOR} open a message terminal
\item{\tt ZTTOPN.FOR} open a terminal device
\item{\tt ZTXMA2.FOR} find all file names matching a given wildcard specification
\item{\tt ZTXOP2.FOR} translate the file name and open a text file
\item{\tt ZV20C2.FOR} close Comtal Vision 1/20 TV device
\item{\tt ZV20O2.FOR} opens Comtal Vision 1/20 TV device
\item{\tt ZV20X2.FOR} does I/O to Comtal Vision 1/20 TV device
\item{\tt ZVTPC2.FOR} close virtual tape connection to remote, real-tape computer
\item{\tt ZVTPC3.FOR} close connection in real-tape computer to client, virtual-TP computer
\item{\tt ZVTPGC.FOR} close \& reopen connection in server (real-TP) to client (virtual-TP)
\item{\tt ZVTPO2.FOR} open connection in client (virtual-tape) to server (remote\&real-tape)
\item{\tt ZVTPO3.FOR} open connection in server (real-tape) to client (virtual-tape)
\item{\tt ZVTPX2.FOR} writes/reads to/from server for the client (virtual tape) machine
\item{\tt ZVTPX3.FOR} reads/writes from/to client (virtual tape) for the server (real tape)
\item{\tt ZWAI2.FOR} wait for read/write large blocks of data from/to disk
}
\vfill\eject %%% yea, it's done!
