10.0;ce (create_edit) *DM*, revision 1.0, 87/12/23
ce (create_edit) create an edit pad and window
usage: [region ce pathname [-i] [-c 'char']]
DESCRIPTION
Giving the ce command causes the DM to create an edit pad and a window in
which to view it. If the file specified exists, the DM opens it for
editing; if it does not exist, the DM creates and opens a file with the
specified name.
By default, the EDIT key (r4) invokes the ce command, automatically
moving the cursor to the DM input pad and issuing the "Edit file: "
prompt. Type the pathname of the file to be edited.
Once an edit pad is created, you can use other DM commands to manipulate
text in it.
Use the DM command wc to close a pad and window, without saving any
changes you made. Use the DM command pw;wc-? to close a pad and window
after saving any changes to disk.
ARGUMENTS
region (optional)
Specify the area of the screen where the new window will
be displayed.
Default if omitted: use the next DM default window
pathname (required)
Specify the file to be edited.
OPTIONS
-i Specify that the window created for this pad should be in
icon format, initially.
-c 'char' Specify the icon character, enclosed in single quotation
marks, 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.
NOTE
The ce command does not create a process. It simply opens a file for
editing within the current DM process.
SEE ALSO
More information is available. Type the following at an Aegis shell
prompt:
help cv For details on creating a read-only pad and window
help wc For details on closing windows and pads
help dm commands For a topical index of DM commands
help windows For details on windows
help pw For informtion on updating files