Re: Re: Re: Re: Cygwin package vim breaks the command 'view'

2025-06-02 Thread andkin773--- via Cygwin
Hi, > I see only 1 file 'virc' on my up-to-date cygwin: > /etc/defaults/etc/virc This was driving me nuts, I could not reproduce or test the problem. It turns out that downgrading vim from 9.1.1054-1 to 9.0.2155-2 removes /etc/defaults/etc/virc and upgrading again does not restore it. It this

Re: Re: Re: Cygwin package vim breaks the command 'view'

2025-06-02 Thread andkin773--- via Cygwin
I wrote: > I want to let this rest for now So only THEN did I notice: https://sourceware.org/pipermail/cygwin/2025-January/257212.html where Marco Atzeri says it will be fixed in the next cygwin release. Perhaps I misunderstand this. I see only 1 file 'virc' on my up-to-date cygwin: /etc/defaul

Re: Re: Cygwin package vim breaks the command 'view'

2025-06-02 Thread andkin773--- via Cygwin
Hi, Lee wrote: > Did /usr/share/vim/vim91/filetype.vim change? > That's what was causing all the errors in the original post I only did a quick test to make my previous posts complete and correct. /usr/share/vim/vim91/filetype.vim is part of vim-common, so it _should_ be unchanged. I have not ch

Re: Cygwin package vim breaks the command 'view'

2025-06-01 Thread Lee via Cygwin
On Sun, Jun 1, 2025 at 11:16 AM andkin773--- via Cygwin wrote: > > Hi, > > I missed something, > According to > https://github.com/vim/vim/issues/17039 : > > Looks like problem was introduced in 9.1.1054-1 > > I downgraded vim to check: > $ cygcheck -c | grep vim > vim 9.0.21

Re: Re: Cygwin package vim breaks the command 'view'

2025-06-01 Thread andkin773--- via Cygwin
(I'm not sure if this reply is addressed correctly for the mailing list) > did > alias view >/dev/null 2>&1 || alias view=vim -R > need quotes also ? Yes. To be honest, I don't understand why you ask this? It's easier to see in interactive bash: $ alias view=vim -R -bash: alias: -R: not found $

Re: Cygwin package vim breaks the command 'view'

2025-06-01 Thread andkin773--- via Cygwin
Hi, I missed something, According to https://github.com/vim/vim/issues/17039 : > Looks like problem was introduced in 9.1.1054-1 I downgraded vim to check: $ cygcheck -c | grep vim vim 9.0.2155-2 OK vim-common 9.1.1054-1 Incomp

Re: Cygwin package vim breaks the command 'view'

2025-05-31 Thread Lee via Cygwin
On Sat, May 31, 2025 at 11:37 AM andkin773--- via Cygwin wrote: > > Hi, > > I think I found a problem in the Cygwin package vim. > The same symptom has been reported earlier to both vim and Cygwin, but I > think the problem has not yet been found. > https://sourceware.org/pipermail/cygwin/2025-Ja

Re: Cygwin package vim breaks the command 'view'

2025-05-31 Thread David Dyck via Cygwin
Thank you for your research, and proposed fix I had noticed this to from time to time. did alias view >/dev/null 2>&1 || alias view=vim -R need quotes also ? On Sat, May 31, 2025 at 8:50 AM andkin773--- via Cygwin wrote: > Hi, > > Oops, I forgot the quotes for the aliases. > It should be: > >

Re: Cygwin package vim breaks the command 'view'

2025-05-31 Thread andkin773--- via Cygwin
Hi, Oops, I forgot the quotes for the aliases. It should be: alias ex>/dev/null 2>&1 || alias ex="vim -e" alias rvi >/dev/null 2>&1 || alias rvi="vim -Z" alias rview >/dev/null 2>&1 || alias rview="vim -RZ" alias view >/dev/null 2>&1 || alias view="vim -R" Regards, Coen -

Cygwin package vim breaks the command 'view'

2025-05-31 Thread andkin773--- via Cygwin
Hi, I think I found a problem in the Cygwin package vim. The same symptom has been reported earlier to both vim and Cygwin, but I think the problem has not yet been found. https://sourceware.org/pipermail/cygwin/2025-January/257202.html https://github.com/vim/vim/issues/17039 REPRODUCTION: 1. I