10.0;cv (create_view) *DM*, revision 1.0, 88/03/17
cv (create_view) create a read-only edit pad and window
usage: [region cv pathname [-i] [-c 'char']]
DESCRIPTION
The cv command creates a read-only edit pad to view an existing file.
You may not make changes to the file, only view it. If you decide that
you want to make changes to it after all, you must first disable read-
only mode. See the ro command description for details about that
operation.
By default, the READ key (r3) invokes the cv command, automatically
moving the cursor to the DM input pad and issuing the "Read file: "
prompt. Type the pathname of the file to be read.
To close a pad and window, use the DM command wc.
ARGUMENTS
region (optional)
Specify the area of the screen where the new window will
be displayed.
Default if omitted: use next DM default window
pathname (required)
Specify the file to be viewed. An error occurs if the
file does not exist.
OPTIONS
-i Specify that the window created for this pad will be in
icon format.
-c 'char' Specify the icon character to be used in the icon window.
char must reside in the current icon font. If you do not
specify this option and -i is present, the DM uses the
default icon character for this pad type.
SEE ALSO
More information is available. Type the following at an Aegis shell
prompt:
help ce For details about editing writable pads
help wc For details about closing windows and pads
help icon For details about changing windows into icons
help dm commands For a topical index of DM commands
help windows For general information about windows