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.]
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple