1 diff -ur mutt-1.1.11.orig/curs_main.c mutt-1.1.11/curs_main.c
2 --- mutt-1.1.11.orig/curs_main.c Sun Apr 16 16:38:52 2000
3 +++ mutt-1.1.11/curs_main.c Mon Apr 17 18:54:09 2000
6 menu = mutt_new_menu ();
7 menu->menu = MENU_MAIN;
9 - menu->pagelen = LINES - 3;
10 + menu->offset = 1 + BlankLines;
11 + menu->pagelen = LINES - 3 - 2*BlankLines;
12 menu->make_entry = index_make_entry;
13 menu->color = index_color;
14 menu->current = ci_first_message ();
15 diff -ur mutt-1.1.11.orig/globals.h mutt-1.1.11/globals.h
16 --- mutt-1.1.11.orig/globals.h Fri Mar 3 11:10:08 2000
17 +++ mutt-1.1.11/globals.h Mon Apr 17 18:54:09 2000
20 WHERE unsigned short Counter INITVAL (0);
22 +WHERE short BlankLines;
24 WHERE short PagerContext;
25 WHERE short PagerIndexLines;
26 diff -ur mutt-1.1.11.orig/init.h mutt-1.1.11/init.h
27 --- mutt-1.1.11.orig/init.h Sun Apr 16 16:38:53 2000
28 +++ mutt-1.1.11/init.h Mon Apr 17 18:54:09 2000
30 ** notifying you of new mail. This is independent of the setting of the
31 ** ``$$beep'' variable.
33 + { "blank_lines", DT_NUM, R_NONE, UL &BlankLines, 0 },
36 + ** This variable controls the number of blank lines below help line and
37 + ** above status line. Should not be set to big values.
39 { "bounce_delivered", DT_BOOL, R_NONE, OPTBOUNCEDELIVERED, 1 },
42 diff -ur mutt-1.1.11.orig/menu.c mutt-1.1.11/menu.c
43 --- mutt-1.1.11.orig/menu.c Fri Mar 3 11:10:10 2000
44 +++ mutt-1.1.11/menu.c Mon Apr 17 18:54:09 2000
46 SETCOLOR (MT_COLOR_STATUS);
47 mvprintw (option (OPTSTATUSONTOP) ? LINES-2 : 0, 0, "%-*.*s", COLS, COLS, menu->help);
48 SETCOLOR (MT_COLOR_NORMAL);
50 - menu->pagelen = LINES - 3;
51 + menu->offset = 1 + BlankLines;
52 + menu->pagelen = LINES - 3 - 2*BlankLines;
56 - menu->offset = option (OPTSTATUSONTOP) ? 1 : 0;
57 - menu->pagelen = LINES - 2;
58 + menu->offset = (option (OPTSTATUSONTOP) ? 1 : 0) + BlankLines;
59 + menu->pagelen = LINES - 2 - 2*BlankLines;
63 diff -ur mutt-1.1.11.orig/pager.c mutt-1.1.11/pager.c
64 --- mutt-1.1.11.orig/pager.c Fri Mar 3 11:10:11 2000
65 +++ mutt-1.1.11/pager.c Mon Apr 17 18:55:37 2000
69 statusoffset = IsHeader (extra) ? indexlen : 0;
70 - bodyoffset = statusoffset + 1;
71 + bodyoffset = statusoffset + 1 + (PagerIndexLines > 0 ? 0 : BlankLines);
72 helpoffset = LINES - 2;
73 - bodylen = helpoffset - bodyoffset;
74 + bodylen = helpoffset - bodyoffset - BlankLines;
75 if (!option (OPTHELP))
79 statusoffset = LINES - 2;
80 if (!option (OPTHELP))
82 - bodyoffset = indexoffset + (IsHeader (extra) ? indexlen : 0);
83 - bodylen = statusoffset - bodyoffset;
84 + bodyoffset = indexoffset + (IsHeader (extra) ? indexlen : 0) +
85 + (PagerIndexLines > 0 ? 0 : BlankLines);
86 + bodylen = statusoffset - bodyoffset - BlankLines;
90 diff -ur mutt-1.1.11.orig/patchlist.c mutt-1.1.11/patchlist.c
91 --- mutt-1.1.11.orig/patchlist.c Sun Apr 16 16:38:53 2000
92 +++ mutt-1.1.11/patchlist.c Mon Apr 17 18:54:09 2000
94 /* DO NOT MODIFY BEFORE THIS LINE */
98 + printf("Feature patch: blank_lines 1.1.11 by Michal Kochanowicz\n"
99 + " based on: blank_line 1.0pre3i by Ken Weingold / Claus Aßmann\n");
102 /* DO NOT MODIFY AFTER THIS LINE */