delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/13/16:44:34

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-Id: <5.2.0.9.2.20021213133518.02aa8c78@pop3.cris.com>
X-Sender: rrschulz AT pop3 DOT cris DOT com
Date: Fri, 13 Dec 2002 13:44:21 -0800
To: cygwin AT cygwin DOT com
From: Randall R Schulz <rrschulz AT cris DOT com>
Subject: Re: Slowness on app startup after recent update (and yes I
read the FAQ)
In-Reply-To: <20021213211845.84913.qmail@web40406.mail.yahoo.com>
References: <3DFA489B DOT 4050802 AT cern DOT ch>
Mime-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019