delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/11/26/15:21:18

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3DFBE3858414
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1637958076;
bh=ptn7cSPIrGCVWbC2lG5VJGpcGbGJ0eOhh7UxbK/AwpU=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=T/yyfZ6E4Nf+A3EaYUvfXlHkhu47JMwRXN93D0xFFBHwhjEHGTSE7NLabNN1BSRZE
gTPML5/vD2yyUUmso30AlTohO8MmdTNAtLlKM3HESYSPRAcQp04XFrNz/HRJ7UK6Sz
tleD7WkYOKpJJaCK6qGAkBtmZpz6TsoHi039VX/w=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8350E3858D39
X-Yandex-Fwd: 2
Date: Fri, 26 Nov 2021 23:08:36 +0300
X-Mailer: The Bat! (v6.8.8) Home
X-Priority: 3 (Normal)
Message-ID: <1413288703.20211126230836@yandex.ru>
To: =?windows-1251?B?zOjw7u3u4iDL5e7t6OQgwuvg5Ojs6PDu4uj3?=
<lv DOT mironov AT severstal DOT com>,
cygwin AT cygwin DOT com
Subject: Re: issues with cygwin programs in windows console
In-Reply-To: <b5035ca1a7b5408a85f600794356f013@severstal.com>
References: <b5035ca1a7b5408a85f600794356f013 AT severstal DOT com>
MIME-Version: 1.0
X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
KAM_THEBAT, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 1AQKLHod019574

Greetings, Миронов Леонид Владимирович!

> 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):

If by fullscreen you mean what it means, then there's no fullscreen mode for
conhost (the default Windows terminal) for ages now.
If you mean simply programs drawing over entire terminal (the list suggests),
then check for any conhost enhancements you may have installed.

> 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?

You may try running with disabled pty's. Check disable_pcon option in https://cygwin.com/cygwin-ug-net/using-cygwinenv.html


-- 
With best regards,
Andrey Repin
Friday, November 26, 2021 23:00:00

Sorry for my terrible english...

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019