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 Unsubscri

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 pac

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"); return

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 diffic

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 comput

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 pr

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

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 possib

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

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 > +++ b/winsup/cygwin/fhandler_proce

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