Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mortenjc committed Nov 18, 2024
1 parent 88b6bda commit 6fb99ef
Showing 1 changed file with 32 additions and 8 deletions.
40 changes: 32 additions & 8 deletions docs/source/background/q1lite.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ the system.

Here are some examples of commands that are known to work

DINDEX
^^^^^^
**DINDEX**

Reads the INDEX file and provides details of the files on the disk: Name,
record size, number of records, start and end track, whether it is protected.
Expand All @@ -34,25 +33,50 @@ Starts the DINDEX program. The user will be queried for which drive to investiga
Starts DINDEX looking at drive 3


ALTER
^^^^^
**ALTER**

Rename, Protect or Free (unprotect) a file.
Rename, Protect or Free (unprotect) a file. ALTER takes zero or more
arguments

> ALTER

Starts the ALTER program. The user is queried for which action to take.

> ALTER Rename

Starts ALTER and goes straight to the rename user input. User must supply
Starts ALTER and goes straight to the rename user input. User must supply the
remaining information

> ALTER Rename 2

Rename file on disk 2. User must supply the src and dst filename

> ALTER Rename 2 SCR

Rename SCR on disk 2, user must provide destination filename.

> ALTER Rename 2 SCR SCR2

Performs renaming without user interaction.

Commands for protecting and freeing/unprotecting a file without user interaction:

> ALTER Protect 2 SCR
> ALTER Free 2 SCR


PRINT
^^^^^
**PRINT**

Prints the contents of a file.

> PRINT Q1

**COPY**

Copies a file. Both file must already exist and record size and number of records
must be identical.

Syntax: COPY src dst src_disk dst_disk

> COPY
> COPY T1R10 T2R10 4 4

0 comments on commit 6fb99ef

Please sign in to comment.