Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

10.0;crpad (create_pad), revision 1.1, 88/03/09
crpad (create_pad) - create a transcript pad and window.
usage: crpad [pathname | -i[nput]] [-t[ee]] [-p[n] pathname]



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.

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 pad is closed, sort the text edited and
     display it 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