[email protected]
[Top] [All Lists]

Re: mc-4.6.1-20060912.patch

Subject: Re: mc-4.6.1-20060912.patch
From: Thomas Dickey
Date: Wed, 13 Sep 2006 16:45:41 -0400 EDT
On Wed, 13 Sep 2006, Pavel Tsekov wrote:

> I do build and test MC not only on linux but also on Solaris and Cygwin and 
> not so often on some other systems too. None of them use gpm.

I'm curious how you are using the mouse on Solaris then...

>> A quick check of the snapshot using my configuration shows the same bugs 
>> that I noticed in the release:
>>      a) cursor keys are not handled properly using the slang
>>         configuration when running in screen.  (But see below).
>>      b) there is no support for mouse using ncurses in xterm (or any
>>         other terminal supported by ncurses, of course).
> Ok I cannot test right now since it is really late but I'll do tommorow. In 
> the meantime, please, post the exact configuration that you're using so that 
> I can try with your seettings.

configure --prefix=/tmp/FOO --without-gpm-mouse --with-screen=ncurses

>> I had noticed the mouse problem in 2002 when I sent a patch to Pavel 
>> Roskin, but had not found time then to fix it.  The problem is still the 
>> same. Perhaps it would not be hard to resync my 4.6.1 patch against
>> your snapshot, but since the packagers I normally deal with are using 
>> 4.6.1, that was where I started.
> You are asuming that everyone is aware of the problem you speak of.

It's fairly obvious if you run MC in an xterm using the ncurses 
configuration.  Rather than interpret the mouse, it simply echos the
printable characters from the escape sequence in the command-line window.

>>> Would you, please, exlpain the problem that you're seeing and the
>>> reasons behind your patch. Does it have something to do with
>>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=369976 ?
>> not exactly.  Since I maintain ncurses, I deflect bug reports that are 
>> incorrectly citing ncurses.  I happened to think about MC this week since I 
>> noticed some comments via google on one of the newsgroups that indicated 
>> someone's cursor keys did not work in MC.  That might be the same issue
>> that I noted above.
> Do you mind to post a reference to that discussion so it can be verified ?

I didn't bookmark it (and scanning back through google for the past 5 days 
doesn't show me).  There's some discussion on gentoo regarding 
line-drawing characters, and


mentions a problem with function-keys.  But the remark that I had in mind 
was to the effect that the interpretation of the escape sequences had 
changed from one release to another (that sounds like a comment on one of 
the Debian lists).

Thomas E. Dickey
Mc mailing list

<Prev in Thread] Current Thread [Next in Thread>