Some issues on bash 4.2

LiTuX
2013-12-31
2013-12-31
  • LiTuX
    LiTuX
    2013-12-31

    Hi, thanks for your great work on msys2, :)

    I'm a MinGW/MSYS user for years, they are great projects. Now I turn to yours, it is beautiful. But some days after, I found that there are still issues in the bash.

    First, bash in msys1 are poor in multi-byte, now this one is still not so good. When input something using IME in bash's commandline, move the cursor left or right, you have to press two times to move across one character (I'm Chinese ^_^, default codepage is cp936, two Byte makes one Chinese character). This issue exists for years, and msysgit guy have fixed it (see https://github.com/msysgit/msysgit/pull/79 ). Although msysgit's bash is 3.1, those patches should be useful in fixing msys2's.

    Second, when I try to start bash --login somewhere from cmd, it sometimes fails to source my .bash_profile, I don't know how to reproduce this, but it offten happens. (And I've meet several times of "Desktop frozen" on my windows, no response, I have to log off or reboot). I'm using windows 8.1 pro x64 (Chinese version), msys2 x64, my HOME folder is a NTFS junction point to another folder.

    For the vim, set enc=utf8 then I can input Chinese correctly, but set enc=utf8 tenc=cp936 failed. It is better than the win32 console version because I don't know how to input Chinese correctly in the win32 console version. The problem of this vim is that sometimes the display is incorrect if without a manually redraw.