delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/09/07/14:20:41

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=NejMxPSMaTEWOsSL
zi1ApEeoFm5cmdkEYSOgoo4kYySMQi7zLL3wxffG8emdykHZUOVQFhMNAwRs9sug
GZk4HRxg8mkLepULHFTukPrwhsEzgmJklj46wv9m+UcgxBwgruy72b2AhFGEjcre
00PQ5r1vPBWdhY8S+6PEnZBX5Ec=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=X1pNdws7L+gfUhTJdtadoT
qQVNA=; b=gy3ji2Kg+uiA+0LEm1w91Yk7gk+IBypHx7kXSlZpyC5kzmr5kXUJAl
zzwL8fKNGBi8UpxmHEHfaslfwvTCIBw/RrvVn6+Ld7I/bRbvKfpx+E++fZgoaB/a
6J9A6q2+eQDY03IoXm9F1fTl33iddr+4uaO16lWYwq970t62e26nw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtpback.ht-systems.ru
Date: Sun, 7 Sep 2014 22:15:14 +0400
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <14910303781.20140907221514@yandex.ru>
To: Mark Yagnatinsky <markyag AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: Odd interaction between tab and backspace
In-Reply-To: <CAPbNvUyJ0XpxGb=obKaj6Gdo0Mz3uZ+dTwYEW20Rr1MzZAfj_Q@mail.gmail.com>
References: <CAPbNvUxH88Dx2i8+7_P_EO8h=qkAd9LMRjEcW2ATQR06xs2-Sg AT mail DOT gmail DOT com> <338004008 DOT 20140907191440 AT yandex DOT ru> <CAPbNvUyJ0XpxGb=obKaj6Gdo0Mz3uZ+dTwYEW20Rr1MzZAfj_Q AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Mark Yagnatinsky!

>>> I've tried the following in mintty and in putty, and it happens in both:
>>
>>> First, launch cat or grep or similar.
>>> Type a line with some tabs in it.
>>> Try to backspace them away.
>>
>>> The tabs are erased one space at time, leading to ... You know what,
>>> why don't I just show you:
>>
>>> $ cat
>>> 0       1       2       3       4       5       6     eh?
>>> eh?
>>
>>> The above was produced by typing 0 through 9 separated by tabs, then
>>> backspacing as much as possible, then typing 'eh?'  The screen still
>>> shows 0 through 6 followed by eh?, but all cat got was the eh?!
>>
>>> Is it a bug, a feature, or something else?
>>
>> I can only replicate it in mintty. In PuTTY 0.62 with putty-256color terminal
>> and Ubuntu 8.04 running at the other end, I can not repeat it.
>> Tabs get deleted all proper.

> I'm running the same version of PuTTY, and the problem persists.  Could it be that I'm
> running it on the same computer, as described at
> http://www.chiark.greenend.org.uk/~sgtatham/putty/wishlist/cygwin-terminal-window.html?

If by "running it on the same computer" you mean "connected to Cygwin SSH server
running on the same machine", then this could be explained by a bug in
terminal handling of Cygwin.
I don't have Cygwin SSH server running nearby, that I can connect to to test
if this is indeed the problem, hopefully someone here can do that easier than
me and will be kind enough to fill in the gaps in the report.

Also, please don't http://cygwin.com/acronyms/#TOFU


--
WBR,
Andrey Repin (anrdaemon AT yandex DOT ru) 07.09.2014, <22:09>

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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