User Tools

Site Tools


cp-v

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cp-v [2020/03/10 01:19]
smj
cp-v [2020/03/13 13:57] (current)
smj
Line 5: Line 5:
 **User commands**:\\ **User commands**:\\
  
-! is the command prompt for CP-V\\ +//! is the command prompt for CP-V// 
-CTRL-Y / ESC-Y stops a jobGO will continue it or QUIT will kill it\\ +||ESC-Y||Stops the current job.  GO will continue it or QUIT will kill it|| 
-ESC-R Reprints the current line\\ +||ESC-R||Reprints the current line|| 
-ESC-X Deletes the current line\\ +||ESC-X||Deletes the current line|| 
-ESC-E Toggles 'echoplex' (seeing what you type)\\ +||ESC-E||Toggles //echoplex// mode|| 
-FL - File List\\ +||COPY||Copy a file||
-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\\+
  
 +      Examples: 
 +      
 +      COPY file1 TO file2     - Straight copy
 +      COPY file1 INTO file2   - Appends file1 to file2
 +      COPY file1 TO ME        - Displays file1 to the terminal
 +
 +||DISPLAY||Display System Status||
 +||FL||File List||
 +||LIST||Long file list (also try L)||
 +||T||Lists and sets the terminal line status.||
 +||TELL||Displays a message at a particular time.  ex: TELL ME HI at (HH:MM)||
 +||TIME||Displays the Time of Day||
 +||SHOW||SHOW details about your account||
 +||STATUS||Displays how much CPU and system time you've used||
 +||OFF||LOGS OUT of the system while displaying a usage summary||
  
 **The Editor**:\\ **The Editor**:\\
  
-E or EDIT file\\ +**NOTE**: //IN and DE modify the current file// 
-*TY Type All LInes\\ +!E or !EDIT filename / !BUILD filename if the file doesn't exist.\\ 
-*TY0+ - Type screen full of lines starting at 0\\ +||DE||DElete the current line ex. DE6 will delete line 6|| 
-*print screen full of lines starting at the current line\\+||IN||INsert next line - ex. TY7 and then IN will insert (overwrite) at line 8.000|| 
 +||SE||SEt line - ex. SE8 will make line 8.000 the current line|| 
 +||TY||TYpe all lines|| 
 +||TY0+||TYpe screenful of lines starting at 0|| 
 +||+||Type screenful of lines starting at the current line||
  
  
Line 57: Line 66:
                
        O GRAN  HR:00 MO/DY/YR   FILE NAME        O GRAN  HR:00 MO/DY/YR   FILE NAME
-        +              
-       +
         C    3  18:00 02/19/86  AMAZING         C    3  18:00 02/19/86  AMAZING
         K    7  14:00 01/05/83  AMAZINGFILE         K    7  14:00 01/05/83  AMAZINGFILE
Line 87: Line 95:
         C    1  18:00 02/19/86  TAPE:GAMB         C    1  18:00 02/19/86  TAPE:GAMB
         C    4  18:00 02/19/86  TICTAC         C    4  18:00 02/19/86  TICTAC
 +        
       >10 FOR I = 0 TO 10       >10 FOR I = 0 TO 10
       >20 PRINT I       >20 PRINT I
Line 92: Line 101:
       >40 END       >40 END
       >RUN       >RUN
 +      
       17:14   MAR 10  RUNCBAA...       17:14   MAR 10  RUNCBAA...
 +      
        0        0
        1        1
Line 106: Line 117:
                
             40 HALT             40 HALT
-      >SYSTEM +
-       +
-      ! +
-     +
 **__FORTRAN IV Example Session__** **__FORTRAN IV Example Session__**
  
 +Using [[FORTRAN]] requires you to imagine you're using an imaginary key punch machine producing a card deck.  Formatting is important.  To make things easier, set !TABS 7 to get to the CONTROL column from there you can <SPACE> once to get to the STATEMENT columns.
 +
 +  * Putting a **C** in column 1 denotes a comment which the compiler will ignore
 +  * Statement numbers can be in columns 1 - 5
 +  * Column 6 is reserved for **C** aka **TRANSFER CONTROL TO STATEMENT**
 +  * Columns 7 - 55 are typically used for **STATEMENTS**
 + 
 +     !TABS 7
      !FORT ME OVER #      !FORT ME OVER #
       EXT. FORTRAN IV, VERSION E02       EXT. FORTRAN IV, VERSION E02
cp-v.1583803192.txt.gz · Last modified: 2020/03/10 01:19 by smj