HELP VIEW — VMS 5.4
Invokes the CDA Viewer, which lets you view a compound document
file on a character cell terminal or DECwindows display.
Format
VIEW [input-file]
Additional information available:
PARAMETER
input-file Specifies the name of the file to be viewed. If you do not specify an input file name, you are prompted for one. 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 any of those for which there is a front end installed on the system.
QUALIFIERS
Additional information available:
/FORMAT/HEIGHT/INTERFACE/OPTIONS/OUTPUT/OVERRIDE_FORMAT
/PAGE/WIDTH
/FORMAT
/FORMAT[=format-name]
/FORMAT=DDIF (default)
Specifies the format of your input file. The input formats that
you can use with the CDA Viewer depend on the CDA converters
installed on your system. The default input format is DDIF. Input
formats bundled with the VMS operating system and their default
file extensions are as follows:
Input Format File Extension
DDIF .DDIF
DTIF .DTIF
TEXT .TXT
PS .PS
Additional input formats are provided in Digital's CDA Converter
Library, a layered product. Independent software vendors who write
DDIF- and DTIF-conforming applications and front and back ends
also provide input formats that are layered on the VMS operating
system. Contact your system manager for a complete list of input
formats available on your system.
/HEIGHT
/HEIGHT=nn
Specifies the height of the page in number of characters. If
you specify the /OVERRIDE_FORMAT qualifier, or if the document
being viewed has no inherent format, this page height is used. On
the DECwindows display, the default height is 66 lines, which is
equivalent to the default page height of 11 inches. On character
cell displays, the page height defaults to your terminal's screen
height. However, if you use the /OUTPUT qualifier, the page height
depends on the page height of your document.
/INTERFACE
/INTERFACE=DECWINDOWS
/INTERFACE=CHARACTER_CELL (default)
Specifies the type of display you are using.
/OPTIONS
/OPTIONS=options-filename
Specifies the name of a file that contains processing options.
The default file type for a VMS options file is CDA$OPTIONS.
This qualifier is used only with input formats for which you can
specify processing options.
/OUTPUT
/OUTPUT[=output-filename]
/NOOUTPUT (default)
Specifies a file that you want to receive the output instead of
having it displayed on the screen. You cannot use this qualifier
when you have specified /INTERFACE=DECWINDOWS.
If you specify /OUTPUT but you do not specify a file name, the CDA
Viewer creates a file with the same name as your input file but
with a file type of LIS. If you specify /OUTPUT, you cannot also
specify the /PAGE qualifier.
/OVERRIDE_FORMAT
/OVERRIDE_FORMAT
/NOOVERRIDE_FORMAT (default)
Controls whether the CDA Viewer overrides the format of your
document or uses the formatting information stored in your
document.
/PAGE
/PAGE
/NOPAGE (default)
On a character cell terminal, this qualifier determines whether
the output display of the CDA Viewer pauses after displaying each
page of your file. If you specify /PAGE, you can page backward
and forward, or jump to the top or bottom of the document. Note
that if you specify /PAGE, you cannot specify either the /OUTPUT
qualifier or the /INTERFACE=DECWINDOWS qualifier.
/WIDTH
/WIDTH=nn
Specifies the number of characters per line. If you specify the
/OVERRIDE_FORMAT qualifier, or if the document being viewed has
no inherent format, this page width is used. On the DECwindows
display, the default width is 85 characters, which is equivalent
to the default page width of 8.5 inches. On character cell
displays, the page width defaults to your terminal's screen width.
However, if you use the /OUTPUT qualifier, the default is 132
columns.
Example
$ VIEW FILEA.DTIF -
_$ /FORMAT=DTIF -
_$ /OPTIONS=OPTIONS.CDA$OPTIONS -
_$ /NOOUTPUT -
_$ /NOPAGE -
_$ /INTERFACE=DECWINDOWS -
_$ /OVERRIDE_FORMAT -
_$ /WIDTH=80 -
_$ /HEIGHT=66
This command invokes the CDA VIEWER to view a file named
FILEA.DTIF, which has the DTIF format. The display interface
is DECwindows, and the CDA VIEWER will override the document's
default format. The display width will be 80 characters, and
the display height will be 66 lines.