AminetAminet
Search:
84520 packages online
About
Recent
Browse
Search
Upload
Setup
Services

text/edit/EditCEDFile.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:An commandline interface for CED
Author:petr.cisar at ericsson.cz
Uploader:petr cisar ericsson cz
Type:text/edit
Version:1.2
Requires:ss.library
Architecture:m68k-amigaos
Date:1999-09-03
Download:http://aminet.net/text/edit/EditCEDFile.lha - View contents
Readme:http://aminet.net/text/edit/EditCEDFile.readme
Downloads:413

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


Contents of text/edit/EditCEDFile.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1809    2692  67.2% -lh5- fda8 Sep  2  1999 EditCEDFile/EditCEDFile
[generic]                 3272    9332  35.1% -lh5- 84cd Sep  2  1999 EditCEDFile/EditCEDFile.asm
[generic]                  777    1400  55.5% -lh5- 65c6 Sep  2  1999 EditCEDFile/README
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total         3 files    5858   13424  43.6%            Sep  3  1999

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>