--- mutt-1.3.25/PATCHES.orig Wed Jan 16 00:36:26 2002 +++ mutt-1.3.25/PATCHES Wed Jan 16 00:36:19 2002 @@ -0,0 +1 @@ +Feature patch: pager_status_on_top 1.3.25 by Stefan `Sec` Zehl --- mutt-1.3.25/color.c.orig Thu Nov 8 01:09:04 2001 +++ mutt-1.3.25/color.c Wed Jan 16 00:36:00 2002 @@ -76,6 +76,7 @@ { "signature", MT_COLOR_SIGNATURE }, { "indicator", MT_COLOR_INDICATOR }, { "status", MT_COLOR_STATUS }, + { "pager_status", MT_COLOR_PSTATUS }, { "tree", MT_COLOR_TREE }, { "error", MT_COLOR_ERROR }, { "normal", MT_COLOR_NORMAL }, @@ -138,6 +139,7 @@ /* set some defaults */ ColorDefs[MT_COLOR_STATUS] = A_REVERSE; + ColorDefs[MT_COLOR_PSTATUS] = A_REVERSE; ColorDefs[MT_COLOR_INDICATOR] = A_REVERSE; ColorDefs[MT_COLOR_SEARCH] = A_REVERSE; ColorDefs[MT_COLOR_MARKERS] = A_REVERSE; --- mutt-1.3.25/init.h.orig Mon Dec 10 11:09:03 2001 +++ mutt-1.3.25/init.h Wed Jan 16 00:36:00 2002 @@ -1137,6 +1137,13 @@ ** is less than \fIpager_index_lines\fP, then the index will only use as ** many lines as it needs. */ + { "pager_status_on_top", DT_BOOL, R_PAGER, OPTPSTATUSONTOP, 0 }, + /* + ** .pp + ** Setting this variable causes the ``status bar'' to be displayed on + ** the first line of the screen rather than near the bottom while in + ** the pager. + */ { "pager_stop", DT_BOOL, R_NONE, OPTPAGERSTOP, 0 }, /* ** .pp --- mutt-1.3.25/mutt.h.orig Thu Dec 13 13:10:49 2001 +++ mutt-1.3.25/mutt.h Wed Jan 16 00:36:00 2002 @@ -388,6 +388,7 @@ OPTSIGONTOP, OPTSORTRE, OPTSTATUSONTOP, + OPTPSTATUSONTOP, OPTSTRICTTHREADS, OPTSUSPEND, OPTTEXTFLOWED, --- mutt-1.3.25/mutt_curses.h.orig Thu May 31 20:03:41 2001 +++ mutt-1.3.25/mutt_curses.h Wed Jan 16 00:36:00 2002 @@ -106,6 +106,7 @@ MT_COLOR_SIGNATURE, MT_COLOR_INDICATOR, MT_COLOR_STATUS, + MT_COLOR_PSTATUS, MT_COLOR_TREE, MT_COLOR_NORMAL, MT_COLOR_ERROR, --- mutt-1.3.25/pager.c.orig Fri Dec 21 01:21:03 2001 +++ mutt-1.3.25/pager.c Wed Jan 16 00:36:01 2002 @@ -1552,7 +1552,7 @@ indicator = indexlen / 3; - if (option (OPTSTATUSONTOP)) + if (option (OPTPSTATUSONTOP)) { indexoffset = 0; statusoffset = IsHeader (extra) ? indexlen : 0; @@ -1575,7 +1575,7 @@ if (option (OPTHELP)) { - SETCOLOR (MT_COLOR_STATUS); + SETCOLOR (MT_COLOR_PSTATUS); move (helpoffset, 0); mutt_paddstr (COLS, helpstr); SETCOLOR (MT_COLOR_NORMAL); @@ -1613,7 +1613,7 @@ } SETCOLOR (MT_COLOR_NORMAL); - index->offset = indexoffset + (option (OPTSTATUSONTOP) ? 1 : 0); + index->offset = indexoffset + (option (OPTPSTATUSONTOP) ? 1 : 0); index->pagelen = indexlen - 1; @@ -1686,8 +1686,8 @@ if (redraw & REDRAW_STATUS) { /* print out the pager status bar */ - SETCOLOR (MT_COLOR_STATUS); - BKGDSET (MT_COLOR_STATUS); + SETCOLOR (MT_COLOR_PSTATUS); + BKGDSET (MT_COLOR_PSTATUS); CLEARLINE (statusoffset); if (IsHeader (extra)) { @@ -1721,7 +1721,7 @@ /* print out the index status bar */ menu_status_line (buffer, sizeof (buffer), index, NONULL(Status)); - move (indexoffset + (option (OPTSTATUSONTOP) ? 0 : (indexlen - 1)), 0); + move (indexoffset + (option (OPTPSTATUSONTOP) ? 0 : (indexlen - 1)), 0); SETCOLOR (MT_COLOR_STATUS); mutt_paddstr (COLS, buffer); SETCOLOR (MT_COLOR_NORMAL);