Friday, June 8, 2012

Re: vim termcap problem on HP-UX , Vim takes long time to open file or tag

After some tinkering it seems to have been resolved but my first
screen update is really slow in startup log. Below is log for setting
tag file in .vimrc and opening a tag. Opening a standalone c file is
also equally slow. screen update and jump to tag are very very slow.

090.281 020.092: BufEnter autocommands
090.287 000.006: editing files in windows
371.443 040.548 040.548: sourcing /xyz/vim/vim73/syntax/c.vim
821.335 690.500: jumping to tag
821.570 000.235: VimEnter autocommands
821.573 000.003: before starting main loop
1586.915 766.342: first screen update
1586.918 000.003: --- VIM STARTED ---

On Jun 7, 11:46 pm, "vick...@gmail.com" <vick...@gmail.com> wrote:
> I am having a strange problem using vim 7.3 on hp-ux v11.3i. Whenever i
> open vim, it just takes a long time to open. Scrolling is also slow.
> Disabling syntax highlighting helps but it is still at unacceptable speed.
> vi on the other hand is blazing fast. This machine has many cpu's and large
> amount of memory.
>
> On running vim with --startup time monitoring, it seems that for all
> termcap operations, it is taking a long time. for eg:
>
> 006.041  000.878: expanding arguments
> 006.090  000.049: shell init
> *1014.995  1008.905: Termcap init*
> 1015.344  000.349: inits 2
> 1015.925  000.581: init highlight
> .
> .
> .
> 1075.276  000.812: reading viminfo
> 1075.361  000.085: setup clipboard
> *1075.409  000.048: setting raw mode*
> *1534.299  458.890: waiting for return*
> 1534.314  000.015: start termcap
> 1534.376  000.062: clearing screen
>
> $TERM set to xterm or dtterm has same problem. Syntax highlighting and
> colors works but is very slow. Any suggestions ??

--
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

No comments: