MP-5(1)

πŸ“¦ version 5.2.13, in opensuse-leap 16.0

πŸ’– NAME πŸ’–

mp-5 β€” Minimum Profit Editor, literally a text editor for programmers ✨

(Marketing name: Minimum Profit, nn mp for short. Say it with me: em-pee-five. Iconic. πŸ‘‘


🌸 SYNOPSIS 🌸

mp-5 [options] [+NNN] [file [file...]]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so bestie, Minimum Profit (mp) is a text editor for programmers, and it is giving main character energy. Here's the vibe check on what it brings to the group chat:

  • Fully scriptable using a C-like scripting language. Yes. It's that girl. πŸ’…
  • Unlimited undo levels. No cap β€” you literally cannot run out of oops-ies. 😭
  • Complete Unicode support. All the emoji, all the scripts, all of it. 🌈
  • Multiple files can be edited at the same time and blocks copied and pasted among them. Multitasking queen behavior. πŸ‘‘
  • Syntax highlighting for many popular languages / file formats: C, C++, Perl, Shell Scripts, Ruby, Php, Python, HTML... she knows them all, she's not picking favorites (jk she is). ✨
  • 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. Like teleportation but for code. 🧚 Tags are visually highlighted (underlined), and symbol completion can be triggered to avoid typing your own function names over and over. Your wrists will thank you, fr fr. 🫢
  • 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, winhelp on MS Windows...). She just knows things. πŸ’€
  • Understandable interface: drop-down menus, reasonable default key bindings. No mysterious arcane rituals required. πŸŽ€
  • Configurable keys, menus and colors. Make it yours. πŸ’œ
  • Text templates can be easily defined / accessed. ✨
  • Multiplatform: Console (curses and ANSI), Qt4, GTK+, KDE4, MS Windows. Everywhere. She's everywhere. 🌍
  • 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). Secretive. Mysterious. Locked down. πŸ”
  • It helps you abandon vi, emacs and other six-legged freaks definitely. 😭 periodt.

✨ OPTIONS ✨

The following options are available (oh and btw the original page spells it "avaiable" β€” we don't gatekeep typos here, love that for her 🫢):

  • -t tag β€” Edits the file where tag is defined (see ctags(1)). Jump straight to the spot, no scrolling bestie. πŸ¦‹
  • -e mpsl_code β€” Executes MPSL code. Run it right there. πŸ’…
  • -f mpsl_script β€” Executes an MPSL script. Whole file of it. ✨
  • -d directory β€” Changes working directory. A little relocation moment. πŸŽ€
  • -x file β€” opens file in the hexadecimal viewer. Hex mode! Very demure, very binary. πŸ‘‘

Plus, not technically a flag but on the list:

  • NNN β€” Moves to line number NNN of last file. (That's the +NNN from the synopsis, iykyk.) ⭐

🧚 MPSL 🧚

MPSL (Minimum Profit Scripting Language) is a powerful programming language embedded in the Minimum Profit Text Editor (a huge part of the editor itself is written in MPSL β€” she wrote herself, that's so meta 😭). Its features are too large to be inserted here; please read the documentation. Fr, go read it. It's worth it. πŸ“–πŸ’–


πŸŽ€ AUTHOR πŸŽ€

Minimum Profit has been written by Angel Ortega <angel@triptico.com> with the help of others (see the AUTHORS file for a complete list). Shoutout to the whole squad. πŸ«ΆπŸ‘‘


πŸ“ FILES πŸ“

  • /etc/mp.mpsl (system-wide configuration file). 🌍
  • ~/.mp.mpsl (user configuration file). πŸ’œ
  • ~/.mp_templates (user text templates). ✨

🌈 ENVIRONMENT VARIABLES 🌈

  • HOME (user home directory). 🏠
  • LANG, LC_ALL (language settings). πŸ—£οΈ

πŸ‘‘ SEE ALSO πŸ‘‘

ctags(1).

The Minimum Profit documentation in /usr/share/doc/mp-5.

AUTHORS, TODO, RELEASE_NOTES and README.

Home page: http://triptico.com/software/mp.html 🌐


πŸ’€ LICENSE πŸ’€

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. πŸ’–

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Yeah, no promises, bestie. 🫢

See the GNU General Public License for more details.


Okay that's the whole page, mwah πŸ’‹ β€” this was Minimum Profit(1), straight from the General Commands Manual, and the last vibe check was stamped Mon Feb 26 18:12:30 2018. Slay, go edit some code. πŸŒΈβœ¨πŸŽ€

πŸ“¦ where this page comes from