These instructions assume that you’re compiling MultiMail from source. For precompiled binaries, see the README files that accompany them instead.
Make sure any needed packages are installed – In addition to the MultiMail package itself, you’ll also need InfoZip or PKZIP (and/or LHA, ARJ, etc.) to uncompress the packets and compress the replies. InfoZip is available from:
(PKZIP is the default for DOS; InfoZip is the default for other platforms.) The programs should be installed somewhere in the PATH; otherwise, the full path must be specified in ~/.mmailrc.
To compile MultiMail, you’ll need curses – either ncurses, SysV curses (e.g., Solaris curses), or PDCurses. You can get ncurses from:
PDCurses is available at:
(If you’re using Linux, you probably already have ncurses and InfoZip.)
If using PDCurses, MultiMail now requires version 3.6 or later.
The 16-bit MS-DOS Turbo C++ port also uses Ralf Brown’s SPAWNO library:
Configure it (for compilation) – Check the options and paths in the Makefile. If curses.h isn’t in the include path, change CURS_DIR as appropriate. You may also need to change LIBS. These can be set on the command line, e.g. “make CURS_DIR=/pdcurses”.
Compile MultiMail –
At the base directory, type:
Run it –
(For DOS, OS/2 or Windows, set the MMAIL or HOME variable, then run mm.)
(Optional:) Configure it (for end user) – Edit the ~/.mmailrc file. (For DOS, OS/2 or Windows, mmail.rc.)
(Optional:) Install it system-wide –
to install the manual and binary under /usr/local
(requires root access). (This doesn’t work in DOS, OS/2 or Windows.)
See the man page and [README.md] for more information.
This package includes some example color schemes, in the “colors” directory. To select one, use the “ColorFile” keyword in .mmailrc .
When MultiMail is compiled with XCurses, you can use the X resource database to set certain startup options. Here are some example resources:
XCurses*normalFont: 9x15 XCurses*boldFont: 9x15bold XCurses*lines: 30 XCurses*cols: 80
For details, see the PDCurses documentation.
If you’re using a non-X text editor with an XCurses version of MultiMail, it will work better if you set MultiMail’s editor variable to “xterm -e $EDITOR” instead of just “$EDITOR” (the default).
In the MultiMail source, separate makefiles are provided for these ports.
Makefile - GCC (including DJGPP and MinGW) Makefile.bcc - Borland C++ (Windows, MS-DOS) Makefile.vc - Microsoft Visual C++ (Windows) Makefile.wcc - Watcom (All platforms -- Windows by default)
Point to your installation of PDCurses and compile with, e.g.:
make -f Makefile.bcc CURS_DIR=/pdcurs38 SYS=DOS
(Use “wmake” instead of “make” for Watcom; “nmake” for MSVC.)