Re: cygwin application on MsTerminal, enabling win32-raw-mode results in runway memory/CPU usage.

2024-08-30 Thread Adamyg Mob via Cygwin
I raised the same question under: https://github.com/microsoft/terminal/issues/17824 *cons_master_thread() should *possibly maintain a local key cache and not push back events. Alternatively, from research these pseudo key events have Vk=0/Sc=0 values (only char and down are set); as such peek th

Re: cygwin application on MsTerminal, enabling win32-raw-mode results in runway memory/CPU usage.

2024-08-30 Thread Takashi Yano via Cygwin
On Sat, 31 Aug 2024 14:20:04 +0900 Takashi Yano wrote: > Thanks for the pointer. Unfortunately, the document does not mention > about the behaviour of WriteConsoleInput() in the win32-inpu-mode. > > I expected that ReadConsoleInput() returns the INPUT_RECORDS which > WriteConsoleInput() sends. How

Re: cygwin application on MsTerminal, enabling win32-raw-mode results in runway memory/CPU usage.

2024-08-30 Thread Takashi Yano via Cygwin
Thanks for the pointer. Unfortunately, the document does not mention about the behaviour of WriteConsoleInput() in the win32-inpu-mode. I expected that ReadConsoleInput() returns the INPUT_RECORDS which WriteConsoleInput() sends. However, that does not seem true in this mode. On Sat, 31 Aug 2024

Re: cygwin application on MsTerminal, enabling win32-raw-mode results in runway memory/CPU usage.

2024-08-30 Thread Adamyg Mob via Cygwin
*One suspect is the fhandler_console::cons_master_thread (), which attempts to mine signals within the input stream; yet it may not handle a single key being represented by multiple events.*; furthermore one of the few uses of WriteConsoleInput Is there any means of disabling the feature for testi

Re: cygwin application on MsTerminal, enabling win32-raw-mode results in runway memory/CPU usage.

2024-08-30 Thread Takashi Yano via Cygwin
On Fri, 30 Aug 2024 19:56:34 +0800 Adamyg Mob wrote: > Cygwin: CYGWIN_NT-10.0-19045 WEED3 3.5.4-1.x86_64 2024-08-25 16:52 UTC > x86_64 Cygwin > Windows Terminal version: 1.20.11781.0 > Windows build number: 10.0.19045.4780 > > When running a cygwin64 based terminal application under a MsTerminal

Re: ssh broken after updating cygwin

2024-08-30 Thread Lee via Cygwin
On Fri, Aug 30, 2024 at 11:52 AM ASSI via Cygwin wrote: > > Lee via Cygwin writes: > > OK.. I didn't read the release notes. If I knew the upgrade was going > > to break ssh I wouldn't have upgraded, but hopefully there's a > > work-around besides downgrading. > > As noted in the announcement, yo

tcl puzzle for cygwin tcl'ers im stuck on one specific line

2024-08-30 Thread Jim McNamara via Cygwin
Error in startup script: couldn't execute "docker cp "dd9b7672d98a:/home/masterblasterx1001/etack" "c:/Users/stealth_droid"": no such file or directory while executing "exec $docker_command" (procedure "execute_docker_cp" line 11) invoked from within "execute_docker_cp" (file "mye

Re: ssh broken after updating cygwin

2024-08-30 Thread Lee via Cygwin
On Fri, Aug 30, 2024 at 5:39 AM Mark Geisert via Cygwin wrote: > > On 8/29/2024 6:10 PM, Lee via Cygwin wrote: > > OK.. I didn't read the release notes. If I knew the upgrade was going > > to break ssh I wouldn't have upgraded, but hopefully there's a > > work-around besides downgrading. > > > > T

fixed ai rendered wrong code

2024-08-30 Thread Jim McNamara via Cygwin
Hi all- I had 2 spare moments to check out the code. I have everything configured right but the ai gave me a little off center code. thanks, jim Sent with Proton Mail secure email. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Docu

i tried a little different configuration option in tk to get button to bottom

2024-08-30 Thread Jim McNamara via Cygwin
Hi- It is still like the screenshot that i posted. it is just rendering a blank wish with no gui controls. please assist. thanks Sent with Proton Mail secure email. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation:

wish not rendering controls in xwindows

2024-08-30 Thread Jim McNamara via Cygwin
Hi with this script the AI spun up: #!/usr/bin/env wish # Create a top-level window toplevel .top wm title .top "Minimal Example" # Create and pack a button button .top.btn -text "Click Me" -command {puts "Button Clicked"} pack .top.btn # Run the Tk event loop vwait forever i chmod +x foo.tcl

Re: ssh broken after updating cygwin

2024-08-30 Thread ASSI via Cygwin
Lee via Cygwin writes: > OK.. I didn't read the release notes. If I knew the upgrade was going > to break ssh I wouldn't have upgraded, but hopefully there's a > work-around besides downgrading. As noted in the announcement, you can build your own openssh that still has the code active, but it wi

cygwin application on MsTerminal, enabling win32-raw-mode results in runway memory/CPU usage.

2024-08-30 Thread Adamyg Mob via Cygwin
Cygwin: CYGWIN_NT-10.0-19045 WEED3 3.5.4-1.x86_64 2024-08-25 16:52 UTC x86_64 Cygwin Windows Terminal version: 1.20.11781.0 Windows build number: 10.0.19045.4780 When running a cygwin64 based terminal application under a MsTerminal session, with win32-raw-mode "\033[?9001h" enabled, after brief

Re: ssh broken after updating cygwin

2024-08-30 Thread Mark Geisert via Cygwin
On 8/29/2024 6:10 PM, Lee via Cygwin wrote: OK.. I didn't read the release notes. If I knew the upgrade was going to break ssh I wouldn't have upgraded, but hopefully there's a work-around besides downgrading. This used to work: $ ssh 10.10.2.4 /home/Lee/.ssh/config line 22: Bad key types '+ssh