Skip to content

read20 should print author information #66

@ams

Description

@ams

TOPS-20 tapes store author information, read20 should print it.

For dump.h add:

#define WdoffAuthor      WdoffFDB+030   /* Author offset */

Then in doFileHeader:

    getstring(block, authorname, WdoffAuthor, sizeof(authorname), STRING);

and print it when in verbose mode:

printf("%5d%9d %2d %o %s %s %s", offline ? apgcount : pgcount,
                   numbytes, bytesize, tprot, timeptr, topsname, authorname);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions