Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

CP/M does not use forward slash as the CLI modifier.

Examples - from the standard CP/M utilities (CP/M 2.2)

ASM FILE.ABC

.ABC encodes options. Source file for ASM is always .ASM

STAT uses $ - STAT FILE $R/O sets file to read-only PIP A:=B:[G0] - PIP (copy, "peripheral interchange program"), uses [ for options, as do later Digital Research programs (like the linker). Basically /no/ Digital Research use of / as option separator.

Microsoft used / - for example the command line L80 FILE,FILE/N/E - which means link FILE.REL (relocatable), naming the output FILE.COM, and link and exit.

CP/M 2.2 introduced "user areas" - a disk could be divided into 16 user areas (USER 0 to USER 15). There was no "searching" until CP/M 3. CP/NET (Digital Research networking) used [ as a separator. Examples (from CP/NET documentation)

A>RMAC SNIOS A>LINK SNIOS[OS]

LOGIN {password}{[mstrID]}

LOGIN secret[01]

would log in to server 01, with password secret

NETWORK B:=D:[F]

assigned B: to server 0F, drive D:

The lack of directories was not such a loss, as the maximum disk size for CP/M 2.2 was 8MB. Remote drives with CP/NET could be much larger (I have used up to 1TB).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: