On 02/06/06 17:07, Thomas Dickey wrote:
On Fri, Jun 02, 2006 at 09:10:16PM +0200, Salvador Eduardo Tropea wrote:
On 02/06/06 15:05, Ludovic Drolez wrote:
The mouse isn't working on Eterm terminals.
It worked fine on Woody and stopped working when upgraded to Sarge.
Perhaps ETerm is setting $TERM to something other than "xterm" ("xterm"
would be incorrect, and it's quite possible that was one of the corrections).
Previous and current versions of Eterm sets this variable to "Eterm"
slang doesn't look closely at the terminfo and iirc supports mouse only if
$TERM is set to "xterm". If that's the case, the bug is in slang.
So you should reassign this bug to eterm, or slang, or ncurses, since the
mouse is working with all other terminals.
Yes, I could do it. But:
eterm: Mi own software supports Eterm's mouse and didn't stop working after
upgrading to Sarge.
slang, ncurses, etc: I don't know what mc is using and I don't know mc
internals.
Other applications, like aptitude, also use ncurses and the mouse works for
Eterm.
IMHO this bug should be verified/passed to mc's maintainer and if s/he
determines the problem is in ncurses/slang/wherever s/he should pass the
problem with the proper detail. I mean the programer details, not the fuzzy
description of the user.
Last time I taked a look at mc's source I saw a big mess like a customized
version of slang using some calls to ncurses ... I had the advantage to
work even when the description of the terminal was wrong but used some
nasty tricks. I don't know how the code evolved.
not quite: mc sources include a copy of slang (originally iirc to obtain
a stable version, somewhat later to include some customization of slang).
It (mc) can also be configured to build with ncurses, but mc's maintainers
have not really been interested in maintaining that configuration. (Equally,
mc has not been a program that I would choose to spend a lot of time on since
it would only build with gcc ;-)
Anyway, it's unlikely that it has any dependency on ncurses...
$ ldd /usr/bin/mc
libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x40018000)
libdl.so.2 => /lib/tls/libdl.so.2 (0x4001d000)
libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x40020000)
libgpm.so.1 => /usr/lib/libgpm.so.1 (0x400a0000)
libnsl.so.1 => /lib/tls/libnsl.so.1 (0x400a6000)
libc.so.6 => /lib/tls/libc.so.6 (0x400ba000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
libncurses.so.5 => /usr/lib/libncurses.so.5 (0x401ef000)
SET
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]