Re: mintty mouse behavior with vim

2023-05-11 Thread Brian Inglis via Cygwin

On 2023-05-11 20:42, René Berber via Cygwin wrote:

On 5/11/2023 8:16 PM, Duncan Roe via Cygwin wrote:

You expect too much of ssh. ssh is a text utility, not an X one. The remote vim
never sees your mouse actions: it's mintty that performs select / paste.

Are you sure?
man ssh:
" -X  Enables X11 forwarding.  This can also be specified on a per-host 
basis in a configuration file."


In recents decades it is more common to use:

-Y  Enables trusted X11 forwarding. Trusted X11 forwardings are not
subjected to the X11 SECURITY extension controls.

--
Take care. Thanks, Brian Inglis  Calgary, Alberta, Canada

La perfection est atteinte   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry

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


Re: mintty mouse behavior with vim

2023-05-11 Thread René Berber via Cygwin

On 5/11/2023 8:16 PM, Duncan Roe via Cygwin wrote:


You expect too much of ssh. ssh is a text utility, not an X one. The remote vim
never sees your mouse actions: it's mintty that performs select / paste.


Are you sure?

man ssh:

" -X  Enables X11 forwarding.  This can also be specified on a 
per-host basis in a configuration file."

--
R.B.


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


Re: mintty mouse behavior with vim

2023-05-11 Thread Duncan Roe via Cygwin
On Thu, May 11, 2023 at 03:24:18PM +, cygwin wrote:
>
> Greetings.
>
> In mintty, while using vim, I would like to highlight a few lines, and
> have vim tell me how many lines have been highlighted. Is this a
> possibility? For example:
>
> 0
> 1
> ->2
> ->3
> ->4
> ->5
> 6
> 7
> 8
> 9
>
> If I highlight lines 2 through 5, I would like vim to tell me that 4
> lines have been highlighted. It works fine with the windows vim, but it
> does not want to do it through mintty. Thoughts? Thanks.
>
> José
>
> PS: The real problem is that I am ssh'ing to an ubuntu box which I am
> using vim, but the mouse is not being acknowledged. Although, I can
> highlight and copy/paste, but clicking to a word to move the cursor
> there, it's not acknowledged.
>
You expect too much of ssh. ssh is a text utility, not an X one. The remote vim
never sees your mouse actions: it's mintty that performs select / paste.

Cheers ... Duncan.

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


[ANNOUNCEMENT] Updated: ruby-debug_inspector 1.1.0

2023-05-11 Thread Daisuke Fujimura via Cygwin-announce via Cygwin
The following packages have been uploaded to the Cygwin distribution:

* ruby-debug_inspector
* ruby-debug_inspector-doc

Package summary
* https://cygwin.com/packages/summary/ruby-debug_inspector-src.html

Changelog
* https://rubygems.org/gems/debug_inspector

A Ruby wrapper for the MRI 2.0 debug_inspector API

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


Updated: ruby-debug_inspector 1.1.0

2023-05-11 Thread Daisuke Fujimura via Cygwin-announce
The following packages have been uploaded to the Cygwin distribution:

* ruby-debug_inspector
* ruby-debug_inspector-doc

Package summary
* https://cygwin.com/packages/summary/ruby-debug_inspector-src.html

Changelog
* https://rubygems.org/gems/debug_inspector

A Ruby wrapper for the MRI 2.0 debug_inspector API


Re: mintty mouse behavior with vim

2023-05-11 Thread Gary Johnson via Cygwin
On 2023-05-11, Jose Isaias Cabrera via Cygwin wrote:
> 
> On May 11, 2023 2:24 PM, Brian Inglis  expressed:
> 
> > If I select columns or lines in vim, then the statusline at the
> > bottom of the window shows the number of columns or lines
> > selected before the cursor line and column numbers and
> > percentage thru the file, or the modeline if multiple windows
> > are visible e.g.
> > 
> > -- SELECT --4   7,2 All
> > or
> > -- SELECT --4
> 
> That's the problem. It's not doing it for me on vim on the cygwin
> xterm, nor on a connection to an ubuntu server through cygwin
> mintty. I have gvim for windows, and that works perfectly. But,
> when I use the cygwin terminal, and an ssh'ed connection to
> ubuntu, the mouse does not work. I will try to see what are my
> .vimrc settings for Windows, cygwin and ubuntu and try to match
> it. I may need to join the vim email support. Thanks.

It may be that the 'mouse' option is not set on your Ubuntu vim when
using ssh.  Try

:set mouse=a

and see if that works.  If not, then check that the version of vim
on Ubuntu supports the mouse.  Execute

:version

and check that it is not the tiny or small version and that +mouse
and not -mouse appears in the list of features.  I know that
Ubuntu's standard vim does not support X, but other than that,
I don't know what Ubuntu vim package supports what.  I always
install vim-gtk so I have everything.

Regards,
Gary


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


RE: mintty mouse behavior with vim

2023-05-11 Thread Jose Isaias Cabrera via Cygwin

On May 11, 2023 2:24 PM, Brian Inglis  expressed:

> If I select columns or lines in vim, then the statusline at the bottom of the 
> window
> shows the number of columns or lines selected before the cursor line and 
> column
> numbers and percentage thru the file, or the modeline if multiple windows are
> visible e.g.
> 
> -- SELECT --  4   7,2 All
> or
> -- SELECT --  4

That's the problem. It's not doing it for me on vim on the cygwin xterm, nor on 
a connection to an ubuntu server through cygwin mintty. I have gvim for 
windows, and that works perfectly. But, when I use the cygwin terminal, and an 
ssh'ed connection to ubuntu, the mouse does not work. I will try to see what 
are my .vimrc settings for Windows, cygwin and ubuntu and try to match it. I 
may need to join the vim email support. Thanks.

josé

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


Re: mintty mouse behavior with vim

2023-05-11 Thread Brian Inglis via Cygwin

On 2023-05-11 09:24, Jose Isaias Cabrera via Cygwin wrote:

In mintty, while using vim, I would like to highlight a few lines, and have vim 
tell me how many lines have been highlighted. Is this a possibility? For 
example:

0
1
->2
->3
->4
->5
6
7
8
9

If I highlight lines 2 through 5, I would like vim to tell me that 4 lines have 
been highlighted. It works fine with the windows vim, but it does not want to 
do it through mintty. Thoughts? Thanks.

José

PS: The real problem is that I am ssh'ing to an ubuntu box which I am using 
vim, but the mouse is not being acknowledged. Although, I can highlight and 
copy/paste, but clicking to a word to move the cursor there, it's not 
acknowledged.


If I select columns or lines in vim, then the statusline at the bottom of the 
window shows the number of columns or lines selected before the cursor line and 
column numbers and percentage thru the file, or the modeline if multiple windows 
are visible e.g.


-- SELECT --4   7,2 All
or
-- SELECT --4

--
Take care. Thanks, Brian Inglis  Calgary, Alberta, Canada

La perfection est atteinte   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut
-- Antoine de Saint-Exupéry

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


mintty mouse behavior with vim

2023-05-11 Thread Jose Isaias Cabrera via Cygwin


Greetings.

In mintty, while using vim, I would like to highlight a few lines, and have vim 
tell me how many lines have been highlighted. Is this a possibility? For 
example:

0
1
->2
->3
->4
->5
6
7
8
9

If I highlight lines 2 through 5, I would like vim to tell me that 4 lines have 
been highlighted. It works fine with the windows vim, but it does not want to 
do it through mintty. Thoughts? Thanks.

José

PS: The real problem is that I am ssh'ing to an ubuntu box which I am using 
vim, but the mouse is not being acknowledged. Although, I can highlight and 
copy/paste, but clicking to a word to move the cursor there, it's not 
acknowledged.

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


Re: Trusted maintainers (was: Re: How does a package become orphaned? (was Re: Attn maintainer: python-paramiko))

2023-05-11 Thread Andrew Schulman via Cygwin-apps
> Entrusted with these strange superpowers, the following god-like beings 
> walk unknown amongst us:
> 
> Achim Gratz
> Corinna Vinschen
> Ken Brown
> Marco Atzeri

Hippos! https://cygwin.com/goldstars/



cygwin/X shown onlay a blank screen

2023-05-11 Thread Nico Hoffmann via Cygwin



hello,

I did a cygwin installation on my employers laptop and have issues
with cygwin/X

Xwin with xfce starts and opens a window, but without any content. It
is only light grey and does not react on any mouse clicks.

The windows task manager however shows that Xwin/xfce is running and
that also some related programms are running (xinit, xfwm4,
xfsettingsd, xfdesktop, ...), but they are not visible and not
usable. See a screenshot at


I checked some logs, but I found no hint what is going on there.  See
,
,
.

If I start a fvwm2 session (this is my usual window manager), the same
problem shows up.

Since I found no helpful error message, I don't know how to get Xwin
working. All hints are welcome!

Regards,

N.

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