delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/01/18/01:59:36

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AD0263858426
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1705561174;
bh=76vD9BAd+Bd+N4yIQY/IbJmWZdaWL8eImxOxsNnQ/Fg=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=FstPGOYQtLcPHw860T7MsayqBvrOzXqSnrFe72/K4OP+e+5rPWwKb1VbZ8hTQu2GC
Nd6DceLlpanIvfRztlYVVsihs1K9aYW0G4rMHW70LjvW1SKyvh5AczFimLrfTlWmwe
r1gyvdpYE1DzNP3dtHpE/VrpbmzOuftvsyuCgAmw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A274B3858D33
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A274B3858D33
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705561120; cv=none;
b=JANzG+rumGAadNkvVeqdyduRqdHsql+3nTPkHekFpPY9jMEJ8CZme6aemBTuWlZjOXGGtTOmKMXfiAm3DZlCauf3FpR+dTjhdBw9rzmvUVdp+pdZK9Bl6wpRsjMmqk1u1I03Bo6XLBiTAk/wGVm9SS+EuOacpHZjsUEnkwhLGT8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1705561120; c=relaxed/simple;
bh=p3vo3gDyeMs/Wam5Zsql9SYpStF7Tbxv3hk61ojOHfo=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=krBtsaIE5SfwybDPwZpyb5iUuuzLFSqVtNL0mKf+tXFgHhNjjS5ij7Ov51W25wWF07xZ7i2LoA/weATzJOr3Uyqzme6NlHgIEBh5PFMTiF5Y6ah8T7e+PGD9WV2AOOpDaYdGNuYkIDGsu7sEYMND9Fd6tcRJRiTUFiBzEUeHKfY=
ARC-Authentication-Results: i=1; server2.sourceware.org
Message-ID: <1f94e78c-4ed8-45c1-905c-5ccfcd2c68a8@towo.net>
Date: Thu, 18 Jan 2024 07:58:38 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: mintty ^H weirdness with ssh to one specific Debian 11 system
To: cygwin AT cygwin DOT com
References: <09b5f8ed-3d09-75d0-a381-96b071ac8122 AT jhmg DOT net>
Autocrypt: addr=towo AT towo DOT net; keydata=
xsDNBGNaf3QBDACVevqudcTSevLThXKQPU1QpaDxtGuYjtwmr7i9wXxVGih4Y4oxOJN4PYlu
KBX9IVAI4651dA+xYtXuyIkWOPZWyyzkGKavQOn3Q7dk09oj7bh2IwOndpxXXde337D408EQ
bQEGbMHr9lOWhSAideowzgCeFIvGTf2AovbPh97HpexJn1/HCRiRAhTNlrkS1DByUgCAeEMK
fEr6aGM/Ou29MT+eTnQwOIZTnl9Z9LxM2FtqqMH3MycC7I2OoW3XXhuL8BPQdyJUjWa0/J11
Oo5jFkRXtWenIns6jGn18oW72jnDmo9jXwwS+iZWAV6Y51nhD7jSC+3xs9ORmPCdtHUSpTr1
zh67UueUJ3DUUNVuA25Hn/9EJMJ2L60BGUEr88NEB6pcZhmcwdkurAQeYT6t+frzBz2ctsoN
BoxP/Xc02yd+z7hXWRRMrJWh9WHlQHA3Z4FfmyNhyPhs3MgKTJ1E9QfzGquigAmF3/k/Dc1m
7cSOKhGYhpEJdSpdXccJFKkAEQEAAc0cVGhvbWFzIFdvbGZmIDx0b3dvQHRvd28ubmV0PsLB
BwQTAQgAMRYhBHUiRKsHn5d8BpWdP8bz0e72Bp0CBQJjWn93AhsDBAsJCAcFFQgJCgsFFgID
AQAACgkQxvPR7vYGnQKSMAv8Di+8MXB2mcfsemRdShfLLKcLOv+d0CXAtPVaY3XKxbKpRvC9
+AAT5wIHYjQft77/b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R8GRRRFr3xptyHb9dEGhXJ+50
uPbdcb3S77aCg59bxwGnd/yV0A2NcfaGJ5uAs0Vkv1Pt/nL8zsP4YBqrSU1K8LkH+ELF400aj
iBdWYMumLwgKX16vTTW1FBi/UmaLY38rJngGe85MHehW2Zys6lAkFV1uExfxML/rSKvM6u0q6
Hi8Wf/xYG1dHw55CoPHNEvwztQF5sv/gJ1sslUfPeaNGu1mcFhAGr7qN+lHEJ5zWf3l1yebnq
eGjoVRJtRl5edsHATdzyz5riL9XZAwnvrRaa56VC/KZGa+hHpqN6VWGf+Z1V0WG8R45QOTw/O
PT7jz07t00xeH8/oIXa7fg09nlFd+9ox2bKt7OSRETDQeK+jtMLAzfpDyVmIDxxEly5djyM2I
Pzicm5T+cBhDs7htzT8hqeVUj1WmV/P1Q/vFtDZGv/T085s4QcM1UNzvarhnf+DQ18RxuRE7P
nthpVfTqO6d5a4ga3dSYmbt+cGdSXPl/UcnAt2nS2xfnn0aGx4o4bTa/A6JqIT+WNScpsDwW4
KGI/dZdzZYFxfwHUtgBQOPfCXvxRdLS4zBYor16n46ZjpyAZmGxj8dtUwk3S1N8DqP8cfH+ok
gu9cS7PrS1DpkFl869dPEz8Z+lpQOgEkUgDDPKcxNgstKKotoHdD46f46rGNH6WZYliH+kY+W
psmo606Zust4V5A==
X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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: Thomas Wolff via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Thomas Wolff <towo AT towo DOT net>
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 40I6xaow004933

Am 16.01.2024 um 22:38 schrieb Jim Garrison via Cygwin:
> TL;DR
>
> New laptop, setting up mintty configuration identical to working 
> desktop system.  When connected to one specific Debian 11 (Bullseye) 
> system (to which I connect often from the desktop with no issues), 
> backspace appears to send ^H, and Debian interprets ^H correctly, but 
> the terminal display echoes a space character instead of backing up 
> one space.
>
> Details
>
> I have mintty set to term type "mintty" and "Keys/Backarrow sends ^H".
>
> A little experimentation shows that the Debian system is correctly 
> interpreting the backspace, only the mintty display is incorrect. I 
> guess there are two possibilities:
>
> * Debian is echoing a blank when receiving ^H
> * mintty is not correctly displaying the ^H echoed by Debian
>
> Note, a local mintty session is NOT affected, backspace works fine there.
>
> Also note when I ssh to a Debian 12 system and an old CentOS 7 system 
> I don't see this issue, and when connecting from my desktop all three 
> systems work.  I am stumped for how to troubleshoot this further.
>
> I diffed the output of "stty -a" between the non-working system and 
> one that works. The only differences are:
>
> Working system: eol = <undef>; eol2 = <undef>;
>
> Non-working system: eol = M-^?; eol2 = M-^?;
>
> cygcheck.out attached
>
>
> On the Debian 11 (non-working) system:
>
> jhg AT smtp ~
> $ echo $TERM
> mintty
>
> jhg AT smtp ~
> $ stty -a
> speed 38400 baud; rows 37; columns 128; line = 0;
> intr = ^C; quit = ^\; erase = ^H; kill = ^U; eof = ^D; eol = M-^?; 
> eol2 = M-^?; swtch = <undef>; start = ^Q; stop = ^S;
> susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V; discard = ^O; min = 1; 
> time = 0;
> -parenb -parodd -cmspar cs8 -hupcl -cstopb cread -clocal -crtscts
> -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl 
> ixon -ixoff -iuclc ixany imaxbel iutf8
> opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 
> bs0 vt0 ff0
> isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop 
> -echoprt echoctl echoke -flusho -extproc
>
You've verified the stty setting 'erase' above, please also verify the 
mintty behaviour, e.g. with ^V Backarrow in a command line (to echo the 
character as ^H, hopefully) to check that the two settings match 
consistently.
I've noticed myself on an older Debian system that behaviour of the 
'erase' character may be weird; it initially worked as expected with ^H, 
then I switched to stty erase ^?, then back to ^H, and behaviour was 
different: ^H did not erase a character anymore but echoed "^H". Anyway, 
this is handling of the shell (or realine library) and not under control 
of mintty.
Thomas

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