On Wed, Oct 27, 1999 at 06:21:57PM -0500, Chris Costello wrote:
> On Thu, Oct 28, 1999, Juergen Leising wrote:
> > #0 0x806b7ab in menu_check_recenter (menu=0x8e20fe8) at menu.c:287
> > 287 menu->top += menu->pagelen * ((menu->current - menu->top)
> > / menu->pagelen);
>
> Try these:
>
> print menu
> print menu->pagelen
> print menu->current
> print menu->top
> print menu->pagelen
>
yeah, this is the output:
#0 0x806b7ab in menu_check_recenter (menu=0x8e506e8) at menu.c:287
287 menu->top += menu->pagelen * ((menu->current - menu->top)
/ menu->pagelen);
(gdb) print menu
$1 = (MUTTMENU *) 0x8e506e8
(gdb) print menu->pagelen
$2 = 0
(gdb) print menu->current
$3 = 0
(gdb) print menu->top
$4 = 0
(gdb) print menu->pagelen
$5 = 0
(gdb) print *menu
$6 = {title = 0x809268e "Compose",
help = 0xbfffe9bc "y:Send q:Abort t:To c:CC s:Subj a:Attach file
d:Descrip ?:Help", data = 0x8e50578, current = 0, max = 1, redraw = 1,
menu = 2,
offset = 12, pagelen = 0, tagprefix = 0, make_entry = 0x8051fe8
<snd_entry>,
search = 0, tag = 0x807a7c0 <mutt_tag_attach>,
color = 0x806c148 <default_color>, top = 0, oldcurrent = 0, searchBuf
= 0x0,
searchDir = 0, tagged = 0}
(gdb)
hmmmm, ok - and would you please explain this to me?
I presumably have to do something to avoid those zeroes - does it matter
which kind of terminal I use? xterm, nxterm, rxvt are the most common
ones
on my computer....
By the way: I have tried several 1.0-pre-x versions
and 1.0-release and some older ones
(0.95.5i for example is my current mutt)
- but with no better results;
Many thanks for your help,
bye, bye, Juergen.
--
*************************************************************************
* Juergen Leising, Germany http://leising.home.pages.de/ *
* [EMAIL PROTECTED] http://leising.freeshell.org/ *
*************************************************************************