HELP VIEW — VMS 5.2
Invokes the DDIF Viewer, which lets you view a compound document
file on a character cell terminal (the default) or DECwindows
display. Note that many of the text display attributes are not
processed when displaying the document, because of the limitations
of the viewing device. For example, the blink, underlining, and bold
attributes are not processed.
Format:
VIEW input-file
Additional information available:
ParameterCommand qualifiersDefault format
Parameter
input-file Specifies the name of the file to be viewed. You cannot use wildcard characters in the file specification. The default input file-encoding format is DDIF, and the default file type is DDIF. Valid input file formats are DDIF and TEXT.
Command qualifiers
Additional information available:
/FORMAT/OUTPUT/PAGE/OPTIONS/SELECT
/FORMAT
/FORMAT[=format-name] Specifies the format of the input file. The default format is DDIF. The appropriate front end must be available in SYS$LIBRARY for the specified format-name. The valid formats are DDIF and TEXT.
/OUTPUT
/OUTPUT[=output-file-spec] Specifies a file that receives the text output. The default is /NOOUTPUT. If an output file specification is not specified, the output file specification defaults to input-file.LIS. If this qualifier is specified, the output of the VIEW command is not displayed on the screen, but is instead written to the specified file. Note that if you specify the /OUTPUT qualifier, you cannot also specify the /PAGE qualifier.
/PAGE
/PAGE Controls the display of output, providing the same effect as the DCL command TYPE/PAGE when used on a non-DECwindows device. The default is /NOPAGE. The /PAGE qualifier has no effect when used with a DECwindows display because the scroll bars provide the same capability. Note that if you specify the /PAGE qualifier, you cannot also specify the /OUTPUT qualifier.
/OPTIONS
/OPTIONS=file-spec Specifies a file that contains options to be applied during the conversion of the file to the CDA in-memory format. The default file type is DDIF$OPTIONS.
/SELECT
/SELECT=select-list
Allows the user to tailor the CDA Viewer output. The selection items
you can specify are as follows:
[NO]GRAPHICS Directs the viewer either to mark the
location of graphics embedded in the
DDIF file being processed by the
DDIF viewer, or to ignore the graphics.
[NO]IMAGES Directs the viewer either to mark the
location of the images embedded in the
DDIF file being processed by the
DDIF viewer, or to ignore the images.
[NO]TEXT Directs the viewer either to process the
text contained in the DDIF file being
processed, or to ignore the text.
ALL Directs the viewer to process all
information contained in the DDIF file
being processed.
[NO]SOFT_DIRECTIVES Directs the viewer either to process or
ignore soft directives in the DDIF file
being processed in order to format
output. Soft directives specify such
formatting commands as new line, new
page, and tab.
[NO]AUTO_WRAP Directs the viewer to perform word
wrapping of any text that would exceed
the right margin. NOAUTO_WRAP allows the
text to exceed the margin.
[NO]X_DISPLAY Directs the viewer to create a DECwindows
widget to be used when viewing the file
on a workstation display defined by the
logical name DECW$DISPLAY. NOX_DISPLAY,
the default, invokes the DDIF viewer
Note that X_DISPLAY cannot be specified
if the /OUTPUT qualifier is also
specified.
Default format
/SELECT = (GRAPHICS, IMAGES, TEXT, SOFT_DIRECTIVES,
AUTO_WRAP, NOX_DISPLAY)
Because the Character Cell Viewer is really a specific instance of
the CDA Converter (where the output format is screen output), the
CONVERT routine is used to invoke the Character Cell Viewer as well
as the CDA Converter. For more information on the CONVERT routine,
see the VMS Compound Document Architecture Manual.