Do not use backslash-b to select backspaces.
[mp-5.x.git] / mp_templates.sample
blobd0030c26cf75493a2d8e1af4a90417919e6f390f
1 %%Example templates
2 Creating a template file for Minimum Profit is simple: create a
3 text file in your home directory called .mp_templates and fill it
4 with content in the same format as this file: a separator / label
5 line starting with %% that will be used as the prompt in the
6 "Insert template..." list, and a body, that can be anything, upto
7 next label or the end of file.
8 %%C Source header with GPL
9 /*
11     PROGRAM_NAME PROGRAM_VERSION - PROGRAM_DESCRIPTION
13     Copyright (C) YEAR YOU <your@email>
15     This program is free software; you can redistribute it and/or
16     modify it under the terms of the GNU General Public License
17     as published by the Free Software Foundation; either version 2
18     of the License, or (at your option) any later version.
20     This program is distributed in the hope that it will be useful,
21     but WITHOUT ANY WARRANTY; without even the implied warranty of
22     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23     GNU General Public License for more details.
25     You should have received a copy of the GNU General Public License
26     along with this program; if not, write to the Free Software
27     Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
30 %%Function documentation (in mp_doccer format)
31 /**
32  * function - brief description
33  * @argument: description
34  * @another_argument: description
35  *
36  * Detailed description,
37  * possibly spanning several lines
38  */
39 %%Semiautomatic reply to an email containing an MS Word attachment
40 You sent me an attachment in Microsoft Word format, a secret proprietary
41 format, so it is hard for me to read. If you send me plain text, HTML, or
42 PDF, then I will read it.
44 Distributing documents in Word format is bad for you and for others. You
45 can't be sure what they will look like if someone views them with a
46 different version of Word; they may not work at all.
48 Receiving Word attachments is bad for you because they can carry viruses
49 (see http://www.symantec.com/avcenter/venc/data/acro.html). Sending Word
50 attachments is bad for you, because a Word document normally includes
51 hidden information about the author, enabling those in the know to pry
52 into the author's activities (maybe yours). Text that you think you
53 deleted may still be embarrassingly present. See
54 http://www.microsystems.com/Shares_Well.htm for more info.
56 But above all, sending people Word documents puts pressure on them to use
57 Microsoft software and helps to deny them any other choice. In effect, you
58 become a buttress of the Microsoft monopoly. This pressure is a major
59 obstacle to the broader adoption of free software. Would you please
60 reconsider the use of Word format for communication with other people?
62 Converting the file to HTML is simple. Open the document, click on File,
63 then Save As, and in the 'Save As Type' strip box at the bottom of the
64 box, choose HTML Document or Web Page. Then choose Save. You can then
65 attach the new HTML document instead of your Word document. Note that
66 versions of Word change in inconsistent ways -- if you see slightly
67 different menu item names, please try them.
69 To convert to plain text is almost the same -- instead of HTML Document,
70 choose Text Only or Text Document as the 'Save As Type'.