This page describes introductory notes for the installation and setup of MicroEmacs 2009.
The quickest way to install MicroEmacs for testing without reading the rest of this document is to:-
On starting, you will be prompted for a default directory, accept the defaults. Use the mouse and configure the user from the menu bar:-
Tools -> 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://groups.yahoo.com/group/jasspa/
If you wish to participate in the list then you must first register by sending an empty mail message body to:-
jasspa-subscribe@yahoogroups.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
jasspa-me-YYYYMMDD-1.i386.rpm - Linux RedHat 9.x package.
jasspa-me-YYYYMMDD-1.src.rpm - Linux RedHat 9.x source package.
jasspa-mepkg-hpux-pa-10.20-YYYYMMDD.depot.gz - HP-UX 10 package.
jasspa-mepkg-hpux-pa-11.00-YYYYMMDD.depot.gz - HP-UX 11 package.
jasspa-mepkg-ms-win32-2004030.zip - 95/98/NT/2K/XP Install Shield
jasspa-mepkg-sun-i386-58-YYYYMMDD.zip - Sun 2.8(i386) package.
jasspa-mepkg-sun-i386-59-YYYYMMDD.zip - Sun 2.9(i386) package.
jasspa-mepkg-sun-sparc-56-YYYYMMDD.zip - Sun 2.6(Sparc) package.
jasspa-mepkg-sun-sparc-58-YYYYMMDD.zip - Sun 2.8(Sparc) package.
jasspa-mepkg-sun-sparc-59-YYYYMMDD.zip - Sun 2.9(Sparc) package.
Executable Source Code
jasspa-mesrc-YYYYMMDD.zip - Source code for all platforms
jasspa-mesrc-YYYYMMDD.tar.gz - Source code
Executable Images
Help File Images (all platforms)
Macro File Images (all platforms)
jasspa-metree-YYYYMMDD.tar.gz - Complete install tree + help
jasspa-metree-YYYYMMDD.zip - Complete install tree + help
Spelling Dictionaries (all platforms)
ls_dede.zip - German rules and base + extended dictionary.
ls_engb.zip - British rules and base + extended dictionary.
ls_enus.zip - American rules and base + extended dictionary.
ls_eses.zip - Spanish rules and dictionary.
ls_frfr.zip - French rules and dictionary.
ls_itit.zip - Italian rules and dictionary
ls_plpl.zip - Polish rules and dictionary.
ls_ptpt.zip - Portuguese rules and dictionary.
ls_ruye.zip - Russian YE rules and dictionary.
ls_ruyo.zip - Russian YO rules and dictionary.
ls_dede.tar.gz - German rules and base + extended dictionary.
ls_engb.tar.gz - British rules and base + extended dictionary.
ls_enus.tar.gz - American rules and base + extended dictionary.
ls_eses.tar.gz - Spanish rules and dictionary.
ls_frfr.tar.gz - French rules and dictionary.
ls_itit.tar.gz - Italian rules and dictionary
ls_plpl.tar.gz - Polish rules and dictionary.
ls_ptpt.tar.gz - Portuguese rules and dictionary.
ls_ruye.tar.gz - Russian YE rules and dictionary.
ls_ruyo.tar.gz - Russian YO 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.
The suggested installation structure for all platforms is defined as:-
jasspa / | \ / | \ / | \ spelling macros company
This directory structure is suggested to facilitate upgrades in the future and to keep user data separate from the system macros. MicroEmacs understands this directory structure.
The directory structures are defined as:
macros
spelling
company
The search order is defined as root, company, macros, spelling.
A system wide installation on UNIX for multiple users adheres to conventional package installation methods.
Distribution Components Required:
jasspa-me-<unix>-YYYYMMDD.gz
jasspa-metree-YYYYMMDD.tar.gz
<spelling>.gz
jasspa-mehtml-YYYYMMDD.tar.gz (optional)
Installation:
It is recommended that the macro files are placed in a standard shared system directory. The standard directory locations searched by MicroEmacs are defined on a per-platform basis, only one of the directory locates is selected, as follows:
HP-UX SunOS AIX Cygwin IRIX UnixWare ***BSD Linux NeXT /opt/jasspa: y y y y y y n n n /usr/share/jasspa: y y y y y y y n n /usr/local/jasspa: y y y y y y y y y /usr/local/share/jasspa: n n n n y n n n n
The executable may now be run by all users. If the macros are placed in a non-standard directory location then the environment variable MEINSTALLPATH(5) to define the root jasspa tree.
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.
When MicroEmacs is executed the local directory ~/.jasspa is created for the user settings. The user home directory may be changed by setting the environment variable $MEPATH(5).
Where the user is not permitted to install 3rd party applications in the system directories then MicroEmacs may be installed locally as follows:-
MicroEmacs may be executed after it has been re-hashed (depending on the shell).
MS-DOS has no concept of a standard installation directory. The location of the MicroEmacs macros is generally determined from the directory location of the executable.
Executable:
Compiled with DJGPP V1.0
Distribution components required:
mewinhlp.zip if you are using windows 3.1/3.11
Recommended installed components:
Installation:
This installation relies on the executable position.
SET PATH=%PATH%;c:\jasspa
Graphics Cards:
MicroEmacs may be configured to the text modes of your graphics card. Refer to you graphics card DOS text modes to identify the text modes supported by your monitor. The text mode number may be entered into the user monitor configuration, defined in Tools -> User Setup.
Running DOS Version 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.
Executable:
Compiled with Microsoft Developer 2.0
Helper DLL:
Under Win32s a helper DLL methnk16.dll is required to perform the
pipe-shell-command(2) in a synchronous manner. This should be installed into the C:\WINDOWS\SHELL directory. This (rather inelegantly) gets around the problems of spawning a process under win32s due to a number of Microsoft bugs in the operating system. Note: that on a spawn operation a MS-DOS window is visible, this is due to the nature of the command shell on this platform which has a tendency to prompt the user at every opportunity, hence a certain amount of interaction (which is out of our control) is necessary.
The helper DLL is compiled with a 16-bit Windows compiler - MSVC 1.5.
Distribution components required:
jasspa-me-ms-win32s-YYYYMMDD.zip
jasspa-metree-YYYYMMDD.zip
jasspa-mewinhlp-YYYYMMDD.zip
<spelling>.zip
Recommended installed components:
4dos - command shell (giving stderr redirection)
grep - Version of grep (GNU port of grep recommended)
diff - Version of diff (GNU port of grep recommended)
make - use nmake or GNU port of make.
Ifwin32s is a requirement on this platform, typically taken from pw1118.exe which freely available on the Internet.
Installation:
This version of Windows does not have a install directory as '95/'98 and it is expected that the MS-DOS version will coexist. No Install Shield installation is provided. Install in a directory structure similar to MS-DOS. Install the helper DLL methnk16.dll in the C:\WINDOWS\SHELL directory. Create a
me32.ini(8) file in the C:\WINDOWS directory to identify the location of the MicroEmacs 2009 components, this much the same as the '95/'98 file, change the directory paths to suite the install base.
Support Status:
The win32s release has not been used with vengeance, although no specific problems have been reported with this release.
Executable:
Compiled with Microsoft Developer 6.x
Install Shield
An Install Shield version of MicroEmacs is available which includes all of the distribution components.
Distribution components required:
jasspa-mepkg-ms-win32-2004030.zip
Recommended installed components:
grep - Version of grep (GNU port of grep recommended)
diff - Version of diff (GNU port of grep recommended)
make - use nmake or GNU port of make.
A good source of UNIX native tools is
http://unxutils.sourceforge.net/ - for native windows grep, diff, zip etc.
http://www.cygwin.com - for a shell environment.
Installation:
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 Microsoft Windows 95/98/NT provide short cut actions, assigning an open action to a file. The short cuts may be installed from the Install Shield installation, but may alternatively be explicitly defined by editing the registry file with regedit(1).
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 example 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 2009 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 wild-card, this may be used to place a MicroEmacs edit entry in the right-click pop-up 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""
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. On login systems then the user name and user private directory location is automatically determined from the system.
The user name identified by MicroEmacs is $user-name(5) this value may be set or re-defined using the environment variable $MENAME(5). On MS-DOS and early windows systems where there is no user login then then $MENAME(5) may be defined in the environment.
The location of the user information depends upon your platform and installation configuration. The private directory identified by MicroEmacs is $user-path(5) this location may be changed by defining the environment variable $MEUSERPATH(5).
Microsoft Windows users may use the me32.ini(8) file to define MicroEmacs configuration path and name information.
Files contained in the user profiles typically include:-
<name>.emf - The users start up profile - <user>.emf.
<name>.edf - The users spelling dictionary.
<name>.erf - The users registry configuration file.
These files are automatically set up by MicroEmacs. These files are established from the menu "Tools -> 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.
$user-name(5), $user-path(5), $MEINSTALLPATH(5), $MENAME(5), $MENAME(5), $MEPATH(5), $MEUSERPATH(5), Company Profiles, File Hooks, File Language Templates, User Profiles.
(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12