File: mp_man.txt

package info (click to toggle)
mped 3.3.17-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,288 kB
  • ctags: 1,635
  • sloc: ansic: 13,150; sh: 393; makefile: 232; perl: 66
file content (132 lines) | stat: -rw-r--r-- 4,884 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
NAME
----

 Minimum Profit - Programmer text editor

SYNOPSIS
--------

 mp [options] [file [file...]]

DESCRIPTION
-----------

Minimum Profit (mp) is a text editor for programmers. Among its features
are the following:

 - 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, SQL, 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, _winhelp_ on MS Windows...).
 - Understandable interface: drop-down menus, reasonable default key bindings.
 - Configurable keys, menus and colors.
 - Text templates can be easily defined / accessed.
 - Multiplatform: Console/curses, GTK+ (1.2 and 2.0), MS Windows.
 - Automatic indentation, word wrapping, internal _grep_, learning /
   repeating functions.
 - Search and replace using plain text or regular expressions (including
   a special function to replace text on all open files).
 - Small memory footprint.
 - Spellchecking support (via the ispell package).
 - Multilingual.
 - It helps you abandon vi, emacs and other six-legged freaks definitely.
 - Awesome easter egg.

OPTIONS
-------

The following options are avaiable:

 * -t tag: Edits the file where tag is defined (see ctags(1)).
 * -w column: Sets word wrapping to column. By default, no word
   wrapping is done.
 * -ts number: Sets visual tab size. By default is 8.
 * -ai: Activates automatic indentation. Disabled by default.
 * -l lang: Selects text messages and menus to _lang_ language.
   Run mp --help to see a list of available languages. By default,
   the LANG language variable is tested and used if the language is
   available, falling back to english otherwise.
 * -m mode: Forces a syntax highlight mode. Run mp --help to see a
   list of available syntax highlight modes. By default, mode is
   autodetected for each open file.
 * --col80: Marks column # 80 in a different color.
 * -bw: Starts in black and white (monochrome) mode.
 * -tx: Start in text mode (instead of GUI). By default, GUI modes
   (if support for any of them is compiled in) are tested first and
   used if the environment is suitable (by connecting to an Xserver,
   for example). This option forces the usage of text modes only.
 * -sp: Enable spellchecking. The ispell package should be installed
   and correctly configured.
 * -h: Shows a brief help screen.

The following options are available for the curses interface:

 * -hw: Activates 'hardware cursor'. By default, current cursor position
   is only marked with color. Setting this function the 'blinking'
   hardware cursor will be used. Probably useful only on real text
   console (not in graphical terminal emulators).
 * --mouse: Activates mouse usage for cursor positioning. Mouse
   support is only available if compiled with the ncurses library.
   Enabling this option will allow cursor positioning with the left
   mouse button and beginning / end of block marking with the right one.
 * -nt: Disable transparent mode. Only for terminal emulators.

The following options are available for the GTK interface:

 * --geometry geospec: Sets the window geometry as an X11 geometry
   spec, in the format WxH[+X+Y].

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).

FILES
-----

 * /etc/mprc (system-wide configuration file).
 * ~/.mprc (user configuration file).
 * ~/.mp_templates (user text templates).

ENVIRONMENT VARIABLES
---------------------

 * HOME (user home directory).
 * LANG, LC_ALL (language settings).

SEE ALSO
--------

ctags(1).

mprc.sample and mprc-win32.sample for configuration file examples.

AUTHORS, README, README.IRIX, README.mingw32, README.solaris and
README.zaurus.

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

Mailing list: mp-subscribe@lists.triptico.com

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.

See the GNU General Public License for more details.