🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Bjoern Wennberg Fri, 20 Nov 1992 10:56
Question about path name expansion
#954
Author: Bjoern Wennberg
Date: Fri, 20 Nov 1992 10:56
12 lines
807 bytes
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 ?

bjornw>

Bjoern.Wennberg@colargol.edb.tih.no

--
The sooner all the animals are dead, the sooner we'll find all their money.
Re: Question about path name expansion
#957
Author: John Navarra
Date: Sat, 21 Nov 1992 06:28
27 lines
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========
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads