27-May-92 -- Lance Tagliapietra -- Aux-Emacs 1.0
This version of Microemacs was originally ported by David Conroy and
released on Fred Fish disk #2. I have modified it to be compilable with
the ZC compiler from Fred Fish disk #314. It is also modified to work with
the AuxHandler from Fred Fish disk #79. When a terminal is connected to
the serial port, the command
NEWCLI AUX:
or
NEWSHELL AUX:
will start a cli session to the terminal. Running microemacs with the
command
EMACS
from the terminal will start emacs using the Aux: device for input and
output. From a CLI window or SHELL window, run microemacs with the command
RUN EMACS
Microemacs will then open a window and use the keyboard and video display.
It is very important that microemacs be started with the RUN command when
working in the windowed enviroment. Failure to do so will create a
microemacs process that cannot be aborted as control characters will be
eaten by the console.
See the files ME.DOC and WALLCHART for a listing of microemacs commands.
The modifications use the Fish released aux-handler for the serial port.
The serial parameters are taken from preferences when the serial.device is
opened with the newshell or newcli command. When emacs is run to the
serial port, the aux-handler is put into "raw" mode. The aux-handler is
restored to console mode when emacs is exiting.
All commands in me.doc work as expected. Spawning a new cli when running
through Aux: puts that driver back into console mode and the CLI prompt
appears at the bottom of the screen. Entering the command ENDCLI from this
CLI will resume the editing session where it was left off.
NOTE: The run command in a subjob (CTRL-X !) has been disabled when
working from the Aux: cli. This should not be a problem as the spawn a
new cli command (CTRL-C) works correctly.
The modification to the source for compiling with the ZC compiler was
mostly trivial. The #if statments for the different systems supported were
changed to #ifdef statements. Several small syntactic corrections were
made, most notably where the TERM structure is initialized in ANSI.c and
VT52.c.
The modifications to work with the Aux: port were made in termio.c and
spawn.c. The changes first determine if emacs was started with the RUN
command or not and then open a window or initialize the Aux: port
accordingly.
The executable supplied is compiled for ANSI mode. To use VT52 screen
codes, set the VT52 #define to 1 in ED.H and set the ANSI #define to 0.
The executable created is 2k smaller than the version originally suppled.
Enjoy.
--------------------------------------------------------------------------
Lance Tagliapietra 96720919@ucs.uwplatt.edu
P.O. Box 26 96720919@uwplatt.bitnet
Platteville, WI 53818
|