ylm / mintty

Automatically exported from code.google.com/p/mintty
GNU General Public License v3.0
0 stars 0 forks source link

"dd" does not work in vi-mode in CLI #427

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start mintty in Cygwin, and BASH starts by default;
2. Run "set -o vi"
3. Input some command. Press "Esc" key and "dd".

What is the expected output? What do you see instead?
The line of CMD should have disappeared as "dd" works in VI editor, but it just 
moves the cursor to the beginning.

What versions of mintty, Cygwin/MSYS, and Windows are you using?
mintty 1.2-beta1 (x86_64-pc-cygwin)
> uname -a
CYGWIN_NT-6.1 PC_Name 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64 Cygwin
> cygcheck -V
cygcheck (cygwin) 1.7.29
The underlying system is Windows 7.

So, how can we make "dd" work here?
Thanks!

Original issue reported on code.google.com by jsjzhangce@163.com on 12 May 2014 at 9:14

GoogleCodeExporter commented 9 years ago
- Problem only occurs in cygwin 64 bit.
- Problem also occurs in cygwin console.
Thus:
Not a mintty issue - please report on cygwin mailing list (may be a bash issue).

Original comment by towom...@googlemail.com on 21 May 2014 at 11:58

GoogleCodeExporter commented 9 years ago
Thank you for the info! I've found the same problem post in Cygwin several 
months ago:
   https://sourceware.org/ml/cygwin/2014-01/msg00391.html
And the patch is available in:
   http://pkgsrc.se/files.php?messageId=20140112133025.3311C96@cvs.netbsd.org

Now I'm trying to figure out how to apply the patch...

Original comment by jsjzhangce@163.com on 21 May 2014 at 4:03