home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 September - Disc 1 / PCNET_CD_2006_09.iso / linux / puppy-barebones-2.01r2.iso / pup_201.sfs / usr / share / doc / mp.txt < prev    next >
Encoding:
Text File  |  2004-10-16  |  4.6 KB  |  128 lines

  1. NAME
  2. ----
  3.  
  4.  Minimum Profit - Programmer text editor
  5.  
  6. SYNOPSIS
  7. --------
  8.  
  9.  mp [options] [file [file...]]
  10.  
  11. DESCRIPTION
  12. -----------
  13.  
  14. Minimum Profit (mp) is a text editor for programmers. Among its features
  15. are the following:
  16.  
  17.  - Multiple files can be edited at the same time and blocks copied
  18.    and pasted among them.
  19.  - Syntax highlighting for many popular languages / file formats: C, C++,
  20.    Perl, Shell Scripts, Ruby, Php, SQL, Python, HTML...
  21.  - Creative use of tags: tags created by the external utility _ctags_
  22.    are used to move instantaneously to functions or variables inside
  23.    your current source tree. Tags are visually highlighted (underlined),
  24.    and symbol completion can be triggered to avoid typing your own function
  25.    names over and over.
  26.  - Intelligent help system: pressing F1 over any word of a text being edited
  27.    triggers the underlying system help (calling _man_ when editing C or Shell
  28.    files, _perldoc_ with Perl, _ri_ on Ruby, _winhelp_ on MS Windows...).
  29.  - Understandable interface: drop-down menus, reasonable default key bindings.
  30.  - Configurable keys, menus and colors.
  31.  - Text templates can be easily defined / accessed.
  32.  - Multiplatform: Console/curses, GTK+ (1.2 and 2.0), MS Windows.
  33.  - Automatic indentation, word wrapping, internal _grep_, learning /
  34.    repeating functions.
  35.  - Search and replace using plain text or regular expressions (including
  36.    a special function to replace text on all open files).
  37.  - Small memory footprint.
  38.  - Multilingual.
  39.  - It helps you abandon vi, emacs and other six-legged freaks definitely.
  40.  - Awesome easter egg.
  41.  
  42. OPTIONS
  43. -------
  44.  
  45. The following options are avaiable:
  46.  
  47.  * -t tag: Edits the file where tag is defined (see ctags(1)).
  48.  * -w column: Sets word wrapping to column. By default, no word
  49.    wrapping is done.
  50.  * -ts number: Sets visual tab size. By default is 8.
  51.  * -ai: Activates automatic indentation. Disabled by default.
  52.  * -l lang: Selects text messages and menus to _lang_ language.
  53.    Run mp --help to see a list of available languages. By default,
  54.    the LANG language variable is tested and used if the language is
  55.    available, falling back to english otherwise.
  56.  * -m mode: Forces a syntax highlight mode. Run mp --help to see a
  57.    list of available syntax highlight modes. By default, mode is
  58.    autodetected for each open file.
  59.  * --col80: Marks column # 80 in a different color.
  60.  * -bw: Starts in black and white (monochrome) mode.
  61.  * -tx: Start in text mode (instead of GUI). By default, GUI modes
  62.    (if support for any of them is compiled in) are tested first and
  63.    used if the environment is suitable (by connecting to an Xserver,
  64.    for example). This option forces the usage of text modes only.
  65.  * -h: Shows a brief help screen.
  66.  
  67. The following options are available for the curses interface:
  68.  
  69.  * -hw: Activates 'hardware cursor'. By default, current cursor position
  70.    is only marked with color. Setting this function the 'blinking'
  71.    hardware cursor will be used. Probably useful only on real text
  72.    console (not in graphical terminal emulators).
  73.  * --mouse: Activates mouse usage for cursor positioning. Mouse
  74.    support is only available if compiled with the ncurses library.
  75.    Enabling this option will allow cursor positioning with the left
  76.    mouse button and beginning / end of block marking with the right one.
  77.  * -nt: Disable transparent mode. Only for terminal emulators.
  78.  
  79. The following options are available for the GTK interface:
  80.  
  81.  * --geometry geospec: Sets the window geometry as an X11 geometry
  82.    spec, in the format WxH[+X+Y].
  83.  
  84. AUTHOR
  85. ------
  86.  
  87. *Minimum Profit* has been written by Angel Ortega <angel@triptico.com> with
  88. the help of others (see the AUTHORS file for a complete list).
  89.  
  90. See http://www.triptico.com/software/mp.html for updates.
  91.  
  92. FILES
  93. -----
  94.  
  95.  * /etc/mprc (system-wide configuration file).
  96.  * ~/.mprc (user configuration file).
  97.  * ~/.mp_templates (user text templates).
  98.  
  99. ENVIRONMENT VARIABLES
  100. ---------------------
  101.  
  102.  * HOME (user home directory).
  103.  * LANG, LC_ALL (language settings).
  104.  
  105. SEE ALSO
  106. --------
  107.  
  108. ctags(1).
  109.  
  110. mprc.sample and mprc-win32.sample for configuration file examples.
  111.  
  112. AUTHORS, README, README.IRIX, README.mingw32, README.solaris and
  113. README.zaurus.
  114.  
  115. LICENSE
  116. -------
  117.  
  118. This  program  is free software; you can redistribute it and/or
  119. modify it under the terms of the GNU General Public License as
  120. published by the Free Software  Foundation; either version 2
  121. of the License, or (at your option) any later version.
  122.  
  123. This program is distributed in the hope that it will be useful, but
  124. WITHOUT ANY WARRANTY; without even the implied warranty of
  125. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  126.  
  127. See the GNU General Public License for more details.
  128.