Re: Vim, Mintty, and mouse resizing no longer works.

2015-07-11 Thread James Darnley
On 2015-07-11 23:13, Thomas Wolff wrote:

> If I only patch the apparently non-working version of mintty to report
> version 1.2 and change nothing else,
> it works! This is obviously a bug in vim, not mintty, and a very silly
> one, because if must be checking the terminal version and enable the
> feature only if major version == 1 or something like that (rather than
>>= 1).
> Please report to vim.

HA HA HA.  I will look into that, I already have another issue to report
anyway.

In the meantime I will compile my own version that copies that workaround.

Thanks.




signature.asc
Description: OpenPGP digital signature


Re: Vim, Mintty, and mouse resizing no longer works.

2015-07-11 Thread Thomas Wolff

Am 11.07.2015 um 23:07 schrieb James Darnley:

On 2015-07-11 22:44, Thomas Wolff wrote:

Am 11.07.2015 um 20:11 schrieb James Darnley:

On 2015-07-11 13:59, Thomas Wolff wrote:

Am 11.07.2015 um 02:52 schrieb James Darnley:

Hi Thomas

Unfortunately I have a complaint to make.

When using the latest Mintty release I can no longer use the mouse to
resize split windows in Vim.  In 1.1.3, I can drag any window separator
around to change the size of them.  In 2.0.2 Aim appears to interpret
the mouse as trying to make a visual section in one window.

I tried quickly to narrow down which commit might have introduced the
problem using git bisect, unfortunately it was slowed down by some
commits not compiling.  However it did lead to producing this message.


4765275a7cfd9fadc74aedc1191de5390fa11c09 is the first bad commit
commit 4765275a7cfd9fadc74aedc1191de5390fa11c09
Author: Thomas Wolff 
Date:   Tue Jun 16 14:45:20 2015 +0200

   fix restructuring

If I checkout the commit immediately preceding this the mouse works
as I
expect.  I cannot explain why this might be the case as it looks like
there are no relevant code changes in that commit.

I will try to investigate some more but I wanted to let you know.

The commit you refer to did not change any actual code, so maybe
something in the environment is involved.
Please describe a reproducible test case. How would you setup split
windows in vim? How would you try to resize them?
Also, did you use one of the new mouse options, like MiddleClickAction?
Thomas

I don't know if you know vim so this might be verbose.

To make a vertical split, run the command :vs
To open vim with a vertical split: vim -O file1 file2
(That is a literal colon, v, and s and an uppercase letter O)

To make a horizontal split, run the command :sp
To open vim with a vertical split: vim -o file1 file2
(That is a literal colon, s, and p and an lowercase letter O)

To resize (when it works) just left click on the separator and drag.
Much like resizeable frames in a web page or a Windows window border
(but you don't get the double ended arrow cursor)

Hi James,
thanks for the step-by-step description. I cannot reproduce, however, a
working resize. I've tried with mintty 1.1.3 (freshly compiled, should
that make a difference) on cygwin-32, and mintty 1.2 on cygwin-64.
With a horizontal split, vim does not show me any separator at all.
With a vertical split, there is a vertical bar ("|") separator, but
nothing happens on click-and-drag. Is some additional vim configuration
needed to enable that feature? General mouse enabling perhaps? (I once
heard this would need to be fiddled about in vim and emacs and I wonder
why these traditional editors make basic things so troublesome for the
users; my own editor, mined, provides all mouse functions
out-of-the-box...)
Please, additional details.
Regards,
Thomas

Ah yes, there is a config option for the mouse.  Actually a bit of quick
testing shows that two are needed.  You can either run these two command
or set them in vimrc.
:set nocompatible
:set mouse=a
OK, I had found the mouse=a option meanwhile and reproduced the issue 
and found the problem.
If I only patch the apparently non-working version of mintty to report 
version 1.2 and change nothing else,
it works! This is obviously a bug in vim, not mintty, and a very silly 
one, because if must be checking the terminal version and enable the 
feature only if major version == 1 or something like that (rather than 
>= 1).

Please report to vim.
Thomas

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Vim, Mintty, and mouse resizing no longer works.

2015-07-11 Thread James Darnley
On 2015-07-11 22:44, Thomas Wolff wrote:
> Am 11.07.2015 um 20:11 schrieb James Darnley:
>> On 2015-07-11 13:59, Thomas Wolff wrote:
>>> Am 11.07.2015 um 02:52 schrieb James Darnley:
 Hi Thomas

 Unfortunately I have a complaint to make.

 When using the latest Mintty release I can no longer use the mouse to
 resize split windows in Vim.  In 1.1.3, I can drag any window separator
 around to change the size of them.  In 2.0.2 Aim appears to interpret
 the mouse as trying to make a visual section in one window.

 I tried quickly to narrow down which commit might have introduced the
 problem using git bisect, unfortunately it was slowed down by some
 commits not compiling.  However it did lead to producing this message.

> 4765275a7cfd9fadc74aedc1191de5390fa11c09 is the first bad commit
> commit 4765275a7cfd9fadc74aedc1191de5390fa11c09
> Author: Thomas Wolff 
> Date:   Tue Jun 16 14:45:20 2015 +0200
>
>   fix restructuring
 If I checkout the commit immediately preceding this the mouse works
 as I
 expect.  I cannot explain why this might be the case as it looks like
 there are no relevant code changes in that commit.

 I will try to investigate some more but I wanted to let you know.
>>> The commit you refer to did not change any actual code, so maybe
>>> something in the environment is involved.
>>> Please describe a reproducible test case. How would you setup split
>>> windows in vim? How would you try to resize them?
>>> Also, did you use one of the new mouse options, like MiddleClickAction?
>>> Thomas
>> I don't know if you know vim so this might be verbose.
>>
>> To make a vertical split, run the command :vs
>> To open vim with a vertical split: vim -O file1 file2
>> (That is a literal colon, v, and s and an uppercase letter O)
>>
>> To make a horizontal split, run the command :sp
>> To open vim with a vertical split: vim -o file1 file2
>> (That is a literal colon, s, and p and an lowercase letter O)
>>
>> To resize (when it works) just left click on the separator and drag.
>> Much like resizeable frames in a web page or a Windows window border
>> (but you don't get the double ended arrow cursor)
>
> Hi James,
> thanks for the step-by-step description. I cannot reproduce, however, a
> working resize. I've tried with mintty 1.1.3 (freshly compiled, should
> that make a difference) on cygwin-32, and mintty 1.2 on cygwin-64.
> With a horizontal split, vim does not show me any separator at all.
> With a vertical split, there is a vertical bar ("|") separator, but
> nothing happens on click-and-drag. Is some additional vim configuration
> needed to enable that feature? General mouse enabling perhaps? (I once
> heard this would need to be fiddled about in vim and emacs and I wonder
> why these traditional editors make basic things so troublesome for the
> users; my own editor, mined, provides all mouse functions
> out-of-the-box...)
> Please, additional details.
> Regards,
> Thomas

Ah yes, there is a config option for the mouse.  Actually a bit of quick
testing shows that two are needed.  You can either run these two command
or set them in vimrc.
:set nocompatible
:set mouse=a



signature.asc
Description: OpenPGP digital signature


Re: Looking for 64-bit proxy

2015-07-11 Thread Marco Atzeri



On 7/11/2015 4:07 AM, Kertz, Denis (D)** CTR ** wrote:

On 7/10/2015 10:49 AM, Marco Atzeri wrote:


On 7/10/2015 3:16 AM, Kertz, Denis (D)** CTR ** wrote:

Marco Atzen wrote:

Hi Denis,
I uploaded on
http://matzeri.altervista.org/x86_64/connect-proxy/
can you test it ?



Hi Denis,

It seems the package was corrupted, can you try it again ?
To re-install:

setup-x86_64.exe -X -O -s http://matzeri.altervista.org -q -x connect-proxy -P 
connect-proxy


I re-installed the package on both Win7 PCs and got this same ssh result on 
both PCs:

FATAL: Unable to connect to relay host, errno=111
ssh_exchange_identification: Connection closed by remote host

Denis



you seem to have other ssh issue.
Using the 64 bit version with

 connect-proxy.exe -d -p 80 -H 176.31.237.157: mysite.com  22

I was able to ssh connect on USA server passing
through a France HTTPS server (176.31.237.157:)

both from cygwin at 32 and 64 bit.

I will upload both version
Regards

Marco

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Vim, Mintty, and mouse resizing no longer works.

2015-07-11 Thread Thomas Wolff

Am 11.07.2015 um 20:11 schrieb James Darnley:

On 2015-07-11 13:59, Thomas Wolff wrote:

Am 11.07.2015 um 02:52 schrieb James Darnley:

Hi Thomas

Unfortunately I have a complaint to make.

When using the latest Mintty release I can no longer use the mouse to
resize split windows in Vim.  In 1.1.3, I can drag any window separator
around to change the size of them.  In 2.0.2 Aim appears to interpret
the mouse as trying to make a visual section in one window.

I tried quickly to narrow down which commit might have introduced the
problem using git bisect, unfortunately it was slowed down by some
commits not compiling.  However it did lead to producing this message.


4765275a7cfd9fadc74aedc1191de5390fa11c09 is the first bad commit
commit 4765275a7cfd9fadc74aedc1191de5390fa11c09
Author: Thomas Wolff 
Date:   Tue Jun 16 14:45:20 2015 +0200

  fix restructuring

If I checkout the commit immediately preceding this the mouse works as I
expect.  I cannot explain why this might be the case as it looks like
there are no relevant code changes in that commit.

I will try to investigate some more but I wanted to let you know.

The commit you refer to did not change any actual code, so maybe
something in the environment is involved.
Please describe a reproducible test case. How would you setup split
windows in vim? How would you try to resize them?
Also, did you use one of the new mouse options, like MiddleClickAction?
Thomas

I don't know if you know vim so this might be verbose.

To make a vertical split, run the command :vs
To open vim with a vertical split: vim -O file1 file2
(That is a literal colon, v, and s and an uppercase letter O)

To make a horizontal split, run the command :sp
To open vim with a vertical split: vim -o file1 file2
(That is a literal colon, s, and p and an lowercase letter O)

To resize (when it works) just left click on the separator and drag.
Much like resizeable frames in a web page or a Windows window border
(but you don't get the double ended arrow cursor)

Hi James,
thanks for the step-by-step description. I cannot reproduce, however, a 
working resize. I've tried with mintty 1.1.3 (freshly compiled, should 
that make a difference) on cygwin-32, and mintty 1.2 on cygwin-64.

With a horizontal split, vim does not show me any separator at all.
With a vertical split, there is a vertical bar ("|") separator, but 
nothing happens on click-and-drag. Is some additional vim configuration 
needed to enable that feature? General mouse enabling perhaps? (I once 
heard this would need to be fiddled about in vim and emacs and I wonder 
why these traditional editors make basic things so troublesome for the 
users; my own editor, mined, provides all mouse functions out-of-the-box...)

Please, additional details.
Regards,
Thomas

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



Re: Vim, Mintty, and mouse resizing no longer works.

2015-07-11 Thread James Darnley
On 2015-07-11 13:59, Thomas Wolff wrote:
> Am 11.07.2015 um 02:52 schrieb James Darnley:
>> Hi Thomas
>>
>> Unfortunately I have a complaint to make.
>>
>> When using the latest Mintty release I can no longer use the mouse to
>> resize split windows in Vim.  In 1.1.3, I can drag any window separator
>> around to change the size of them.  In 2.0.2 Aim appears to interpret
>> the mouse as trying to make a visual section in one window.
>>
>> I tried quickly to narrow down which commit might have introduced the
>> problem using git bisect, unfortunately it was slowed down by some
>> commits not compiling.  However it did lead to producing this message.
>>
>>> 4765275a7cfd9fadc74aedc1191de5390fa11c09 is the first bad commit
>>> commit 4765275a7cfd9fadc74aedc1191de5390fa11c09
>>> Author: Thomas Wolff 
>>> Date:   Tue Jun 16 14:45:20 2015 +0200
>>>
>>>  fix restructuring
>> If I checkout the commit immediately preceding this the mouse works as I
>> expect.  I cannot explain why this might be the case as it looks like
>> there are no relevant code changes in that commit.
>>
>> I will try to investigate some more but I wanted to let you know.
>
> The commit you refer to did not change any actual code, so maybe
> something in the environment is involved.
> Please describe a reproducible test case. How would you setup split
> windows in vim? How would you try to resize them?
> Also, did you use one of the new mouse options, like MiddleClickAction?
> Thomas

I don't know if you know vim so this might be verbose.

To make a vertical split, run the command :vs
To open vim with a vertical split: vim -O file1 file2
(That is a literal colon, v, and s and an uppercase letter O)

To make a horizontal split, run the command :sp
To open vim with a vertical split: vim -o file1 file2
(That is a literal colon, s, and p and an lowercase letter O)

To resize (when it works) just left click on the separator and drag.
Much like resizeable frames in a web page or a Windows window border
(but you don't get the double ended arrow cursor)

And to close a window in vim, the command is :q
To close all windows, :qall

The easiest way is probably to open vim with a split, it is one command
that can go in the history.

I do have the "void" middle mouse option but I have been running that
ever since I wrote the original patch and attached it to the Google code
issue about it and it was working fine until I updated and used the
mintty provided by your package.  I did remove minttyrc from my home
directory so that the defaults would be used just in case it was being
confused by my settings.  My right click option should be default, show
menu.

P.S.  Why does this list not set the "reply to" address to itself.  I am
sending this again because I just realised that I sent it directly
rather than to the list.



signature.asc
Description: OpenPGP digital signature


Re: Vim, Mintty, and mouse resizing no longer works.

2015-07-11 Thread Thomas Wolff

Am 11.07.2015 um 02:52 schrieb James Darnley:

Hi Thomas

Unfortunately I have a complaint to make.

When using the latest Mintty release I can no longer use the mouse to
resize split windows in Vim.  In 1.1.3, I can drag any window separator
around to change the size of them.  In 2.0.2 Aim appears to interpret
the mouse as trying to make a visual section in one window.

I tried quickly to narrow down which commit might have introduced the
problem using git bisect, unfortunately it was slowed down by some
commits not compiling.  However it did lead to producing this message.


4765275a7cfd9fadc74aedc1191de5390fa11c09 is the first bad commit
commit 4765275a7cfd9fadc74aedc1191de5390fa11c09
Author: Thomas Wolff 
Date:   Tue Jun 16 14:45:20 2015 +0200

 fix restructuring

If I checkout the commit immediately preceding this the mouse works as I
expect.  I cannot explain why this might be the case as it looks like
there are no relevant code changes in that commit.

I will try to investigate some more but I wanted to let you know.
The commit you refer to did not change any actual code, so maybe 
something in the environment is involved.
Please describe a reproducible test case. How would you setup split 
windows in vim? How would you try to resize them?

Also, did you use one of the new mouse options, like MiddleClickAction?
Thomas

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple



SIGSEGV before main ? and gcc-debuginfo

2015-07-11 Thread Marco Atzeri

trying to debug latest release candidate of netcdf
I hit this SIGSEGV before reaching main

$ gdb .libs/ctest.exe
GNU gdb (GDB) Cygwin 7.9.1-1
.
Reading symbols from .libs/ctest.exe...done.
(gdb) break main
Breakpoint 1 at 0x100401171: file 
/pub/devel/netcdf/prova/netcdf-c-4.4.0-rc2/ncdump/ctest.c, line 32.

(gdb) run
Starting program: 
/cygdrive/e/cyg_pub/devel/netcdf/prova/netcdf-c-4.4.0-rc2_build64/ncdump/.libs/ctest.exe

[New Thread 9476.0x2a88]
[New Thread 9476.0x1fa0]
[New Thread 9476.0x9a8]

Program received signal SIGSEGV, Segmentation fault.
___chkstk_ms () at 
/usr/src/debug/gcc-4.9.3-1/libgcc/config/i386/cygwin.S:146

146 orq $0x0, (%rcx)/* probe there */

I thought it was a stack issue and I raised from 2M to 8M

SizeOfStackReserve  0020

SizeOfStackReserve  007a1200

with no success.

May be it is not a netcdf bug ? Ideas what to look for ?


$ uname -svr
CYGWIN_NT-6.1 2.0.4(0.287/5/3) 2015-06-09 12:22


In addition there is a problem with gcc-debuginfo

 $ cygcheck -l gcc-debuginfo |grep cygwin.S
/usr/src/debug/gcc-4.9.3-1/libgcc/config/i386/cygwin.S

(gdb) break ___chkstk_ms
Breakpoint 2 at 0x100407a60: ___chkstk_ms. (5 locations)
(gdb) run
Starting program: 
/cygdrive/e/cyg_pub/devel/netcdf/prova/netcdf-c-4.4.0-rc2_build64/ncdump/.libs/ctest.exe

[New Thread 6656.0x2980]

Breakpoint 2, ___chkstk_ms () at ../../../libgcc/config/i386/cygwin.S:137
137 ../../../libgcc/config/i386/cygwin.S: No such file or directory.

--
Problem reports:   http://cygwin.com/problems.html
FAQ:   http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple