|Version 3 (modified by 16 years ago) ( diff ),|
As compiled in BLFS as of 20060209, GPM doesn't provide console mouse support for mouse-aware applications that expect to get mouse input via NCurses. E.g., it is impossible to click on buttons in Dialog while working on linux text console. This issue can be avoided by compiling GPM and NCurses as recommended by NCurses maintainer:
- Compile GPM with the --without-curses option passed to the configure script
- Recompile NCurses-5.5 as the LFS/HLFS/CLFS book says
It is possible to compile GPM just before NCurses while building LFS, with the same end result. The official LFS LiveCD is built this way.
This, however, creates a problem where applications (e.g. W3m) expecting the Gpm_Wgetch() function to be present stop compiling. Distributions work around the problem by compiling GPM the second time after NCurses, without the --without-curses option and with patches similar to this one, but NCurses maintainer doesn't welcome this.
If GPM is compiled with curses, it has a bug in signal handling. This bug manifests itself, e.g., as a lockup sometimes happening in W3m after clicking on a link on Linux text console. This patch fixes the issue.