Bug with Windows 10 console

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug with Windows 10 console

andre-24
Hi,
To day, all programs are upgraded permanently. A good and a bad thing.
Windows 10, cygwin ...
One recent upgrade, I don't target exactly which one, has broken my environment.


Current versions as reported by cygcheck :
 Windows 10 Professional Ver 10.0 Build 18363
 cygwin 3.1.4-1 OK
 bash 4.4.12-3 OK

I am using 2 kinds of console to interact with cygwin
 mintty : using pty as TTY
 bash under cmd : using cons as TTY

These two were working correctly until recently, but now only mintty stay correct.
  -- in reality it's seems
The principal difference is about Ctrl-C interaction.
With the 2nd kind of TTY, a same program using curses, on Ctrl-c
 interrupt the program
 give me a prompt
 but the terminal stay in curses mode, ie without echo and bad new line
I have to do "reset" (/bin/reset) to restore the terminal

So the interrupt handling has changed.
Who is responsible.

I had a look about the new Window Console Legacy.
With this new console, we saw a black screen with color bash prompt.
 
So with bash, is it possible to work with one or other TTY mode ?

Howto understand this problem and what can I do to correct it.
mintty present some problems with my environment and because of that I use the second form of TTY.

Sorry for my bad English.

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Bug with Windows 10 console

Thomas Wolff
Am 18.04.2020 um 14:42 schrieb [hidden email]:
> Hi,
Bonjour

> To day, all programs are upgraded permanently. A good and a bad thing.
> Windows 10, cygwin ...
> One recent upgrade, I don't target exactly which one, has broken my environment.
>
>
> Current versions as reported by cygcheck :
>   Windows 10 Professional Ver 10.0 Build 18363
>   cygwin 3.1.4-1 OK
>   bash 4.4.12-3 OK
>
> I am using 2 kinds of console to interact with cygwin
>   mintty : using pty as TTY
>   bash under cmd : using cons as TTY
>
> These two were working correctly until recently, but now only mintty stay correct.
>    -- in reality it's seems
> The principal difference is about Ctrl-C interaction.
> With the 2nd kind of TTY, a same program using curses, on Ctrl-c
>   interrupt the program
>   give me a prompt
>   but the terminal stay in curses mode, ie without echo and bad new line
> I have to do "reset" (/bin/reset) to restore the terminal
>
> So the interrupt handling has changed.
> Who is responsible.
It might help if you tell us *which* program behaves like that.
>
> I had a look about the new Window Console Legacy.
> With this new console, we saw a black screen with color bash prompt.
>  
> So with bash, is it possible to work with one or other TTY mode ?
>
> Howto understand this problem and what can I do to correct it.
> mintty present some problems with my environment and because of that I use the second form of TTY.
Which problems?

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Bug with Windows 10 console

Cygwin list mailing list
On Saturday, April 18, 2020, 10:06:15 AM EDT, Thomas Wolff <[hidden email]> wrote: 

>> So the interrupt handling has changed.
>> Who is responsible.

> It might help if you tell us *which* program behaves like that.


https://cygwin.com/pipermail/cygwin/2020-February/243934.html

Kevin
--
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
Reply | Threaded
Open this post in threaded view
|

Can't use strace on curses application

andre-24
In reply to this post by andre-24
Hi,
My initial current versions :
Windows 10 Professional Ver 10.0 Build 18363
cygwin 3.1.4-1 OK

I have encountered too many problems with console tty use,
that with a curses application.
With cygwin 3.1.4, bash under cmd, and mintty are not really usable.
I have tried several options to correct use of them and finally came back to cygwin 3.0.7.

So,
during these tries, at a moment to observe the problem, I will try to do a strace on my curses app.
It was impossible to do it.

It was answered a msgbox with cygncurses-8.dll missing
strace output:
...
--- Process 10848 loaded C:\Windows\SysWOW64\apphelp.dll at 731d0000
--- Process 10848 exited with status 0xc0000135

After my return to cygwin 3.0.7, the problem is still present.

I think, the window application strace is certainly an old one.
The strace version concerned is that bundled with cygwin 3.0.7.

When cygwin will be updated, it woud be nice to use strace to check the new kind of operation.

Sorry for my bad English.
--
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
Reply | Threaded
Open this post in threaded view
|

Re: Can't use strace on curses application

Cygwin list mailing list


Am 22.04.2020 um 21:50 schrieb [hidden email]:

> Hi,
> My initial current versions :
> Windows 10 Professional Ver 10.0 Build 18363
> cygwin 3.1.4-1 OK
>
> I have encountered too many problems with console tty use,
> that with a curses application.
> With cygwin 3.1.4, bash under cmd, and mintty are not really usable.
> I have tried several options to correct use of them and finally came back to cygwin 3.0.7.
>
> So,
> during these tries, at a moment to observe the problem, I will try to do a strace on my curses app.
> It was impossible to do it.
>
> It was answered a msgbox with cygncurses-8.dll missing

It seems your application is using an old library not
available anymore

$ cygcheck -p cygncurses-8.dll
Found 0 matches for cygncurses-8.dll

$ cygcheck -p cygncurses
Found 8 matches for cygncurses
libncurses++w10-6.0-12.20171125 - libncurses++w10: Terminal display library
libncurses++w10-6.1-1.20190727 - libncurses++w10: Terminal display library
libncursesw10-6.0-11.20170617 - libncursesw10: Terminal display library
libncursesw10-6.0-12.20171125 - libncursesw10: Terminal display library
libncursesw10-6.1-1.20190727 - libncursesw10: Terminal display library
..

so current version is number 10.


 From where this program is coming from ?

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
Reply | Threaded
Open this post in threaded view
|

Very dangerous hacking ? Surprising relationship between cygwin and Microsoft

andre-24
In reply to this post by andre-24
Hi,

On doing an habitual "cygcheck -rs", I was interrogated and ALARMED to see some register keys speaking cygwin :

HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\
microsoft.microsoftedge_8wekyb3d8bbwe\Children\001\Internet Explorer\DOMStorage\cygwin.com
(default) = 0x00000000
NumberOfSubdomains = 0x00000001

HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\
microsoft.microsoftedge_8wekyb3d8bbwe\Children\001\Internet Explorer\EdpDomStorage\cygwin.com
(default) = 0x00000000
NumberOfSubdomains = 0x00000000

Examining the registry under cygwin:
      cd /proc/registry/HKEY_CURRENT_USER/... ;
Positioned on Internet Explorer\,
I found 4 sub-keys : DOMStorage DomStorageState EdpDomStorage Main

These keys are very populated :
"ls -lR|wc -l" give me 1285 lines, and I can read many traces of my use of internet about bank vpn ...

For DOMStorage an EdpDomStorage a list of URL is indicated with dates between July 2019 and Apr 2020

The values attached to cygwin.com URL as for others are 4 bytes values - no clear meaning.

To conclude, Microsoft spy and register all sites you access, cygwin.com in particular.
I hope only with Edge, but I am not sure of that.

I have never see in cygcheck, such reference to cygwin with chrome, firefox , opera ...
May be something is done to mask them.

Sorry for my bad English.
--
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
Reply | Threaded
Open this post in threaded view
|

Re: Very dangerous hacking ? Surprising relationship between cygwin and Microsoft

Cygwin list mailing list
On Mon, 11 May 2020 at 10:39, akiki <> wrote:
>
> Hi,
>
> On doing an habitual "cygcheck -rs", I was interrogated and ALARMED to see some register keys speaking cygwin :
> <snip>
> I have never see in cygcheck, such reference to cygwin with chrome, firefox , opera ...
> May be something is done to mask them.
>
I use Firefox Nightly and very rarely Chrome, and  I have no internet
related registry keys that refer to cygwin. These browsers may save
similar information, but it is not in the registry.

I suspect that the keys you see are related to using Internet Explorer
and/or Edge. This re-enforces my choice to use Firefox.

HTH
Doug

--
Doug Henderson, Calgary, Alberta, Canada - from gmail.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
Reply | Threaded
Open this post in threaded view
|

Re: Very dangerous hacking ? Surprising relationship between cygwin and Microsoft

Cygwin list mailing list
In reply to this post by andre-24
> To conclude, Microsoft spy and register all sites you access, cygwin.com in particular.
> I hope only with Edge, but I am not sure of that.

Unless I missed something in your report, I cannot agree with your
conclusion. *Windows* storing something in the registry does not imply
*Microsoft* receives or processes that information.

--
David Macek
--
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
Reply | Threaded
Open this post in threaded view
|

Re: Very dangerous hacking ? Surprising relationship between cygwin and Microsoft

Cygwin list mailing list
On 2020-05-11 12:35, David Macek via Cygwin wrote:
>> To conclude, Microsoft spy and register all sites you access, cygwin.com
>> in particular. I hope only with Edge, but I am not sure of that.
>
> Unless I missed something in your report, I cannot agree with your
> conclusion. *Windows* storing something in the registry does not imply
> *Microsoft* receives or processes that information.

It does unless you uncheck all the boxes that say they can: log and ship a
record of everything you access and do on the system and in each product!
They may also still claim rights to use anything you create using any of their
products.
I use ungoogled Chromium stable builds as Google, Mozilla, and MS, are as bad as
FB, LIn, etc. which I avoid like the plague they are.

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

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in IEC units and prefixes, physical quantities in SI.]
--
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