HP 3000 Manuals

Run TDP Formatter [ HP EDIT Reference Manual ] MPE/iX 5.0 Documentation


HP EDIT Reference Manual

Run TDP Formatter 

Purpose 

Submits current text to the TDP formatter.

Default Syntax 

ESC &

Description 

This command suspends editing and enables you to submit the current text
file [REV BEG]or a block of the text file to the TDP formatter.  You
can[REV END] view the formatted file online or submit the formatted file
for printing.

Command Process 

When you execute this command, HP EDIT saves the current [REV BEG]file or
block of[REV END] text in a file named EDTEMP0.  This file becomes the
input file for the TDP formatter.  HP EDIT then prompts you to save the
formatted output to the default $STDLIST file, enter a different file
name, or cancel the command.

If you specify a new file name, TDP formats the text and saves the output
to the indicated file name or device.  If you specify a file name that
already exists, HP EDIT asks you whether you want to purge the old file
to prevent you from inadvertently writing over an existing file.

When formatting is complete, HP EDIT automatically purges EDTEMP0 and the
editing session resumes.

Requirements 

Note that this command cannot function if the TDP formatter is not
installed in your system.  Refer to the TDP/3000 Reference Manual for
information about TDP formatting commands.

Procedure 

To submit the current text to the TDP formatter: 

       [REV BEG]

   1.  If you want to perform this command on a block of text, select the
       block.  If you are performing this command on an entire file, go
       to step 2.[REV END]

   2.  Press ESC and the & key, or press the MPE and Options function
       key, followed by the RUN TDP Format function key.  HP EDIT
       suspends editing and prompts you to either format the file, cancel
       the formatting process, or enter a different file name.

   3.  Press Return if you want $STDLIST as the output file, or type the
       name of the desired output file beginning at the cursor position
       and then press Return.  HP EDIT invokes the TDP formatter.  The
       formatter then processes the current file.  When processing is
       complete, the current editing session automatically resumes.

Example 

To format a 100 line file and save the output to TEXTFILE: 

   1.  Press ESC and the & key.  HP EDIT displays the following message:

            Keeping file for formatting (unnumbered)...
            Type Return to format file, CTRL-Y to cancel, or enter a different filename
            Send formatted output to $STDLIST

   2.  Type textfile beginning at the cursor position and press Return.
       HP EDIT invokes the TDP formatter, which formats the text.  When
       processing is complete, the editing session resumes and the
       following message appears on the message line:

            100 lines formatted

       Note that this message refers to the number of lines in EDTEMP0,
       which is not necessarily the total number of lines processed.

Related Commands 

Run Program



MPE/iX 5.0 Documentation