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

74247Issue 183 in vim: "[[2;2R" printed in messages area on BufEnter shell command

Expand Messages
  • vim@...
    Nov 26, 2013
    • 0 Attachment
      Status: New
      Owner: ----
      Labels: Type-Defect Priority-Medium

      New issue 183 by pbris...@...: "[[2;2R" printed in messages area on
      BufEnter shell command
      http://code.google.com/p/vim/issues/detail?id=183

      What steps will reproduce the problem?

      1. Add the following to example.vimrc

      function RegenerateCtags()
      " the shell command invoked doesn't matter
      silent! execute '!true'
      endfunction
      autocmd BufEnter * call RegenerateCtags()

      2. Open a fresh urxvt terminal
      3. vim -u example.vimrc

      * What is the expected output?

      Vim starts normally, with nothing showing in the messages area.

      * What do you see instead?

      Vim displays (what looks like) a terminal escape, "[[2;2R", in the messages
      area.

      * What version of the product are you using?

      VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 10 2013 20:26:12)
      Included patches: 1-86

      * On what operating system?

      Arch Linux.

      * Other information

      Nazri Ramliy reproduced in XTerm(278) with vim 7.4.91 and also found the
      offending patch via hg bisect:

      $ hg log -v -r 5090
      changeset: 5090:8b7baf39a345
      tag: v7-3-1288
      user: Bram Moolenaar <bram@...>
      date: Wed Jul 03 12:45:31 2013 +0200
      files: src/proto/screen.pro src/screen.c src/term.c src/version.c
      description:
      updated for version 7.3.1288
      Problem: The first ":echo 'hello'" command output doesn't show.
      Mapping
      for <S-F3> gets triggered during startup.
      Solution: Add debugging code for the termresponse. When receiving
      the "Co"
      entry and when setting 'ambiwidth' redraw right away if
      possible.
      Add redraw_asap(). Don't set 'ambiwidth' if it already had
      the
      right value. Do the 'ambiwidth' check in the second row to
      avoid
      confusion with <S-F3>.

      Thanks,
      Pat

      ---

      PS:

      I apologize if cross-posting from the mailing list is bad form. The message
      seemed to get lost in the backlog and rather than "bump" it, I thought this
      would be a better way to ensure it gets tracked.

      Attachments:
      bugreport.txt 47.0 KB

      --
      You received this message because this project is configured to send all
      issue notifications to this address.
      You may adjust your notification preferences at:
      https://code.google.com/hosting/settings

      --
      --
      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.
    • Show all 6 messages in this topic