Article View: gnu.bash.bug
Article #957Re: Question about path name expansion
From: John Navarra
Date: Sat, 21 Nov 1992 06:28
Date: Sat, 21 Nov 1992 06:28
27 lines
1741 bytes
1741 bytes
In article <1992Nov20.105605.25838@ugle.unit.no> bjornw@colargol.ai.mit.EDU (Bjoern Wennberg) writes:
>When I hit <TAB> as the first character typed, bash 'almost' hangs forever
>trying to figure out which command I was trying to invoke.
>
>Is there a way to make bash recognise that a tab was the first character typed
>and just do nothing ?
>
Hear Hear! I agree wholeheartedly!
Actually, I like the way zsh does this. You hit TAB, you get TAB. It knows
when you want to do TAB completion (because it has a default set of
commands that is does certain completions on; and, you can include your
own set of commands and patterns to do hostname completion for example)
TAB has always worked nicely for me in zsh and I don't have to worry about
binding keys to do other types of completion.
However, just as an observation, if I inadvertently hit TAB at the bol in
bash, I can ^C and it will no longer hang.
-tms
--
You can get further with a kind word | You can get further with a kind word
and a gun than a kind word alone. | and a phaser than a kind word and a gun.
--al capone | -- John Navarra
=======From the Lab of the MaD ScIenTIst....navarra@casbah.acns.nwu.edu========
Technical Details
Message-ID:
<1992Nov21.062830.24440@news.acns.nwu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!casbah.acns.nwu.edu!navarraReferences:
<1992Nov20.105605.25838@ugle.unit.no>Show Full Headers
Complete Article Headers
Newsgroups: gnu.bash.bug Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!casbah.acns.nwu.edu!navarra From: navarra@casbah.acns.nwu.edu (John Navarra) Subject: Re: Question about path name expansion Message-ID: <1992Nov21.062830.24440@news.acns.nwu.edu> Sender: gnulists@ai.mit.edu Organization: Northwestern University, Evanston Illinois. References: <1992Nov20.105605.25838@ugle.unit.no> Distribution: gnu Date: Sat, 21 Nov 1992 06:28:30 GMT Approved: bug-bash@prep.ai.mit.edu Lines: 28