delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/11/12:01:08

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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; q=dns; s=default; b=iZN
IL1eqpv50VCqrTAXuEeOhnCydC2QpBG7MAp6VSD5ydw3J9evdpABda/w4z2CvKHm
tuLD9nwRshWlpO+ylKjzt5mawK806Twyn4ae6iQaXtKJQDBRlw/aAdsPqnrvUAb6
boM2Qct6alBLTVrivtTyYRODjeMJ0WKALY8F2E8E=
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:from:to:subject:date:message-id:content-type
:content-transfer-encoding:mime-version; s=default; bh=+BklyL3r2
Pk3oOw7KNEtNljafls=; b=GpThXTsj3KyiyjetwFmivrRafdDIMdOdenXI8a6Oq
LE8cG6XauuOHuad9LJ0WtYdXM5RhpsRbdcKUD1J9tUs+wx71LkwMANuZqzx35DYJ
JhM4hTtDuUOqj7t7Hw7qQsdY765xbCkY5P2Mi0nJvqSuw12UWFlNhP9nR/kdyAL3
fA=
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=0.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: smtpksrv1.mitre.org
From: "Theisen, Lucas" <ltheisen AT mitre DOT org>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: 1.7.25x64 bug in bash vi option 'dd' command
Date: Fri, 11 Oct 2013 16:00:51 +0000
Message-ID: <EE6ADC61AF2D71408E4FA7F9517DB7710A959930@IMCMBX03.MITRE.ORG>
MIME-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id r9BG16DD021561

When using the vi option in a bash shell the 'dd' command will move the cursor to the beginning of the line but not delete anything.  In previous versions, it worked as expected (deleted the line and moved the cursor to the beginning of the line).

To reproduce:


1)      Install Cygwin 1.7.25 64 bit
2)      Open a terminal
3)      Set the vi option `set -o vi`
4)      Type a command followed by <esc> followed by `dd`

What will happen:  Cursor will move to position 0

What should happen: All text gets deleted and cursor moves to position 0

Environment:

Windows 7 Professional x64

$ cat /proc/version
CYGWIN_NT-6.1 version 1.7.25(0.270/5/3) (corinna AT calimero DOT vinschen DOT de) (gcc version 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) (GCC) ) 2013-08-31 20:37


Thank you,
Lucas Theisen
ltheisen AT mitre DOT org

Thank you,
Lucas Theisen
ltheisen AT mitre DOT org


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