7.0;cv (create_view) *DM*, revision 7.0, 83/08/10
CV (CREATE_VIEW) -- Create a read-only edit pad and window.
usage: [region]cv pathname
FORMAT
[region] CV pathname
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. Type
HELP RO 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 (usually CTRL/N).
ARGUMENTS
region
(optional) Specify area of the screen where the new window will be
displayed. For details on window regions, type HELP
WINDOWS. Default if omitted: use next DM default window
pathname
(required) Specify 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 this
option is not specified and -I is present, the Display
Manager will use the default icon character for this pad
type.
RELATED TOPICS
More information is available. Type:
- HELP CE
for details about editing writable pads.
- HELP WC
for details about closing windows and pads.
- HELP DM COMMANDS
for a topical index of DM commands
- HELP WINDOWS
for details about windows