For example, suppose there is a background process called download running. We wish to know when this has completed. The command to do this is: "wait download ! echo > con: " & This command will suspend until thecompletion of download , and thenemit some beeps. Ctrl G Ctrl G Ctrl G Pipes command | command A pipe is created by typing vertical bars ( | ) between two or more commands. The operating system starts each command asynchronously. An interprocess pipe connectstheoutputofeachcommandwiththeinputofthenext. Ifthelastcommand in the pipeline was run synchronously, the system blocks until it is complete.
You can also pipe standard error using the ^ symbol, however this can not be done while also using the normal pipe. Under multitasking, all the specified tasks are run simultaneously, rather than sequentially via temporary files, as is the case for the older MRD, or for MS-DOS. Altering internal settings OPTION optionnum setting The option command is a general way of varying various fiddly settings within 1616/OS . If you use the option command without a second (setting) parameter, it will return the current setting of the option. This is handy for finding things like the present end-of-file character. The present options are:
option 0 1 (default) Turns on display of the current directory in the prompt. option 0 0 turns it off again. option 1 1 Turnsonverbosemode. Manycommandsoperatequietly. option 1 0 turns verbose mode off. option 2 2 (default) Turns onalphabetic sorting. The option 2 setting also affects the sorting of wildcard expansion. option 2 0 turns off sorting of directory listings. option 2 1 turns on sorting of listings by date. option 3 0 Affects how information is displayed when a machine exception occurs. If option 3 0 (default) has been selected then the screen is not cleared and a register dump only is displayed. The system registers are dumped in memory as follows:
$8000 registers d0-d7/a0-a7 1616/OS Commands User Tutorial Manual Page 87