Using the CTO
Once connected and "logged in" to an application, users may invoke any stored procedures that have been written or converted for the CTO environment; PROCs or PAragraphs or Sentences; or the built-in commands, described in more detail below.
Note that, for commands containing dashes in their name (for example, "T-SELECT") users may specify _either_ the name with dashes, or the name with periods ("T.SELECT"), and the CTO will find the proper command.
The list of built-in commands currently includes:
- File (Table) and item commands: CREATE.FILE, CREATE.BFILE, CLEAR.FILE, COPY, DELETE, QSELECT, SELECT, SSELECT, COUNT, LIST, SORT;
- Media commands: ACCOUNT.RESTORE, ADD.ACCOUNTS, T.SELECT, T.READ, SEL.RESTORE, T.BACK, T.FWD, T.DUMP, T.LOAD, T.RDLBL, T.REW;
- Print management commands: STARTSPOOLER, STARTPTR, SP.ASSIGN, SP.EDIT, SP.OPEN, SP.CLOSE, LISTPTR, LISTPEQS, SP.KILL;
- Development commands: BASIC/COMPILE, CATALOG, RUN, ED;
- Process control commands: LISTE/LISTU, WHO, RESET.ENGINE, LOGTO, LOGON, OFF, QUIT, TERM;
- Information commands: LISTDICT, LISTFILES, VERSION
When any command or procedure generates output to the screen, this output may be paginated. If more than one page of output is generated, the CTO will "pause" at the bottom of the screen to accept the users response. Valid options include:
- <RETURN> to continue to the next page;
- Q or ^X to halt the output (and the program that is generating the output);
- ^F to find specific text in the output. You will be prompted for the search string, and output will be suppressed until the desired text is found
- N to continue in "no page" mode;
- any positive number (i.e., "10") to move to that page of the output;
- "+" or "-" followed by any number (i.e., "+5" or "-3") to move forwards or backwards that number of pages
When the output has completed, the user will be presented with a final pagination mark (an asterisk, "*") - this will allow them to move back through the output, if desired. Merely pressing <RETURN> one final time will return to TCL.