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

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


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 +0000, 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 looks like it will)
> > 
> > Erf, it looks like in the case of pinfo, when exitting the terminal is
> > left in ncurses mode, with intr, quit, erase, etc set to <undef> in
> > stty...
> 
> That sounds more like pinfo is calling initscr and exiting without
> calling endwin.

It is calling endwin, see ltrace

Samuel


More information about the pkg-gpm-devel mailing list