[gpm] Return value from Gpm_Open()

Zdenek Prikryl zprikryl@redhat.com
Fri Oct 3 11:31:19 CEST 2008


Hello,
when Gpm_Open() is called in a terminal emulator where $TERM is not xterm, it
returns a file descriptor >= 0 instead of -1. This should happen only on linux
console.

In version 1.20.1 everything works fine, bud not any more in 1.20.5. Gpm_Open()
tries to open /dev/gpmctl. In version 1.20.1 open() fails, bud in 1.20.5 open()
succeeds. I don't look deeply into source code and before I do so, Nico, have 
you any idea where can be a bug?

Thanks.

-- 
Zdenek Prikryl <zprikryl@redhat.com>



More information about the gpm mailing list