delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/05/15/07:46:41

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8BC97398301F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1589543155;
bh=xvtVzWDAgXMmuSppfdJ6MEmMaOjvuuXcNw3FfrXY9oM=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=uMV2ZlHHP2gOZYRcfECaAE6AruQYB09wwLZus9UZCgJJJ0PnNJ2vLnvRDDyPhT5ls
4IjTd/s9clqfRml+5ByiiyOzt/ss8iDgqUCakQ1Qm+iRp6cCMjBjDkpnT+vVp91uIU
PwXsJDLuDzRUMqxRq8LX/8m5qJKhGul3uKoxkPRA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org F1D2A398300A
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-03.nifty.com 04FBixof011594
X-Nifty-SrcIP: [124.155.40.7]
Date: Fri, 15 May 2020 20:45:30 +0900
To: cygwin AT cygwin DOT com
Subject: Re: Console doesn't work correctly under anything else than cmd or
mintty
Message-Id: <20200515204530.4301a63ec4fe2e985af63409@nifty.ne.jp>
In-Reply-To: <CABPLASQTuP+VmaCvCfZOa6=w+CTu5EUAX+rJndJ5-4_SO1sAew@mail.gmail.com>
References: <CABPLASQ=PJV_tYGvzuHV=-GPMrzfgVSHd+qP+bnkqOn9n8H6Zw AT mail DOT gmail DOT com>
<20200513193421 DOT 0de070302883f349c14ad5de AT nifty DOT ne DOT jp>
<CABPLASQf4L0WN6wOFd2C6=6ZY1hM9mCL6LaNLsQRa4yGbP6=Mw AT mail DOT gmail DOT com>
<20200514123306 DOT 46d94d4b32990a0b240368b9 AT nifty DOT ne DOT jp>
<CABPLASRcCSo0Gu8KoaFU7uMeJ+ehh-V_PJymAhLTczegUQq+_A AT mail DOT gmail DOT com>
<20200515084748 DOT d022767d66b44b870d36bd4d AT nifty DOT ne DOT jp>
<CABPLASQTuP+VmaCvCfZOa6=w+CTu5EUAX+rJndJ5-4_SO1sAew AT mail DOT gmail DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: <http://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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On Fri, 15 May 2020 11:34:33 +0200
Kacper Michajlow wrote:
> Windows Terminal:
> 
> $ echo $TERM
> xterm-256color
> $ stty
> speed 38400 baud; line = 0;
> eol = M-^?; eol2 = M-^?;
> -brkint -imaxbel iutf8
> -echoe -echok -echoctl -echoke
...
> Mintty:
> 
> $ echo $TERM
> xterm-256color
> $ stty
> speed 38400 baud; line = 0;
> eol = M-^?; eol2 = M-^?;
> -brkint ixany iutf8

Then,
stty echoe echok echoctl echoke
should solve the problem.

This causes because cygwin does not set ECHOE, ECHOK, ECHOCTL and ECHOKE
by default. Mintty sets them by itself. Tcsh seems also to set them.
However, bash does not.

Could someone please tell me whether cygwin should set them by default?

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
--
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