public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Bug with Windows 10 console
       [not found] <535856733.-1642430415.1587202868364.JavaMail.root@zimbra76-e14.priv.proxad.net>
@ 2020-04-18 12:42 ` akiki
  2020-04-18 14:05   ` Thomas Wolff
  2020-04-22 19:50   ` Can't use strace on curses application akiki
  0 siblings, 2 replies; 9+ messages in thread
From: akiki @ 2020-04-18 12:42 UTC (permalink / raw)
  To: cygwin

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.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Bug with Windows 10 console
  2020-04-18 12:42 ` Bug with Windows 10 console akiki
@ 2020-04-18 14:05   ` Thomas Wolff
  2020-04-19  3:02     ` Kevin Schnitzius
  2020-04-22 19:50   ` Can't use strace on curses application akiki
  1 sibling, 1 reply; 9+ messages in thread
From: Thomas Wolff @ 2020-04-18 14:05 UTC (permalink / raw)
  To: cygwin

Am 18.04.2020 um 14:42 schrieb akiki@free.fr:
> 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?


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Bug with Windows 10 console
  2020-04-18 14:05   ` Thomas Wolff
@ 2020-04-19  3:02     ` Kevin Schnitzius
  0 siblings, 0 replies; 9+ messages in thread
From: Kevin Schnitzius @ 2020-04-19  3:02 UTC (permalink / raw)
  To: cygwin

On Saturday, April 18, 2020, 10:06:15 AM EDT, Thomas Wolff <towo@towo.net> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Can't use strace on curses application
  2020-04-18 12:42 ` Bug with Windows 10 console akiki
  2020-04-18 14:05   ` Thomas Wolff
@ 2020-04-22 19:50   ` akiki
  2020-04-22 19:59     ` Marco Atzeri
  2020-05-11 16:25     ` Very dangerous hacking ? Surprising relationship between cygwin and Microsoft akiki
  1 sibling, 2 replies; 9+ messages in thread
From: akiki @ 2020-04-22 19:50 UTC (permalink / raw)
  To: cygwin

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. 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Can't use strace on curses application
  2020-04-22 19:50   ` Can't use strace on curses application akiki
@ 2020-04-22 19:59     ` Marco Atzeri
  2020-05-11 16:25     ` Very dangerous hacking ? Surprising relationship between cygwin and Microsoft akiki
  1 sibling, 0 replies; 9+ messages in thread
From: Marco Atzeri @ 2020-04-22 19:59 UTC (permalink / raw)
  To: cygwin



Am 22.04.2020 um 21:50 schrieb akiki@free.fr:
> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Very dangerous hacking ? Surprising relationship between cygwin and Microsoft
  2020-04-22 19:50   ` Can't use strace on curses application akiki
  2020-04-22 19:59     ` Marco Atzeri
@ 2020-05-11 16:25     ` akiki
  2020-05-11 17:07       ` Doug Henderson
  2020-05-11 18:35       ` David Macek
  1 sibling, 2 replies; 9+ messages in thread
From: akiki @ 2020-05-11 16:25 UTC (permalink / raw)
  To: cygwin

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. 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Very dangerous hacking ? Surprising relationship between cygwin and Microsoft
  2020-05-11 16:25     ` Very dangerous hacking ? Surprising relationship between cygwin and Microsoft akiki
@ 2020-05-11 17:07       ` Doug Henderson
  2020-05-11 18:35       ` David Macek
  1 sibling, 0 replies; 9+ messages in thread
From: Doug Henderson @ 2020-05-11 17:07 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Very dangerous hacking ? Surprising relationship between cygwin and Microsoft
  2020-05-11 16:25     ` Very dangerous hacking ? Surprising relationship between cygwin and Microsoft akiki
  2020-05-11 17:07       ` Doug Henderson
@ 2020-05-11 18:35       ` David Macek
  2020-05-11 19:53         ` Brian Inglis
  1 sibling, 1 reply; 9+ messages in thread
From: David Macek @ 2020-05-11 18:35 UTC (permalink / raw)
  To: akiki; +Cc: cygwin

> 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

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Very dangerous hacking ? Surprising relationship between cygwin and Microsoft
  2020-05-11 18:35       ` David Macek
@ 2020-05-11 19:53         ` Brian Inglis
  0 siblings, 0 replies; 9+ messages in thread
From: Brian Inglis @ 2020-05-11 19:53 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-11 19:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <535856733.-1642430415.1587202868364.JavaMail.root@zimbra76-e14.priv.proxad.net>
2020-04-18 12:42 ` Bug with Windows 10 console akiki
2020-04-18 14:05   ` Thomas Wolff
2020-04-19  3:02     ` Kevin Schnitzius
2020-04-22 19:50   ` Can't use strace on curses application akiki
2020-04-22 19:59     ` Marco Atzeri
2020-05-11 16:25     ` Very dangerous hacking ? Surprising relationship between cygwin and Microsoft akiki
2020-05-11 17:07       ` Doug Henderson
2020-05-11 18:35       ` David Macek
2020-05-11 19:53         ` Brian Inglis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).