Bug#472063: gpm: Mouse in xterm doesn't work any more

Samuel Thibault samuel.thibault at ens-lyon.org
Sun Mar 23 12:11:53 UTC 2008


Hello,

Thomas Dickey, le Sat 22 Mar 2008 15:05:03 -0400, a écrit :
> On Sat, Mar 22, 2008 at 03:00:22PM +0100, Samuel Thibault wrote:
> > Samuel Thibault, le Sat 22 Mar 2008 13:16:07 +0000, a écrit :
> > > Samuel Thibault, le Sat 22 Mar 2008 13:08:42 +0000, a écrit :
> > > > Oh actually it works in xterm.  The problem is in rxvt, but it used to
> > > > work in rxvt too before.
> > > 
> > > I looks like this is because the HAVE_TERM_H code was dropped, I'll se
> > > with upstream.
> > 
> > Ah, no, that's actually a debian patch which lost its effect because of
> > missing HAVE_TERM_H definition in config.h.in, attached is a patch.
> > 
> > However, for that to work, libncurses _is_ needed, so
> > debian/patches/050_dont_link_libcurses should be dropped.
> 
> I did see the recent change to not link gpm with libncurses.
> 
> Technically we're discussing a longstanding defect in w3m (which
> probably won't get fixed - it'll just remain as a nuisance
> indefinitely).

No, forget about w3m, the bug at stake here applies to rmev too for
instance.

BTW, that actually leads to another bug: in terminfo the TERM=linux
entry has the kmous capability, "to use Joerg Schoen's gpm patch".
However, that patch is not applied in the debian distribution, and so
kmous shouldn't be there, since then the 013_xterm_mouse_support_000
patch will believe that the linux VT is able to send mouse events, and
thus not open a connection to the gpm daemon but just set gpm_fd to -2.

Samuel





More information about the pkg-gpm-devel mailing list