
MicroGnuEmacs 1b for primos

This version should work with primos 19.4 and later, with version
19.4-5.0 or later of the C compiler.  32ix mode is recomended for
modern hardware (4 digit machines other than 2250).  64v mode is also
available, but has not been extencivly tested.

Installation:
  copy *>sys>prime>make.cpl
  ph make -ph -como             [add -64v if 64v mode is needed.]
When phantom is finished:
  copy mg.run cmdnc0>==         [32ix mode]
or
  copy mg.64v.run cmdnc0>=.run  [64v mode]

Global variable .termcap should be set to the pathname of the termcap
file (one is located in *>sys>vms>termcap>termcap), and
.terminal_type$ should be set to your terminal type.  (Global
variables are manipulated with the primos commands define_gvar,
set_var, and list_var.) The C library must be in your search rules.
Your .mg initalization file should be located in your inital attach
point.  Prime emacs's termcap file does not work well with mg.

Due to primos limitations, neither ^P or ^J are usable input, and true
meta keys are not supported.  If ^P is accidentaly typed and you have
break enabled, mg may be resumed with the start command (and the
screen should be refreshed with the recenter command).  Primos
programs other than mg and the C compiler do not understand tab
characters, so use of notab mode is recomended.

Here is my .mg file that includes rebinding around the primos
problems:

(bsmap-mode)
(no-tab-mode)
(global-set-key "\^Z"    'previous-line)
(global-set-key "\^X\^E" 'suspend-emacs)
(global-set-key "\^X\^M" 'newline-and-indent)
(global-set-key "\^_"    'help)
(global-set-key "\^H"    'backward-delete-char)
(global-set-key "\EG"    'goto-line)

The options to make.cpl are:

    -ph         chap -idle
    -como       create como file make.como
    -64v        create 64v rather than 32ix mode version

Compilation options are in the files mg.options.c and
mg.64v.options.c.

Warnings to potential modifiers:

        The source to mg contains tab characters.  These should be
converted to spaces before printing or editing with an editor that
does not cope with tabs.

        Mg needs its own directory with the current make.cpl.

        The -pbstring compiler option is broken in version 5.0 of the
C compiler.  (Compiles but does not run properly.)

        Mg is compiled with the -nobit8 option.  C_lib and other
standard primos libraries expect the parity bit to be set on all
characters.  -no8bit compilation is also assumed in the termcap
routines supplied, so modifacation to it will probably be nessissary
before it can be by other programs.



