mirror of
https://github.com/wfjm/w11.git
synced 2026-04-28 21:08:35 +00:00
Rw11CntlTM11 and tap2file updates
- tap2file - BUGFIX in rlmax calculation - add -v option - Rw11CntlTM11 - BUGFIX: AddNormalExit(): get tmds logic right - support odd record length
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
.\" -*- nroff -*-
|
||||
.\" $Id: tap2file.1 686 2015-06-04 21:08:08Z mueller $
|
||||
.\" $Id: tap2file.1 1180 2019-07-08 15:46:59Z mueller $
|
||||
.\"
|
||||
.\" Copyright 2015- by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
.\" Copyright 2015-2019 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
|
||||
.\"
|
||||
.\" ------------------------------------------------------------------
|
||||
.
|
||||
.TH TAP2FILE 1 2015-06-03 "Retro Project" "Retro Project Manual"
|
||||
.TH TAP2FILE 1 2019-07-08 "Retro Project" "Retro Project Manual"
|
||||
.\" ------------------------------------------------------------------
|
||||
.SH NAME
|
||||
tap2file \- split a tap format tape container into individual files
|
||||
@@ -14,6 +14,7 @@ tap2file \- split a tap format tape container into individual files
|
||||
.
|
||||
.SY tap2file
|
||||
.OP \-\-pref=p
|
||||
.OP \-\-v
|
||||
.I FILE
|
||||
.
|
||||
.SY tap2file
|
||||
@@ -35,14 +36,20 @@ the record length is variable the minimal and the maximal record length is given
|
||||
.SH OPTIONS
|
||||
.
|
||||
.\" ----------------------------------------------
|
||||
.IP "\fB\-\-pref\fR=\fIp\fR"
|
||||
.IP "\fB\-pref\fR=\fIp\fR"
|
||||
use \fIp\fR as prefix to generate the names of all generated file. If not
|
||||
specified the stem of the input file name is taken.
|
||||
.
|
||||
.\" ----------------------------------------------
|
||||
.IP "\fB\-v\fR"
|
||||
verbose mode, prints a message per processed record which contains file number,
|
||||
record number, record length and the first 16 bytes as hex dump. EOF and
|
||||
EOT markers are also indicated. Can be useful for tapes with varying record
|
||||
length files or for debugging.
|
||||
.
|
||||
.\" ----------------------------------------------
|
||||
.IP "\fB\-help\fR"
|
||||
print full help text and exit.
|
||||
.
|
||||
.\" ------------------------------------------------------------------
|
||||
.SH EXAMPLES
|
||||
.IP "\fBtap2file tmscptape.tap\fR" 4
|
||||
@@ -67,6 +74,30 @@ byte records, and the remaining ones 10240 byte records. In case of a tape
|
||||
generated by a Unix system a record length of 10240 is a good hint this the
|
||||
file contains a \fBtar\fR(1) archive.
|
||||
|
||||
.IP "\fBtap2file -v test.tap\fR" 4
|
||||
reads the file \fItest.tap\fR and writes a one line trace info for each record.
|
||||
The stdout output might look like
|
||||
|
||||
.EX
|
||||
0, 0 : 80 : 00 00 00 00 50 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
0, 1 : 80 : 00 00 01 00 50 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
0, 2 : 160 : 00 00 02 00 a0 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
0, 3 : 160 : 00 00 03 00 a0 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
0, 4 : ---EOF---
|
||||
test_00.dat: 4 records, length min= 80, max= 160
|
||||
1, 0 : 92 : 01 00 00 00 5c 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
1, 1 : 92 : 01 00 01 00 5c 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
1, 2 : 92 : 01 00 02 00 5c 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
1, 3 : 100 : 01 00 03 00 64 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
1, 4 : 100 : 01 00 04 00 64 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
1, 5 : 96 : 01 00 05 00 60 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
1, 6 : 96 : 01 00 06 00 60 00 06 07 08 09 0a 0b 0c 0d ...
|
||||
1, 7 : ---EOF---
|
||||
test_01.dat: 7 records, length min= 92, max= 100
|
||||
5, 0 : ---EOF---
|
||||
6, 0 : ---EOT---
|
||||
.EE
|
||||
|
||||
.\" ------------------------------------------------------------------
|
||||
.SH "SEE ALSO"
|
||||
.BR file2tap (1)
|
||||
|
||||
Reference in New Issue
Block a user