Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ crpad — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

pn

wc

tee

11.0;crpad (create_pad), revision 2.0, 90/08/24
crpad (create_pad) - create a transcript pad and window.
usage: crpad [pathname | -i[nput]] [-t[ee]] [-p[n] pathname]  [-w[indow] x y w h]



DESCRIPTION
     crpad creates a transcript pad, copies a file (or standard input) into
     that pad, and then opens a window into the pad.  This new pad is not
     related to the transcript pad attached to processes running the shell; it
     is for viewing file contents only.  This is primarily useful for
     displaying output being produced inside a pipeline without interrupting
     the flow of control in the pipe.

     You cannot edit transcript pads.  If you wish to place a file in a pad
     for editing, use the EDIT key or the DM command ce.

     crpad -input behaves differently.  This creates an edit pad and lets you
     create whatever text you want. When you close the edit pad (with wc or
     the EXIT key), that text is copied to standard output.

     pathname (optional)
                    Specify the file to be copied into the pad.  Not valid if
                    -input is used.

                    Default if omitted:  copy standard input

OPTIONS
     -i[nput]       Copies data from a temporary edit window to standard
                    output.  Not valid if -tee or -pn are specified.

     -p[n] pathname Specify a pathname for the pad. If you specify a pathname,
                    the pad is saved in that file.  Note that you can also
                    save the pad after it is created by using the DM command
                    pn (pad_name).

     -t[ee]         Copy output to standard output in addition to the new pad.

     -w[indow] x y w h
                    Specify the window's size and position. The four integer
                    parameters, in units of pixels, are
                         x:  distance from the left edge of the screen
                         y:  distance from the top edge of the screen
                         w:  width of the window
                         h:  height of the window.

EXAMPLES
     Create a pad that displays the file test.data.

     $ crpad test.data

     Display the intermediate results in a pipeline.

     $ fpat -p '256-' <phone.book | crpad -tee | srf >phone.book.local

      Create an edit pad. When the edit pad is closed, sort the text in the
     edit pad and display the output in a transcript pad.

     $ crpad -input | srf | crpad




SEE ALSO
     More information is available.  Type

     help pn        For details about saving pads in files

     help wc        For details about closing windows

     help tee       For  details  about  copying  intermediate  results in a
                    pipeline into a disk file

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