bat - basic access to tape , files & pipes batend_() batvbs_( unit, ivbs, il) popenr_( pipe, iaerr, il) popenw_( pipe, iaerr, il) tbatoff_( ju) tbatstat_( ju) tclosebat_( unit) teom_( unit, il) tmark_( unit, il) tnext_( unit, lnext, il) treadbat_( unit, buffer, rcount, il) tskip_( unit, rewind, marks, blocks) twait_( unit, rb, il) twritebat_( unit, buffer, rcount, il)

SYNOPSIS

bat batend_() clean up, i.e. write out left over write buffers batvbs_( unit, ivbs, il) allow or disallow vbs unpacking popenr_( pipe, iaerr, il) open pipe toread popenw_( pipe, iaerr, il) open pipe to write tbatoff_( ju) takes tape off line tbatstat_( ju) a nop to set status tclosebat_( unit) close bat unit, does not remove it from getunits tables teom_( unit, il) write an end of medium, e.g. two eof tmark_( unit, il) write an eof tnext_( unit, lnext, il) find the next file treadbat_( unit, buffer, rcount, il) read a logical record tskip_( unit, rewind, marks, blocks) skip a logical record twait_( unit, rb, il) wait for read/write to complete (not needed) and return result of read/write twritebat_( unit, buffer, rcount, il) write one logical record proc [ data [ sc \[\ \.\.\.\ ]]]

DESCRIPTION

bat BAT knows about 8mm, 1/4", & 1/2" tapes as well as disk file and pipes. A logical bat record is the normal UNIX record that adds a four byte integer = number of data bytes at each end of the data. It can also unblock IBM vbs records( if batvbs has set flag)

ENVIRONMENT

ft??

SEE ALSO

getunit batnto1

DIAGNOSTICS

BUGS

Should be able to write IBM vbs files. Its handling of tape labels can cause errors with short ( length <= 80) records. Should be able to concatenate pipes.( Now you must use batnto1 ).


Markup created by unroff 1.0,    April 11, 1996.