From owner-freebsd-questions Fri Apr 4 04:19:38 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id EAA04603 for questions-outgoing; Fri, 4 Apr 1997 04:19:38 -0800 (PST) Received: from mail.EUnet.hu (www.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id EAA04590 for ; Fri, 4 Apr 1997 04:19:34 -0800 (PST) Received: by mail.EUnet.hu, id OAA20445; Fri, 4 Apr 1997 14:19:31 +0200 Received: (from zgabor@localhost) by CoDe.hu (8.7.5/8.7.3) id KAA00586; Fri, 4 Apr 1997 10:34:40 +0200 (MET DST) From: Zahemszky Gabor Message-Id: <199704040834.KAA00586@CoDe.hu> Subject: Re: vi/nvi slower with 2.2R To: freebsd-questions@freebsd.org (FreeBSD questions) Date: Fri, 4 Apr 1997 10:34:40 +0200 (MET DST) Cc: kline@tera.com In-Reply-To: <199704032241.OAA28574@athena.tera.com> from Gary Kline at "Apr 3, 97 02:41:29 pm" X-Mailer: ELM [version 2.4ME+ PL11 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > According to Doug White: > > On Thu, 3 Apr 1997, Gary Kline wrote: > > > > > > > > Has anyone else noticed how much slower most vi > > > commands are in 2.2? When I type something like > > > ``df'' it is a few seconds before > > > the ESC seems to be recognized. > > > > > > With 2.1.5 and before, vi was much faster. Am I > > > missing some new configuration or what? > > > > The ESC has always taken a bit of time to respond. This is because the > > ESC character is used to escape special keys like arrow keys. You have to > > wait for a timeout before your single ESC is recognized. There might be a > > termcap variable that controls the timeout. I don't know (I have 2.1.5 now), but maybe there is a newer version of vi in 2.2. Type :ver, and see it. In 2.1.5, it's a very-very old 1.34 (from '94) version in it, maybe in 2.2, it's a newer. If I remember well, in newer nvi's (1.7x ?), there is a new handling of the timeout. In 1.34, it's only :set timeout/:set notimeout, but it may changed. Oopps! I've found, that :set keytime=X may interested in you. Gabor