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: List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: "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: 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 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