Short:        An commandline interface for CED
Author:       petr.cisar@ericsson.cz
Uploader:     petr cisar ericsson cz
Type:         text/edit
Version:      1.2
Requires:     ss.library
Architecture: m68k-amigaos

This program serves as an interface for the programs which call an text editor
via shell (it concerns especially the programs ported from UNIX).
EditCEDFile loads the file to (already running) CED, and waits until the user
pushes <F1>. Then it considers the editations to be done and terminates.

The <F1> stuff is done by saving the original F-keys configuration to
a temporary file and loading it back on exit, so the original setup
is not changed.

It supports multiuser and according to $CONSOLE and $GLOBTASK
variables it can decide whether it can start just CED or some
console-based editor (CED is not suitable for telnet users :-) ).
To bypass this function, you can use the FORCELOCAL switch.

I am aware that this program can be replaced with an ARexx script,
but this one is quite faster.

Parameter overview
------------------

FILE/A
The file to be edited

REMOTEEDITOR/K
An alternative console-based editor (default is "vim")

DEBUG/S
Displays talking to CED

FORCELOCAL/S
Always use CED, regardless of the multiuser stuff


Environment variables
---------------------
CONSOLE - the name of the console EditCEDFile has been started from
GLOBTASK - the task used for getting information about the globally
           logged on user