Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-27 Thread Westcoast Human via Cygwin
On Mon, Sep 27, 2021 at 4:07 AM Takashi Yano wrote: > > On Mon, 27 Sep 2021 19:10:18 +0900 > Takashi Yano wrote: > > On Sun, 26 Sep 2021 17:46:16 -0700 > > Westcoast Human wrote: > > > I'm just going to jump in here and report what I think is an issue I > > > am having with 'putclip.' > > > > > >

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-27 Thread Richard Beels via Cygwin
On 2021-09-26 18:46, Westcoast Human via Cygwin wrote: This now wedges and is not interruptible with Ctrl-C, but closing the CMD window kills everything. Task Manager shows that putclip is apparently stuck in a loop waiting for something to happen as the counts in "I/O Other" and "I/O Other

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-27 Thread Takashi Yano via Cygwin
On Mon, 27 Sep 2021 19:10:18 +0900 Takashi Yano wrote: > On Sun, 26 Sep 2021 17:46:16 -0700 > Westcoast Human wrote: > > I'm just going to jump in here and report what I think is an issue I > > am having with 'putclip.' > > > > For years I've been using a Windows shortcut to execute a simple > >

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-27 Thread Takashi Yano via Cygwin
On Sun, 26 Sep 2021 17:46:16 -0700 Westcoast Human wrote: > I'm just going to jump in here and report what I think is an issue I > am having with 'putclip.' > > For years I've been using a Windows shortcut to execute a simple > filter function. It has recently stopped working. This is the

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-27 Thread Brian Inglis
On 2021-09-27 00:13, Brian Inglis wrote: On 2021-09-26 18:46, Westcoast Human wrote: I'm just going to jump in here and report what I think is an issue I am having with 'putclip.' For years I've been using a Windows shortcut to execute a simple filter function. It has recently stopped working.

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-27 Thread Brian Inglis
On 2021-09-26 18:46, Westcoast Human via Cygwin wrote: I'm just going to jump in here and report what I think is an issue I am having with 'putclip.' For years I've been using a Windows shortcut to execute a simple filter function. It has recently stopped working. This is the 'target' entry for

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-26 Thread Westcoast Human via Cygwin
I'm just going to jump in here and report what I think is an issue I am having with 'putclip.' For years I've been using a Windows shortcut to execute a simple filter function. It has recently stopped working. This is the 'target' entry for the shortcut: C:\Windows\System32\cmd.exe /c

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-26 Thread Doug Henderson via Cygwin
On Sun, 26 Sept 2021 at 03:41, Mark Geisert wrote: > > Hi Takashi, > > > > > Currently, putclip calls OpenClipboard()/CloseClipboard() four > > times. Is there any reason why closing and reopening clipboard > > several times? > > I don't know why the author coded putclip that way. Perhaps

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-26 Thread Mark Geisert
Takashi Yano via Cygwin wrote: On Sat, 25 Sep 2021 16:23:54 +0900 Takashi Yano wrote: @@ -32,6 +32,6 @@ #include #include #include +#include #define DEBUGGING 0 // Set 1 to display debug output on stderr A small thing. Including w32api/stringapiset.h is no longer necessary

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-26 Thread Mark Geisert
Hi Takashi, Takashi Yano via Cygwin wrote: On Sat, 25 Sep 2021 13:31:25 +0900 Takashi Yano wrote: [...] I noticed that putclip/getclip have another problem. These utils assume the charset is always UTF-8, however, cygwin supports locales which charset is not UTF-8 (such as CP932, EUC-JP,

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-26 Thread Mark Geisert
Hi Takashi, Takashi Yano via Cygwin wrote: Sometimes, putclip shows error "Unable to open the clipboard" when I run 'echo A | putclip'. I digged into this problem, and found OpenClipboard() sometimes fails with error ERROR_ACCESS_DENIED if it is called just after SetClipboardData() and

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-25 Thread Takashi Yano via Cygwin
On Sat, 25 Sep 2021 16:23:54 +0900 Takashi Yano wrote: @@ -32,6 +32,6 @@ > #include > #include > #include > +#include > > #define DEBUGGING 0 // Set 1 to display debug output on stderr > A small thing. Including w32api/stringapiset.h is no longer necessary with this patch. --

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-25 Thread Takashi Yano via Cygwin
On Sat, 25 Sep 2021 13:31:25 +0900 Takashi Yano wrote: > Hi Mark, > > Sometimes, putclip shows error > "Unable to open the clipboard" > when I run 'echo A | putclip'. > > I digged into this problem, and found OpenClipboard() sometimes > fails with error ERROR_ACCESS_DENIED if it is called just

Re: [ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-24 Thread Takashi Yano via Cygwin
Hi Mark, Sometimes, putclip shows error "Unable to open the clipboard" when I run 'echo A | putclip'. I digged into this problem, and found OpenClipboard() sometimes fails with error ERROR_ACCESS_DENIED if it is called just after SetClipboardData() and CloseClipboard(). Currently, putclip calls

[ANNOUNCEMENT] Updated: cygutils 1.4.16-7

2021-09-23 Thread Mark Geisert
The following packages have been uploaded to the Cygwin distribution: * cygutils-1.4.16-7 * cygutils-extra-1.4.16-7 * cygutils-x11-1.4.16-7 This update fixes an issue with readshortcut in which "buffer overflow detected" is displayed when reading most any shortcut (.lnk) file. Thanks to Keith