[comp.unix.ultrix] Ultrix 3.1C /usr/bin/pswrap -- what is it?

D. Allen [CGL]" <idallen@watcgl.waterloo.edu> (08/26/90)

strings /usr/bin/pswrap includes:

    Usage:  pswrap [options] [input-file]
	-a              produce ANSI C procedure prototypes
	-b              process a big file
	-h filename     specify header filename
	-o filename     specify output C filename
	-r              make wraps re-entrant
	-s length       set maximum string length

No man page seen in /usr/etc/subsets/*.inv; what is this?  It comes in
the X11 Development subset.
-- 
-IAN! (Ian! D. Allen) idallen@watcgl.uwaterloo.ca idallen@watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada

mf@ircam.ircam.fr (Michel Fingerhut) (08/27/90)

30 September 1989                                      PSWRAP(3D)

NAME
     pswrap - puts a prologue and trailer around postscript files
     produced by graph3d

SYNOPSIS
     pswrap [ filename...  ]

DESCRIPTION
     Pswrap is a program which puts a prologue and trailer around
     postscript files produced by graph3d(3d).  It can used as a
     filter to wrap a single file, or multiple files can be
     specified as arguments.  If multiple files are specified it
     assumed each file contains a graph, and it will make each
     graph smaller so that all fit onto the page.

AUTHOR
     Tony Plate

     Copyright (C) 1989 Tony Plate

     This program and documentation may be freely distributed and
     used, provided that this copyright notice is retained
     intact.  There is no warranty with this software.

SEE ALSO
     hat(3d) hills(3d) graph3d(3d) graph3d-tek(3d) pswrap(3d)
     hills(3d)

hoyt@laura.alf.dec.com (Kurt Hoyt) (08/27/90)

In article <1990Aug25.212335.12478@watcgl.waterloo.edu>, idallen@watcgl.waterloo.edu (Ian! D. Allen [CGL]) writes:
> strings /usr/bin/pswrap includes:

> No man page seen in /usr/etc/subsets/*.inv; what is this?  It comes in
> the X11 Development subset.

From the manual:

"The pswrap translator provides a natural way for a developer or toolkit
implementor to compose a package of C-callable procedures that send PostScript
language code to the PostScript interpreter. These C-Callabel procedures are
known as wrapped procedures or wraps."
   -- "Display PostScript pswrap Reference Manual", DEC order no. AA-PAJTA-TE

These wraps are PostScript code which has been given a C wrapper. You write
PostScript, run pswrap, and you can then call that PostScript code from C.

PostScript is a trademark of Adobe Systems Incorporated.

..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..:..
Kurt in Atlanta             "More than 4 billion chickens in America
hoyt@decatl.enet.dec.com     each year do not have a single happy moment
hoyt@laura.alf.dec.com       in their lives." -- PETA News