Loading ...
Sorry, an error occurred while loading the content.

[PATCH] I solved the problem of Windows8-IME in the console version of vim

Expand Messages
  • Nobuhiro Takasaki
    Hello. Sorry If you had already solved. Please be additional test. (In case of encoding=utf8 and termencoding=sjis) Thanks. Nobuhiro Takasaki -- -- You
    Message 1 of 9 , Jan 7, 2014
    • 0 Attachment
      Hello.

      Sorry If you had already solved.
      Please be additional test.

      (In case of encoding=utf8 and termencoding=sjis)

      Thanks.
      Nobuhiro Takasaki

      --
      --
      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Nobuhiro Takasaki
      ... I was just rude, and a little disconcertedly. ... I was supported because there is a change in the behavior of ReadConsoleInput. The past, in DBCS, I was
      Message 2 of 9 , Jan 7, 2014
      • 0 Attachment
        2014年1月8日水曜日 2時02分24秒 UTC+9 Nobuhiro Takasaki:
        > Hello.
        >
        > Sorry If you had already solved.
        > Please be additional test.
        >
        > (In case of encoding=utf8 and termencoding=sjis)
        >
        > Thanks.
        > Nobuhiro Takasaki

        I was just rude, and a little disconcertedly.

        --------
        I was supported because there is a change in the behavior of ReadConsoleInput.

        The past, in DBCS, I was able to get in multiple calls to the function to the high and low bytes.

        Currently, must be obtained by the function call once the high and low bytes.

        I made that way.

        --------
        Thanks.
        Nobuhiro Takasaki

        --
        --
        You received this message from the "vim_dev" maillist.
        Do not top-post! Type your reply below the text you are replying to.
        For more information, visit http://www.vim.org/maillist.php

        ---
        You received this message because you are subscribed to the Google Groups "vim_dev" group.
        To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
        For more options, visit https://groups.google.com/groups/opt_out.
      • mattn
        Please attach patch of universal diff style. -- -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you
        Message 3 of 9 , Jan 7, 2014
        • 0 Attachment
          Please attach patch of universal diff style.

          --
          --
          You received this message from the "vim_dev" maillist.
          Do not top-post! Type your reply below the text you are replying to.
          For more information, visit http://www.vim.org/maillist.php

          ---
          You received this message because you are subscribed to the Google Groups "vim_dev" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
          For more options, visit https://groups.google.com/groups/opt_out.
        • mattn
          And seems to be inverse for from file and to file. -- -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text
          Message 4 of 9 , Jan 7, 2014
          • 0 Attachment
            And seems to be inverse for from file and to file.

            --
            --
            You received this message from the "vim_dev" maillist.
            Do not top-post! Type your reply below the text you are replying to.
            For more information, visit http://www.vim.org/maillist.php

            ---
            You received this message because you are subscribed to the Google Groups "vim_dev" group.
            To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
            For more options, visit https://groups.google.com/groups/opt_out.
          • mattn
            https://gist.github.com/mattn/8312677 -- -- You received this message from the vim_dev maillist. Do not top-post! Type your reply below the text you are
            Message 5 of 9 , Jan 7, 2014
            • 0 Attachment
              https://gist.github.com/mattn/8312677

              --
              --
              You received this message from the "vim_dev" maillist.
              Do not top-post! Type your reply below the text you are replying to.
              For more information, visit http://www.vim.org/maillist.php

              ---
              You received this message because you are subscribed to the Google Groups "vim_dev" group.
              To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
              For more options, visit https://groups.google.com/groups/opt_out.
            • Bram Moolenaar
              ... Thanks. I ll include it. If someone spots a problem with this patch, please let us know. -- hundred-and-one symptoms of being an internet addict: 130.
              Message 6 of 9 , Jan 10, 2014
              • 0 Attachment
                Yasuhiro Matsumoto wrote:

                > https://gist.github.com/mattn/8312677

                Thanks. I'll include it. If someone spots a problem with this patch,
                please let us know.

                --
                hundred-and-one symptoms of being an internet addict:
                130. You can't get out of your desk even if it's time to eat or time
                to go to the bathroom.

                /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
                /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
                \\\ an exciting new programming language -- http://www.Zimbu.org ///
                \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

                --
                --
                You received this message from the "vim_dev" maillist.
                Do not top-post! Type your reply below the text you are replying to.
                For more information, visit http://www.vim.org/maillist.php

                ---
                You received this message because you are subscribed to the Google Groups "vim_dev" group.
                To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
                For more options, visit https://groups.google.com/groups/opt_out.
              • Nobuhiro Takasaki
                I apologize for the trouble. I solved the bug of logic fatal. The previous one did not have key repeat. I make sure carefully in the future.
                Message 7 of 9 , Jan 11, 2014
                • 0 Attachment
                  I apologize for the trouble. I solved the bug of logic fatal.
                  The previous one did not have key repeat.

                  I make sure carefully in the future.

                  https://gist.github.com/ntak/8372268

                  --------
                  Thanks.
                  Nobuhiro Takasaki

                  --
                  --
                  You received this message from the "vim_dev" maillist.
                  Do not top-post! Type your reply below the text you are replying to.
                  For more information, visit http://www.vim.org/maillist.php

                  ---
                  You received this message because you are subscribed to the Google Groups "vim_dev" group.
                  To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
                  For more options, visit https://groups.google.com/groups/opt_out.
                • Bram Moolenaar
                  ... So this fixes a problem introduced by patch 7.4.137? I suppose this was discussed elsewhere. -- hundred-and-one symptoms of being an internet addict: 141.
                  Message 8 of 9 , Jan 11, 2014
                  • 0 Attachment
                    Nobuhiro Takasaki wrote:

                    > I apologize for the trouble. I solved the bug of logic fatal.
                    > The previous one did not have key repeat.
                    >
                    > I make sure carefully in the future.
                    >
                    > https://gist.github.com/ntak/8372268

                    So this fixes a problem introduced by patch 7.4.137?
                    I suppose this was discussed elsewhere.

                    --
                    hundred-and-one symptoms of being an internet addict:
                    141. You'd rather go to http://www.weather.com/ than look out your window.

                    /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
                    /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
                    \\\ an exciting new programming language -- http://www.Zimbu.org ///
                    \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

                    --
                    --
                    You received this message from the "vim_dev" maillist.
                    Do not top-post! Type your reply below the text you are replying to.
                    For more information, visit http://www.vim.org/maillist.php

                    ---
                    You received this message because you are subscribed to the Google Groups "vim_dev" group.
                    To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
                    For more options, visit https://groups.google.com/groups/opt_out.
                  • Nobuhiro Takasaki
                    There is no discussion in other places about the patch. I am acting alone. This problem was caused by a bug of Windows 8. This behavior is not a specification.
                    Message 9 of 9 , Jan 11, 2014
                    • 0 Attachment
                      There is no discussion in other places about the patch.
                      I am acting alone.

                      This problem was caused by a bug of Windows 8.
                      This behavior is not a specification.

                      I saw, os_win32.c we have acquired one by one event from the buffer of the key code in ReadConsoleInput.

                      Due to a bug in Windows 8, pointer to a buffer of key code does not increment.
                      However, the number of events is decremented.

                      To avoid this, it can only be processed by the read operation once all the events of the buffers in the key code.

                      The patch, I made that way.

                      In fact, os_win32.c is hacking manner how to use the API.
                      The previous patch works, too, but did not completely correspond to the hacking.

                      Hacks:
                      (Use the data obtained by PeekConsoleInput, incrementing the buffer ReadConsoleInput)
                      (ReadConsoleInput returns an error, the code to switch the STDIN)

                      The latest patch will solve all.

                      I studied about the manners of the various programmer then.
                      Vim is a great program.

                      --------
                      Thanks.
                      Nobuhiro Takasaki

                      --
                      --
                      You received this message from the "vim_dev" maillist.
                      Do not top-post! Type your reply below the text you are replying to.
                      For more information, visit http://www.vim.org/maillist.php

                      ---
                      You received this message because you are subscribed to the Google Groups "vim_dev" group.
                      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
                      For more options, visit https://groups.google.com/groups/opt_out.
                    Your message has been successfully submitted and would be delivered to recipients shortly.