Updated: mc-4.8.31-1

2024-01-27 Thread Marco Atzeri via Cygwin-announce

Version mc-4.8.31-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.31

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
https://midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

--
 *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

The easiest way to unsubscribe is to visit 
<https://cygwin.com/mailman/options/cygwin-announce>, and click 'Unsubscribe'.

If you need more information on unsubscribing, start reading here: 
<https://sourceware.org/lists.html#unsubscribe>.



Re: MC bug (to Marco Atzeri)

2023-03-15 Thread marco atzeri via Cygwin
On Wed, Mar 15, 2023 at 4:24 PM Brian Inglis via Cygwin
 wrote:
>
> On 2023-03-15 09:10, Dan Pejchar via Cygwin wrote:

Hi Dan,

> > I am a linux user but I have to use windows sometimes and I would love to
> > use the midnight commander in my terminal, but there is a bug which doesn't
> > really allow me to use it. I am using it on Windows 10 and when I change
> > the directory in the mc, it only changes in the mc window, but when I press
> > CTRL+O it stays in the same directory. And when I press CTRL+O it doesn't
> > return to the previously opened directory. I will do a steps to reproduce
> > list below. Also it is sometimes very slow when changing directories.
> ...
> > Just for clarity, I am talking about this package
> > https://www.cygwin.com/packages/summary/mc.html .

Noted, but my personal PC  is dead and I need to travel for work,
so do not expect an investigation/solution short term.

> Have you tried installing xinit to run Cygwin/X and use pcmanfm?
> Only slow with directories containing thousands of files.
> Just don't stay in directories after other processes delete them - e.g. 
> builds:
> when pcmanfm notices, it dies!

Hi Brian
the Cygwin version is a console only application

Regards
Marco

-- 
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: MC bug (to Marco Atzeri)

2023-03-15 Thread Brian Inglis via Cygwin

On 2023-03-15 09:10, Dan Pejchar via Cygwin wrote:

I am a linux user but I have to use windows sometimes and I would love to
use the midnight commander in my terminal, but there is a bug which doesn't
really allow me to use it. I am using it on Windows 10 and when I change
the directory in the mc, it only changes in the mc window, but when I press
CTRL+O it stays in the same directory. And when I press CTRL+O it doesn't
return to the previously opened directory. I will do a steps to reproduce
list below. Also it is sometimes very slow when changing directories.

...

Just for clarity, I am talking about this package
https://www.cygwin.com/packages/summary/mc.html .


Have you tried installing xinit to run Cygwin/X and use pcmanfm?
Only slow with directories containing thousands of files.
Just don't stay in directories after other processes delete them - e.g. builds: 
when pcmanfm notices, it dies!


--
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


MC bug (to Marco Atzeri)

2023-03-15 Thread Dan Pejchar via Cygwin
Hi,

I am a linux user but I have to use windows sometimes and I would love to
use the midnight commander in my terminal, but there is a bug which doesn't
really allow me to use it. I am using it on Windows 10 and when I change
the directory in the mc, it only changes in the mc window, but when I press
CTRL+O it stays in the same directory. And when I press CTRL+O it doesn't
return to the previously opened directory. I will do a steps to reproduce
list below. Also it is sometimes very slow when changing directories.

Steps to reproduce:
1. Open mc by running the command mc
2. Go to another directory by selecting it and pressing enter
3. press CTRL+O
4. Do run ls

Expected behaviour: I should be in the directory I have changed to in mc
previously
Actual behaviour: I am still in the home directory in which I was, when I
started mc

My mc version:
GNU Midnight Commander 4.8.29
Built with GLib 2.54.3
Built with S-Lang 2.3.3 with terminfo database
Built with libssh2 1.10.0
With builtin Editor
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With internationalization support
With multiple codepages support
With ext2fs attributes support
Virtual File Systems:
 cpiofs, tarfs, sfs, extfs, ext2undelfs, ftpfs, sftpfs, fish
Data types:
 char: 8; int: 32; long: 64; void *: 64; size_t: 64; off_t: 64;

Just for clarity, I am talking about this package
https://www.cygwin.com/packages/summary/mc.html .

Thank you in advance.

Kind regards,
Dan Pejchar

-- 
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: mc-4.8.29-1

2023-02-20 Thread Marco Atzeri via Cygwin-announce via Cygwin

Version mc-4.8.29-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.29

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

--
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: mc-4.8.27-1

2021-12-14 Thread Marco Atzeri via Cygwin-announce

Version mc-4.8.27-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.27

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

--
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: mc-4.8.27-1

2021-12-14 Thread Marco Atzeri via Cygwin-announce

Version mc-4.8.27-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.27

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .



[ANNOUNCEMENT] Updated: mc-4.8.26-1

2021-01-30 Thread Marco Atzeri via Cygwin-announce via Cygwin

Version mc-4.8.26-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.26

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .
--
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: mc-4.8.26-1

2021-01-30 Thread Marco Atzeri via Cygwin-announce

Version mc-4.8.26-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.26

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .



Updated: mc-4.8.25-1

2020-09-28 Thread Marco Atzeri via Cygwin-announce

Version mc-4.8.25-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.25

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .



[ANNOUNCEMENT] Updated: mc-4.8.25-1

2020-09-28 Thread Marco Atzeri via Cygwin-announce

Version mc-4.8.25-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.25

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .
--
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: mc-4.8.24-1

2020-01-20 Thread Marco Atzeri

Version mc-4.8.24-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.24

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

--
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



Updated: mc-4.8.24-1

2020-01-20 Thread Marco Atzeri

Version mc-4.8.24-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.24

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .


Re: MC no longer working with cygwin 3.1.x

2019-12-19 Thread Ken Brown
On 12/19/2019 4:24 AM, Corinna Vinschen wrote:
> On Dec 18 23:09, Ken Brown wrote:
>> On 12/18/2019 5:55 PM, Thomas Wolff wrote:
>>> Am 18.12.2019 um 22:14 schrieb Ken Brown:
>>>> On 12/18/2019 2:32 PM, Corinna Vinschen wrote:
>>>>> On Dec 18 17:23, Marco Atzeri wrote:
>>>>>> Am 18.12.2019 um 15:42 schrieb Laurent R:
>>>>>>> Dear all,
>>>>>>>
>>>>>>> After the update to cygwin-3.1.1, mc (aka Midnight Commander) no longer
>>>>>>> starts. It goes into an infinite loop, if I go back to cygwin-3.0.7, mc
>>>>>>> works perfectly.
>>>>>>>
>>>>>>> I tested with cygwin-3.1.0, same problem.
>>>>>>>
>>>>>>> The MC version is 4.8.23 and the operating system is Windows 10 Pro x64 
>>>>>>> 1903.
>>>>>> confirmed
>>>>>>
>>>>>> there must be a race somewhere as running /usr/bin/mc.exe from strace
>>>>>> works fine.
>>>>> But that's not the only problem running mc AFAICS.  I'm seeing an
>>>>> error message in the background:
>>>>>
>>>>> Cannot open named pipe /tmp/mc-corinna/mc.pipe.384
>>>>>  
>>>>> /cygdrive/d/cyg_pub/devel/mc/mc-4.8.23-1.x86_64/src/mc-4.8.23/src/subshell/common.c:
>>>>> open: Permission denied
>>>>> [...]
>>>> I've just looked at the mc source code, and it seems that (under tcsh 
>>>> only), mc
>>>> creates a fifo and tries to open it twice as O_RDWR.  This is not 
>>>> supported on
>>>> Cygwin, so the second attempt fails.
>>>>
>>>> Here's the relevant code from src/subshell/common.c:
>>>> [...]
>>>> Under bash, zsh, and some other shells, mc uses ordinary pipes rather than
>>>> FIFOs.  I have no idea why tcsh is treated differently.
>>>>
>>>> Until someone[*] gets around to making it possible to open a FIFO twice for
>>>> reading, I don't think there's anything we can do about it.  I also don't 
>>>> know
>>>> how important this is for mc.  I don't use tcsh or mc, so I can't judge.
> 
> Not using mc either here.  I see the STATUS_ACCESS_DENIED in the strace
> output when calling NtCreateNamedPipeFile, but I wonder why that is.

This happens on the second call to NtCreateNamedPipeFile on the same FIFO, both 
times with FILE_CREATE, as a result of mc trying to open it twice for reading. 
I recall seeing that error before under these circumstances when I was 
developing the new FIFO code.

> Ken, btw., we should add a PIPE_REJECT_REMOTE_CLIENTS flag, just for
> paranoia.

Will do.

Ken

--
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: MC no longer working with cygwin 3.1.x

2019-12-19 Thread Corinna Vinschen
On Dec 18 23:09, Ken Brown wrote:
> On 12/18/2019 5:55 PM, Thomas Wolff wrote:
> > Am 18.12.2019 um 22:14 schrieb Ken Brown:
> >> On 12/18/2019 2:32 PM, Corinna Vinschen wrote:
> >>> On Dec 18 17:23, Marco Atzeri wrote:
> >>>> Am 18.12.2019 um 15:42 schrieb Laurent R:
> >>>>> Dear all,
> >>>>>
> >>>>> After the update to cygwin-3.1.1, mc (aka Midnight Commander) no longer 
> >>>>> starts. It goes into an infinite loop, if I go back to cygwin-3.0.7, mc 
> >>>>> works perfectly.
> >>>>>
> >>>>> I tested with cygwin-3.1.0, same problem.
> >>>>>
> >>>>> The MC version is 4.8.23 and the operating system is Windows 10 Pro x64 
> >>>>> 1903.
> >>>> confirmed
> >>>>
> >>>> there must be a race somewhere as running /usr/bin/mc.exe from strace
> >>>> works fine.
> >>> But that's not the only problem running mc AFAICS.  I'm seeing an
> >>> error message in the background:
> >>>
> >>> Cannot open named pipe /tmp/mc-corinna/mc.pipe.384
> >>> 
> >>> /cygdrive/d/cyg_pub/devel/mc/mc-4.8.23-1.x86_64/src/mc-4.8.23/src/subshell/common.c:
> >>>  
> >>> open: Permission denied
> >>> [...]
> >> I've just looked at the mc source code, and it seems that (under tcsh 
> >> only), mc
> >> creates a fifo and tries to open it twice as O_RDWR.  This is not 
> >> supported on
> >> Cygwin, so the second attempt fails.
> >>
> >> Here's the relevant code from src/subshell/common.c:
> >> [...]
> >> Under bash, zsh, and some other shells, mc uses ordinary pipes rather than
> >> FIFOs.  I have no idea why tcsh is treated differently.
> >>
> >> Until someone[*] gets around to making it possible to open a FIFO twice for
> >> reading, I don't think there's anything we can do about it.  I also don't 
> >> know
> >> how important this is for mc.  I don't use tcsh or mc, so I can't judge.

Not using mc either here.  I see the STATUS_ACCESS_DENIED in the strace
output when calling NtCreateNamedPipeFile, but I wonder why that is.

Ken, btw., we should add a PIPE_REJECT_REMOTE_CLIENTS flag, just for
paranoia.

> > I've reproduced mc to fail, from bash, in cygwin 3.1.0 and 3.1.1, Windows 
> > 1809 
> > and 1903.
> 
> That's not related to what I've been talking about, which is the error
> message "Cannot open named pipe /tmp/mc-corinna/mc.pipe.384" that
> Corinna reported.  The failure you're talking about occurs in all
> shells and has already been fixed by Takashi.  I imagine Corinna will
> release 3.1.2 with the fix very soon.

Yes, today or tomorrow.  Maybe some other low-hanging fruit roles past...


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer


signature.asc
Description: PGP signature


Re: MC no longer working with cygwin 3.1.x

2019-12-18 Thread Ken Brown
On 12/18/2019 5:55 PM, Thomas Wolff wrote:
> 
> 
> Am 18.12.2019 um 22:14 schrieb Ken Brown:
>> On 12/18/2019 2:32 PM, Corinna Vinschen wrote:
>>> On Dec 18 17:23, Marco Atzeri wrote:
>>>> Am 18.12.2019 um 15:42 schrieb Laurent R:
>>>>> Dear all,
>>>>>
>>>>> After the update to cygwin-3.1.1, mc (aka Midnight Commander) no longer 
>>>>> starts. It goes into an infinite loop, if I go back to cygwin-3.0.7, mc 
>>>>> works perfectly.
>>>>>
>>>>> I tested with cygwin-3.1.0, same problem.
>>>>>
>>>>> The MC version is 4.8.23 and the operating system is Windows 10 Pro x64 
>>>>> 1903.
>>>>>
>>>>> Regards.
>>>>>
>>>> confirmed
>>>>
>>>> there must be a race somewhere as running /usr/bin/mc.exe from strace
>>>> works fine.
>>> But that's not the only problem running mc AFAICS.  I'm seeing an
>>> error message in the background:
>>>
>>> Cannot open named pipe /tmp/mc-corinna/mc.pipe.384
>>> 
>>> /cygdrive/d/cyg_pub/devel/mc/mc-4.8.23-1.x86_64/src/mc-4.8.23/src/subshell/common.c:
>>>  
>>> open: Permission denied
>>>
>>> It looks like there's another problem, this time with the new FIFO
>>> code.
>>>
>>> Ken, care to take a look?
>> I've just looked at the mc source code, and it seems that (under tcsh only), 
>> mc
>> creates a fifo and tries to open it twice as O_RDWR.  This is not supported 
>> on
>> Cygwin, so the second attempt fails.
>>
>> Here's the relevant code from src/subshell/common.c:
>>
>>   if (mc_global.shell->type == SHELL_TCSH)
>>   {
>>   g_snprintf (tcsh_fifo, sizeof (tcsh_fifo), "%s/mc.pipe.%d",
>>   mc_tmpdir (), (int) getpid ());
>>   if (mkfifo (tcsh_fifo, 0600) == -1)
>>   [...]
>>   /* Opening the FIFO as O_RDONLY or O_WRONLY causes deadlock */
>>
>>   if ((subshell_pipe[READ] = open (tcsh_fifo, O_RDWR)) == -1
>>   || (subshell_pipe[WRITE] = open (tcsh_fifo, O_RDWR)) == -1)
>>   {
>>   fprintf (stderr, _("Cannot open named pipe %s\n"), 
>> tcsh_fifo);
>>   perror (__FILE__ ": open");
>>   mc_global.tty.use_subshell = FALSE;
>>   [...]
>>
>> Under bash, zsh, and some other shells, mc uses ordinary pipes rather than
>> FIFOs.  I have no idea why tcsh is treated differently.
>>
>> Until someone[*] gets around to making it possible to open a FIFO twice for
>> reading, I don't think there's anything we can do about it.  I also don't 
>> know
>> how important this is for mc.  I don't use tcsh or mc, so I can't judge.
> I've reproduced mc to fail, from bash, in cygwin 3.1.0 and 3.1.1, Windows 
> 1809 
> and 1903.

That's not related to what I've been talking about, which is the error message 
"Cannot open named pipe /tmp/mc-corinna/mc.pipe.384" that Corinna reported.  
The 
failure you're talking about occurs in all shells and has already been fixed by 
Takashi.  I imagine Corinna will release 3.1.2 with the fix very soon.

Ken

--
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: MC no longer working with cygwin 3.1.x

2019-12-18 Thread Thomas Wolff




Am 18.12.2019 um 22:14 schrieb Ken Brown:

On 12/18/2019 2:32 PM, Corinna Vinschen wrote:

On Dec 18 17:23, Marco Atzeri wrote:

Am 18.12.2019 um 15:42 schrieb Laurent R:

Dear all,

After the update to cygwin-3.1.1, mc (aka Midnight Commander) no longer starts. 
It goes into an infinite loop, if I go back to cygwin-3.0.7, mc works perfectly.

I tested with cygwin-3.1.0, same problem.

The MC version is 4.8.23 and the operating system is Windows 10 Pro x64 1903.

Regards.


confirmed

there must be a race somewhere as running /usr/bin/mc.exe from strace
works fine.

But that's not the only problem running mc AFAICS.  I'm seeing an
error message in the background:

Cannot open named pipe /tmp/mc-corinna/mc.pipe.384

/cygdrive/d/cyg_pub/devel/mc/mc-4.8.23-1.x86_64/src/mc-4.8.23/src/subshell/common.c:
 open: Permission denied

It looks like there's another problem, this time with the new FIFO
code.

Ken, care to take a look?

I've just looked at the mc source code, and it seems that (under tcsh only), mc
creates a fifo and tries to open it twice as O_RDWR.  This is not supported on
Cygwin, so the second attempt fails.

Here's the relevant code from src/subshell/common.c:

  if (mc_global.shell->type == SHELL_TCSH)
  {
  g_snprintf (tcsh_fifo, sizeof (tcsh_fifo), "%s/mc.pipe.%d",
  mc_tmpdir (), (int) getpid ());
  if (mkfifo (tcsh_fifo, 0600) == -1)
  [...]
  /* Opening the FIFO as O_RDONLY or O_WRONLY causes deadlock */

  if ((subshell_pipe[READ] = open (tcsh_fifo, O_RDWR)) == -1
  || (subshell_pipe[WRITE] = open (tcsh_fifo, O_RDWR)) == -1)
  {
  fprintf (stderr, _("Cannot open named pipe %s\n"), tcsh_fifo);
  perror (__FILE__ ": open");
  mc_global.tty.use_subshell = FALSE;
  [...]

Under bash, zsh, and some other shells, mc uses ordinary pipes rather than
FIFOs.  I have no idea why tcsh is treated differently.

Until someone[*] gets around to making it possible to open a FIFO twice for
reading, I don't think there's anything we can do about it.  I also don't know
how important this is for mc.  I don't use tcsh or mc, so I can't judge.
I've reproduced mc to fail, from bash, in cygwin 3.1.0 and 3.1.1, 
Windows 1809 and 1903.


--
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: MC no longer working with cygwin 3.1.x

2019-12-18 Thread Ken Brown
On 12/18/2019 2:32 PM, Corinna Vinschen wrote:
> On Dec 18 17:23, Marco Atzeri wrote:
>> Am 18.12.2019 um 15:42 schrieb Laurent R:
>>> Dear all,
>>>
>>> After the update to cygwin-3.1.1, mc (aka Midnight Commander) no longer 
>>> starts. It goes into an infinite loop, if I go back to cygwin-3.0.7, mc 
>>> works perfectly.
>>>
>>> I tested with cygwin-3.1.0, same problem.
>>>
>>> The MC version is 4.8.23 and the operating system is Windows 10 Pro x64 
>>> 1903.
>>>
>>> Regards.
>>>
>>
>> confirmed
>>
>> there must be a race somewhere as running /usr/bin/mc.exe from strace
>> works fine.
> 
> But that's not the only problem running mc AFAICS.  I'm seeing an
> error message in the background:
> 
> Cannot open named pipe /tmp/mc-corinna/mc.pipe.384
>
> /cygdrive/d/cyg_pub/devel/mc/mc-4.8.23-1.x86_64/src/mc-4.8.23/src/subshell/common.c:
>  open: Permission denied
> 
> It looks like there's another problem, this time with the new FIFO
> code.
> 
> Ken, care to take a look?

I've just looked at the mc source code, and it seems that (under tcsh only), mc 
creates a fifo and tries to open it twice as O_RDWR.  This is not supported on 
Cygwin, so the second attempt fails.

Here's the relevant code from src/subshell/common.c:

 if (mc_global.shell->type == SHELL_TCSH)
 {
 g_snprintf (tcsh_fifo, sizeof (tcsh_fifo), "%s/mc.pipe.%d",
 mc_tmpdir (), (int) getpid ());
 if (mkfifo (tcsh_fifo, 0600) == -1)
 [...]
 /* Opening the FIFO as O_RDONLY or O_WRONLY causes deadlock */

 if ((subshell_pipe[READ] = open (tcsh_fifo, O_RDWR)) == -1
 || (subshell_pipe[WRITE] = open (tcsh_fifo, O_RDWR)) == -1)
 {
 fprintf (stderr, _("Cannot open named pipe %s\n"), tcsh_fifo);
 perror (__FILE__ ": open");
 mc_global.tty.use_subshell = FALSE;
 [...]

Under bash, zsh, and some other shells, mc uses ordinary pipes rather than 
FIFOs.  I have no idea why tcsh is treated differently.

Until someone[*] gets around to making it possible to open a FIFO twice for 
reading, I don't think there's anything we can do about it.  I also don't know 
how important this is for mc.  I don't use tcsh or mc, so I can't judge.

Ken

[*] I will probably look into this at some point if there's enough demand for 
it, but I'd like the new FIFO code to get lots of testing first.

--
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: MC no longer working with cygwin 3.1.x

2019-12-18 Thread Corinna Vinschen
On Dec 18 17:23, Marco Atzeri wrote:
> Am 18.12.2019 um 15:42 schrieb Laurent R:
> > Dear all,
> > 
> > After the update to cygwin-3.1.1, mc (aka Midnight Commander) no longer 
> > starts. It goes into an infinite loop, if I go back to cygwin-3.0.7, mc 
> > works perfectly.
> > 
> > I tested with cygwin-3.1.0, same problem.
> > 
> > The MC version is 4.8.23 and the operating system is Windows 10 Pro x64 
> > 1903.
> > 
> > Regards.
> > 
> 
> confirmed
> 
> there must be a race somewhere as running /usr/bin/mc.exe from strace
> works fine.

But that's not the only problem running mc AFAICS.  I'm seeing an
error message in the background:

Cannot open named pipe /tmp/mc-corinna/mc.pipe.384
  
/cygdrive/d/cyg_pub/devel/mc/mc-4.8.23-1.x86_64/src/mc-4.8.23/src/subshell/common.c:
 open: Permission denied

It looks like there's another problem, this time with the new FIFO
code.

Ken, care to take a look?


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer


signature.asc
Description: PGP signature


Re: MC no longer working with cygwin 3.1.x

2019-12-18 Thread Marco Atzeri

Am 18.12.2019 um 15:42 schrieb Laurent R:

Dear all,

After the update to cygwin-3.1.1, mc (aka Midnight Commander) no longer starts. 
It goes into an infinite loop, if I go back to cygwin-3.0.7, mc works perfectly.

I tested with cygwin-3.1.0, same problem.

The MC version is 4.8.23 and the operating system is Windows 10 Pro x64 1903.

Regards.



confirmed

there must be a race somewhere as running /usr/bin/mc.exe from strace
works fine.

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: MC no longer working with cygwin 3.1.x

2019-12-18 Thread Takashi Yano
On Wed, 18 Dec 2019 14:42:53 +
Laurent R wrote:
> After the update to cygwin-3.1.1, mc (aka Midnight Commander) no longer 
> starts. It goes into an infinite loop, if I go back to cygwin-3.0.7, mc works 
> perfectly.
> 
> I tested with cygwin-3.1.0, same problem.
> 
> The MC version is 4.8.23 and the operating system is Windows 10 Pro x64 1903.

Thanks for the report. I looked into this problem and the cause
is the bug in pty code.

I will submit the patch for this issue soon.

-- 
Takashi Yano 

--
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



MC no longer working with cygwin 3.1.x

2019-12-18 Thread Laurent R
Dear all,

After the update to cygwin-3.1.1, mc (aka Midnight Commander) no longer starts. 
It goes into an infinite loop, if I go back to cygwin-3.0.7, mc works perfectly.

I tested with cygwin-3.1.0, same problem.

The MC version is 4.8.23 and the operating system is Windows 10 Pro x64 1903.

Regards.

--
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



[ANNOUNCEMENT] Updated: mc-4.8.23-1

2019-07-05 Thread Marco Atzeri

Version mc-4.8.23-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.23

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

--
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



Updated: mc-4.8.23-1

2019-07-05 Thread Marco Atzeri

Version mc-4.8.23-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.23

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus



Updated: mc-4.8.22-1

2019-01-03 Thread Marco Atzeri

Version mc-4.8.22-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.22

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus



[ANNOUNCEMENT] Updated: mc-4.8.22-1

2019-01-03 Thread Marco Atzeri

Version mc-4.8.22-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.22

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

--
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



Updated: mc-4.8.21-1

2018-06-08 Thread Marco Atzeri

Version mc-4.8.21-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.21

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .


[ANNOUNCEMENT] Updated: mc-4.8.20-1

2017-12-31 Thread Marco Atzeri

Version mc-4.8.20-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.20

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

--
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



Updated: mc-4.8.20-1

2017-12-31 Thread Marco Atzeri

Version mc-4.8.20-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.20

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri


[ANNOUNCEMENT] Updated: mc-4.8.19-1

2017-03-08 Thread Marco Atzeri

Version mc-4.8.19-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.19

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

--
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



[ANNOUNCEMENT] Updated: mc-4.8.18-1

2016-11-01 Thread Marco Atzeri

Version mc-4.8.18-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.18

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

--
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



Updated: mc-4.8.18-1

2016-11-01 Thread Marco Atzeri

Version mc-4.8.18-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.18

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .


[ANNOUNCEMENT] Updated: mc-4.8.17-1

2016-05-09 Thread Marco Atzeri

Version mc-4.8.17-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.17

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

--
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



Updated: mc-4.8.17-1

2016-05-09 Thread Marco Atzeri

Version mc-4.8.17-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.17

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .


Updated: mc-4.8.16-1

2016-03-20 Thread Marco Atzeri

Version mc-4.8.16-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.16

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .


[ANNOUNCEMENT] Updated: mc-4.8.16-1

2016-03-20 Thread Marco Atzeri

Version mc-4.8.16-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.16

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

--
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



Updated: mc-4.8.15-1

2015-11-09 Thread Marco Atzeri

Version mc-4.8.15-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.15

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .


[ANNOUNCEMENT] Updated: mc-4.8.15-1

2015-11-09 Thread Marco Atzeri

Version mc-4.8.15-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release
https://www.midnight-commander.org/wiki/NEWS-4.8.15

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.

HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

--
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



[ANNOUNCEMENT] Updated: mc-4.8.14-1

2015-03-27 Thread Marco Atzeri

Version mc-4.8.14-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release

https://www.midnight-commander.org/wiki/NEWS-4.8.14


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.

--
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



[ANNOUNCEMENT] Updated: mc-4.8.13-1

2014-09-11 Thread Marco Atzeri

Version mc-4.8.13-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release

https://www.midnight-commander.org/wiki/NEWS-4.8.13


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.

--
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



Updated: mc-4.8.13-1

2014-09-11 Thread Marco Atzeri

Version mc-4.8.13-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix release

https://www.midnight-commander.org/wiki/NEWS-4.8.13


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.


[ANNOUNCEMENT] Updated: mc-4.8.12-2

2014-08-16 Thread Marco Atzeri

Version mc-4.8.12-2 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a Cygwin bugfix release to solve an incorrect
coding of man pages that make them unusable with current
man-db

https://www.midnight-commander.org/ticket/3239

No other change from previous 4.8.12-1 version.


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.

--
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



Updated: mc-4.8.12-2

2014-08-16 Thread Marco Atzeri

Version mc-4.8.12-2 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a Cygwin bugfix release to solve an incorrect
coding of man pages that make them unusable with current
man-db

https://www.midnight-commander.org/ticket/3239

No other change from previous 4.8.12-1 version.


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.


[ANNOUNCEMENT] Updated: mc-4.8.12-1

2014-04-14 Thread Marco Atzeri

Version mc-4.8.12-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix version

For the full upstream changes
https://www.midnight-commander.org/wiki/NEWS-4.8.12
https://www.midnight-commander.org/wiki/TitleIndex


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.

--
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



[ANNOUNCEMENT] Updated: mc-4.8.10-1

2013-08-09 Thread marco atzeri

Version mc-4.8.10-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix version

For the full upstream changes
https://www.midnight-commander.org/wiki/NEWS-4.8.10
https://www.midnight-commander.org/wiki/TitleIndex


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.

--
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



Updated: mc-4.8.10-1

2013-08-09 Thread marco atzeri

Version mc-4.8.10-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix version

For the full upstream changes
https://www.midnight-commander.org/wiki/NEWS-4.8.10
https://www.midnight-commander.org/wiki/TitleIndex


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.


[ANNOUNCEMENT] Updated: mc-4.8.8-1

2013-07-14 Thread marco atzeri

Version mc-4.8.8-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix version

For the full upstream changes
https://www.midnight-commander.org/wiki/NEWS-4.8.8
https://www.midnight-commander.org/wiki/TitleIndex


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.

--
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



Updated: mc-4.8.8-1

2013-07-14 Thread marco atzeri

Version mc-4.8.8-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix version

For the full upstream changes
https://www.midnight-commander.org/wiki/NEWS-4.8.8
https://www.midnight-commander.org/wiki/TitleIndex


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.


[ANNOUNCEMENT] Updated: mc-4.8.1.7-1

2013-04-01 Thread marco atzeri

Version mc-4.8.1.7-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix version

For the full upstream changes
https://www.midnight-commander.org/wiki/NEWS-4.8.1.7
https://www.midnight-commander.org/wiki/TitleIndex


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.

--
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



Updated: mc-4.8.1.7-1

2013-04-01 Thread marco atzeri

Version mc-4.8.1.7-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is a upstream bugfix version

For the full upstream changes
https://www.midnight-commander.org/wiki/NEWS-4.8.1.7
https://www.midnight-commander.org/wiki/TitleIndex


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.


Re: patch for build mc-4.8.7 cygwin 64 bit

2013-03-25 Thread Eric Blake
On 03/22/2013 02:46 PM, adam kisiel wrote:
 --- origsrc/mc-4.8.7/src/filemanager/mountlist.c2012-12-27
 09:13:20.0 +0100
 +++ src/mc-4.8.7/src/filemanager/mountlist.c2013-03-22
 19:59:40.866980200 +0100
 @@ -225,11 +225,17 @@
 we grant an exception to any with bind in its list of mount options.
 I.e., those are *not* dummy entries.  */
  #ifdef MOUNTED_GETMNTENT1
 +#ifdef HAVE_HASMNTOPT
  #define ME_DUMMY(Fs_name, Fs_type, Fs_ent)  \
(ME_DUMMY_0 (Fs_name, Fs_type)\
 || (strcmp (Fs_type, none) == 0\
  !hasmntopt (Fs_ent, bind)))

Actually, for any package afflicted by this gnulib bug (coreutils and
findutils have also both hit it), I've been applying this upstream
gnulib patch:

http://git.sv.gnu.org/cgit/gnulib.git/commit/lib/mountlist.c?id=62bb7a8b

-- 
Eric Blake   eblake redhat com+1-919-301-3266
Libvirt virtualization library http://libvirt.org



signature.asc
Description: OpenPGP digital signature


Re: patch for build mc-4.8.7 cygwin 64 bit

2013-03-25 Thread marco atzeri

On 3/25/2013 4:10 PM, Eric Blake wrote:

On 03/22/2013 02:46 PM, adam kisiel wrote:

--- origsrc/mc-4.8.7/src/filemanager/mountlist.c2012-12-27
09:13:20.0 +0100
+++ src/mc-4.8.7/src/filemanager/mountlist.c2013-03-22
19:59:40.866980200 +0100
@@ -225,11 +225,17 @@
 we grant an exception to any with bind in its list of mount options.
 I.e., those are *not* dummy entries.  */
  #ifdef MOUNTED_GETMNTENT1
+#ifdef HAVE_HASMNTOPT
  #define ME_DUMMY(Fs_name, Fs_type, Fs_ent)  \
(ME_DUMMY_0 (Fs_name, Fs_type)\
 || (strcmp (Fs_type, none) == 0\
  !hasmntopt (Fs_ent, bind)))


Actually, for any package afflicted by this gnulib bug (coreutils and
findutils have also both hit it), I've been applying this upstream
gnulib patch:

http://git.sv.gnu.org/cgit/gnulib.git/commit/lib/mountlist.c?id=62bb7a8b



Eric,
it seems already on mc trunk, that uses an unusual sync with gnulib

https://www.midnight-commander.org/changeset?reponame=new=a85fc3367e4e821e7585f52b3a04715f9d6c1b1a%40src%2Ffilemanager%2Fmountlist.cold=bbf1f4e8577e4608bfb832366c3c7a6ecea653d6%40src%2Ffilemanager%2Fmountlist.c


Question, how do you manage  :
  me_remote (char const *fs_name, char const *fs_type _GL_UNUSED)

as _GL_UNUSED is always giving problem and I need to change with
  me_remote (char const *fs_name, char const *fs_type )

to allow build ?

Regards
Marco









Re: patch for build mc-4.8.7 cygwin 64 bit

2013-03-23 Thread marco atzeri

On 3/22/2013 9:46 PM, adam kisiel wrote:

--- origsrc/mc-4.8.7/src/filemanager/mountlist.c2012-12-27
09:13:20.0 +0100
+++ src/mc-4.8.7/src/filemanager/mountlist.c2013-03-22



thanks, but last stable is 4.8.1.7
just built for 32 bit with


--- origsrc/mc-4.8.1.7/src/filemanager/mountlist.c  2012-12-28 
09:47:48.0 +0100
+++ src/mc-4.8.1.7/src/filemanager/mountlist.c  2013-03-22 
23:33:24.430506900 +0100

@@ -227,8 +227,7 @@
 #ifdef MOUNTED_GETMNTENT1
 #define ME_DUMMY(Fs_name, Fs_type, Fs_ent)  \
   (ME_DUMMY_0 (Fs_name, Fs_type)\
-   || (strcmp (Fs_type, none) == 0\
-!hasmntopt (Fs_ent, bind)))
+   || (strcmp (Fs_type, none) == 0 ))
 #else
 #define ME_DUMMY(Fs_name, Fs_type)  \
   (ME_DUMMY_0 (Fs_name, Fs_type) || strcmp (Fs_type, none) == 0)
@@ -240,7 +239,7 @@
 /* All cygwin mount points include `:' or start with `//'; so it
requires a native Windows call to determine remote disks.  */
 static int
-me_remote (char const *fs_name, char const *fs_type _GL_UNUSED)
+me_remote (char const *fs_name, char const *fs_type )
 {
 if (fs_name[0]  fs_name[1] == ':')
 {

I will build for 64bit in short term




build on testing distro all depend in

ftp://cygwin.com/pub/cygwin/64bit

I use two days no errors.
  binary and source package is
  on my side
http://code.google.com/p/cyg64distro/downloads/list
building in cygport
only:
   install coreutils-8.15-2
 nocoreutils-8.21-1 !! is broken configure error


thanks,
I was just trying to understand what broke my system



sorry for my english. google translate
big thanks to:
 Corinna, Yaakov
 and all  the cygwin team

  cygwin 64-bit is faster


Regards
Marco



Re: patch for build mc-4.8.7 cygwin 64 bit

2013-03-23 Thread marco atzeri

On 3/23/2013 8:48 AM, marco atzeri wrote:

On 3/22/2013 9:46 PM, adam kisiel wrote:




I will build for 64bit in short term



4.8.1.7 uploaded

Regards
Marco


patch for build mc-4.8.7 cygwin 64 bit

2013-03-22 Thread adam kisiel
--- origsrc/mc-4.8.7/src/filemanager/mountlist.c	2012-12-27  
09:13:20.0 +0100
+++ src/mc-4.8.7/src/filemanager/mountlist.c	2013-03-22 19:59:40.866980200  
+0100

@@ -225,11 +225,17 @@
we grant an exception to any with bind in its list of mount options.
I.e., those are *not* dummy entries.  */
 #ifdef MOUNTED_GETMNTENT1
+#ifdef HAVE_HASMNTOPT
 #define ME_DUMMY(Fs_name, Fs_type, Fs_ent)  \
   (ME_DUMMY_0 (Fs_name, Fs_type)\
|| (strcmp (Fs_type, none) == 0\
 !hasmntopt (Fs_ent, bind)))
 #else
+
+# define ME_DUMMY(Fs_name, Fs_type, Fs_ent)\
+  (ME_DUMMY_0 (Fs_name, Fs_type) || strcmp (Fs_type, none) == 0)
+#endif
+#else
 #define ME_DUMMY(Fs_name, Fs_type)  \
   (ME_DUMMY_0 (Fs_name, Fs_type) || strcmp (Fs_type, none) == 0)
 #endif
@@ -240,7 +246,7 @@
 /* All cygwin mount points include `:' or start with `//'; so it
requires a native Windows call to determine remote disks.  */
 static int
-me_remote (char const *fs_name, char const *fs_type _GL_UNUSED)
+me_remote (char const *fs_name, char const *fs_type)
 {
 if (fs_name[0]  fs_name[1] == ':')
 {

build on testing distro all depend in

ftp://cygwin.com/pub/cygwin/64bit

I use two days no errors.
 binary and source package is
 on my side
   http://code.google.com/p/cyg64distro/downloads/list
   building in cygport
   only:
  install coreutils-8.15-2
nocoreutils-8.21-1 !! is broken configure error
   sorry for my english. google translate
   big thanks to:
Corinna, Yaakov
and all  the cygwin team

 cygwin 64-bit is faster


Re: [RFU] mc-4.8.1.6-1

2012-10-13 Thread Corinna Vinschen
On Oct 12 22:10, marco atzeri wrote:
 
 to download (remove the index.html's) :
 
 wget -r -np -nH --cut-dirs=1 \
 http://matzeri.altervista.org/cygwin-1.7/mc/index.html
 
 find mc -name index.html -o -name md5.sum | xargs rm

Uploaded.  Do you want any old version removed?  We have
4.7.5.3-1, 4.7.5.4-1, and 4.7.5.6-1.


Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


Re: [RFU] mc-4.8.1.6-1

2012-10-13 Thread marco atzeri

On 10/13/2012 5:24 PM, Corinna Vinschen wrote:

On Oct 12 22:10, marco atzeri wrote:


to download (remove the index.html's) :

wget -r -np -nH --cut-dirs=1 \
http://matzeri.altervista.org/cygwin-1.7/mc/index.html

find mc -name index.html -o -name md5.sum | xargs rm


Uploaded.  Do you want any old version removed?  We have
4.7.5.3-1, 4.7.5.4-1, and 4.7.5.6-1.


Corinna



leave only 4.7.5.6-1

Regards
Marco



Re: [RFU] mc-4.8.1.6-1

2012-10-13 Thread Corinna Vinschen
On Oct 13 17:28, marco atzeri wrote:
 On 10/13/2012 5:24 PM, Corinna Vinschen wrote:
 On Oct 12 22:10, marco atzeri wrote:
 
 to download (remove the index.html's) :
 
 wget -r -np -nH --cut-dirs=1 \
 http://matzeri.altervista.org/cygwin-1.7/mc/index.html
 
 find mc -name index.html -o -name md5.sum | xargs rm
 
 Uploaded.  Do you want any old version removed?  We have
 4.7.5.3-1, 4.7.5.4-1, and 4.7.5.6-1.
 
 
 Corinna
 
 
 leave only 4.7.5.6-1

Done.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


[ANNOUNCEMENT] Updated: mc-4.7.5.6-1

2011-12-23 Thread marco atzeri

Version 4.7.5.6-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is an new upstream bug fixes release.

For the full upstream changes
http://www.midnight-commander.org/wiki/NEWS-4.7.5.6


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.

--
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



Updated: mc-4.7.5.6-1

2011-12-23 Thread marco atzeri

Version 4.7.5.6-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is an new upstream bug fixes release.

For the full upstream changes
http://www.midnight-commander.org/wiki/NEWS-4.7.5.6


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.


[RFU] mc-4.7.5.6-1

2011-12-18 Thread marco atzeri

new upstream release

to download (remove the index.html's) :

wget -r -np -nH --cut-dirs=2 \
http://matzeri.altervista.org/cygwin-1.7/mc/index.html

rm  ./index.html

File list:

mc-4.7.5.6-1-src.tar.bz2
mc-4.7.5.6-1.tar.bz2
setup.hint

Regards
Marco


[ANNOUNCEMENT] Updated: mc-4.7.5.4-1

2011-09-22 Thread Marco atzeri


Version 4.7.5.4-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is an new upstream bug fixes release.

For the full upstream changes
http://www.midnight-commander.org/wiki/NEWS-4.7.5.4


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.


--
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



Updated: mc-4.7.5.4-1

2011-09-22 Thread Marco atzeri


Version 4.7.5.4-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is an new upstream bug fixes release.

For the full upstream changes
http://www.midnight-commander.org/wiki/NEWS-4.7.5.4


DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.



Re: [RFU] mc-4.7.5.4-1

2011-09-21 Thread Christopher Faylor
On Mon, Sep 19, 2011 at 08:10:45AM +0200, Marco atzeri wrote:
New upstream version

to download (remove the index.html's) :

wget -r -np -nH --cut-dirs=2 \
http://matzeri.altervista.org/cygwin-1.7/mc/index.html
rm ./index.html

File list
mc-4.7.5.4-1-src.tar.bz2
mc-4.7.5.4-1.tar.bz2
setup.hint

remove mc-4.6.1-2 and leave mc-4.7.5.3-1 as previous

Done.

cgf


[RFU] mc-4.7.5.4-1

2011-09-19 Thread Marco atzeri

New upstream version

to download (remove the index.html's) :

wget -r -np -nH --cut-dirs=2 \
http://matzeri.altervista.org/cygwin-1.7/mc/index.html


rm ./index.html


File list
mc-4.7.5.4-1-src.tar.bz2
mc-4.7.5.4-1.tar.bz2
setup.hint


remove mc-4.6.1-2 and leave mc-4.7.5.3-1 as previous

Regards
Marco



Re: [ANNOUNCEMENT] Updated: mc-4.7.5.3-1

2011-08-05 Thread Oleksandr Gavenko

29.07.2011 14:22, Marco atzeri пишет:

Version 4.7.5.3-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is an new upstream release.


Nice!


CYGWIN CHANGES
The closure of the subshell is now handled.


Very good!! There are many frustration from user because previous Cygwin
package version can not kill background shell (which accessed by C-o).


But I have issue.

'setup.ini' does not contain entry for new version.
So can not be installed through setup.exe.

Then I change 'setup.ini' to:

version: 4.7.5.3-1
install: release/mc/mc-4.7.5.3-1.tar.bz2 1581910 
249bd9605be1bbcc8306ee3ab11b208e

[prev]
version: 4.6.1-2
install: release/mc/mc-4.6.1-2.tar.bz2 496091 
319bd9a93a1649c63a6094adec4da616
source: release/mc/mc-4.6.1-2-src.tar.bz2 3954074 
a63c4c686d07f2fa28e92a14fbe22edc


setup.exe purpose upgrade to new version.

Please fix to allow user access to new version.


--
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: [ANNOUNCEMENT] Updated: mc-4.7.5.3-1

2011-08-05 Thread Marco atzeri

On 8/5/2011 9:34 AM, Oleksandr Gavenko wrote:

29.07.2011 14:22, Marco atzeri пишет:

Version 4.7.5.3-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is an new upstream release.


Nice!


CYGWIN CHANGES
The closure of the subshell is now handled.


Very good!! There are many frustration from user because previous Cygwin
package version can not kill background shell (which accessed by C-o).


But I have issue.

'setup.ini' does not contain entry for new version.
So can not be installed through setup.exe.

Then I change 'setup.ini' to:

version: 4.7.5.3-1
install: release/mc/mc-4.7.5.3-1.tar.bz2 1581910
249bd9605be1bbcc8306ee3ab11b208e
[prev]
version: 4.6.1-2
install: release/mc/mc-4.6.1-2.tar.bz2 496091
319bd9a93a1649c63a6094adec4da616
source: release/mc/mc-4.6.1-2-src.tar.bz2 3954074
a63c4c686d07f2fa28e92a14fbe22edc

setup.exe purpose upgrade to new version.

Please fix to allow user access to new version.



you have likely a proxy/cache problem.
The setup.ini reports 4.7.5.3-1 as current version

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: [ANNOUNCEMENT] Updated: mc-4.7.5.3-1

2011-08-05 Thread Oleksandr Gavenko

05.08.2011 10:41, Marco atzeri пишет:

On 8/5/2011 9:34 AM, Oleksandr Gavenko wrote:

But I have issue.

'setup.ini' does not contain entry for new version.
So can not be installed through setup.exe.

Then I change 'setup.ini' to:

version: 4.7.5.3-1
install: release/mc/mc-4.7.5.3-1.tar.bz2 1581910
249bd9605be1bbcc8306ee3ab11b208e
[prev]
version: 4.6.1-2
install: release/mc/mc-4.6.1-2.tar.bz2 496091
319bd9a93a1649c63a6094adec4da616
source: release/mc/mc-4.6.1-2-src.tar.bz2 3954074
a63c4c686d07f2fa28e92a14fbe22edc

setup.exe purpose upgrade to new version.


you have likely a proxy/cache problem.
The setup.ini reports 4.7.5.3-1 as current version


I use rsync://mirrors.kernel.org/mirrors/sourceware

setup.bz2 have updated contend. But setup.ini outdated!

If I run setup.exe on local copy of repo  setup uses setup.ini.

I rsync with --delete. Why mirrors provide outdated files?
Or I am something missing?


--
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: [ANNOUNCEMENT] Updated: mc-4.7.5.3-1

2011-08-05 Thread Marco atzeri

On 8/5/2011 10:53 AM, Oleksandr Gavenko wrote:

05.08.2011 10:41, Marco atzeri пишет:

On 8/5/2011 9:34 AM, Oleksandr Gavenko wrote:

But I have issue.

'setup.ini' does not contain entry for new version.
So can not be installed through setup.exe.

Then I change 'setup.ini' to:

version: 4.7.5.3-1
install: release/mc/mc-4.7.5.3-1.tar.bz2 1581910
249bd9605be1bbcc8306ee3ab11b208e
[prev]
version: 4.6.1-2
install: release/mc/mc-4.6.1-2.tar.bz2 496091
319bd9a93a1649c63a6094adec4da616
source: release/mc/mc-4.6.1-2-src.tar.bz2 3954074
a63c4c686d07f2fa28e92a14fbe22edc

setup.exe purpose upgrade to new version.


you have likely a proxy/cache problem.
The setup.ini reports 4.7.5.3-1 as current version


I use rsync://mirrors.kernel.org/mirrors/sourceware

setup.bz2 have updated contend. But setup.ini outdated!

If I run setup.exe on local copy of repo setup uses setup.ini.

I rsync with --delete. Why mirrors provide outdated files?
Or I am something missing?



http://mirrors.kernel.org/sourceware/cygwin/setup.ini
looks fine

have you catched the mirror during the sync with the primary ?

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: [ANNOUNCEMENT] Updated: mc-4.7.5.3-1

2011-08-05 Thread Oleksandr Gavenko

05.08.2011 12:13, Marco atzeri пишет:

On 8/5/2011 10:53 AM, Oleksandr Gavenko wrote:

Or I am something missing?



http://mirrors.kernel.org/sourceware/cygwin/setup.ini
looks fine

have you catched the mirror during the sync with the primary ?


Finally I found error from myself. I fix in:

mirror=rsync://mirrors.kernel.org/mirrors/sourceware
rsync -va --delete --no-g --no-o --no-p \
  --exclude='*-src.tar.bz2' \
  --include='/release/***' --include='/setup.bz2*' \
  --exclude='*' \
  $mirror/cygwin/ $destdir/cygwin/ 21 | tee -a $log

pattern to setup:

  --include='/release/***' --include='/setup.*' \

I am not expert of rsync but  --delete preserve setup.ini
if my first script. Why?

Thanks for pointing and sorry for noise in this list.


--
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



[ITA] mc-4.7.5.3-1

2011-07-29 Thread Marco atzeri

new upstream version and I added the direct SIGHUP of the subshell
on mc exit.


to download

wget \
http://matzeri.altervista.org/cygwin-1.7/mc/mc-4.7.5.3-1-src.tar.bz2 \
http://matzeri.altervista.org/cygwin-1.7/mc/mc-4.7.5.3-1.tar.bz2 \
http://matzeri.altervista.org/cygwin-1.7/mc/setup.hint

Regards
Marco


Re: [ITA] mc-4.7.5.3-1

2011-07-29 Thread Corinna Vinschen
On Jul 29 10:23, Marco atzeri wrote:
 wget \
 http://matzeri.altervista.org/cygwin-1.7/mc/mc-4.7.5.3-1-src.tar.bz2 \
 http://matzeri.altervista.org/cygwin-1.7/mc/mc-4.7.5.3-1.tar.bz2 \
 http://matzeri.altervista.org/cygwin-1.7/mc/setup.hint

Uploaded.


Thanks,
Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader  cygwin AT cygwin DOT com
Red Hat


[ANNOUNCEMENT] Updated: mc-4.7.5.3-1

2011-07-29 Thread Marco atzeri

Version 4.7.5.3-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is an new upstream release.

For the full upstream changes
http://www.midnight-commander.org/wiki/NEWS-4.7.5.3

CYGWIN CHANGES
The closure of the subshell is now handled.

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.


--
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



Updated: mc-4.7.5.3-1

2011-07-29 Thread Marco atzeri

Version 4.7.5.3-1 of Midnight Commander
has been uploaded for cygwin

CHANGES
This is an new upstream release.

For the full upstream changes
http://www.midnight-commander.org/wiki/NEWS-4.7.5.3

CYGWIN CHANGES
The closure of the subshell is now handled.

DESCRIPTION
GNU Midnight Commander is a visual file manager. It's a feature rich
full-screen text mode application that allows you to copy, move and
delete files and whole directory trees, search for files and run
commands in the subshell. Internal viewer and editor are included.


HOMEPAGE
http://www.midnight-commander.org/


Regards
Marco Atzeri

If you have questions or comments, please send them to the
cygwin mailing list at: cygwin (at) cygwin (dot) com .

  *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe from the cygwin-announce mailing list,
look at the List-Unsubscribe:  tag in the email header of this
message. Send email to the address specified there. It will be in the 
format:


cygwin-announce-unsubscribe-you=yourdomain@cygwin.com

If you need more information on unsubscribing, start reading here:

http://sourceware.org/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that
is available starting at this URL.



Re: [ITA] mc-4.7.5.2-1

2011-07-18 Thread Marco atzeri

On 7/13/2011 8:04 PM, Christopher Faylor wrote:

I've fixed the problem with the creation of a zombie in the latest
snapshot.  However, when I run this version of mc it leaves a stray bash
process sitting around both with 1.7.9 and 1.7.10.

That's something that should be fixed before this goes live.

cgf


should I disable the subshell as in the current 4.6.1-2, as
workaround until the solution is found ?

Regards
Marco



Re: [ITA] mc-4.7.5.2-1

2011-07-18 Thread Christopher Faylor
On Mon, Jul 18, 2011 at 02:03:32PM +0200, Marco atzeri wrote:
On 7/13/2011 8:04 PM, Christopher Faylor wrote:
 I've fixed the problem with the creation of a zombie in the latest
 snapshot.  However, when I run this version of mc it leaves a stray bash
 process sitting around both with 1.7.9 and 1.7.10.

 That's something that should be fixed before this goes live.

should I disable the subshell as in the current 4.6.1-2, as
workaround until the solution is found ?

Who are you expecting to find a solution?  Why not just debug the
problem and fix it?

cgf


Re: [ITA] mc-4.7.5.2-1

2011-07-18 Thread Marco atzeri

On 7/18/2011 4:25 PM, Christopher Faylor wrote:

On Mon, Jul 18, 2011 at 02:03:32PM +0200, Marco atzeri wrote:

On 7/13/2011 8:04 PM, Christopher Faylor wrote:

I've fixed the problem with the creation of a zombie in the latest
snapshot.  However, when I run this version of mc it leaves a stray bash
process sitting around both with 1.7.9 and 1.7.10.

That's something that should be fixed before this goes live.


should I disable the subshell as in the current 4.6.1-2, as
workaround until the solution is found ?


Who are you expecting to find a solution?  Why not just debug the
problem and fix it?

cgf


Hi cgf
I already started to look for a solution of this historical problem,
I was just asking if as temporary solution the previous package
workaround was fine.

Regards
Marco


Re: problem with displaying graphical chars in mc under rxvt (CYGWIN=codepage:oem didnt fix it)

2011-07-14 Thread Micho Vesiak
My winning setings for these problems are finally here after several tries.
MC has now correct line drawing borders, backspace and arrows work in
bash shell, also mc works much faster in rxvt than in default cygwin
shell (which seems to run in windows cmd?). The TERM and DISPLAY
environment variables fiex several issues too.
My cygwin startup script in C:\cygwin\Cygwin.bat :

@echo off
C:
chdir C:\cygwin\bin
set TERM=rxvt-cygwin
set DISPLAY=:0
C:\cygwin\bin\rxvt.exe -fn Terminal-18 -tn rxvt-cygwin -geometry
120x50 -sr -sl 1000 -e /bin/bash --login -i


Note that font size 10 is also readable but much smaller. Other sizes
have really ridiculous proportions.

Regards.

--
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: [ITA] mc-4.7.5.2-1

2011-07-13 Thread szgyg

On 7/12/2011 4:31 PM, Marco atzeri wrote:

On 7/12/2011 4:19 PM, szgyg wrote:

What about --with-subshell=optional ?


currently does not work, at least on my test. It creates just zombie.
I will investigate in the future


Actually, it works with the last released cygwin1.dll, but it fails with 
the snapshot.


szgyg


Re: [ITA] mc-4.7.5.2-1

2011-07-13 Thread Christopher Faylor
I've fixed the problem with the creation of a zombie in the latest
snapshot.  However, when I run this version of mc it leaves a stray bash
process sitting around both with 1.7.9 and 1.7.10.

That's something that should be fixed before this goes live.

cgf


Re: [ITA] mc-4.7.5.2-1

2011-07-13 Thread szgyg

On 7/13/2011 8:04 PM, Christopher Faylor wrote:

I've fixed the problem with the creation of a zombie in the latest
snapshot.


Thank you.


 However, when I run this version of mc it leaves a stray bash
process sitting around both with 1.7.9 and 1.7.10.


This is a long standing bug, the old version in the distro has the same 
issue. It ships with subshell support switched off by default (i.e. 
--with-subshell=optional), so you see this only if you run `mc -U'.


szgyg


Re: [ITA] mc-4.7.5.2-1

2011-07-12 Thread szgyg

On 7/12/2011 2:49 PM, Marco atzeri wrote:

to download

wget \
http://matzeri.altervista.org/cygwin-1.7/mc/mc-4.7.5.2-1-src.tar.bz2 \
http://matzeri.altervista.org/cygwin-1.7/mc/mc-4.7.5.2-1.tar.bz2 \
http://matzeri.altervista.org/cygwin-1.7/mc/setup.hint


What about --with-subshell=optional ?

szgyg@gwen ~
$ ps ax
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 2368   12368   2368? 1004 16:13:20 /usr/bin/mintty
 258423682584   38840 1004 16:13:22 /usr/bin/bash
 394825843948   16000 1004 16:13:34 /usr/bin/ps

szgyg@gwen ~
$ mc


szgyg@gwen ~
$ ps ax
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 2368   12368   2368? 1004 16:13:20 /usr/bin/mintty
 258423682584   38840 1004 16:13:22 /usr/bin/bash
I3308   13308   31521 1004 16:13:41 /usr/bin/bash
 298025842980   29480 1004 16:14:00 /usr/bin/ps


Re: [ITA] mc-4.7.5.2-1

2011-07-12 Thread Marco atzeri

On 7/12/2011 4:19 PM, szgyg wrote:

On 7/12/2011 2:49 PM, Marco atzeri wrote:

to download

wget \
http://matzeri.altervista.org/cygwin-1.7/mc/mc-4.7.5.2-1-src.tar.bz2 \
http://matzeri.altervista.org/cygwin-1.7/mc/mc-4.7.5.2-1.tar.bz2 \
http://matzeri.altervista.org/cygwin-1.7/mc/setup.hint


What about --with-subshell=optional ?


currently does not work, at least on my test. It creates just zombie.
I will investigate in the future




szgyg@gwen ~
$ ps ax
PID PPID PGID WINPID TTY UID STIME COMMAND
2368 1 2368 2368 ? 1004 16:13:20 /usr/bin/mintty
2584 2368 2584 3884 0 1004 16:13:22 /usr/bin/bash
3948 2584 3948 1600 0 1004 16:13:34 /usr/bin/ps

szgyg@gwen ~
$ mc


Do you mean that the program does not work on you system ?




szgyg@gwen ~
$ ps ax
PID PPID PGID WINPID TTY UID STIME COMMAND
2368 1 2368 2368 ? 1004 16:13:20 /usr/bin/mintty
2584 2368 2584 3884 0 1004 16:13:22 /usr/bin/bash
I 3308 1 3308 3152 1 1004 16:13:41 /usr/bin/bash
2980 2584 2980 2948 0 1004 16:14:00 /usr/bin/ps


Marco


Re: [ITA] mc-4.7.5.2-1

2011-07-12 Thread szgyg

On 7/12/2011 4:31 PM, Marco atzeri wrote:

On 7/12/2011 4:19 PM, szgyg wrote:

On 7/12/2011 2:49 PM, Marco atzeri wrote:
What about --with-subshell=optional ?


currently does not work, at least on my test. It creates just zombie.
I will investigate in the future


Uhm, yes, you're right. :(


Do you mean that the program does not work on you system ?


It works fine, just it leaves a zombie bash.

szgyg


szgyg@gwen ~
$ ps ax
PID PPID PGID WINPID TTY UID STIME COMMAND
2368 1 2368 2368 ? 1004 16:13:20 /usr/bin/mintty
2584 2368 2584 3884 0 1004 16:13:22 /usr/bin/bash
3948 2584 3948 1600 0 1004 16:13:34 /usr/bin/ps

szgyg@gwen ~
$ mc


szgyg@gwen ~
$ ps ax
PID PPID PGID WINPID TTY UID STIME COMMAND
2368 1 2368 2368 ? 1004 16:13:20 /usr/bin/mintty
2584 2368 2584 3884 0 1004 16:13:22 /usr/bin/bash
I 3308 1 3308 3152 1 1004 16:13:41 /usr/bin/bash
2980 2584 2980 2948 0 1004 16:14:00 /usr/bin/ps


mc problem on cygwin cvs HEAD

2011-06-17 Thread Marco atzeri

Cgf, Corinna
just noted that on cygwin built from cvs HEAD,  mc is wrongly reacting
to key press and screwing up the screen (booth on mintty and xterm).
Eventually something is eating control characters

Using 14 June built I have no such problem


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



Why mc start without subshell by default?

2010-11-03 Thread Oleksandr Gavenko

I can turn on subshell by:

  $ mc -U

This is useful by default or I miss something?


--
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



R: Why mc start without subshell by default?

2010-11-03 Thread Marco Atzeri
--- Mer 3/11/10, Oleksandr Gavenko  ha scritto:

 I can turn on subshell by:
 
   $ mc -U
 
 This is useful by default or I miss something?
 
 

It is useful but there is one problem on cygwin.
When you close mc the subshell will not exit, so you will finish
with a zombie bash shell running.

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: R: Why mc start without subshell by default?

2010-11-03 Thread Oleksandr Gavenko

On 03.11.2010 11:14, Marco Atzeri wrote:

--- Mer 3/11/10, Oleksandr Gavenko  ha scritto:


I can turn on subshell by:

   $ mc -U

This is useful by default or I miss something?




It is useful but there is one problem on cygwin.
When you close mc the subshell will not exit, so you will finish
with a zombie bash shell running.


Oh! I recall that I already wrote about this:

C-o in GNU MC and mintty/rxvt issue?
http://thread.gmane.org/gmane.os.cygwin/118690/focus=118693

mc --subshell after exit forget kill bash.
http://thread.gmane.org/gmane.os.cygwin/118702


--
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: R: Why mc start without subshell by default?

2010-11-03 Thread SZABO Gergely
Marco Atzeri marco_atzeri at yahoo.it writes:

 
 --- Mer 3/11/10, Oleksandr Gavenko  ha scritto:
 
  I can turn on subshell by:
  
    $ mc -U
  
  This is useful by default or I miss something?
  
  
 
 It is useful but there is one problem on cygwin.
 When you close mc the subshell will not exit, so you will finish
 with a zombie bash shell running.
 
 Marco
 
 

I thought mc's lacking subshell support is a hard fact of life in Cygwin, until
the -U option was pointed out here. It's a huge improvement.

It's quite easy to kill the zombie subshells.
Put a line into /etc/crontab (assuming you're running cron):

*/6 * * * * SYSTEM ps -a | sed -n 's/I  *\([0-9][0-9]*\)  *1  *..*bash$/\1/p' |
xargs kill -KILL

This will kill all bash processes every 6 minutes, who are waiting for input in
the background (I) and whose parent process (PPID) is 1 (not a terminal, not 
mc).

Best regards
Gergely



--
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: R: Why mc start without subshell by default?

2010-11-03 Thread Marco Atzeri
--- Mer 3/11/10, SZABO Gergely  ha scritto:

 Marco Atzeri marco_atzeri
 at yahoo.it writes:
 
  
  --- Mer 3/11/10, Oleksandr Gavenko  ha scritto:
  
   I can turn on subshell by:
   
     $ mc -U
   
   This is useful by default or I miss something?
   
   
  
  It is useful but there is one problem on cygwin.
  When you close mc the subshell will not exit, so you
 will finish
  with a zombie bash shell running.
  
  Marco
  
  
 
 I thought mc's lacking subshell support is a hard fact of
 life in Cygwin, until
 the -U option was pointed out here. It's a huge
 improvement.
 
 It's quite easy to kill the zombie subshells.
 Put a line into /etc/crontab (assuming you're running
 cron):
 
 */6 * * * * SYSTEM ps -a | sed -n 's/I 
 *\([0-9][0-9]*\)  *1  *..*bash$/\1/p' |
 xargs kill -KILL
 
 This will kill all bash processes every 6 minutes, who are
 waiting for input in
 the background (I) and whose parent process (PPID) is 1
 (not a terminal, not mc).
 
 Best regards
 Gergely
 

That is a workaround, it will be better if 
Pavel release a mc cygwin package without
this problem...

mc-4.6.1 is 22 months old and eventually 4.7.0.x works
better.

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: R: Why mc start without subshell by default?

2010-11-03 Thread SZABO Gergely
Marco Atzeri marco_atzeri at yahoo.it writes:

 That is a workaround, it will be better if 
 Pavel release a mc cygwin package without
 this problem...
 
 mc-4.6.1 is 22 months old and eventually 4.7.0.x works
 better.
 
 Regards
 Marco
 
 

You might be interested, mc 4.7.5 is coming out within a few days. It will be
the basis of a new stable branch. I would not bother porting 4.7.0 to Cygwin.

Best regards
Gergely



--
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: R: Why mc start without subshell by default?

2010-11-03 Thread Marco Atzeri
--- Mer 3/11/10, SZABO Gergely  ha scritto:

 Marco Atzeri marco_atzeri
 at yahoo.it writes:
 
  That is a workaround, it will be better if 
  Pavel release a mc cygwin package without
  this problem...
  
  mc-4.6.1 is 22 months old and eventually 4.7.0.x
 works
  better.
  
  Regards
  Marco
  
  
 
 You might be interested, mc 4.7.5 is coming out within a
 few days. It will be
 the basis of a new stable branch. I would not bother
 porting 4.7.0 to Cygwin.
 
 Best regards
 Gergely
 

following mc websites
Latest released version: 4.7.4; what's new.

Latest released stable version: 4.7.0.9; what's new in the stable release.  
and also:
http://www.midnight-commander.org/wiki/ReleaseWorkflow

But as Pavel is not releasing new package for long time,
this is more or less an academic discussion.

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: R: Why mc start without subshell by default?

2010-11-03 Thread SZABO Gergely
Marco Atzeri marco_atzeri at yahoo.it writes:

 following mc websites
 Latest released version: 4.7.4; what's new.
 
 Latest released stable version: 4.7.0.9; what's new in the stable release.  
 and also:
 http://www.midnight-commander.org/wiki/ReleaseWorkflow
 
 But as Pavel is not releasing new package for long time,
 this is more or less an academic discussion.
 
 Marco
 
 


From the mc mailing list:
http://mail.gnome.org/archives/mc-devel/2010-November/msg0.html

So sorry, stable mc 4.7.5 is due in a few weeks, not a few days.

Best regards
Gergely


--
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: R: Why mc start without subshell by default?

2010-11-03 Thread Andy Koppe
On 3 November 2010 09:52, Oleksandr Gavenko wrote:
 On 03.11.2010 11:14, Marco Atzeri wrote:

 --- Mer 3/11/10, Oleksandr Gavenko  ha scritto:

 I can turn on subshell by:

   $ mc -U

 This is useful by default or I miss something?



 It is useful but there is one problem on cygwin.
 When you close mc the subshell will not exit, so you will finish
 with a zombie bash shell running.

 Oh! I recall that I already wrote about this:

 C-o in GNU MC and mintty/rxvt issue?
 http://thread.gmane.org/gmane.os.cygwin/118690/focus=118693

 mc --subshell after exit forget kill bash.
 http://thread.gmane.org/gmane.os.cygwin/118702

A related issue is that when you close any of the pty-based terminals
with mc started from bash running in it, the mc process doesn't get
killed. Bash does of course forward the SIGHUP it gets from the
terminal to its child processes, and manually sending SIGHUP to the
orphaned mc does get rid of it.

A similar issue was previously reported against the joe and mined
editors at http://cygwin.com/ml/cygwin/2010-04/msg01013.html. This
still needs a simple test case though.

Andy

--
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: C-o in GNU MC and mintty/rxvt issue?

2010-05-13 Thread Oleksandr Gavenko

On 2010.05.12 22:26, d.sastre.med...@gmail.com wrote:

On Wed, May 12, 2010 at 05:36:19PM +0300, Oleksandr Gavenko wrote:

On 2010.05.12 16:11, Oleksandr Gavenko wrote:

Recently I decide switch from Far/Total Commander to GNU MC.
I use Cygwin 1.7.1.
MC is look beauty with mintty but I have issue:

3. Second shell not available.


I partially resolve all problem.
It seems by default Cygwin MC do not use subshell.
I run mc --subshell and all symptom goes out!


Hello,

You could also try another approach: rebuilding from the distributed sources,
and modifying mc-4.6.1-2.sh to enable subshell:

$ diff -u mc-4.6.1-2.sh.orig mc-4.6.1-2.sh
--- mc-4.6.1-2.sh.orig  2010-05-12 21:14:32.879507800 +0200
+++ mc-4.6.1-2.sh   2010-05-12 21:15:30.443951800 +0200
@@ -159,7 +159,7 @@
--with-gpm-mouse=no \
--with-screen=ncurses \
--with-ext2undel=no \
-  --with-subshell=optional \
+  --with-subshell=yes \
--with-glib12 )
  }
  reconf() {


Thanks for suggestion.

I don't understand why MC was not already built with subshell support
by default in Cygwin?

As I see only inconveniences appear without subshell.


--
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



mc --subshell after exit forget kill bash.

2010-05-13 Thread Oleksandr Gavenko

bash# ps
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 4056   14056   4056? 1003 09:42:56 /usr/bin/mintty
  5164056 516   19928 1003 09:42:56 /usr/bin/bash
  664 516 6643048 1003 09:43:17 /usr/bin/ps

bash# mc --subshell
bash-3.2$ ps  in MC 
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 4056   14056   4056? 1003 09:42:56 /usr/bin/mintty
  5164056 516   19928 1003 09:42:56 /usr/bin/bash
 1368 5161368   19088 1003 09:43:52 /usr/bin/mc
  3601368 3602440 1003 09:43:52 /usr/bin/bash
  284 360 2846280 1003 09:43:54 /usr/bin/ps
 press F10 
bash# ps
  PIDPPIDPGID WINPID  TTY  UIDSTIME COMMAND
 4056   14056   4056? 1003 09:42:56 /usr/bin/mintty
  5164056 516   19928 1003 09:42:56 /usr/bin/bash
I 360   1 3602440 1003 09:43:52 /usr/bin/bash
 1408 5161408   10888 1003 09:44:59 /usr/bin/ps

Bashes marked with 'I' appear so many times  how many times you run and 
exit MC.


I run MC through 'mintty -e mc --subshell'.
After some count (~10-12 ???) of run and exit form MC I got error
(recorded not literary): no free pty available.

So MC MUST kill subshell after exit.


--
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: C-o in GNU MC and mintty/rxvt issue?

2010-05-13 Thread David Sastre
2010/5/13, Oleksandr Gavenko gavenko at bifit dot com dot ua:
 On 2010.05.12 22:26, d.sastre.medina at gmail dot com wrote:
 On Wed, May 12, 2010 at 05:36:19PM +0300, Oleksandr Gavenko wrote:
 On 2010.05.12 16:11, Oleksandr Gavenko wrote:
 Recently I decide switch from Far/Total Commander to GNU MC.
 I use Cygwin 1.7.1.
 MC is look beauty with mintty but I have issue:

 3. Second shell not available.

 I partially resolve all problem.
 It seems by default Cygwin MC do not use subshell.
 I run mc --subshell and all symptom goes out!

 You could also try another approach: rebuilding from the distributed
 sources,
 and modifying mc-4.6.1-2.sh to enable subshell:

 I don't understand why MC was not already built with subshell support
 by default in Cygwin?
 As I see only inconveniences appear without subshell.


Well, maybe you can ask for latest released stable version: 4.7.0.5 [1]
to be included in cygwin, mc being a bit old by now...
mc.README file will give you more information.

I have using source compiled 4.7.0.4 for a while now without
noticeable problems.

$ mc -V
GNU Midnight Commander 4.7.0.4
Virtual File System: tarfs, extfs, cpiofs, ftpfs, fish, mcfs
With builtin Editor
Using the ncurses library
With subshell support as default
With support for background operations
With mouse support on xterm
With support for X11 events
With internationalization support
With multiple codepages support
Data types: char 8 int 32 long 32 void * 32 off_t 64 ecs_char 16

Regards.

[1] http://www.midnight-commander.org

--
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



C-o in GNU MC and mintty/rxvt issue?

2010-05-12 Thread Oleksandr Gavenko

Recently I decide switch from Far/Total Commander to GNU MC.

I use Cygwin 1.7.1.

MC is look beauty with mintty but I have issue:

 1. when press C-o to see ls output, it have irregular structure,
not indented by column, like column width set to infinity:

{{{
Application DataPrintHood
 Bluetooth Software  PrivacIE
Cookies Recent
  gsview32.ini   SendTo
  IETldCacheUserData
   Local Settings   WINDOWS
   NetHood  Главное меню
   NTUSER.DAT   Избранное
ntuser.dat.LOG   Мои 
документы

 ntuser.ini Рабочий стол
   ntuser.ini.sum   Шаблоны
   $ ls
}}}

 2. command output printed before command itself:

{{{
 xxx xterm xxx
$ echo xxx $TERM xxx
}}}

 3. Second shell not available.
On Debian I get prompt after pressing C-o, with Cygwin MC pressing
any key back me to MC screen.


--
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: C-o in GNU MC and mintty/rxvt issue?

2010-05-12 Thread Oleksandr Gavenko

On 2010.05.12 16:11, Oleksandr Gavenko wrote:

Recently I decide switch from Far/Total Commander to GNU MC.

I use Cygwin 1.7.1.

MC is look beauty with mintty but I have issue:

1. when press C-o to see ls output, it have irregular structure,
not indented by column, like column width set to infinity:

{{{
Application Data PrintHood
Bluetooth Software PrivacIE
Cookies Recent
gsview32.ini SendTo
IETldCache UserData
Local Settings WINDOWS
NetHood Главное меню
NTUSER.DAT Избранное
ntuser.dat.LOG Мои документы
ntuser.ini Рабочий стол
ntuser.ini.sum Шаблоны
$ ls
}}}

2. command output printed before command itself:

{{{
xxx xterm xxx
$ echo xxx $TERM xxx
}}}

3. Second shell not available.
On Debian I get prompt after pressing C-o, with Cygwin MC pressing
any key back me to MC screen.



I partially resolve all problem.
It seems by default Cygwin MC do not use subshell.
I run mc --subshell and all symptom goes out!

I dislike many typing and sadly mc is not support
any analog of '--subshell' in ~/.mc/ini.

So I create scripts:

mymc.bat   for Windows and Win+R {{{

@echo off

REM I probably on Windows with Russian language.
set LANG=ru_RU.cp1251

start mintty --size=140,50 -e mc --subshell
REM start rxvt -fn 8x16 -fb 8x16 -geometry 140x50 -e mc -a
}}}


mymc   for bash under Windows and for Linux {{{

#!/bin/sh

if [ $OSTYPE = cygwin ]; then
  mintty --size=140,50 -e mc --subshell 
else
  xterm -fn 8x16 -fb 8x16 -geometry 140x50 -e mc -a 
fi
}}}


--
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: C-o in GNU MC and mintty/rxvt issue?

2010-05-12 Thread d . sastre . medina
On Wed, May 12, 2010 at 05:36:19PM +0300, Oleksandr Gavenko wrote:
 On 2010.05.12 16:11, Oleksandr Gavenko wrote:
  Recently I decide switch from Far/Total Commander to GNU MC.
  I use Cygwin 1.7.1.
  MC is look beauty with mintty but I have issue:
 
  3. Second shell not available.
 
 I partially resolve all problem.
 It seems by default Cygwin MC do not use subshell.
 I run mc --subshell and all symptom goes out!

Hello,

You could also try another approach: rebuilding from the distributed sources,
and modifying mc-4.6.1-2.sh to enable subshell:

$ diff -u mc-4.6.1-2.sh.orig mc-4.6.1-2.sh
--- mc-4.6.1-2.sh.orig  2010-05-12 21:14:32.879507800 +0200
+++ mc-4.6.1-2.sh   2010-05-12 21:15:30.443951800 +0200
@@ -159,7 +159,7 @@
   --with-gpm-mouse=no \
   --with-screen=ncurses \
   --with-ext2undel=no \
-  --with-subshell=optional \
+  --with-subshell=yes \
   --with-glib12 )
 }
 reconf() {

Regards.

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgp5EDuq5J78p.pgp
Description: PGP signature


  1   2   3   >