public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 1.7.25x64 bug in bash vi option 'dd' command
@ 2013-10-11 16:00 Theisen, Lucas
  2013-10-12  3:21 ` Balaji Venkataraman
  0 siblings, 1 reply; 2+ messages in thread
From: Theisen, Lucas @ 2013-10-11 16:00 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 1.7.25x64 bug in bash vi option 'dd' command
  2013-10-11 16:00 1.7.25x64 bug in bash vi option 'dd' command Theisen, Lucas
@ 2013-10-12  3:21 ` Balaji Venkataraman
  0 siblings, 0 replies; 2+ messages in thread
From: Balaji Venkataraman @ 2013-10-12  3:21 UTC (permalink / raw)
  To: Cygwin

On Fri, Oct 11, 2013 at 9:00 AM, Theisen, Lucas <ltheisen@mitre.org> wrote:

> What will happen:  Cursor will move to position 0

I see the same behavior as the OP. Identical versions of Windows 7 and
Cygwin64. Works fine on Cygwin32.

Balaji

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-12  3:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-11 16:00 1.7.25x64 bug in bash vi option 'dd' command Theisen, Lucas
2013-10-12  3:21 ` Balaji Venkataraman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).