This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

TAB Completion Not Working



Hello Corinna,

Just updated my Cygwin installation with the latest files from the UK mirror, ftp.mirror.ac.uk, and the TAB completion is still not working. What I find strange is that the previous version, 1.1.8, was working fine. I decided to update last week and it suddenly stopped working. Today I read all the email in the May archive about this problem, then saw your about the update. I downloaded the two new files, bash and ncurses, but nothing changed. I am not expert in this area but I wanted to add my input to Frank-Michael Moser's, since I am experiencing the same problem and the only thing I did was to update to a newer version, without even touching configuration files or anything.

Here are some examples.

First, some version information:

urbanr@PW-URBANR ~
$ pwd
/home/urbanr

urbanr@PW-URBANR ~
$ uname -a
CYGWIN_98-4.10 PW-URBANR 1.3.1(0.38/3/2) 2001-04-24 20:01 i586 unknown

urbanr@PW-URBANR ~
$ bash --version
GNU bash, version 2.05.0(5)-release (i686-pc-cygwin)
Copyright 2000 Free Software Foundation, Inc.

urbanr@PW-URBANR ~
$

and mount information

urbanr@PW-URBANR ~
$ mount
e:\cygwin\bin on /usr/bin type system (binmode)
e:\cygwin\lib on /usr/lib type system (binmode)
e:\cygwin on / type system (binmode)
e: on /e type user (textmode)
f: on /f type user (textmode)
c: on /cygdrive/c type user (binmode,noumount)
d: on /cygdrive/d type user (binmode,noumount)
g: on /cygdrive/g type user (binmode,noumount)
h: on /cygdrive/h type user (binmode,noumount)
k: on /cygdrive/k type user (binmode,noumount)

(local drives above, network drives below)

l: on /cygdrive/l type user (binmode,noumount)
m: on /cygdrive/m type user (binmode,noumount)
n: on /cygdrive/n type user (binmode,noumount)
s: on /cygdrive/s type user (binmode,noumount)
y: on /cygdrive/y type user (binmode,noumount)
z: on /cygdrive/z type user (binmode,noumount)

urbanr@PW-URBANR ~
$

Let's start with the home directory:

urbanr@PW-URBANR ~
$ ls -l
total 0
drwxr-xr-x   3 urbanr   544             0 Jan 10 12:55 rsync

urbanr@PW-URBANR ~
$ cd rs

Hitting TAB will produce the right input:

urbanr@PW-URBANR ~
$ cd rsync/

The next phase is less satisfactory:

urbanr@PW-URBANR ~/rsync
$ ls -l
total 400
-rw-r--r--   1 urbanr   544            52 Mar  8 23:02 100mb-full-backup-time-lo
g.txt
-rw-r--r--   1 urbanr   544            52 Mar 12 18:20 100mb-incremental-backup-
time-log.txt
-rw-r--r--   1 urbanr   544            52 Mar 16 17:34 10mb-incremental-backup-t
ime-log.txt
-rwxr-xr-x   1 urbanr   544           645 Apr 12 18:16 desktolap
drwxr-xr-x   5 urbanr   544             0 Jan 10 12:57 rsync-2.4.6
-rw-r--r--   1 urbanr   544        332253 Jan 10 12:55 rsync-2.4.6.tar.gz
-rw-r--r--   1 urbanr   544          7842 Jan 10 12:55 rsync-faq.txt
-rw-r--r--   1 urbanr   544         26942 Jan 10 12:55 rsync-manpage.txt
-rw-r--r--   1 urbanr   544          7319 Jan 10 12:55 rsync-readme.txt
-rwxr-xr-x   1 urbanr   544            76 Apr 12 17:42 rsyncd-desk
-rw-r--r--   1 urbanr   544           314 Jan 15 17:16 rsyncd-desk.cfg
-rw-r--r--   1 urbanr   544            18 Jan 15 16:42 rsyncd-desk.scr
-rw-r--r--   1 urbanr   544         19605 Jan 10 12:55 rsyncd_conf-manpage.txt
-rw-r--r--   1 urbanr   544            52 May  4 18:12 time-log.txt
-rw-r--r--   1 urbanr   544          3848 Jan 10 12:55 win95.txt

urbanr@PW-URBANR ~/rsync
$

If I type

urbanr@PW-URBANR ~/rsync
$ desk

and then hit TAB several times nothing happens, despite the fact that desktolap is executable and owned by me (nobody else uses my PC, anyway).

If, instead, I type 

urbanr@PW-URBANR ~/rsync
$ rsync

and then hit TAB twice the following is displayed

urbanr@PW-URBANR ~/rsync
$ rsync
rsync-2.4.6  rsync.exe

urbanr@PW-URBANR ~/rsync
$ rsync

The first item is a directory, the second is an executable within that directory. All the other entries are completely disregarded. However, if I use TAB completion for filenames passed as arguments to other applications, for example cat, then it works fine, as shown below:

urbanr@PW-URBANR ~/rsync
$ cat rsync
rsync-2.4.6              rsync-manpage.txt        rsyncd-desk.cfg
rsync-2.4.6.tar.gz       rsync-readme.txt         rsyncd-desk.scr
rsync-faq.txt            rsyncd-desk              rsyncd_conf-manpage.txt

urbanr@PW-URBANR ~/rsync
$ cat rsync

Any suggestion on what to do or any additional information you would like me to send?

Thanks a lot for your time.

Best regards.

ROBERTO URBAN - EMEA
Non-Subsidiary Business Partners
Symbol Technologies

Ext. -7206
Tel +44 (0)118 945 7206
Fax +44 (0)118 945 7400
roberto.urban@uk.symbol.com



This message has been checked for viruses.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]