issues with cygwin programs in windows console
Tue Nov 23 09:35:23 GMT 2021
On Tue, 23 Nov 2021 08:53:49 +0000
Миронов Леонид Владимирович via Cygwin <firstname.lastname@example.org> wrote:
> Something, probably a recent windows 10 update (currently at 10.0.17763.2300 - way behind, but it is LTSC) broke cygwin programs using fullscreen (ncurses?) console output e.g. less, mc, vi when run in Windows console windows (cmd and such): they produce no output at all, just black screen with cursor in the top-left corner, but seem to be running and processing keyboard input as expected e.g. when q is pressed less exits and finally prints a screenful of text it was supposed to show from the very start. No issues when these programs run in proper cygwin terminal (mintty). I found two workarounds, but neither one is perfect. One is to set TERM=cygwin but less won't clear the screen on exit and home/end don't work (incidentally setting TERM=xterm like in minnty doesn't help at all). Another workaround is to switch windows console to legacy mode. Is there a better way to run these programs in windows console without starting mintty?
I cannot reproduce your problem.
cygcheck -s -v -r
Takashi Yano <email@example.com>
More information about the Cygwin