X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@mitre.org>
To: "cygwin@cygwin.com" <cygwin@cygwin.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>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
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@calimero.vinschen.de) (gcc version 4.8.1 20130531 (Fedora Cygwin 4.8.1-1) (GCC) ) 2013-08-31 20:37


Thank you,
Lucas Theisen
ltheisen@mitre.org

Thank you,
Lucas Theisen
ltheisen@mitre.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


