Archaic wrote: > On Sun, May 01, 2005 at 08:01:27PM -0600, [EMAIL PROTECTED] > wrote: >> Log: >> Make ncurses and GPM interact as described in ncurses FAQ > > What exactly does this fix? I recall talking about it in IRC, but I > don't recall what it changes. >
Compiling ncurses with GPM adds mouse support to e.g. lynx on plain linux console. Compiling gpm without curses is needed in this case because at that point ncurses exists only in /tools. There is also some bug report suggesting that curses support in GPM leads to mouse non-sensitivity problems after Ctrl+Z/fg - but it was in fact not related to curses support in GPM. With NCurses 5.4, one could also say that there is a circular dependency between gpm and ncurses if both are compiled to support each other. No longer an issue with the development ncurses snapshot used on the livecd, because libgpm is opened dynamically by ncurses. In fact, distro problems are caused by the "weak wgetch symbol" gpm patch that is not in LFS - but the NCurses maintainer says to compile gpm without ncurses support. See example bug (not relevant to LFS or livecd) here: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=120240 Compiling gpm without curses does not lead to any functionality loss because combined keyboard + mouse data that were returned by GPM_Wgetch() in curses-enabled GPM are now available with a regular wgetch() from GPM-enabled ncurses. Most applications accomodate this by means of a check in the "configure" script. In fact, all applications linked to libgpm on the livecd (i.e. vim and links) continue to work after this change. -- Alexander E. Patrakov -- http://linuxfromscratch.org/mailman/listinfo/livecd FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
