ARPUS/ce, Version 2.6.2 (03/10/05) (SCCS 1.6)
_______________________________________________________________________________
cc [options]
"create copy"
DESCRIPTION:
The cc command creates a copy of an edit window. Both copies of
the window may edit the file. If a file is open under ce and an
additional ce is started on that file, the second ce, forwards a
cc request to the ce already open on the window. This only works
within a single workstation.
Most of the options and arguments that are accepted by ce are
also accepted by cc. See the help file on xresources for the full
list of command arguments and X resources.
As of release 2.3 of Ce, the -display option is supported for the
'cc' command. This allows two users to edit the same file at the
same time. The cc command must be executed from the ce window.
Prior to release 2.3, the 'cc' command functioned via two
processes which communicated with each other. As of release 2.3
of Ce, the 'cc' command executes in a single process which
controls both sets of windows.
NOTES:
1. Using CC -display: Opening the same file on two workstations is
supported and an attempt is made to avoid conflicts. For example,
only one user can type on the same line at the same time.
However, 'cc' was not designed for two people to have a war in a
file and many of the degenerate cases (such as deleting a range
of lines containing the line the other guy is typing on) may
produce unexpected results.
2. Security with CC -display: CC with multiple displays runs as a
single process. This single process runs as the user who opened
the display. Thus the person at the secondary display is editing
and executing Ce commands as the person who started the original
edit session. The second display has it's own "Command:" and
message windows and the second user can issue a 'cp' command and
start his own ceterm window running as the original user. Don't
do this if you are running as root.
3. Paste buffers with CC -display X paste buffers are controlled by
the the display. Thus an 'xc' command in one window will not
disturb the other window. Since both sets of windows are
executing in a single process on a single machine, copies and
pastes to and from files do interact.
4. Key definitions with CC -display When a CC -display is issued, Ce
attempts to read the key definitions from the X server being
opened. If it cannot, it uses the key definitions from the
current process. It does not attempt to find and read the key
definition file of the other user. If this other user is using ce
and ceterm's this will not be a problem. In the current
implementation, if the second user does not have key definitions
loaded and does a "ce -reload", both sets of windows will be
affected. This may change in later releases. Have fun.
RELATED HELP FILES:
ce (Create Edit - Command: prompt)
cv (Create View - Command: prompt)
cp (Create Process)
cpo (Create Process Only)
cps (Create Server Process)
xresources (Arguments and X resources)
ceterm (ceterm - from shell prompt)
support (customer support)
_______________________________________________________________________________
Copyright (c) 2005, Robert Styma Consulting. All rights reserved.