delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/05/31/16:08:46

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
Date: Fri, 31 May 2002 15:00:55 -0500
From: David T-G <davidtg-cygwin AT justpickone DOT org>
To: "CygWin Users' List" <cygwin AT cygwin DOT com>
Subject: Re: Bash complete (tab) slowdown?
Message-ID: <20020531200054.GB1231@justpickone.org>
References: <200205311916 DOT g4VJGgBR008222 AT tango DOT euteka DOT lt> <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020531153844 DOT 02f32b88 AT pop DOT ma DOT ultranet DOT com>
Mime-Version: 1.0
In-Reply-To: <5.1.0.14.0.20020531153844.02f32b88@pop.ma.ultranet.com>
User-Agent: Mutt/1.3.99i

--TRYliJ5NKNqkz5bu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Larry, et al --

=2E..and then Larry Hall (RFK Partners, Inc) said...
%=20
% At 02:17 PM 5/31/2002, QQ wrote:
% >
=2E..
% >My problem is this: when using bash's
% >complete feature (eg hitting tab key),
=2E..
% >quite a time. This could be normal,
% >but problem is, that under tcsh
% >results appear immediately and without
=2E..
%=20
% As for why this doesn't happen in tcsh, I can't say.  I don't know anythi=
ng
% about tcsh.

tcsh builds a hash of all commands so that it can search quickly.
Fortunately, it's clever enough to see when a file disappears and to then
look for another version farther down the path, but it won't find a new
program unless you type "rehash" to rebuild it (or source your .cshrc,
which has all sorts of other problems but people love to do it anyway).

I can only figure that bash doesn't have such a hash table.  Given a path
setting of $PATH without executable 'x' in it, can you drop 'x' into
place and just run it or do you have to tell bash something like

  PATH=3D$PATH

(which I seem to recall having had to do under UNIX with 2.05a in such a
situation, but I could be wrong) to get it to take a look again?


HTH & HAND

:-D
--=20
David T-G                      * It's easier to fight for one's principles
(play) davidtg AT justpickone DOT org * than to live up to them. -- fortune cookie
(work) davidtgwork AT justpickone DOT org
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!


--TRYliJ5NKNqkz5bu
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE899Z2Gb7uCXufRwARAorYAKCnEHzlFKCouw5chC/eLhQ6eDOBsACfVj6U
/zueE+71bKC4N/kzne+T3fk=
=xzmf
-----END PGP SIGNATURE-----

--TRYliJ5NKNqkz5bu--

- Raw text -


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