Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

FPR(1)                               BSD                                FPR(1)



NAME
     fpr - print FORTRAN file

SYNOPSIS
     fpr

DESCRIPTION
     fpr is a filter that transforms files formatted according to FORTRAN's
     carriage-control conventions into files formatted according to UNIX
     line-printer conventions.

     fpr copies its input onto its output, replacing the carriage-control
     characters with characters that produce the intended effects when printed
     using lpr(1).  The first character of each line determines the vertical
     spacing as follows:

                   ____________________________________________
                   |Character_|_Vertical_Space_Before_Printing_|
                   |  Blank   | One line                       |
                   |    0     | Two lines                      |
                   |    1     | To first line of next page     |
                   |    +     | No advance                     |
                   |__________|________________________________|

     fpr treats a blank line as if its first character is a blank; deletes a
     blank that appears as a carriage-control character; changes a zero to a
     newline; changes a 1 to a form feed; and uses backspaces to simulate the
     effects of a "+".

EXAMPLES
     % a.out | fpr | lpr

     % fpr < f77.output | lpr


BUGS
     Results are undefined for input lines longer than 170 characters.

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