Tuesday, July 1, 2014

Re: vim 7.4: pasting is very slow on HP UX machine.

On Tuesday, July 1, 2014 1:36:51 AM UTC-5, Christian Brabandt wrote:
> Am 2014-06-30 19:40, schrieb Sarath Addanki:
>
> > I tried all the options suggested here. I have understood the problem
>
> > more clearly now.
>
> >
>
> >
>
> > Problematic Case:
>
> > 1)Open a remote session to hpux machine via putty.
>
> > 2)Open Vim and paste text (that has atleast 3 lines)
>
> > 3)paste operation freezes and text animates slowly.
>
> >
>
> > I have tried the following stuff to narrow out the possible issues
>
> >
>
> > Case 1:
>
> > Repeat Step 1.
>
> > Open vi and paste text. Works perfectly
>
> >
>
> > Case 2:
>
> > Repeat Step 1.
>
> > Open emacs and paste text. Works perfectly
>
> >
>
> > Case 3:
>
> > Repeat Step 1.
>
> > Open gVim and paste text. No issues (though gvim startup time is slow)
>
> >
>
> > Case 4:
>
> > Repeat Step 1.
>
> > Recompile vim with the following options --with-features=huge
>
> > --enable=gui=no
>
> > Repeat Step 2 & Step 3. Still slow.
>
> >
>
> > Case 5:
>
> > Repeat Step 1.
>
> > Open Vim with the following command
>
> > vim -u NONE -U NONE -N -i NONE -V16
>
> >
>
> > Saw the error message:
>
> > Opening the X display failed. Result is same(slow paste)
>
> >
>
> > Case 6:
>
> > Repeat Step 1.
>
> > Open Vim the following command
>
> > vim -X -u NONE -U NONE -N -i NONE -V16
>
> >
>
> > Error message in Case 5 disappears. But Result is same(slow paste)
>
> >
>
> > Case 7:
>
> > Repeat Step 1.
>
> > Open Vim with file containing some text. Copy some 10+ lines in Visual
>
> > mode and paste. No issues. So, Paste inside editor works.
>
> >
>
> >
>
> > In the above cases, paste means I have copied text outside of putty
>
> > and pasting into Vim editor which is inside Putty. I'm on Windows 7.
>
> >
>
> > pasting from external source seems problem. I don't know how to
>
> > trouble shoot this problem further.
>
>
>
> Since you already recompiled your Vim, would it be hard for you to
>
> profile it?
>
> That might give us a clue, what is going on.
>
>
>
> Best,
>
> Christian

What flags I should use for profiling?

Regards,
Sarath

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: