home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / gnu / bash / bug / 661 < prev    next >
Encoding:
Text File  |  1992-11-21  |  1.7 KB  |  42 lines

  1. Newsgroups: gnu.bash.bug
  2. Path: sparky!uunet!cis.ohio-state.edu!casbah.acns.nwu.edu!navarra
  3. From: navarra@casbah.acns.nwu.edu (John Navarra)
  4. Subject: Re: Question about path name expansion
  5. Message-ID: <1992Nov21.062830.24440@news.acns.nwu.edu>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: Northwestern University, Evanston Illinois.
  8. References: <1992Nov20.105605.25838@ugle.unit.no>
  9. Distribution: gnu
  10. Date: Sat, 21 Nov 1992 06:28:30 GMT
  11. Approved: bug-bash@prep.ai.mit.edu
  12. Lines: 28
  13.  
  14. In article <1992Nov20.105605.25838@ugle.unit.no> bjornw@colargol.ai.mit.EDU (Bjoern Wennberg) writes:
  15. >When I hit <TAB> as the first character typed, bash 'almost' hangs forever
  16. >trying to figure out which command I was trying to invoke. 
  17. >
  18. >Is there a way to make bash recognise that a tab was the first character typed
  19. >and just do nothing ?
  20. >
  21. Hear Hear! I agree wholeheartedly!
  22.  
  23. Actually, I like the way zsh does this. You hit TAB, you get TAB. It knows
  24. when you want to do TAB completion (because it has a default set of
  25. commands that is does certain completions on; and, you can include your
  26. own set of commands and patterns to do hostname completion for example)
  27.  
  28. TAB has always worked nicely for me in zsh and I don't have to worry about
  29. binding keys to do other types of completion.
  30.  
  31. However, just as an observation, if I inadvertently hit TAB at the bol in 
  32. bash, I can ^C and it will no longer hang.
  33.  
  34. -tms
  35.  
  36. -- 
  37. You can get further with a kind word | You can get further with a kind word
  38. and a gun than a kind word alone.    | and a phaser than a kind word and a gun.
  39.           --al capone                |           -- John Navarra
  40. =======From the Lab of the MaD ScIenTIst....navarra@casbah.acns.nwu.edu========
  41.  
  42.