User Tools

Site Tools


cp-v

This is an old revision of the document!


CP-V Operating System

The CP-V User's Guide can be found at https://livingcomputers.org/UI/UserDocs/CP-V/1_Time-Sharing_Users_Guide.pdf

User commands:

! is the command prompt for CP-V
CTRL-Y / ESC-Y stops a job, GO will continue it or QUIT will kill it
ESC-R - Reprints the current line
ESC-X - Deletes the current line
ESC-E - Toggles 'echoplex' (seeing what you type)
FL - File List
LIST - a Long file list (also L)
COPY fid1 TO fid2 (Copies fid1 to fid2) COPY fid1 INTO fid2 (Appends fid1 to fid2) COPY fid to ME (this displays the contents of a file to the screen) TIME - Displays the time of day
TELL - Try 'TIME' then do 'TELL ME HELLO at (TIME)' where (TIME) is 2 minutes after what TIME reports
STATUS - Shows how much time you have used
T - Lists the terminal line status - !T 37 will set Teletype Model 37
SPLIST - Prints the spool status
OFF - LOGS OUT of the system while displaying a usage summary

The Editor:

E or EDIT a file
*TY - Type All LInes
*TY0+ - Type a screen full of lines starting at 0
*+ print a screen full of lines starting at the current line

Languages:

AP - Assembly Language Processor
APL - A Programming Language
BASIC - Beginners All-Purpose Symbolic Instruction Code
FORT - FORTRAN IV (!FORT ME OVER #
F77 - FORTRAN 77

BASIC Command Usage and Example Session

ACCACCesses a directory. Ex. ACC GAMEB for games. ACC LOGON returns you to your directory
CATCATalogue the directory.
LISTLIST program buffer
RUNRUN program buffer
SAVESAVE a program ON FILE. Ex. SAVE ON MYBAS
SYSSYStem quits BASIC and returns to !TEL
   !basic
   VER. C02
   >
   

FORTRAN Example Session

   !FORT ME OVER #

EXT. FORTRAN IV, VERSION E02 OPTIONS >

GOTO JAIL
             |

WARNING: GO DIRECTLY. DO NOT PASS GO. DO NOT COLLECT 200 DOLLARS.

STATEMENT DELETED.

> DO 100 I=1,10

100 OUTPUT I
STOP
END

HIGHEST ERROR SEVERITY: 0 (NO ERRORS)

DEC HEX

                WORDS     WORDS
                -----     -----
GENERATED CODE:    18     00012
     CONSTANTS:     0     00000

LOCAL VARIABLES: 1 00001

         TEMPS:     0     00000
                -----     -----
 TOTAL PROGRAM:    19     00013

!RUN

   LINKING $

'P1' ASSOCIATED. I = 1 I = 2 I = 3 I = 4 I = 5 I = 6 I = 7 I = 8 I = 9 I = 10 *STOP* 0

cp-v.1583802534.txt.gz · Last modified: 2020/03/10 01:08 by smj