Related to this post, winpty (never heard of it before) at least 
partially fixed the curses problem I had posted on the msys2 discussion 
forum before, and no clues had emerged.

The curses program, plus simple test curses programs I had presented, 
previously produced error messages like the following and crashed:

$ txu1-tpl-eg1.exe
Redirection is not supported.
$

With "winpty txu1-tpl-eg1.exe" the program at least starts up, looks 
perfect visually. The program responds to keyboard commands (eg, q to 
quit). Pressing ENTER goes to a submenu, and that works.

Unfortunately, the arrow keys, PgUp, PgDn, Home, End keys don't work. 
They work correctly when the program runs under a windows 7 command 
window. Does anybody have a clue why the arrow keys do not work for 
running a pdcurses program under mintty / winpty?

Thanks,
Daniel

PS - 
http://blog.toonormal.com/2012/11/17/gcc-msys-mintty-pdcurses-winpty-and-good-times-in-the-shell/
 
is a related post I found, in case helpful for anyone.

On 1/26/2016 2:52 AM, Ray Donnelly wrote:
>>
>> When I run gdb in the mingw64 environment (I haven't tested others), it
>> behaves weirdly. Specifically, If I press the up arrow, instead of scrolling
>> through the previous commands, it moves the caret up on the screen, and from
>> there just goes crazy (printing text and seemingly random places on the
>> screen, no accepting commands, etc.)
>
> Yes. It's to do with mintty. Use "winpty gdb" instead. We should
> probably make wrappers like we do for most other REPL things. File a
> bug if you wouldn't mind (or better, make pull requests - follow the
> examples in python or something like that).
>

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Msys2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to