Menu

Tree [c32cfe] master /
 History

HTTPS access


File Date Author Commit
 Makefile 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 README.md 2023-11-18 Paul Osmialowski Paul Osmialowski [c32cfe] NFC: a typo corrected
 client.c 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 client.h 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 cmds.c 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 cmds.h 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 connection.c 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 connection.h 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 cpmfs.c 2020-11-04 Paul Osmialowski Paul Osmialowski [0a9a67] cpmfs: fix border case in fname to string conve...
 cpmfs.h 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 cpmfs16mb.c 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 cpmfs16mb.h 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 cpmfsspectran.c 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 debug.h 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 main.c 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 spectran.c 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit
 spectran.h 2020-10-14 Paul Osmialowski Paul Osmialowski [49cbc8] Initial commit

Read Me

spectranfs: A simple tool for accessing a remote CP/M filesystem using the spectrand protocol

Usage

$ ./spectranfs <host> <port> <uid> <command> [params...]

Where host is an address (e.g. IP address) of a remote host on which the
spectrand or spectrangsx server was started, port is a TCP port number
on which spectrand (or spectrangsx) waits for remote disk image access
connections, uid is a specific user ID to be used (a single integer number in
range 0..15; alternatively, @ can be given which means 'any uid'). A command
can be any of:

  • ls - list files visible by given uid (@ for any uid);

  • lsmap - list data blocks on a remote disk image;

  • lsent - list raw file entries on a remote disk image visible by given uid
    (@ for any uid); larger files are split across multiple entries
    with the same uid and filename;

  • lsdel - list raw file entries of any deleted files on a remote disk image;

  • cat - print a file with a given filename;

  • get - fetch file with a given filename;

  • put - send file with a given filename from the local current directory
    to a remote disk image;

  • baktoggle - toggle backup attribute for a file with a given filename;

  • rwtoggle - toggle read/write attribute for a file with a given filename;

  • systoggle - toggle system attribute for a file with a given filename;

  • del - delete a file with a given filename;

  • undel - attempt to undelete a file with a given filename
    (only single entry files can be undeleted; see also lsent and lsdel);

  • chown - replace uid of a file with a given filename with a new uid,
    namely:

$ ./spectranfs <host> <port> <uid> chown <filename> <new_uid>
  • ren - rename a file with a given filename with a new filename (keeping
    the same uid), namely:
$ ./spectranfs <host> <port> <uid> ren <old_filename> <new_filename>