From owner-freebsd-questions Thu Apr 3 14:42:12 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id OAA21479 for questions-outgoing; Thu, 3 Apr 1997 14:42:12 -0800 (PST) Received: from hod (hod.tera.com [206.215.142.67]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id OAA21470 for ; Thu, 3 Apr 1997 14:42:09 -0800 (PST) Received: from athena.tera.com (athena.tera.com [206.215.142.62]) by hod (8.7.5/8.7.3) with ESMTP id OAA03020; Thu, 3 Apr 1997 14:41:30 -0800 (PST) From: Gary Kline Received: (from kline@localhost) by athena.tera.com (8.7.5/8.7.3) id OAA28574; Thu, 3 Apr 1997 14:41:30 -0800 (PST) Message-Id: <199704032241.OAA28574@athena.tera.com> Subject: Re: vi/nvi slower with 2.2R In-Reply-To: from Doug White at "Apr 3, 97 12:12:18 pm" To: dwhite@resnet.uoregon.edu Date: Thu, 3 Apr 1997 14:41:29 -0800 (PST) Cc: kline@tera.com, questions@freebsd.org X-Mailer: ELM [version 2.4ME+ PL23 (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. > > You can speed things along by typing another ESC. > I've always hit ESC at least twice in vi (to ring the BEL) for audio confirmation. The possibility of a term variable is along the lines of what I was wondering. If there is one, the default must be set to 4 seconds. 3 or 4. Where should I check for this kind of configuration? gary >