Re: Typo in ?

2022-07-05 Thread Ken Brown
On 7/5/2022 10:13 AM, Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin wrote: Hi, There's some inconsistency between and : sys/select.h has this: --- /* * Select uses bit masks of file descriptors in longs. * These macros manipulate such bit fields (the filesystem macros

RE: Typo in ?

2022-07-05 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
> I'm no expert, but it seems the FD_SETSIZE should have been 128. > Long is 8 bytes, 64 bits. One bit if one open file, 64 * 64 = 4096. FD_SETSIZE is the file descriptor bitset capacity in _BITS_. 64 (as currently in there) means 1 int (on 64 bit platforms, or 2 ints on 32 bit platforms, respect

Re: Typo in ?

2022-07-05 Thread Andrey Repin
Greetings, Lavrentiev, Anton (NIH/NLM/NCBI) [C]! > There's some inconsistency between and : > sys/select.h has this: > --- > /* > * Select uses bit masks of file descriptors in longs. > * These macros manipulate such bit fields (the filesystem macros use chars). > * FD_SET

Re: /dev/clipboard sometimes fails to set CF_UNICODETEXT data.

2022-07-05 Thread Andrey Repin
Greetings, Takashi Yano! > On Tue, 5 Jul 2022 00:42:50 -0700 > Mark Geisert wrote: >> Hi Takashi, >> >> Takashi Yano wrote: >> > Hello, >> > >> > In one of my PCs, >> > dd if=/dev/urandom count=10 | xxd > /dev/clipboard >> > sometimes fails to set CF_UNICODETEXT data. >> > As a result, pasting c

Typo in ?

2022-07-05 Thread Lavrentiev, Anton (NIH/NLM/NCBI) [C] via Cygwin
Hi, There's some inconsistency between and : sys/select.h has this: --- /* * Select uses bit masks of file descriptors in longs. * These macros manipulate such bit fields (the filesystem macros use chars). * FD_SETSIZE may be defined by the user, but the default here * sh

Re: [ANNOUNCEMENT] fish 3.5.0-1

2022-07-05 Thread Christian Franke
Andrew Schulman via Cygwin-announce wrote: fish 3.5.0-1 is now available in Cygwin. This release has many small improvements and bug fixes since the previous Cygwin release, 3.4.1-1. See the upstream release notes[1] for a list. Please note this minor permission issue which may affect install

[ANNOUNCEMENT] fish 3.5.0-1

2022-07-05 Thread Andrew Schulman via Cygwin-announce
fish 3.5.0-1 is now available in Cygwin. This release has many small improvements and bug fixes since the previous Cygwin release, 3.4.1-1. See the upstream release notes[1] for a list. fish is the friendly interactive shell. It's a Unix shell that focuses on interactive use, discoverability, and

Re: /dev/clipboard sometimes fails to set CF_UNICODETEXT data.

2022-07-05 Thread Corinna Vinschen
On Jul 5 17:40, Takashi Yano wrote: > On Tue, 5 Jul 2022 00:42:50 -0700 > Mark Geisert wrote: > > Takashi Yano wrote: > > > I also found the patch attached solves the issue. > > > > > > I would appreciate any suggestion. > > > > Would be neet if this patch wasn't needed, but, oh well. My only c

Re: VS Code is missing a few characters when running launch task in Git Bash

2022-07-05 Thread Orgad Shaneh
On Tue, Jul 5, 2022 at 6:18 AM Takashi Yano wrote: > > On Mon, 4 Jul 2022 08:57:09 +0300 > Orgad Shaneh wrote: > > Sure, > > > > Install VS Code and Node.JS. > > > > Clone this repository: https://github.com/orgads/cygtest > > > > Open the directory in VS Code and run (F5). Wait for it to finish,

Re: /dev/clipboard sometimes fails to set CF_UNICODETEXT data.

2022-07-05 Thread Takashi Yano
On Tue, 5 Jul 2022 00:42:50 -0700 Mark Geisert wrote: > Hi Takashi, > > Takashi Yano wrote: > > Hello, > > > > In one of my PCs, > > dd if=/dev/urandom count=10 | xxd > /dev/clipboard > > sometimes fails to set CF_UNICODETEXT data. > > As a result, pasting clipboard to notepad does not work. > >

Re: /dev/clipboard sometimes fails to set CF_UNICODETEXT data.

2022-07-05 Thread Mark Geisert
Hi Takashi, Takashi Yano wrote: Hello, In one of my PCs, dd if=/dev/urandom count=10 | xxd > /dev/clipboard sometimes fails to set CF_UNICODETEXT data. As a result, pasting clipboard to notepad does not work. Even in the case, cygnativeformat data is set correctly. So, "cat /dev/clipboard" wor