Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ os — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

2.0;os (overstrike), revision 2.0, 81/07/01
OS (OVERSTRIKE) -- Convert ASCII to FORTRAN carriage control.
usage:  OS [pathname...]


FORMAT

  OS [pathname...]


  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 will interpret 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  file  to  be  converted.   Multiple pathnames are
                     permitted,  separated   by   blanks.      All   output   is
                     concatenated, however.

                     Default if omitted:  read standard input


EXAMPLES

  1. $ os mary                                Convert the file "mary" and
     $                                         write to standard output.

  2. $ fmt letter | os >letter.overstruck     Format the file "letter", pipe
     $ prf letter.os         -npag            output to OS, and write the
     $                                        results into "letter.os." This
                                              file is then printed on the
                                              default printer.

  3. $ fmt letter | os | prf -npag -ftn       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.

  4. $ fmt letter | prf -npag -pr spin        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.

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