delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/01/25/08:37:21

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:message-id:from:to:subject:references
:in-reply-to; q=dns; s=default; b=RF+NdoFsm7ZVG2aWFTU2rJRC2pZlR4
afA+rrw2NDk/o1tLyP1Pizj75ljOgb95b7J1MQ+LfGgBEh1M6J+Rv2GowWfS/1yL
lydRSNt/1Xf2zq6zWlZy12UmMFLzx5i/FsbtiWMtpBhFzlTKgUvr1K46DW8HDAKB
V9ossxWXNEKxk=
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:message-id:from:to:subject:references
:in-reply-to; s=default; bh=rz8l75obIbff7kByoiOCNvyNSNs=; b=JDjj
bzMRSKimWgqAs7KzxgMfYKgb3EQYQA7ZQSJR0l6tSFeXOyJstUtU4bozo69lXvf1
s8JDNFw+yxj6LTDbhko7ukvSIHBCUDIWEqoKNqi2Yg73dcv2sbamGLEh5D8+KOPt
HT5xofYGxItYlhaVpKqbhNfYKw5xlTT3XbuWvIs=
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=-2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=erik, H*f:sk:5887ff2, H*MI:sk:5887ff2, H*F:D*nl
X-HELO: lb2-smtp-cloud3.xs4all.net
Date: Wed, 25 Jan 2017 14:37:00 +0100
Message-ID: <d58b09904f6fc607e5c044e67a02f393@smtp-cloud3.xs4all.net>
From: Houder <houder AT xs4all DOT nl>
To: cygwin AT cygwin DOT com
Subject: Re: [ANNOUNCEMENT] Updated: dash-0.5.8-3
References: <f859816f9fb978d6d45a5dc9713f8fbd AT smtp-cloud3 DOT xs4all DOT net> <5887ff2d DOT ce1b9d0a DOT 5e05b DOT d729 AT mx DOT google DOT com>
In-Reply-to: <5887ff2d.ce1b9d0a.5e05b.d729@mx.google.com>
User-Agent: mua.awk 0.99

On Tue, 24 Jan 2017 17:28:13, Steven Penny wrote:
> On Tue, 24 Jan 2017 16:58:39, Houder wrote:
> > When the omega symbol is entered, followed by a backspace, the input buffer
> > is NOT correctly cleared (or so it appears to me).
> 
> Working fine here. Tested with:

Peculiar ... must be "Henri" problem then :-P

Installed Cygwin afresh ... (Erik, using the official tool! - setup-x86_64.exe)

 - I get the same result (for both the current cygwin1.dll and the modified one)
 - enter alt-234,
   followed by a backspace, followed by a linefeed, results in dash complaining
 - enter alt-234,
   followed by TWO backspaces (which eats part of the prompt), followed by
   a linefeed, leaves dash at peace ...

Regards,

Henri

=====
Test1: ... using a Windows shortcut to start dash with option -l:

$ uname -a
CYGWIN_NT-6.1 Seven 2.6.1(0.305/5/3) 2016-12-16 11:55 x86_64 Cygwin
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_ALL=
$ ls -l /bin/cygwin1*
-rwxr-xr-x 1 Henri None 3316345 Dec 16 11:57 /bin/cygwin1.dll
-rwxr-xr-x 1 Henri None 3316345 Dec 16 11:57 /bin/cygwin1-2.6.1-1.X
-rwxr-xr-x 1 Henri None 3318753 Jan 19 20:01 /bin/cygwin1-64-20170119.X
-rwxr-xr-x 1 Henri None 3319106 Jan 25 13:32 /bin/cygwin1-64-20170119-2nd.X
$ cygcheck -sv | awk '$1~/^(dash|cygwin|"cygwin1.dll")$/'
                  "cygwin1.dll" v0.0 ts=2016-12-16 10:55
cygwin               2.6.1-1            OK
dash                 0.5.8-3            OK

# enter alt-234 (omega symbol), followed by a backspace
$
/usr/bin/dash: 5: â–’: not found

# enter alt-234 (omega symbol), followed by TWO backspaces
$

# enter alt-234 (omega symbol), followed by a backspace
$ echo  | od -Ax -tx1z
000000 ce 0a                                            >..<
000002
$

Test2: ... using a Windows shortcut to start dash with option -l:

$ uname -a
CYGWIN_NT-6.1 Seven 2.7.0(0.306/5/3)  x86_64 Cygwin
$ locale
[snip] # same as above ...
$ ls -l /bin/cygwin1*
-rwxr-xr-x 1 Henri None 3319106 Jan 25 13:32 /bin/cygwin1.dll
-rwxr-xr-x 1 Henri None 3316345 Dec 16 11:57 /bin/cygwin1-2.6.1-1.X
-rwxr-xr-x 1 Henri None 3318753 Jan 19 20:01 /bin/cygwin1-64-20170119.X
-rwxr-xr-x 1 Henri None 3319106 Jan 25 13:32 /bin/cygwin1-64-20170119-2nd.X
$ cygcheck -sv | awk '$1~/^(dash|cygwin|"cygwin1.dll")$/'
                  "cygwin1.dll" v0.0 ts=2017-01-19 21:16
cygwin               2.6.1-1            OK
dash                 0.5.8-3            OK

# enter alt-234 (omega symbol), followed by a backspace
$
/usr/bin/dash: 5: â–’: not found

# enter alt-234 (omega symbol), followed by TWO backspaces
$

# enter alt-234 (omega symbol), followed by a backspace
$ echo  | od -Ax -tx1z
000000 ce 0a                                            >..<
000002
$

=====


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