Un naufragio personal

Minimum Profit

A text editor for programmers including the following features:

  • Fully scriptable using a C-like scripting language.
  • Unlimited undo levels.
  • Complete Unicode support.
  • Multiple files can be edited at the same time and blocks copied and pasted among them.
  • Syntax highlighting for many popular languages / file formats: C, C++, Perl, Shell Scripts, Ruby, Php, Python, HTML...
  • Creative use of tags: tags created by the external utility ctags are used to move instantaneously to functions or variables inside your current source tree. Tags are visually highlighted (underlined), and symbol completion can be triggered to avoid typing your own function names over and over.
  • Intelligent help system: pressing F1 over any word of a text being edited triggers the underlying system help (calling man when editing C or Shell files, perldoc with Perl, ri on Ruby...).
  • Understandable interface: drop-down menus, reasonable default key bindings.
  • Configurable keys, menus and colors.
  • Text templates can be easily defined / accessed.
  • Multiplatform: Unix/Linux ANSI and Curses, Qt4/Qt5, GTK+, KDE4, MS Windows (both windowed and console).
  • Automatic indentation, word wrapping, internal grep, learning / repeating functions.
  • Spellchecking support (via the ispell package).
  • Multilingual.
  • Password-protected, encrypted text files (using the ARCFOUR algorithm).
  • It helps you abandon vi, emacs and other six-legged freaks definitely.

This software is released into the public domain.


NOTE: Tar files contain source code for all platforms. MS Windows executables are the installable version and the portable GUI and console versions (no installation needed).

Git repositories

If you download the sources this way, you'll also need GNU Flex and Yacc or Bison (for MPSL), and Grutatxt and mp_doccer to build the documentation (optional).

Online documentation


MP on MS Windows:

MP on Qt4:

MP on Linux / curses:

MP on GTK+ 3.x:

MP on GTK+ 2.x:

MP on GTK+ 1.x (version 3.x only):

MP on KDE4:

MP on MacOS X (contributed by Jeremy Cougar):

MP on AIX with GTK 1.x (contributed by Tomas Chan):

MP on AIX console (contributed by Tomas Chan):


Visitor comments

When will a native version for MacOS X be available?


Angel Ortega
Sorry, but I don't have access to any MacOS-based system to implement it natively. You can use GTK (Jeremy Cowgar did it) or the Qt version (I hope), but I'm afraid I don't have a clue on how to do it.

Sorry for not being more informative.

Thanks a lot for this great piece of software!

Jeremy Cowgar
Compiling on OS X is just like on any other Unix. You have to first install Gtk. After that, it's the same.

I no longer have an OS X box or I'd make a binary available, but it wasn't hard.

Thanks a lot!

Some distributions claim it highlights SQL also. Was this removed or do they just lie?

Angel Ortega
To Eckhard: I don't remember it having SQL syntax highlight, it was probably a user-added extension. There was a major refactoring from releases 3.x to 5.x, so if it existed it was lost in translation. It's not hard to add it, though.

I've seen in some MP's source code file headers copyright lines like "(C) 1991-2010 Angel Ortega".

Is that 1991 true, or is it a typo? Is MP reaching its 20 years of existence? Am I 4 years younger? :-D

Angel Ortega
I don't know how old are you, but it's not a typo: I started working on MP on 1991. It had another name (MED, from Multiple EDitor), but the basis were the same. It was itself the offspring of a previous work, TED (unimaginatively from Text EDitor), that was not multi-document and was written on 1987.

MP on 1991 (DOS based) used a cumbersome swapping system to allow the opening of files bigger than the installed memory, usually less than 1Mb (640k should be enough for everyone, said a famous guy those days).

MP is even older than my son (born on Sep 1991, MP was started on January if I recall correctly).

So Tiny was true: you are an old fart and abuse parentheses ;-D

Angel Ortega
You bet it. And please tell Tiny to fuck himself.

Great! I did like MED (in 90-s) for its unique feature of Ctrl-b, then I switched to nedit which also had it, then nedit gone (at least at SuSe 11.3 its unavailable and not compiled anymore). Now I found the old good MED and have a freedom to combine vertical blocks as I need! Thanks!!!

Angel Ortega
@Sergey: glad to find such an old user!