Mail Archives: cygwin/2002/05/31/16:08:46
--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 -