Re: Suspend doesn't work in cmd

2020-05-19 Thread Kacper Michajlow via Cygwin
On Mon, 18 May 2020 at 05:06, Takashi Yano wrote: > On Sun, 17 May 2020 19:57:15 +0200 > Kacper Michajlow via Cygwin wrote: > > Hi, > > > > Control keys doesn't seem to be working correctly under cmd. > > > > STR: > > 1. Run bash in cmd.exe > >

Re: [PATCH] Cygwin: termios: Set ECHOE, ECHOK, ECHOCTL and ECHOKE by default.

2020-05-17 Thread Kacper Michajlow via Cygwin-patches
On Sun, 17 May 2020 at 04:53, Takashi Yano via Cygwin-patches < cygwin-patches@cygwin.com> wrote: > - Backspace key does not work correctly in linux session opend by > ssh from cygwin console if the shell is bash. This is due to lack > of these flags. > > Addresses:

Suspend doesn't work in cmd

2020-05-17 Thread Kacper Michajlow via Cygwin
Hi, Control keys doesn't seem to be working correctly under cmd. STR: 1. Run bash in cmd.exe 2. Run anything, in my case "seq 1 10" 3. Try to suspend job with CTRL+Z or suspend printing with CTRL+S Ii will ignore request. Works in mintty, doesn't in cmd. Cygwin built from e637d53 Thanks,

Re: "ls -la /dev" fails to write output

2020-05-16 Thread Kacper Michajlow via Cygwin
On Sat, 16 May 2020 at 21:04, Takashi Yano wrote: > I cannot reproduce your problem. Could you please provide > step by step procedure to reproduce your problem? I though I lost it, because indeed there is prerequisite. It fails when there is at least one pty allocated. STR: 1. Open mintty

Re: "tmux open terminal failed: not a terminal" in terminal emulators other than mintty

2020-05-16 Thread Kacper Michajlow via Cygwin
On Fri, 27 Mar 2020 at 21:15, Michael Wild via Cygwin wrote: > Hi > > As the maintainer of the tmux Cygwin package I have to admit that I have no > idea how to fix this. Sorry. > Hi, I did take a look how tmux works and what is going on in Cygwin. Here is short summary of my findings. * Tmux

"ls -la /dev" fails to write output

2020-05-16 Thread Kacper Michajlow via Cygwin
Hi, Under cmd.exe listing /dev doesn't produce output. Running under strace also fails with the following errors: 304 477235 [main] ls 8268 fhandler_console::write: 0x8000990F0, 54 126 477361 [main] ls 8268 seterrno_from_win_error: ../../../../winsup/cygwin/fhandler_console.cc:1810 windows

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-15 Thread Kacper Michajlow via Cygwin
On Fri, 15 May 2020 at 13:45, Takashi Yano wrote: > ... > Then, > stty echoe echok echoctl echoke > should solve the problem. > Indeed, but I got confused, because it does work fine in local session and it also has -echoe -echok -echoctl -echoke... What is the difference? I'm just curious at

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-15 Thread Kacper Michajlow via Cygwin
On Fri, 15 May 2020 at 01:47, Takashi Yano wrote: > Please check the result of > xxd > Ctrl-V Backspace Enter Ctrl-D > Here is comparison with running ssh connection to the same machine in WT and Mintty. Also I noticed that selecting and copying multi-line output of stty in Windows Terminal

Re: Console doesn't work correctly under anything else than cmd or mintty

2020-05-14 Thread Kacper Michajlow via Cygwin
On Thu, 14 May 2020 at 05:33, Takashi Yano wrote: > I guess setting > stty erase '^?' > on the host resolves this problem. > Nope, it still doesn't work. And '^?' default so it doesn't change anything. Please note that in bash Backspace works fine, but in read command (or any other program

Console doesn't work correctly under anything else than cmd or mintty

2020-05-12 Thread Kacper Michajlow via Cygwin
Hi, I was testing latest master (e637d53) and console is clunky in anything that isn't cmd.exe or mintty. I tested Microsoft Terminal and ConEmu. For example navigating with arrows doesn't work in vim. In zsh searching history with up arrow when there is beginning of the command doesn't work.

Re: "tmux open terminal failed: not a terminal" in terminal emulators other than mintty

2020-03-27 Thread Kacper Michajlow via Cygwin
> You can try another pty emulator. F.e. wintty. Not really interested in some dead projects ;p Let me rephrase the question, because I misspoke. Currently Cygwin works acceptably only under Mintty as far as I can see. Running it from cmd or any of terminal emulators listed before result in

Re: ACL: Why SYSTEM doesn't have full access set on newly created files?

2020-03-27 Thread Kacper Michajlow via Cygwin
> It is easily fixable by mounting directories outside Cygwin tree with "noacl" flag. > It is even required to do so, if you expect interoperation between Cygwin and > native tools. Indeed, this is acceptable workaround for me. Then again it is not really interoperable out of the box, even tho

ACL: Why SYSTEM doesn't have full access set on newly created files?

2020-03-26 Thread Kacper Michajlow via Cygwin
Hi, I know that Cygwin tries to emulate UNIX permissions using ACL. But I don't understand why SYSTEM doesn't have Full Control allowed or even modify. Shouldn't generally SYSTEM have access to everything? I have cloned git repository of UWP application, and deployment fails in VS with error:

"tmux open terminal failed: not a terminal" in terminal emulators other than mintty

2020-03-26 Thread Kacper Michajlow via Cygwin
Hi, I'm not exactly sure who to blame for this issue, but I figured I will ask you guys. Tmux fails to open in anything else than mintty it seems like. It works from ssh session, probably because pseudo-tty is allocated, but except that tmux will fail. There are multiple reports about that,

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.8

2015-12-07 Thread Kacper Michajlow
2015-12-07 17:00 GMT+01:00 Corinna Vinschen <corinna-cyg...@cygwin.com>: > On Dec 7 10:37, Corinna Vinschen wrote: >> On Dec 6 21:21, Kacper Michajlow wrote: >> > 2015-12-06 19:57 GMT+01:00 Corinna Vinschen <corinna-cyg...@cygwin.com>: >> > > Hi Cygwin

Re: Cygwin multithreading performance

2015-12-06 Thread Kacper Michajlow
2015-12-06 9:02 GMT+01:00 Mark Geisert <m...@maxrnd.com>: > Kacper Michajlow wrote: >> >> 2015-12-05 23:40 GMT+01:00 Mark Geisert <m...@maxrnd.com>: >>> >>> It looks like we're going to have to compare actual pthread_mutex_lock() >>> implem

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.8

2015-12-06 Thread Kacper Michajlow
2015-12-06 19:57 GMT+01:00 Corinna Vinschen : > Hi Cygwin friends and users, > > > I released a new TEST version of Cygwin, 2.4.0-0.8. > > This adds a new feature to cygpath, the -U flag, which allows to > generate /proc/cygdrive paths, which are unambiguous even if the

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.8

2015-12-06 Thread Kacper Michajlow
I forgot to say. I'm running Windows 10 1511 x64. 2015-12-06 21:21 GMT+01:00 Kacper Michajlow <kaspe...@gmail.com>: > 2015-12-06 19:57 GMT+01:00 Corinna Vinschen <corinna-cyg...@cygwin.com>: >> Hi Cygwin friends and users, >> >> >> I released

Re: Cygwin multithreading performance

2015-12-05 Thread Kacper Michajlow
2015-12-05 11:51 GMT+01:00 Mark Geisert : > Mark Geisert wrote: >> >> Corinna Vinschen wrote: >>> >>> On Nov 23 16:54, Mark Geisert wrote: John Hein wrote: > > Mark Geisert wrote at 23:45 -0800 on Nov 22, 2015: > > Corinna Vinschen wrote: > > > On Nov

Re: Cygwin multithreading performance

2015-12-05 Thread Kacper Michajlow
2015-12-05 14:07 GMT+01:00 Kacper Michajlow <kaspe...@gmail.com>: > 2015-12-05 11:51 GMT+01:00 Mark Geisert <m...@maxrnd.com>: >> Mark Geisert wrote: >>> >>> Corinna Vinschen wrote: >>>> >>>> On Nov 23 16:54, Mark Geisert wrote: >

Re: Cygwin multithreading performance

2015-12-05 Thread Kacper Michajlow
2015-12-05 23:40 GMT+01:00 Mark Geisert <m...@maxrnd.com>: > Kacper Michajlow wrote: >> >> 2015-12-05 11:51 GMT+01:00 Mark Geisert <m...@maxrnd.com>: >>> >>> Mark Geisert wrote: >>> In the OP's very good testcase the most heavily contended lock

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.4

2015-11-29 Thread Kacper Michajlow
2015-11-29 13:59 GMT+01:00 Corinna Vinschen <corinna-cyg...@cygwin.com>: > On Nov 29 02:16, Andrey Repin wrote: >> Greetings, Kacper Michajlow! >> >> >> Please also attach the output of `id' and of `getfacl . test test/test'. >> >> > getfacl

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.4

2015-11-29 Thread Kacper Michajlow
2015-11-29 21:14 GMT+01:00 Corinna Vinschen <corinna-cyg...@cygwin.com>: > On Nov 29 18:10, Corinna Vinschen wrote: >> On Nov 29 15:10, Kacper Michajlow wrote: >> > 2015-11-29 13:59 GMT+01:00 Corinna Vinschen <corinna-cyg...@cygwin.com>: >> > > Status 0xC0

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.4

2015-11-27 Thread Kacper Michajlow
2015-11-26 14:16 GMT+01:00 Corinna Vinschen <corinna-cyg...@cygwin.com>: > Hi Kacper, > > On Nov 23 19:09, Kacper Michajlow wrote: >> 2015-11-21 17:24 GMT+01:00 Corinna Vinschen <corinna-cyg...@cygwin.com>: >> > Hi Cygwin friends and users, >> > >

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.4

2015-11-27 Thread Kacper Michajlow
2015-11-27 20:02 GMT+01:00 Kacper Michajlow <kaspe...@gmail.com>: > 2015-11-26 14:16 GMT+01:00 Corinna Vinschen <corinna-cyg...@cygwin.com>: >> Hi Kacper, >> >> On Nov 23 19:09, Kacper Michajlow wrote: >>> 2015-11-21 17:24 GMT+01:00 Corinna Vinschen &l

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.4

2015-11-23 Thread Kacper Michajlow
2015-11-21 17:24 GMT+01:00 Corinna Vinschen : > Hi Cygwin friends and users, > > > I released a new TEST version of Cygwin, 2.4.0-0.4. > With this version I get permissions denied when trying to chmod a folder created in a created folder... Basically this doesn't work

Re: Cygwin multithreading performance

2015-11-20 Thread Kacper Michajlow
2015-11-19 21:24 GMT+01:00 Mark Geisert <m...@maxrnd.com>: > Kacper Michajlow wrote: >> >> I recently noticed that Cygwin multithreading is very inefficient. I >> was repacking few git repositories and with Cygwin's git, it spawns >> threads b

Cygwin multithreading performance

2015-11-13 Thread Kacper Michajlow
Hello, I recently noticed that Cygwin multithreading is very inefficient. I was repacking few git repositories and with Cygwin's git, it spawns threads but they are so badly synchronized that there is no speed gain over one thread and possible loose because of the overhead. On my machine I got