On 2020-05-15 22:58, Takashi Yano via Cygwin wrote: > On Fri, 15 May 2020 14:57:14 -0600 > Brian Inglis wrote: >>> cygcheck -k >> >> This key check works only in a console window, _NOT_ in a terminal session! >> Abort with Ctrl+C if in a terminal session. > > Now cygcheck -k works in pty in a limited way due to pseudo > console support if the OS is Win10 1809 or later.
But the results are not comparable: under mintty <Backspace>q gives: $ cygcheck -k This key check works only in a console window, _NOT_ in a terminal session! Abort with Ctrl+C if in a terminal session. Press 'q' to exit. Pressed 1x VK: 0x0048 VS: 0x0023 C: 0x0008 CTRL: -- -- -- LC -- -- -- -- -- Released 1x VK: 0x0048 VS: 0x0023 C: 0x0008 CTRL: -- -- -- LC -- -- -- -- -- Released 1x VK: 0x0011 VS: 0x001d C: 0x0000 CTRL: -- -- -- -- -- -- -- -- -- Pressed 1x VK: 0x0051 VS: 0x003c C: 0x0071 CTRL: -- -- -- -- -- -- -- -- -- Released 1x VK: 0x0051 VS: 0x003c C: 0x0071 CTRL: -- -- -- -- -- -- -- -- -- whereas under cmd we see: > cygcheck -k This key check works only in a console window, _NOT_ in a terminal session! Abort with Ctrl+C if in a terminal session. Press 'q' to exit. Released 1x VK: 0x0008 VS: 0x000e C: 0x0008 CTRL: -- -- -- -- NL -- -- -- -- Pressed 1x VK: 0x0051 VS: 0x0010 C: 0x0071 CTRL: -- -- -- -- NL -- -- -- -- Released 1x VK: 0x0051 VS: 0x0010 C: 0x0071 CTRL: -- -- -- -- NL -- -- -- -- -- 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 IEC 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