This page describes introductory notes for the installation and setup of MicroEmacs '99.
The quickest way to install MicroEmacs without reading the rest of this document is to:-
On starting, use the mouse and configure the user from the menu bar:-
Help->User Setup
This allows the user and screen settings to be altered. On becoming more accustomed to the editor then a fuller installation may be performed.
Getting Help
http://www.egroups.com/list/jasspa/
If you wish to participate in the list then you must first register by sending an empty mail message body to:-
jasspa-subscribe@egroups.com
You will then be able to mail any questions into the group. Registration is required in order to prevent spam mailings from entering into the lists.
MicroEmacs is distributed in the following files:-
Complete Installations
Executable Source Code
Executable Images
Help File Images (all platforms)
Macro File Images (all platforms)
Spelling Dictionaries (all platforms)
american.zip - American rules and base dictionary.
americax.zip - American extended dictionary.
british.zip - British rules and base dictionary.
britishx.zip - British extended dictionary.
deutsch.zip - German rules and base dictionary.
deutschx.zip - German extended dictionary.
espanol.zip - Spanish rules and dictionary.
francais.zip - French rules and dictionary.
portuges.zip - Portuguese rules and dictionary.
american.tar.gz - American rules and base dictionary.
americax.gz - American extended dictionary.
british.tar.gz - British rules and base dictionary.
britishx.gz - British extended dictionary.
deutsch.tar.gz - German rules and base dictionary.
deutschx.gz - German extended dictionary.
espanol.tar.gz - Spanish rules and dictionary.
francais.tar.gz - French rules and dictionary.
portuges.tar.gz - Portuguese rules and dictionary.
NOTE: The binary versions of the executables held on the site include the platform name as part of the executable name i.e. me for DOS is called medos.exe. On installing the binaries onto the target machine, you should rename the executable to me or me.exe, whatever is appropriate. The ONLY exception to this rule is the Microsoft Windows executable where mewin32.exe should be renamed to me32.exe. Our reason for this naming is to allow the executables to be unpacked in the same directory and not be confused with each other.
Simply create a directory, down-load the files required (see list for each platform below) and extract into this directory. From a shell or command prompt, change to the directory, making it the current one (i.e. cd to it), and run the executable. MicroEmacs '99 should open with the on-line help page visible.
On Windows based systems this can also be achieved by creating a short-cut and setting the Working Directory in Properties to this path.
To enable MicroEmacs to be run from any directory, simply include this directory in you PATH environment variable. Alternatively, copy the executable to somewhere in your PATH and set the environment variable MEPATH to point to this directory.
MicroEmacs '99 will function normally in this environment, but in multi-user environments and for up-dating purposes, it is strongly recommended that a proper installation is used, see below.
DOS
Executable:
Distribution components required:
mewinhlp.zip if you are using windows 3.1/3.11
Recommended installed components:
Installation:
Unzip the MicroEmacs components into c:\me
Edit "c:\autoexec.bat" and add the following lines:-
SET MENAME=<name> SET PATH=%PATH%;c:\me SET MEPATH="c:\me"
Reboot the system.
MicroEmacs may be run from the command line using
me
Graphics Cards:
Running From Windows (3.x)
me -c -v$TERM=E80x50 - 80 x 50 window me -c -v$TERM=E80x25 - 80 x 25 window.
We usually add the -c option so that MicroEmacs is executed with history information. This may be omitted if required.
Windows 3.1/3.11
Executable:
Helper DLL:
The helper DLL is compiled with a 16-bit Windows compiler - MSVC 1.5.
Distribution components required:
Recommended installed components:
win32s
Installation:
Support Status:
Windows '95/'98/NT
Executable:
Install Shield
Distribution components required:
Recommended installed components:
Installation:
Unzip the MicroEmacs components into "C:\Program Files\Jasspa\MicroEmacs"
Create the file "c:\windows\me32.ini" and add the following lines:-
[Defaults] mepath=C:\Program Files\Jasspa\MicroEmacs userPath=C:\Program Files\Jasspa\MicroEmacs fontfile=dosapp.fon
Create a short cut to MicroEmacs for the Desktop
Right click on the desk top
=> New => Short => Command Line: "c:\Program Files\Jasspa\MicroEmacs\me.exe -c" => Short Cut Name: "MicroEmacs"
MicroEmacs may be executed from the shortcut.
Open Actions
A file open action in the registry is bound to the file file extension, to bind a file extension .foo to the editor then the following registry entries should be defined:-
[HKEY_CLASSES_ROOT\.foo] "MicroEmacs_foo" [HKEY_CLASSES_ROOT\MicroEmacs_foo\DefaultIcon] "C:\Program File\JASSPA\MicroEmacs\meicons,23" [HKEY_CLASSES_ROOT\MicroEmacs_foo\Shell\open] "&Open" [HKEY_CLASSES_ROOT\MicroEmacs_foo\Shell\open\command] "C:\Program File\JASSPA\MicroEmacs\me32.exe -o "%1""
In the previous exaple the DefaultIcon entry is the icon assigned to the file. This may be an icon taken from meicons.exe (in this case icon number 23), or may be some other icon. The open action in the example uses the -o option of the client-server, which loads the file into the current MicroEmacs '99 session, alternatively the -c option may be used to retain the previous context, or no option if a new session with no other files loaded is started.
A generic open for ALL files may be defined using a wildcard, this may be used to place a MicroEmacs edit entry in the right-click popup menu, as follows:-
[HKEY_CLASSES_ROOT\*\shell] [HKEY_CLASSES_ROOT\*\shell\MicroEmacs] "&MicroEmacs" [HKEY_CLASSES_ROOT\*\shell\MicroEmacs\command] "C:\Program File\JASSPA\MicroEmacs\me32.exe -o "%1""
UNIX
Executable:
Distribution Components Required:
Installation:
Unpack the executable and placed in "/usr/local/bin"
Create the new directory "/usr/local/microemacs", unpack and install the memacros.tar.gz into this directory.
For csh(1) users execute a "rehash" command and then me(1) can be executed from the command line.
By default a X-Windows terminal is displayed, ensure that $DISPLAY and $TERM are correctly configured. To execute a terminal emulation then execute me with the -n option i.e. "me -n". Note that this is not required if you are using a vt100 emulation.
MicroEmacs uses local user configuration profiles to store user specific information. The user information may be stored in the MicroEmacs directory, or more typically in a users private directory. The environment variable $MENAME is typically used to determine the identity of the user.
The location of the user profile will depend upon your installation configuration.
Single Machine
UNIX
The $MEPATH environment variable of the user should be modified to include the users MicroEmacs path BEFORE the default macros MicroEmacs path i.e.
Ksh/Zsh:
Csh/Bash:
Where $HOME is defined as "/usr/<name>" (typically by default).
DOS/Windows
"c:\me\<user>" for DOS
or
The $MEPATH environment variable (see me32.ini(8) for Windows) is modified to include the user component before the MicroEmacs component where $MEPATH is defined i.e.
SET MEPATH=c:\me\<user>;c:\me
where <user> is the user name (or $MENAME).
Numerous other configurations exist to organize the macro directories, to take the directory organization to the extreme then it is sometimes easiest to keep all of the macro components separate. An installation layout which encompasses different macro directories for:-
The configuration on different systems may be defined as follows:-
UNIX
/usr \ local \ microemacs - Spelling + standard macros \ company - Company specific files
The user profile is stored in the users directory
/usr \ <name> \ microemacs - User specific files
The user should configure the $MEPATH as:
MEPATH=$(HOME)/microemacs:/usr/local/microemacs/company:/usr/local/microemacs
DOS/WINDOWS
c: | me - Place holder directory / | \ / | \ <name> macros company
The user should configure the $MEPATH as:-
SET MEPATH=c:\me\<name>;c:\me\company;c:\me\macros
Files contained in the user profiles typically include:-
<name>.emf - The users start up profile.
<name>.edf - The users spelling dictionary.
<name>.erf - The users registry configuration file.
These files are established from the menu "Help->User Setup". The "Setup Path" item defines the location of the files, but must be MANUALLY included in the $MEPATH environment.
Company profiles include standard files and extensions to the standard files which may be related to a company, this is typically <company>.emf where <company> is the name of the company.
The directory may also include template files etf(8) files which defines the standard header template used in the files. Files in the "company" directory would over-ride the standard template files.
The company directory should be added to the $MEPATH after the user profile and before the MicroEmacs standard macro directory.
(c) Copyright JASSPA 1999
Last Modified: 1999/12/01
Generated On: 1999/12/01