2. Installation


 

2.1 Example: Linux

The program is packed in the file "mb_lin71.tgz", which contains: - mbedit (the executable program) - mbedit.mac (macro file, can be modified individually) - mbedit.syn (control file for syntax highlighting) The following files will be created or updated during normal operation: - mbedit.hst (History-File) - mbedit.sta (Status File) - mbedit.tmp (Temporary File) Copy the provided files "mbedit, mbedit.mac and mbedit.syn" to any directory, which is included in the search path of the operating system (e.g.: "/usr/local/bin"). Possibly the search path of the shell must be extended (e.g.: "PATH=$PATH:/usr/local/bin"). If it doesn't yet exist, it is helpful to create the environment variable "HOME", which points to the user home directory. e.g.: export HOME=/users/braun/home This command could also be included in .profile, .cshrc, etc..., depending upon the used shell. The user home directory is used for some help files (see chapters History File and Environment Variables). Example Installation (simple recipe): - Uncompress the tgz file: gunzip mb_lin71.tgz This generates the archive "mb_lin71.tar". - Unpack the archive file tar xvf mb_lin71.tar This extracts the three files "mbedit, mbedit.mac and mbedit.syn". - Copy the files to the desired destination directory, e.g. cp mbedit* /usr/local/bin - If required, set the read and executable rights for everybody. chmod a+rx /usr/local/bin/mbedit - Invoke the editor by typing mbedit [filenames] [options]

2.2 Example: MS-DOS/Windows

The program is packed in the file "mb_msdos.zip", which contains: - MBEDIT.EXE (the executable program) - MBEDIT.MAC (macro file, can be modified individually) - MBEDIT.SYN (control file for syntax highlighting) - MBEDIT.ICO (icon for the usage with Microsoft Windows) - MBEDIT.PIF (PIF-File for the usage with Microsoft Windows) The following files will be created or updated during normal operation: - MBEDIT.HST (History-File) - MBEDIT.STA (Status File) - MBEDIT.TMP (Temporary File) Copy the provided files "MBEDIT.EXE, MBEDIT.MAC and MBEDIT.SYN" to any directory, which is included in the search path of the operating system (e.g.: "C:\DOS"). Possibly the search path in "AUTOEXEC.BAT" must be extended (e.g.: "PATH C:\DOS;C:\WINDOWS;C:\MBEDIT"). Furthermore, it is helpful to setup an environment variable "HOME", which points to the user home directory. This command could also be included in "AUTOEXEC.BAT" (e.g.: "SET HOME=C:\USR\BRAUN\HOME"). The user home directory is used for some help files (see chapters History File and Environment Variables). Example Installation (simple recipe): - Open the zip-File using a common tool like WinZip and extract the contained files to the desired destination directory, e.g.: C:\MBEDIT - Edit file AUTOEXEC.BAT, append 2 lines: PATH C:\DOS;C:\WINDOWS;C:\MBEDIT SET HOME=C:\MBEDIT - Create a link to "MBEDIT.EXE" and drag it onto the desktop. In the context menu (right mouse button) you can setup the "properties", and select another icon: "MBEDIT.ICO". - Edit a file by "drag and drop" with the mouse onto the new mbedit icon.