[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: menu lib
Re: menu lib
Mon, 14 Jul 2003 15:00:23 -0400
On Mon, Jul 14, 2003 at 01:28:11PM +0000, address@hidden wrote:
> Hi Guys,
> I've got an application which uses menus and ncurses and it's for handling
> loads of mail messages, grouping them etc.
> But mail servers can get *very* clogged up, and even grouping them, I
> sometimes get > 32k messages groups (grouped by IP/subject - I *hate*
> spammers and their rotating subject lines).
> libmenu, however, is all signed short int inside, so as soon as we get
> 32768 menu items it all croaks. I've got 5.3 which seemed to be the
> latest build.
> Are you planning to stay with short ints inside the menu struct or moving
> to int? Or should I poke the source and do it myself? Reinventing wheels
> doesn't sound appealing.
I haven't really thought about it much - hadn't seen any cases where someone
would have a large number of items on a menu. Generally the topic's come
up a couple of times. I modified curses.h a few years ago to make the
dimensions defined as NCURSES_SIZE_T, but don't recall that anyone followed
up on this, e.g., with a request to make it configurable.
Thomas E. Dickey <address@hidden>
- menu lib, johnd, 2003/07/14
- Re: menu lib,
Thomas Dickey <=