1 diff -ru mutt-1.5.20/OPS mutt-echo/OPS
2 --- mutt-1.5.20/OPS 2010-07-11 18:58:14.100714755 -0400
3 +++ mutt-echo/OPS 2010-07-11 19:22:22.856334380 -0400
5 OP_DISPLAY_ADDRESS "display full address of sender"
6 OP_DISPLAY_HEADERS "display message and toggle header weeding"
7 OP_DISPLAY_MESSAGE "display a message"
8 +OP_ECHO_TEXT "echo text in status line"
9 OP_EDIT_MESSAGE "edit the raw message"
10 OP_EDITOR_BACKSPACE "delete the char in front of the cursor"
11 OP_EDITOR_BACKWARD_CHAR "move the cursor one character to the left"
12 diff -ru mutt-1.5.20/PATCHES mutt-echo/PATCHES
13 --- mutt-1.5.20/PATCHES 2010-07-11 18:58:14.152790042 -0400
14 +++ mutt-echo/PATCHES 2010-07-11 19:22:22.849312961 -0400
16 +patch-1.5.20.as.echo.2
17 diff -ru mutt-1.5.20/doc/manual.xml.head mutt-echo/doc/manual.xml.head
18 --- mutt-1.5.20/doc/manual.xml.head 2010-07-11 18:58:14.139456668 -0400
19 +++ mutt-echo/doc/manual.xml.head 2010-07-11 19:25:12.299784710 -0400
20 @@ -3519,6 +3519,27 @@
25 +<title>Echoing text in the message line</title>
30 +<command>echo</command>
32 +<replaceable class="parameter">text</replaceable>
37 +This command can be used to display a line of text in the same way
38 +that warning or informational messages are displayed. This is useful
39 +within macros to provide visual feedback that an operation has been
46 <title>Executing Functions</title>
48 diff -ru mutt-1.5.20/init.h mutt-echo/init.h
49 --- mutt-1.5.20/init.h 2010-07-11 18:58:14.159457593 -0400
50 +++ mutt-echo/init.h 2010-07-11 19:22:22.853063816 -0400
52 { "color", mutt_parse_color, 0 },
53 { "uncolor", mutt_parse_uncolor, 0 },
55 + { "echo", mutt_parse_echo, 0 },
56 { "exec", mutt_parse_exec, 0 },
57 { "fcc-hook", mutt_parse_hook, M_FCCHOOK },
58 { "fcc-save-hook", mutt_parse_hook, M_FCCHOOK | M_SAVEHOOK },
59 diff -ru mutt-1.5.20/keymap.c mutt-echo/keymap.c
60 --- mutt-1.5.20/keymap.c 2010-07-11 18:58:14.112791263 -0400
61 +++ mutt-echo/keymap.c 2010-07-11 19:22:22.856334380 -0400
66 +/* echo some text in the status line */
67 +int mutt_parse_echo (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err)
71 + mutt_extract_token (buf, s, 0);
74 + strfcpy (err->data, _("echo: too many arguments"), err->dsize);
78 + mutt_message (buf->data);
83 * prompts the user to enter a keystroke, and displays the octal value back
85 diff -ru mutt-1.5.20/protos.h mutt-echo/protos.h
86 --- mutt-1.5.20/protos.h 2010-07-11 18:58:14.119456913 -0400
87 +++ mutt-echo/protos.h 2010-07-11 19:22:22.856334380 -0400
89 int mutt_needs_mailcap (BODY *);
90 int mutt_num_postponed (int);
91 int mutt_parse_bind (BUFFER *, BUFFER *, unsigned long, BUFFER *);
92 +int mutt_parse_echo (BUFFER *, BUFFER *, unsigned long, BUFFER *);
93 int mutt_parse_exec (BUFFER *, BUFFER *, unsigned long, BUFFER *);
94 int mutt_parse_color (BUFFER *, BUFFER *, unsigned long, BUFFER *);
95 int mutt_parse_uncolor (BUFFER *, BUFFER *, unsigned long, BUFFER *);