Skip to content
Nakazoto edited this page Jun 4, 2023 · 4 revisions

CEnturion Editor

CEnturion Editor (CED) is a line based editor designed by the incredibly talented Ren14500 with the intent of replacing the quite obtuse and difficult to use Kompoz editor. CED is heavily inspired by the ED editor for UNIX. Usage is simple and intuitive, and files are saved automatically, removing worry of losing edits or overwriting things unintentionally.

Author: Ren14500

Usage

Depending on if CED is placed in a library or not, this will change slightly. In my case, I have CED installed in the S library.

Opening a file for edit

Type the following into the command line to open a file for edit.

  • S.CED FILENAME P DISPLAY
    • FILENAME = Name of file you wish to edit or create
    • P = Platter the file is on
    • DISPLAY = Primary display output for viewing lines

Ex.: S.CED ZHWKT 1 CRT0

  • / ENTER INPUT LIBRARY OR "NEWLINE" FOR NONE
    • At the library prompt, enter the library you want the file in, or hit NEWLINE for root.
  • / FILE 'FILENAME' IS NOT FOUND ON P CREATE (Y/N)?
    • If the file does not exist, it will prompt if you wish to create.
  • CED 1.4
    • You are now at the main prompt.

Editing files

Once at the main prompt, there are several options that can be entered to start viewing or editing the file.

Input Name Usage
A Append Append lines to the file.
C Change Change a line.
D Delete Delete a line or selection of lines.
I Insert Insert lines before a line.
L List Print a section of the file without line numbers.
P Print Print a section of the file with line numbers.
Q Quit Quit CED.

Append

Append lines to the file.

  • If the file is empty, it will start at line 1.
  • If the file is not empty, it will start after the last line of the file.
  • Type "." by itself and press "NEWLINE" to save changes and return to main prompt.

Change

Change a line.

  • Upon selection, the program will ask which line number you would like to change.
  • Pressing "NEWLINE" saves the change and returns to main prompt.

Delete

Delete a line or selection of lines.

  • Upon selection, it will ask for a start and finish range of lines to delete.
  • If only one line needs to be deleted, enter the same line number for start and finish.
  • After deleting lines, it will return to main prompt.

Insert

Insert lines before a line.

  • Upon selection, the program will ask which line number you would like to insert before.
  • Type "." by itself and press "NEWLINE" to save changes and return to main prompt.

List

Print a section of the file without line numbers.

  • Upon selection, it will ask for a start and finish range of lines to display on the screen.
  • Line numbers are not shown, which can be helpful for getting alignment correct.
  • As soon as all lines are displayed, it will return to main prompt.

Print

Print a section of the file with line numbers.

  • Upon selection, it will ask for a start and finish range of lines to display on the screen.
  • Line numbers are shown, which is important for other operations.
  • As soon as all lines are displayed, it will return to main prompt.

Quit

Quits CED and returns to main console.

  • Files are automatically saved.
Clone this wiki locally