[ITP] git-crypt 0.6.0

2019-08-08 Thread Nick Nauwelaerts
heya, git-crypt is a git plugin that transparently handles encryption/decryption of files in combination with git. i've used it on and off again when i need to place sensitive info on a location that could be public (or as most ppl seem to use it: to save dotfiles on github without all your

Re: ssh and mintty

2019-08-08 Thread Doug McIlroy
> You're accidentally using the wrong ssh. Sounds like this is the Microsoft ssh, not the Cygwin ssh. That's it. Many thanks. Doug -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html

Re: Cygwin installer does not select the packages specified by the -P option

2019-08-08 Thread Achim Gratz
Brian Inglis writes: > The OP's package list include sudo, which does not exist, diffutils and tar, > which are part of base. Should the first not fail setup, and all be omitted > for > a retest? Well, I actually tested the very list the OP gave and it worked as intended (minus the unavilable

Re: git repositories for cygwin packaging - please test

2019-08-08 Thread Ken Brown
On 8/8/2019 10:04 AM, Andrew Schulman via cygwin-apps wrote: >> >> While a number of maintainers keep their cygwin packaging under some >> sort of version control, there is currently no central collection of >> these repositories. >> >> To remedy this lack, using the same ssh key you use for sftp

Re: [PATCH] Cygwin: shmat: use mmap allocator strategy on 64 bit

2019-08-08 Thread Corinna Vinschen
On Aug 8 16:06, Ken Brown wrote: > On 8/8/2019 4:55 AM, corinna-cyg...@cygwin.com wrote: > > From: Corinna Vinschen > > > > This avoids collisions of shmat maps with Windows own datastructures > > when allocating top-down. > > > > This patch moves the mmap_allocator class definition into its >

[newlib-cygwin] Cygwin: shmat: use mmap allocator strategy on 64 bit

2019-08-08 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1f34405feab107cc5d7b50a023c9407f71eeca62 commit 1f34405feab107cc5d7b50a023c9407f71eeca62 Author: Corinna Vinschen Date: Thu Aug 8 10:53:58 2019 +0200 Cygwin: shmat: use mmap allocator strategy on 64 bit This avoids

Re: [PATCH] Cygwin: shmat: use mmap allocator strategy on 64 bit

2019-08-08 Thread Ken Brown
On 8/8/2019 4:55 AM, corinna-cyg...@cygwin.com wrote: > From: Corinna Vinschen > > This avoids collisions of shmat maps with Windows own datastructures > when allocating top-down. > > This patch moves the mmap_allocator class definition into its > own files and just uses it from mmap and shmat.

SMBFS mount's file cannot be made executable

2019-08-08 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
Hi, Here's the situation, I have a netmount "Z:" but I cannot make any files on it executable from Cygwin: $ mount ... Z: on /cygdrive/z type smbfs (binary,posix=0,user,noumount,auto) $ cd /cygdrive/z $ pwd /cygdrive/z $ cat a.c #include int main() { printf("Hello world!\n");

Re: ssh and mintty

2019-08-08 Thread Corinna Vinschen
On Aug 8 10:47, Doug McIlroy wrote: > On a new Surface 3, invoking ssh from a standard cygwin mintty window gives > the diagnostic, "Pseudo-terminal will not be allocated because stdin is not > a terminal. Invoking exactly the same program from a Windows command window > works. > I have no

Re: getpriority() and top display for priority inconsistent

2019-08-08 Thread Corinna Vinschen
On Aug 8 13:45, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: > > I pushed your patch with a short commit message. > > Thanks! Thinking about that a little more, getpriority(PRIO_PROCESS) > returns the cached version of priority (since the last setpriority()) > but should return "live"

ssh and mintty

2019-08-08 Thread Doug McIlroy
On a new Surface 3, invoking ssh from a standard cygwin mintty window gives the diagnostic, "Pseudo-terminal will not be allocated because stdin is not a terminal. Invoking exactly the same program from a Windows command window works. I have no difficulty with ssh under cygwin on two other

Re: git repositories for cygwin packaging - please test

2019-08-08 Thread Andrew Schulman via cygwin-apps
> > While a number of maintainers keep their cygwin packaging under some > sort of version control, there is currently no central collection of > these repositories. > > To remedy this lack, using the same ssh key you use for sftp package > upload, package maintainers can now also push to git

Re: git repositories for cygwin packaging - please test

2019-08-08 Thread Andrew Schulman via cygwin-apps
> While a number of maintainers keep their cygwin packaging under some > sort of version control, there is currently no central collection of > these repositories. > > To remedy this lack, using the same ssh key you use for sftp package > upload, package maintainers can now also push to git

Re: getpriority() and top display for priority inconsistent

2019-08-08 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin
> I pushed your patch with a short commit message. Thanks! Thinking about that a little more, getpriority(PRIO_PROCESS) returns the cached version of priority (since the last setpriority()) but should return "live" version by re-getting and re-caching the actual thing from the system: 1. The

Re: [PATCH] Cygwin: shmat: use mmap allocator strategy on 64 bit

2019-08-08 Thread Michael Haubenwallner
On 8/8/19 10:55 AM, corinna-cyg...@cygwin.com wrote: > From: Corinna Vinschen > > This avoids collisions of shmat maps with Windows own datastructures > when allocating top-down. > > This patch moves the mmap_allocator class definition into its > own files and just uses it from mmap and shmat.

Re: Fork problem with hexchat if cygserver is running

2019-08-08 Thread Corinna Vinschen
On Aug 8 10:24, Corinna Vinschen wrote: > On Aug 8 09:27, Michael Haubenwallner wrote: > > On 8/7/19 7:41 PM, Ken Brown wrote: > > > Roughly 1 out of 3 times that I try to use hexchat, I get a fork failure: > > > [...] > > >363 26064 [main] hexchat 12399 C:\cygwin64\bin\hexchat.exe: *** >

[PATCH] Cygwin: shmat: use mmap allocator strategy on 64 bit

2019-08-08 Thread corinna-cygwin
From: Corinna Vinschen This avoids collisions of shmat maps with Windows own datastructures when allocating top-down. This patch moves the mmap_allocator class definition into its own files and just uses it from mmap and shmat. --- winsup/cygwin/Makefile.in | 1 + winsup/cygwin/mmap.cc

Re: Use poll with Windows socket

2019-08-08 Thread Corinna Vinschen
On Aug 8 02:39, Biswapriyo Nath wrote: > I've tried to use poll() with a Windows socket (from WSASocket) and a > cygwin side file descriptor (fd). But it is only signaled for fd only. > > At first, I have seen that fhandler_socket_wsock::set_socket_handle() casts > SOCKET to int. So, is it

Re: Fork problem with hexchat if cygserver is running

2019-08-08 Thread Corinna Vinschen
On Aug 8 09:27, Michael Haubenwallner wrote: > On 8/7/19 7:41 PM, Ken Brown wrote: > > Roughly 1 out of 3 times that I try to use hexchat, I get a fork failure: > > [...] > >363 26064 [main] hexchat 12399 C:\cygwin64\bin\hexchat.exe: *** fatal > > error > > in forked process -

Re: getpriority() and top display for priority is inconsistent

2019-08-08 Thread Corinna Vinschen
On Aug 7 19:27, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin wrote: > > Please give it a try. > > diff --git a/winsup/cygwin/fhandler_process.cc > b/winsup/cygwin/fhandler_process.cc > index 2a06554..2305b53 100644 > --- a/winsup/cygwin/fhandler_process.cc > +++

[newlib-cygwin] Cygwin: getpriority() and top display for priority is inconsistent

2019-08-08 Thread Corinna Vinschen
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=5fa9a0e7083448ff02e378981dd9a6646fce45a3 commit 5fa9a0e7083448ff02e378981dd9a6646fce45a3 Author: Lavrentiev, Anton Date: Wed Aug 7 19:27:41 2019 + Cygwin: getpriority() and top display for priority is inconsistent

Re: Fork problem with hexchat if cygserver is running

2019-08-08 Thread Michael Haubenwallner
On 8/7/19 7:41 PM, Ken Brown wrote: > Roughly 1 out of 3 times that I try to use hexchat, I get a fork failure: > > 31143510 [main] hexchat 12392 dofork: child 12399 - died waiting for dll > loading, errno 11 > > It only happens if cygserver is running. I caught it under strace and saw > the