Slowness on app startup after recent update (and yes I read the FAQ)

Randall R Schulz rrschulz@cris.com
Fri Dec 13 14:34:00 GMT 2002


Ron,

That's your problem.

Somehow (most likely based on an environment variable that's set but empty 
or perhaps set to "/"), Vim is constructing a path name that begins with 
"//". That's the syntactic signal for to look for a network share. In your 
case, the shared named ".terminfo" is looked for. Since this is a network 
discovery process, a request must be sent out and a reply awaited. A 
timeout (and, I assume, one or more retries) is involved, and that's the 
root of your startup delay.

I can replicate the delay in starting Vim like this:

TERMINFO=/ vim

I didn't strace it, but I like my hunch...

This variation:

TERMINFO= vim

does not produce a delay. And, naturally, I don't ordinarily see a pause 
when starting Vim.


Perhaps that'll help.

Randall Schulz
Mountain View, CA USA


At 13:18 2002-12-13, Ron Wood wrote:
>Thanks. It works with,
>
>$ strace c:/cygwin/bin/vim.exe
>
>A part of the output is below. Seems to be get held up
>on //.terminfo. Why is it going to //.terminfo/x/term?
>And why is it
>
>...


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list