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

2008-03-23 Thread Samuel Thibault
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 +, a écrit : Samuel Thibault, le Sat 22 Mar 2008 13:08:42 +, a écrit : Oh actually it works in xterm.

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

2008-03-23 Thread Samuel Thibault
Grmbl, now I'm getting segfaults in aumix... That is because aumix initializes ncurses first, then gpm, but it happens that patch 013_xterm_mouse_support_000 does this: +#ifdef HAVE_TERM_H + if (setupterm((char *) 0, 1, terror) == 0 terror == 1 +(mousecap=tigetstr(kmous)) mousecap !=

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

2008-03-23 Thread Samuel Thibault
Samuel Thibault, le Sun 23 Mar 2008 21:34:31 +, a écrit : libgpm calling del_curterm seems a bit odd to me: will there be side effects if it leaves cur_term initialized? Won't another call to setupterm just override what was initialized by libgpm? (from reading the ncurses source, it

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

2008-03-23 Thread Thomas Dickey
On Sun, Mar 23, 2008 at 09:34:31PM +, Samuel Thibault wrote: Grmbl, now I'm getting segfaults in aumix... That is because aumix initializes ncurses first, then gpm, but it happens that patch 013_xterm_mouse_support_000 does this: I see - InitScreen calls initscr, and this reinitializes

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

2008-03-23 Thread Thomas Dickey
On Sun, Mar 23, 2008 at 11:20:13PM +0100, Samuel Thibault wrote: Samuel Thibault, le Sun 23 Mar 2008 21:34:31 +, a écrit : libgpm calling del_curterm seems a bit odd to me: will there be side effects if it leaves cur_term initialized? Won't another call to setupterm just override what

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

2008-03-23 Thread Thomas Dickey
On Sun, Mar 23, 2008 at 11:53:41PM +, Samuel Thibault wrote: Thomas Dickey, le Sun 23 Mar 2008 19:33:28 -0400, a écrit : On Sun, Mar 23, 2008 at 11:20:13PM +0100, Samuel Thibault wrote: Samuel Thibault, le Sun 23 Mar 2008 21:34:31 +, a écrit : libgpm calling del_curterm seems a

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

2008-03-22 Thread Samuel Thibault
Oh actually it works in xterm. The problem is in rxvt, but it used to work in rxvt too before. Samuel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

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

2008-03-22 Thread Samuel Thibault
Samuel Thibault, le Sat 22 Mar 2008 13:08:42 +, 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. Samuel -- To UNSUBSCRIBE, email to [EMAIL

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

2008-03-22 Thread Samuel Thibault
tags 472063 + patch thanks Samuel Thibault, le Sat 22 Mar 2008 13:16:07 +, a écrit : Samuel Thibault, le Sat 22 Mar 2008 13:08:42 +, 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

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

2008-03-22 Thread Thomas Dickey
On Sat, Mar 22, 2008 at 03:00:22PM +0100, Samuel Thibault wrote: tags 472063 + patch thanks Samuel Thibault, le Sat 22 Mar 2008 13:16:07 +, a écrit : Samuel Thibault, le Sat 22 Mar 2008 13:08:42 +, a écrit : Oh actually it works in xterm. The problem is in rxvt, but it used to

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

2008-03-21 Thread Samuel Thibault
Package: gpm Version: 1.20.3~pre3-3 Severity: important E.g. using the mouse in w3m for moving the page doesn't work any more. Samuel -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')