EL, EP

EL <compil switches> <wildspec> {,wildlist}

EL and EP launch the A-Shell Editor from within A-Shell; EL the Lite version, EP the Pro version. When executed, EL/EP looks for the initialization file EDITOR.INI in [7,0]; if not found, an option to build one will be offered.

Parameters

compil switches

should be space delimited and preceded by '-' (a hyphen). The default switches are defined in editor.ini.

wildspec

is a standard AMOS wildcard spec

wildlist

is an optional list of zero or more file.ext specifications, which may contain wildcards but no device or ppn

Examples

.el -x:2 -m prog.bas

.el *.bas

.el mysrc:myfile.bas,*.b?i,*.map

.el -cfg          ; (displays/edits EDITOR.INI)

.el -help         ; (displays help)

.el               ; (launches Editor with no files)

 

Comments

EL/EP will look for additional options in:

EDITOR.INI

EDITOR.INI[p,0]

LIB:EDITOR.INI

 

If the "Save View State" button was pressed before ending the previous session of the Editor, then the current session will start with the files previously opened, plus any files mentioned on the command line.

Note that EL.LIT and EP.LIT are copies of the same program; at runtime, the program looks at its own name to determine which version of the Editor to launch.