Tab completion of exes - what am I doing wrong?

Jason Tishler jason@tishler.net
Fri Sep 6 08:29:00 GMT 2002


Jason

On Fri, Sep 06, 2002 at 09:35:14AM -0500, Jason Dufair wrote:
> I have a fresh install of Cygwin 1.3.12 on Win2K (SP2).  I have
> CYGWIN=binmode tty ntsec.  Oddly, tab completion seems not to work for
> executables in bash.  IOW, if, on a fresh command line, I type
> "gre<tab>", it doesn't complete to "grep", as I'd expect.  I do,
> however get filename completion, i.e. "grep foo.tx<tab>" does complete
> to "grep foo.txt"

Try the following:

    $ chmod 755 /bin/grep.exe

I presume that your /bin/grep.exe has permissions something like the
following:

    $ ls -l /bin/grep.exe 
    -rwx------    1 Administ None        85504 Mar 21 00:16 /bin/grep.exe

Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list