converted man page
[unix-history] / usr / src / usr.bin / fpr / fpr.1
index 690ab7c..b19fe07 100644 (file)
-.\" Copyright (c) 1989 The Regents of the University of California.
+.\" Copyright (c) 1989, 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
 .\" This code is derived from software contributed to Berkeley by
 .\" Robert Corbett.
 .\"
 .\" All rights reserved.
 .\"
 .\" This code is derived from software contributed to Berkeley by
 .\" Robert Corbett.
 .\"
-.\" Redistribution and use in source and binary forms are permitted
-.\" provided that the above copyright notice and this paragraph are
-.\" duplicated in all such forms and that any documentation,
-.\" advertising materials, and other materials related to such
-.\" distribution and use acknowledge that the software was developed
-.\" by the University of California, Berkeley.  The name of the
-.\" University may not be used to endorse or promote products derived
-.\" from this software without specific prior written permission.
-.\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-.\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+.\" %sccs.include.redist.man%
 .\"
 .\"
-.\"    @(#)fpr.1       6.4 (Berkeley) %G%
+.\"     @(#)fpr.1      6.5 (Berkeley) %G%
 .\"
 .\"
-.TH FPR 1 ""
-.UC 5
+.Dd 
+.Dt FPR 1
+.Os BSD 4.2
 .ds f. fpr.tbl
 .ds f. fpr.tbl
-.SH NAME
-fpr \- print Fortran file
-.SH SYNOPSIS
-.B fpr
-.SH DESCRIPTION
-.I Fpr
+.Sh NAME
+.Nm fpr
+.Nd print Fortran file
+.Sh SYNOPSIS
+.Nm fpr
+.Sh DESCRIPTION
+.Nm Fpr
 is a filter that transforms files formatted according to
 Fortran's carriage control conventions into files formatted
 according to UNIX line printer conventions.
 is a filter that transforms files formatted according to
 Fortran's carriage control conventions into files formatted
 according to UNIX line printer conventions.
-.PP
-.I Fpr
+.Pp
+.Nm Fpr
 copies its input onto its output, replacing the carriage
 control characters with characters that will produce the intended
 effects when printed using
 copies its input onto its output, replacing the carriage
 control characters with characters that will produce the intended
 effects when printed using
-.IR lpr (1).
+.Xr lpr  1  .
 The first character of each line determines the vertical spacing as follows:
 The first character of each line determines the vertical spacing as follows:
-
-.if t \{\
-.\"    tbl input for vertical spacing table
-.\"    .TS
-.\"    center box;
-.\"    c | l.
-.\"    Character       Vertical Space Before Printing
-.\"    _
-.\"    Blank   One line
-.\"    0       Two lines
-.\"    1       To first line of next page
-.\"    +       No advance
-.\"    .TE
-.\"    end of tbl input for vertical spacing table
-.\"    tbl output for vertical spacing table
-.TS
-.if \n+(b.=1 .nr d. \n(.c-\n(c.-1
-.de 35
-.ps \n(.s
-.vs \n(.vu
-.in \n(.iu
-.if \n(.u .fi
-.if \n(.j .ad
-.if \n(.j=0 .na
-..
-.nf
-.nr #~ 0
-.if n .nr #~ 0.6n
-.ds #d .d
-.if \(ts\n(.z\(ts\(ts .ds #d nl
-.fc
-.nr 33 \n(.s
-.rm 80 81
-.nr 80 0
-.nr 38 \w\ 2Character\ 2
-.if \n(80<\n(38 .nr 80 \n(38
-.nr 38 \w\ 2Blank\ 2
-.if \n(80<\n(38 .nr 80 \n(38
-.nr 38 \w\ 20\ 2
-.if \n(80<\n(38 .nr 80 \n(38
-.nr 38 \w\ 21\ 2
-.if \n(80<\n(38 .nr 80 \n(38
-.nr 38 \w\ 2+\ 2
-.if \n(80<\n(38 .nr 80 \n(38
-.80
-.rm 80
-.nr 81 0
-.nr 38 \w\ 2Vertical Space Before Printing\ 2
-.if \n(81<\n(38 .nr 81 \n(38
-.nr 38 \w\ 2One line\ 2
-.if \n(81<\n(38 .nr 81 \n(38
-.nr 38 \w\ 2Two lines\ 2
-.if \n(81<\n(38 .nr 81 \n(38
-.nr 38 \w\ 2To first line of next page\ 2
-.if \n(81<\n(38 .nr 81 \n(38
-.nr 38 \w\ 2No advance\ 2
-.if \n(81<\n(38 .nr 81 \n(38
-.81
-.rm 81
-.nr 38 1n
-.nr 79 0
-.nr 40 \n(79+(1*\n(38)
-.nr 80 +\n(40
-.nr 41 \n(80+(3*\n(38)
-.nr 81 +\n(41
-.nr TW \n(81
-.nr TW +1*\n(38
-.if t .if (\n(TW+\n(.o)>7.65i .tm Table at line 45 file fpr.tbl is too wide - \n(TW units
-.ne 5v+2p
-.nr #I \n(.i
-.in +(\n(.lu-\n(TWu-\n(.iu)/2u
-.fc \ 2 \ 3
-.nr #T 0-1
-.nr #a 0-1
-.nr #a 0-1
-.eo
-.de T#
-.ds #d .d
-.if \(ts\n(.z\(ts\(ts .ds #d nl
-.mk ##
-.nr ## -1v
-.ls 1
-.if \n(#T>=0 .nr #a \n(#T
-.if \n(T. .vs \n(.vu-\n(.sp
-.if \n(T. \h'|0'\s\n(33\l'|\n(TWu\(ul'\s0
-.if \n(T. .vs
-.if \n(#a>=0 .sp -1
-.if \n(#a>=0 \h'|0'\s\n(33\h'-\n(#~u'\L'|\n(#au-1v'\s0\v'\n(\*(#du-\n(#au+1v'\h'|\n(TWu'
-.if \n(#a>=0 .sp -1
-.if \n(#a>=0 \h'(|\n(41u+|\n(80u)/2u'\s\n(33\h'-\n(#~u'\L'|\n(#au-1v'\s0\v'\n(\*(#du-\n(#au+1v'\h'|\n(TWu'
-.if \n(#a>=0 .sp -1
-.if \n(#a>=0 \h'|\n(TWu'\s\n(33\h'-\n(#~u'\L'|\n(#au-1v'\s0\v'\n(\*(#du-\n(#au+1v'
-.ls
-..
-.ec
-.nr 36 \n(.v
-.vs \n(.vu-\n(.sp
-\h'|0'\s\n(33\l'|\n(TWu\(ul'\s0
-.vs \n(36u
-.mk #a
-.ta \n(80u \n(81u 
-.nr 31 \n(.f
-.nr 35 1m
-\&\h'|\n(40u'\ 2\ 3Character\ 3\ 2\h'|\n(41u'\ 2Vertical Space Before Printing\ 3\ 2
-.nr 36 \n(.v
-.vs \n(.vu-\n(.sp
-\h'|0'\s\n(33\l'|\n(TWu\(ul'\s0
-.vs \n(36u
-.ta \n(80u \n(81u 
-.nr 31 \n(.f
-.nr 35 1m
-\&\h'|\n(40u'\ 2\ 3Blank\ 3\ 2\h'|\n(41u'\ 2One line\ 3\ 2
-.ta \n(80u \n(81u 
-.nr 31 \n(.f
-.nr 35 1m
-\&\h'|\n(40u'\ 2\ 30\ 3\ 2\h'|\n(41u'\ 2Two lines\ 3\ 2
-.ta \n(80u \n(81u 
-.nr 31 \n(.f
-.nr 35 1m
-\&\h'|\n(40u'\ 2\ 31\ 3\ 2\h'|\n(41u'\ 2To first line of next page\ 3\ 2
-.ta \n(80u \n(81u 
-.nr 31 \n(.f
-.nr 35 1m
-\&\h'|\n(40u'\ 2\ 3+\ 3\ 2\h'|\n(41u'\ 2No advance\ 3\ 2
-.fc
-.nr T. 1
-.T# 1
-.in \n(#Iu
-.35
-.nr #a 0
-.TE
-.if \n-(b.=0 .nr c. \n(.c-\n(d.-9
-.\"    end of tbl output for vertical spacing table
-.\}
-.if n \{\
-.nf
-    +---------------+--------------------------------+
-    |   Character   | Vertical Space Before Printing |
-    |---------------+--------------------------------|
-    |     Blank     | One line                       |
-    |       0       | Two lines                      |
-    |       1       | To first line of next page     |
-    |       +       | No advance                     |
-    +---------------+--------------------------------+
-.fi
-.\}
-
-.PP
+.Ds I
+.Cw Character
+.Cl Blank      One line
+.Pp
+.Cl 0  Two lines
+.Cl 1  To first line of next page
+.Cl +  No advance
+.Cw
+.De
+.Pp
 A blank line is treated as if its first
 character is a blank. A blank that appears as a carriage control
 character is deleted. A zero is changed to a newline.  A one is
 changed to a form feed. The effects of a "+" are simulated using
 backspaces.
 A blank line is treated as if its first
 character is a blank. A blank that appears as a carriage control
 character is deleted. A zero is changed to a newline.  A one is
 changed to a form feed. The effects of a "+" are simulated using
 backspaces.
-.SH EXAMPLES
-a.out | fpr | lpr
-.PP
-fpr < f77.output | lpr
-.SH BUGS
+.Sh EXAMPLES
+.Dl a.out \&| fpr \&| lpr
+.Pp
+.Dl fpr \&< f77.output \&| lpr
+.Sh HISTORY
+.Nm Fpr
+appeared in 4.2 BSD.
+.Sh BUGS
 Results are undefined for input lines longer than 170 characters.
 Results are undefined for input lines longer than 170 characters.