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

guicursor+=:xxx hangs vim

Expand Messages
  • Parth Malwankar
    Hello, I am using vim 6.0at on freeBSD 4.3. When I launch gvim -u NONE -U NONE. set nocp set guicursor+=:xyz ---- hangs vim, where xyz is any string, or
    Message 1 of 2 , Sep 2, 2001
    • 0 Attachment
      Hello,

      I am using vim 6.0at on freeBSD 4.3. When I launch gvim -u NONE -U NONE.
      set nocp
      set guicursor+=:xyz ----> hangs vim, where xyz is any string, or nothing
      -- or --
      set guicursor=:xyz ---> causes SEGV

      Same is the case with vim.
      Is this expected.

      Thanks,
      Parth
    • Bram Moolenaar
      Parth Malwankar - ... Vim gets stuck at the colon. When it s at the start an uninitialized pointer is used. This patch will fix it: ... *************** ...
      Message 2 of 2 , Sep 3, 2001
      • 0 Attachment
        Parth Malwankar -

        > I am using vim 6.0at on freeBSD 4.3. When I launch gvim -u NONE -U NONE.
        > set nocp
        > set guicursor+=:xyz ----> hangs vim, where xyz is any string, or nothing
        > -- or --
        > set guicursor=:xyz ---> causes SEGV
        >
        > Same is the case with vim.
        > Is this expected.

        Vim gets stuck at the colon. When it's at the start an uninitialized
        pointer is used. This patch will fix it:

        *** misc2.c~ Thu Aug 30 14:30:47 2001
        --- misc2.c Mon Sep 3 10:18:36 2001
        ***************
        *** 2699,2704 ****
        --- 2699,2706 ----
        colonp = vim_strchr(modep, ':');
        if (colonp == NULL)
        return (char_u *)N_("Missing colon");
        + if (colonp == modep)
        + return (char_u *)N_("Illegal mode");
        commap = vim_strchr(modep, ',');

        /*

        --
        Mental Floss prevents moral decay!

        /// Bram Moolenaar -- Bram@... -- http://www.moolenaar.net \\\
        ((( Creator of Vim -- http://vim.sf.net -- ftp://ftp.vim.org/pub/vim )))
        \\\ Help me helping AIDS orphans in Uganda - http://iccf-holland.org ///
      Your message has been successfully submitted and would be delivered to recipients shortly.