From owner-freebsd-questions@FreeBSD.ORG Thu Jan 22 09:44:17 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7205116A4CF for ; Thu, 22 Jan 2004 09:44:17 -0800 (PST) Received: from mail.seekingfire.com (coyote.seekingfire.com [24.72.10.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id A120B43D41 for ; Thu, 22 Jan 2004 09:43:47 -0800 (PST) (envelope-from tillman@seekingfire.com) Received: by mail.seekingfire.com (Postfix, from userid 500) id BC1A6134; Thu, 22 Jan 2004 11:43:46 -0600 (CST) Date: Thu, 22 Jan 2004 11:43:46 -0600 From: Tillman Hodgson To: FreeBSD-Questions Message-ID: <20040122174346.GL54472@seekingfire.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Habeas-SWE-1: winter into spring X-Habeas-SWE-2: brightly anticipated X-Habeas-SWE-3: like Habeas SWE (tm) X-Habeas-SWE-4: Copyright 2002 Habeas (tm) X-Habeas-SWE-5: Sender Warranted Email (SWE) (tm). The sender of this X-Habeas-SWE-6: email in exchange for a license for this Habeas X-Habeas-SWE-7: warrant mark warrants that this is a Habeas Compliant X-Habeas-SWE-8: Message (HCM) and not spam. Please report use of this X-Habeas-SWE-9: mark in spam to . X-GPG-Key-ID: 828AFC7B X-GPG-Fingerprint: 5584 14BA C9EB 1524 0E68 F543 0F0A 7FBC 828A FC7B X-GPG-Key: http://www.seekingfire.com/gpg_key.asc X-Urban-Legend: There is lots of hidden information in headers User-Agent: Mutt/1.5.5.1i Subject: Vim startup time much longer than expected X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Jan 2004 17:44:17 -0000 Howdy folks, I NFS export my home directory from a 4-STABLE box. In this home directory are my .vimrc file and a couple of vim plugins that I use. When I launch vim (which I use with mutt) from a workstation running RedHat 7.3 it loads and is ready for input virtually instantly. When I launch vim from the server itself (local disk!) it takes several seconds before it's ready for input. As the config files are identical, I can't think of what else might be causing the difference. Perhaps compile options for the vim port (I use -WITHOUT_X on the FreeBSD server end)? It does seem, though I haven't attempted to profile or trace the process, that it's hanging much longer while displaying this in the status line: "Pattern not found: ^> -- .*" That's the result of my quoted .sig dumper for email replies (and thus isn't called when I'm composing a new mail): """ EMAIL " Make VIM use shorter lines for emails au BufNewFile,BufRead .letter,mutt*,nn.*,snd.* set tw=72 " Delete quoted .sig's au BufRead /tmp/mutt-* normal :g/^> -- .*/,/^$/-1d I don't understand why that would be faster on the workstation (which is half the box CPU-wise and NFS'ed) than the server. Perhaps the FreeBSD port of vim (6.2 rather than 6.1 on the client) incorporates a deliberate delay for warnings like that? In any case, if anyone is able to pass me some insight I'd much appreciate it. -T -- "Beauty is more important in computing than anywhere else in technology because software is so complicated. Beauty is the ultimate defense against complexity." -- David Gelernter, Machine Beauty: Elegance and the Heart of Technology