delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/08/11:46:56

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <saf80580.086@mailgw01.uk.symbol.com>
X-Mailer: Novell GroupWise Internet Agent 5.5.5.1
Date: Tue, 08 May 2001 14:40:51 +0100
From: "Roberto Urban - EMEA" <roberto DOT urban AT uk DOT symbol DOT com>
To: <cygwin AT cygwin DOT com>
Subject: TAB Completion Not Working
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id LAA21937

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 AT PW-URBANR ~
$ pwd
/home/urbanr

urbanr AT 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 AT PW-URBANR ~
$ bash --version
GNU bash, version 2.05.0(5)-release (i686-pc-cygwin)
Copyright 2000 Free Software Foundation, Inc.

urbanr AT PW-URBANR ~
$

and mount information

urbanr AT 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 AT PW-URBANR ~
$

Let's start with the home directory:

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

urbanr AT PW-URBANR ~
$ cd rs

Hitting TAB will produce the right input:

urbanr AT PW-URBANR ~
$ cd rsync/

The next phase is less satisfactory:

urbanr AT 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 AT PW-URBANR ~/rsync
$

If I type

urbanr AT 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 AT PW-URBANR ~/rsync
$ rsync

and then hit TAB twice the following is displayed

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

urbanr AT 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 AT 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 AT 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 DOT urban AT uk DOT symbol DOT com



This message has been checked for viruses.

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019