BSD 4_3_Net_2 release
[unix-history] / usr / src / usr.bin / pascal / px / px.1
index 119811c..e6fdddd 100644 (file)
@@ -1,21 +1,47 @@
 .\" Copyright (c) 1980, 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
 .\" Copyright (c) 1980, 1990 The Regents of the University of California.
 .\" All rights reserved.
 .\"
-.\" %sccs.include.redist.man%
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\"    notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\"    notice, this list of conditions and the following disclaimer in the
+.\"    documentation and/or other materials provided with the distribution.
+.\" 3. All advertising materials mentioning features or use of this software
+.\"    must display the following acknowledgement:
+.\"    This product includes software developed by the University of
+.\"    California, Berkeley and its contributors.
+.\" 4. Neither the name of the University nor the names of its contributors
+.\"    may be used to endorse or promote products derived from this software
+.\"    without specific prior written permission.
 .\"
 .\"
-.\"    @(#)px.1        6.6 (Berkeley) %G%
+.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
 .\"
 .\"
-.Vx
-.Dd 
+.\"    @(#)px.1        6.7 (Berkeley) 5/9/91
+.\"
+.Dd May 9, 1991
 .Dt PX 1
 .Dt PX 1
+.Os BSD 3.0
 .Sh NAME
 .Sh NAME
-.Nm px
+.Nm \&px
 .Nd Pascal interpreter
 .Sh SYNOPSIS
 .Nd Pascal interpreter
 .Sh SYNOPSIS
-.Nm px
+.Nm \&px
 .Op  Ar obj Op Ar argument ...
 .Sh DESCRIPTION
 .Op  Ar obj Op Ar argument ...
 .Sh DESCRIPTION
-.Nm Px
+.Nm \&Px
 interprets the abstract machine code generated by
 .Xr pi 1 .
 The first argument is the file to be interpreted, and defaults
 interprets the abstract machine code generated by
 .Xr pi 1 .
 The first argument is the file to be interpreted, and defaults
@@ -26,7 +52,7 @@ built-ins
 .Ar argv
 and
 .Ar argc .
 .Ar argv
 and
 .Ar argc .
-.Nm Px
+.Nm \&Px
 is also invoked by
 .Nm pix
 when running `load and go'.
 is also invoked by
 .Nm pix
 when running `load and go'.
@@ -38,27 +64,27 @@ are printed after normal termination.
 The
 .Cm p
 option of
 The
 .Cm p
 option of
-.Nm pi
+.Nm \&pi
 suppresses all of this except the message indicating the cause
 of abnormal termination.
 .Sh FILES
 suppresses all of this except the message indicating the cause
 of abnormal termination.
 .Sh FILES
-.Dw pmon.out
-.Di L
-.Dp Pa obj
+.Bl -tag -width pmon.out -compact
+.It Pa obj
 default object file
 default object file
-.Dp Pa pmon.out
+.It Pa pmon.out
 profile data file
 profile data file
-.Dp
+.El
 .Sh SEE ALSO
 .Sh SEE ALSO
-.Em Berkeley Pascal User's Manual
-.br
 .Xr pi 1 ,
 .Xr pix 1
 .Xr pi 1 ,
 .Xr pix 1
+.Rs
+.%T "Berkeley Pascal User's Manual"
+.Re
 .Sh DIAGNOSTICS
 Most run-time error messages are self-explanatory.
 Some of the more unusual ones are:
 .Sh DIAGNOSTICS
 Most run-time error messages are self-explanatory.
 Some of the more unusual ones are:
-.Tw Ds
-.Tp Reference to an inactive file
+.Bl -tag -width indent
+.It Reference to an inactive file
 A file other than
 .Ar input
 or
 A file other than
 .Ar input
 or
@@ -67,28 +93,24 @@ was used before a call to
 .Ar reset
 or
 .Ar rewrite .
 .Ar reset
 or
 .Ar rewrite .
-.Tp Statement count limit exceeded
+.It Statement count limit exceeded
 The limit of 500,000 executed statements
 (which prevents excessive looping or recursion)
 has been exceeded.
 The limit of 500,000 executed statements
 (which prevents excessive looping or recursion)
 has been exceeded.
-.Tp Bad data found on integer read
-.Tp Bad data found on real read
+.It Bad data found on integer read
+.It Bad data found on real read
 Usually, non-numeric input was found for a number.
 For reals, Pascal requires digits before and after the decimal
 point so that numbers like `.1' or `21.' evoke the second diagnostic.
 Usually, non-numeric input was found for a number.
 For reals, Pascal requires digits before and after the decimal
 point so that numbers like `.1' or `21.' evoke the second diagnostic.
-.Tp panic:
-.Em Some message
+.It panic: Em Some message
 Indicates an internal inconsistency detected in
 Indicates an internal inconsistency detected in
-.Nm px
+.Nm \&px
 probably due to a Pascal system bug.
 probably due to a Pascal system bug.
-.Tp
-.Sh AUTHORS
-Charles B. Haley, William Joy, and Ken Thompson
-.br
-VAX-11 version by Kirk McKusick
+.El
 .Sh HISTORY
 .Sh HISTORY
-.Nm Px
-appeared in 3 BSD.
+.Nm \&Px
+appeared in
+.Bx 3.0 .
 .Sh BUGS
 Post-mortem traceback is not limited;
 infinite recursion leads to almost infinite traceback.
 .Sh BUGS
 Post-mortem traceback is not limited;
 infinite recursion leads to almost infinite traceback.