MicroEmacs / Introduction-Setup

Windows Setup

If your you have read the documentation but you have still some trouble starting ME properly. Here is help! The problem is that ME can do a lot of things, so it is designed to be used by many users each having it's own settings, shortcuts etc. Or you can have multiple-user names for different projects and so on. Now:

first make a batch-file like this one:

rem bat-file
rem setting the user
set MENAME=dgroth
rem sets the search-paths
set MEPATH=C:/Programme/me2006/dgroth;C:/Programme/me2006/jasspa/macros
rem executing me maximised
c:\windows\command\start /max C:\Programme\me2006\jasspa\me32.exe -c %1 %2 %3 %4 %5 %6

Adjust the pathname and name this file `Me32.bat'. Put it in your path (like c:\windows). Be aware that ME is working internally (set MEPATH) with the slash `/' but win is using the backslash `\'. Now move your Me32.ini away from your Windows directory and delete your ME-specific settings in the autoexec.bat. Make in the ME-directory a folder with your MENAME, that all your stuff will be in this directory and the JASSPA-stuff remains in the macros-directory.

You can now run ME with writing Me32 anywhere in a command-line. Par example via `START' and `Run'. Open Help - User setup and take your settings.

you have to check that:

Font Selection

In Tools->User Setup->Platform choose `Courier New' and OEM/ANSI = `A' and `4, 0 and -16' for the font size are good choices.

Alternatively click on `choose font' and select Courier New Size = 12, standard.

Unix Setup

On Unix I use an alias to start MicroEmacs. With the tcsh-Shell my command is:

alias me "set MENAME=dgroth; set MEPATH=/home/username/microemacs/username:
     /home/username/lib/microemacs/jasspa/macros; 
     /home/username/lib/microemacs/me"

Alternativly if you wor like me on different architectures like me you can provide a wrapper script like the following one:

#!/bin/sh
# startup script for selection of 
# platform-dependant me-binary

SYS=`uname -s`
DIR=`dirname $0`
case $SYS in
   Linux) exec $DIR/me-linux "$@" ;;
   OSF1)  exec $DIR/me-osf1 "$@" ;;
   CYGWIN_NT-5.0) exec $DIR/me32-cygwin.exe "$@" ;;
   MINGW32_NT-5.0) start $DIR/me32.exe "$@" ;;
   *) echo "Unknown system '$SYS'";;
esac

In dependence of the operating system the right platform binary is choosen.