Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: "CygWin Users' List" 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 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="TRYliJ5NKNqkz5bu" Content-Disposition: inline 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--