1*43693Scael.\" Copyright (c) 1989, 1990 The Regents of the University of California. 239855Sbostic.\" All rights reserved. 319765Smckusick.\" 439855Sbostic.\" This code is derived from software contributed to Berkeley by 539855Sbostic.\" Robert Corbett. 619765Smckusick.\" 7*43693Scael.\" %sccs.include.redist.man% 839855Sbostic.\" 9*43693Scael.\" @(#)fpr.1 6.5 (Berkeley) 06/24/90 1039855Sbostic.\" 11*43693Scael.Dd 12*43693Scael.Dt FPR 1 13*43693Scael.Os BSD 4.2 1419765Smckusick.ds f. fpr.tbl 15*43693Scael.Sh NAME 16*43693Scael.Nm fpr 17*43693Scael.Nd print Fortran file 18*43693Scael.Sh SYNOPSIS 19*43693Scael.Nm fpr 20*43693Scael.Sh DESCRIPTION 21*43693Scael.Nm Fpr 2219765Smckusickis a filter that transforms files formatted according to 2319765SmckusickFortran's carriage control conventions into files formatted 2419765Smckusickaccording to UNIX line printer conventions. 25*43693Scael.Pp 26*43693Scael.Nm Fpr 2719765Smckusickcopies its input onto its output, replacing the carriage 2819765Smckusickcontrol characters with characters that will produce the intended 2919765Smckusickeffects when printed using 30*43693Scael.Xr lpr 1 . 3119765SmckusickThe first character of each line determines the vertical spacing as follows: 32*43693Scael.Ds I 33*43693Scael.Cw Character 34*43693Scael.Cl Blank One line 35*43693Scael.Pp 36*43693Scael.Cl 0 Two lines 37*43693Scael.Cl 1 To first line of next page 38*43693Scael.Cl + No advance 39*43693Scael.Cw 40*43693Scael.De 41*43693Scael.Pp 4219765SmckusickA blank line is treated as if its first 4319765Smckusickcharacter is a blank. A blank that appears as a carriage control 4419765Smckusickcharacter is deleted. A zero is changed to a newline. A one is 4519765Smckusickchanged to a form feed. The effects of a "+" are simulated using 4619765Smckusickbackspaces. 47*43693Scael.Sh EXAMPLES 48*43693Scael.Dl a.out \&| fpr \&| lpr 49*43693Scael.Pp 50*43693Scael.Dl fpr \&< f77.output \&| lpr 51*43693Scael.Sh HISTORY 52*43693Scael.Nm Fpr 53*43693Scaelappeared in 4.2 BSD. 54*43693Scael.Sh BUGS 5519765SmckusickResults are undefined for input lines longer than 170 characters. 56