ANSITAR
Section: User Commands (1)
Updated: 5/1/84
Index
Return to Main Contents
NAME
ansitar - read or write ANSI multifile labeled tapes
SYNOPSIS
ansitar
subcommand [blocksize] [linesize] [vsn] file
ansitar
subcommand[RSl]
[blocksize] [linesize] [labelsize] [vsn] file
DESCRIPTION
Ansitar
reads from or writes to a magnetic tape in ANSI labeled
tape format, which is a
useful format for exchange of ASCII character files
with a non-UNIX system. Eight-bit binary is also possible,
but the results are likely to be unsatisfactory in most
cases.
A non-standard version compiled with
#define PIP
permits reading of RT11 and RSTS files as well.
subcommand
is any rational concatenation of compatible characters from
the following groups - only one from each group:
-
[crtx], [bBDF], [RS],
l, U, v, V, [0..9]
- c
-
Create a new multifile tape. (Destroy all previous files on tape).
- r
-
Replace files on tape without destroying any previous files.
- t
-
List all files on tape.
- x
-
Extract files from tape. (See note on `*' wild-card character).
- b
-
Use next argument as a tape block size.
- B
-
Use next argument as a tape block size and following argument as
line size (for blocking/unblocking of fixed length records).
- D
-
Reading.
Not required for System level 3 tape with valid HDR2 label.
For System level 1 and 2 use next argument as tape block size.
Writing.
Write HDR2/EOF2 labels and variable
length records (D format, System level 3) with block size
2048 and maximum line size 255.
- F
-
Reading.
Not required if tape has valid HDR2 label. Use
B
for ANSI System level 1 tapes.
Writing.
Same as B, but write HDR2/EOF2 label for
automatic unblocking. (F format, System level 3).
- R
-
Read with RT11 label and name conventions.
- S
-
Read with RSTS conventions (same as RT11,
except 80-character labels).
- l
-
Use next argument as non-standard label size.
- U
-
Do case conversion on alphabetic characters in filenames.
Upper-case to lower-case from tape to UNIX. Lower-case
to upper-case from UNIX to tape.
- v
-
Use
`verbose'
mode - Lots of information about labels.
- V
-
Use next argument (up to 6 alphanumeric characters) as tape
vsn.
- 1..9
-
Select tape unit (default is
/dev/rmt8
).
The arguments for
b, B, D, F, l
are unsigned decimal strings. It is probably preferable
to use only upper-case alphabetics in the argument to
V.
Arguments are evaluated in the order in which the associated
subcommand characters appear.
Note: The `*' wild card character may be used to get a number
of related files from tape, but in that case the filename
must be quoted to prevent the shell from attempting to
expand the wild card. When writing from UNIX to tape,
wild cards work normally.
SEE ALSO
ANSI X3.27-1978:
Magnetic Tape Labels and File Structure for Information Interchange.
ISO 1001-1979:
Magnetic Tape Labels and File Structure for Information Interchange.
AUTHORS
Unknown, modified by David R. Brown, further
modified by Pierre A. MacKay.
BUGS
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- SEE ALSO
-
- AUTHORS
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 14:13:38 GMT, February 10, 2023