7.0;cv (create_view) *DM*, revision 7.0, 83/08/10
CV (CREATE_VIEW) *DM* -- 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.
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