Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

10.0;os (overstrike), revision 1.0, 88/01/21
os (overstrike) -- Convert ASCII to FORTRAN carriage control.
usage:  os [pathname...]



DESCRIPTION
     os converts a file containing ASCII carriage control (for such things as
     form feeds and backspacing for underlining) into a file that can be
     printed on a line printer with FORTRAN carriage control.  By default,
     output is written to standard output; redirect it into a file with the
     >pathname expression.

     If you create a new file containing the overstruck text, os automatically
     sets the file's carriage control flag so that printers we supply
     interprets the file correctly.  If you use os in a pipeline, however, the
     flag is not set (since output goes to standard output).  In this case,
     you must use the -ftn option on the prf command for the file to be
     printed correctly.  See examples 2 and 3 below.

ARGUMENTS
     pathname (optional)
                    Specify the file to be converted.  Multiple pathnames are
                    permitted, separated by blanks.  However,  all output is
                    concatenated.

                    Default if omitted:  read standard input

EXAMPLES
     1. Convert the file mary and write to standard output.

        $ os mary
        $


     2. Format the file letter, pipe output to os, and write the results into
        letter.os. This file is then printed on the default printer.

        $ fmt letter | os >letter.overstruck
        $ prf letter.os         -npag
        $


     3. Format the file letter and pipe it directly to the line printer. Note
        the use of -ftn to ensure that proper carriage control is used.

        $ fmt letter | os | prf -npag -ftn
        $


     4. Format letter and print it on a Spinwriter printer. Since Spinwriters
        use ASCII carriage control, os and the -ftn option on prf are not
        needed.

        $ fmt letter | prf -npag -pr spin
        $



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026