[ANNOUNCEMENT] Updated: cygutils 1.4.16-7

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Mon Sep 27 06:29:58 GMT 2021

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. This is the 'target'
>> entry for the shortcut:
>> C:\Windows\System32\cmd.exe /c "c:\cygwin64\bin\getclip.exe |
>> c:\cygwin64\bin\tr.exe -s '\012\015' ' ' |
>> c:\cygwin64\bin\putclip.exe"
>> 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 bytes" keep increasing at a
>> regular rate (should a timeout error be incorporated, perhaps?)

> $ mkshortcut -D -n clip-strip /bin/dash -a "-c '/bin/getclip | /bin/tr 
> -s \"\r\n\" \" \" | /bin/putclip'"

Sorry, missed out minimize window:

$ mkshortcut -D -s min -n clip-strip /bin/dash -a "-c '/bin/getclip | 
/bin/tr -s \"\r\n\" \" \" | /bin/putclip'"

Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

More information about the Cygwin mailing list