On Sun, Oct 12, 2008 at 12:19:49PM +0200, Kurt Roeckx wrote: > On Thu, Oct 09, 2008 at 01:14:28AM +0200, Samuel Thibault wrote: > > > > Now, that being said, that reminds me bug #472063: actually libgpm > > shouldn't even have tried to connect to the server, it should have just > > noticed it is running in an X terminal and set gpm_fd to -2... > > Both people reporting this bug seem to be using rxvt-unicode, and > #472063 is also about that. #472063 is also still open. > > So I've tried a few different things. Using aptitude: > - virtual console shows mouse, but doesn't work as expected. Clicking > somewhere doesn't always seem to have an effect. Click and drag seems > to have a weird effects.
ncurses is "only" using a click-style interface for GPM (no dragging). As I recall it, GPM also has some built-in behavior for select/paste which ncurses doesn't try to work around. > - xterm: the mouse icon stays the same as a normal xterm, one used for > selecting text. Clicking someone does seem to have the desired > effect. However, it seems that the place where the cursor is shown > in other cases it just shows an empty space instead of the '-'. I'm not sure why ncurses would behave different from gnome/konsole here. The description isn't clear (to me) though... (coincidentally, I was just testing gnome-terminal with vttest, seeing some mouse-related bugs there ;-) > - rxvt-unicode: The mouse icon is also the text selecting one, and it's > all that it seems to be doing. The cursor is not shown. that may depend on the terminfo (Debian maintains that one). > - gnome-terminal: the mouse icon is a normal pointer. It also works > as expected. When aptitude wasn't started it was the text selection > icon. > - konsole: behaves the same as gnome-terminal. > > For w3m: > - virtual console: no mouse shown, also doesn't seem to have > any effect at all. > - xterm: same as aptitude, but text under cursor still shown. > - rxvt-unicode: same as aptitude, but the cursor is shown now. > - gnome-terminal: same as aptitude. > - konsole: same as aptitude. > > For pdmenu: > - virtual console: no mouse shown, but moving it changes the current > line of the menu. It's shown in white on black, no colors. > - xterm, rxvt-unicode, gnome-terminal, konsole: Just selection > of text. They all show it in color, rxvt-unicode with a grey > background, the rest with a blue background. > > > So it seems to me that the problem might be in the terminal emulator. > > I was not able to reproduce any hanging or segfaults or something > simular. > > > Packages used: > aptitude 0.4.11.8-1 > gpm 1.20.4-2 > libncurses5 5.6+20080830-1 > w3m 0.5.2-2+b1 > rxvt-unicode 9.05-1 > gnome-terminal 2.22.3-3 > xterm 235-1 > konsole 4:3.5.9.dfsg.1-5 -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
pgpEdrCwdzLQU.pgp
Description: PGP signature