cdm gives access to the CP/M disk images used by yaze(1). With
cdm you can create disks, copy files to and from the Unix file system,
list files and erase files from the CP/M disk.
Any files listed on the cdm command line are taken to be existing CP/M
disk files and they are mounted successively to drive A, B, C, ... etc.
The format of CP/M disk files (<CPM_Disk>) is described in
yaze.doc and yaze-ag.doc.
The interactive interface to cdm mimics an extended CP/M clone. The
current disk and user number appear in the prompt and can be changed by
entering DU: as a command, where D is any mounted disk letter (a .. p) and U
is a user number (cdm allows 0 .. 31, although you should restrict
yourself to numbers under 16 to remain compatible with CP/M).
DU: can also be prefixed to any filename, to indicate that it is
not on the current disk/user. Two pseudo disks can be referenced in the
copy command: u and t. These refer to files in the Unix file-system.
`u:file' refers to a binary Unix file and `t:file' refers to a text Unix
file. The difference is that u: files are copied verbatim whereas t: files
undergo CRLF and ^Z processing appropriate for the copy direction (to or
Command names can be shortened to a unique abbreviation. If
cdm was compiled with GNU Readline, command-line editing, filename
completion and history recall are available - see the readline
Frank D. Cringle (E-Mail: fdc (at) cliwe (dot) ping (dot) de)
- Display a command list
- help cmd
- Give details about cmd
- Mount a Unix file as a CP/M disk
- Unmount a CP/M disk
- Display directory
- Synonym for `dir'
- Erase CP/M file(s)
- Copy one or more files
- Rename a CP/M file
- Pipe a text file through $PAGER
- Create a new disk
(modified by Andreas Gerlich to create files with sektor size 2048 bytes to
use under CP/M 3.1)
- Execute a Unix command
- Terminate cdm
Andreas Gerlich (E-Mail: development (at) yaze-ag (dot) de)