# me32.ini(8)

[Home] [Commands] [Variables] [Macro-Dev] [Glossary]

## NAME

me32.ini - Microsoft Window's Initialization (ini) File

## SYNOPSIS

; Comments commence with a semi-colon

[Location]
exe=<executablePathname>

[Defaults]
meinstallpath=<directoryPath>;<directoryPath>; ... ;<directoryPath>
mepath=<directoryPath>;<directoryPath>; ... ;<directoryPath>
meuserpath=<directoryPath>
mename=<username>
geometry=<width>x<depth>+<xoffset>+<yoffset>
environmentVariable=<value>
environmentVariable=<value>
...
environmentVariable=<value>

[<userName>]
meinstallpath=<directoryPath>;<directoryPath>; ... ;<directoryPath>
mepath=<directoryPath>;<directoryPath>; ... ;<directoryPath>
meuserpath=<directoryPath>
geometry=<width>x<depth>+<xoffset>+<yoffset>
mename=<username>
environmentVariable=<value>
environmentVariable=<value>
...
environmentVariable=<value>

[<userName>]
meinstallpath=<directoryPath>;<directoryPath>; ... ;<directoryPath>
mepath=<directoryPath>;<directoryPath>; ... ;<directoryPath>
...

## PLATFORM

Microsoft Windows environments only

## DESCRIPTION

me32.ini is the Microsoft Windows configuration file, located in the windows directory (typically C:\Windows or C:\WINNT), the me32.ini file is primarily used to counteract the deficiencies of Windows shell environment (as compared with UNIX) with respect to the initialization of environment variables. The me32.ini file is comparable to the UNIX .Xdefaults and .profile files.

The configuration file is split into two sections, a Defaults section, which defines system settings and a User section which define settings on a per user basis. Both sections allow environment variables to be defined for export. The defaults section is executed first and then the user section which matches the users name. The format of both sections is identical.

## Section Keywords

The keywords identified in each section are defined as follows:-

mepath

Equivalent to the setting of the variable $MEPATH(5) to define the directory (or folder) location of the MicroEmacs 2009 default configuration files. If the assignment string is empty then any previous value is removed.

meinstallpath

Equivalent of setting the environment variable $MEINSTALLPATH(5) to define the directory (or folder) location of the macros directory. If the assignment string is empty then any previous value is removed.

mename

The MicroEmacs $user-name(5) to use rather than the login name. If the assignment string is empty then any previous value is removed.

meuserpath

The value of $user-path(5). If the assignment string is empty then any previous value is removed.

geometry=<width>x<depth>+<xoffset>+<yoffset>

The geometry of the window the width and height are specified in character, the position of the window is specified as an offset. If the assignment string is empty then any previous preset value is removed.

All other variables (except those commencing with `msdev` which are reserved for memsdev(1)) are pushed into the environment as environment variables which are made during the editing session.

## Location Section

The location section, labeled [Location], identifies the location of MicroEmacs 2009, and is typically used by other components to find and launch MicroEmacs. The section includes the following keys:-

exe

The absolute pathname to the MicroEmacs 2009 executable image. External programs such as memsdev(1) may use this entry to find the executable. This section may be omitted.

## Defaults Section

The default section, labeled [MeYYMMDD] or [Defaults] define the global variable settings for all users. The dated form is searched for first, the date corresponds to the specific version of MicroEmacs as displayed by about(2). When omitted then the [Defaults] section is used. Either, or both sections may be omitted.

## User Section

The User Section is executed after the Defaults Section. The User Section uses the $user-name(5) which is defined as follows:-

- The environment variable $MENAME(5)
- The login name under Windows '95 or NT. If the login name is defined then the variable $user-name(5) is set to this value.
- The environment variable $LOGNAME(5) if the login name cannot be located.

A single user section is executed that corresponds to the user. If the system does not use a login system then a mename entry may be placed in the defaults section to force a name.

A mename entry appearing in the user section is used to change the login name to a more sensible name when the user login and MicroEmacs user files use different names.

## EXAMPLE

The following is an example of the me32.ini file, there is no login and a user John Doe defines his MicroEmacs user name:

    ; External locater for the executable
    [Location]
    exe=c:\Program Files\JASSPA\MicroEmacs\me32.exe
    ;
    ; Default global section
    [Defaults]
    ; mepath
    ; The location of the MicroEmacs common files.
    meinstallpath=d:\jasspa
    mename=john
    ;
    ; User John Doe
    [john]
    ; meuserpath - The location of the users MicroEmacs directory.
    meuserpath=d:\jasspa\john
    ; Define some environment variables.
    INFOPATH=c:\info

Note that multiple users share the same me32.ini file, each user may include their own configuration settings which may be interrogated in the configuration files. In the following example a user John Doe with login name of johndoe uses private configuration files called john:

    ; External locater for the executable
    [Location]
    exe=c:\Program Files\JASSPA\MicroEmacs\me32.exe
    ;
    ; Defaults for RC4 Release
    [Me040201]
    meinstallpath=d:\jasspa_rc4
    ;
    ; Default global section
    [Defaults]
    ; mepath
    ; The location of the MicroEmacs common files.
    meinstallpath=d:\jasspa
    ; Define some environment variables.
    INFOPATH=c:\info
    ;
    ; User John Doe
    [johndoe]
    ; meuserpath - The location of the users MicroEmacs directory.
    meuserpath=d:\jasspa\john
    ; mename - Use "john" instead of "johndoe"
    mename=john
    ; Define startup screen size.
    geometry=110x50+70+30
    ;
    ; User Jane Doe
    [janedoe]
    meuserpath=d:\jasspa\janedoe

## SEE ALSO

user-setup(3), $MEINSTALL_PATH(5) $MENAME(5), $MEPATH(5), $MEUSERPATH(5), $user-name(5), $user-path(5), emf(8).

(c) Copyright JASSPA 2009
Last Modified: 2009/08/29
Generated On: 2009/10/12

</HMTL>