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]
Other format: [Raw text]

Tab completion of exes - what am I doing wrong?


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"

If I do "g<tab><tab>", (to get a list of completions) however, I get some options, including grpconv.exe, for example.

Everything else seems to be working normally, including sshd, crond, aliases, and perl. I've checked the mail list archives to no avail. All the posts I see seem to imply that security is set up incorrectly for the folks having trouble. I'm in a domain, and have done "mkpasswd -d | grep jkdufair >> /etc/passwd" and changed my gid to 503. I've also done "mkgroup -d >> /etc/group". It would seem that something is wrong with my path, but "echo $PATH" gives me

/home/jkdufair/bin:/usr/local/bin:/usr/bin:/bin:/c/oracle/ora81/bin:/c/Program Files/Oracle/jre/1.1.7/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/WINNT/system32/nls:/c/WINNT/system32/nls/
ENGLISH:Z:.:Y:.:.

and if I even set my path explicitly with "export PATH=/home/jkdufair/bin:/usr/local/bin:/usr/bin:/bin", I still get no tab completion. I can, however execute things *in* my path (that aren't in the current dir).

My .profile contains:
# Easy "Explorer Here" command
x()
{
cygstart --explore ${1:-.}
}

alias ll='ls -al --color=auto'
alias gc='gnuclientw'
PATH=/home/jkdufair/bin:$PATH

and my .bashrc just sources my .profile

See my cygcheck below for more details. Thanks for any insights!

jkdufair@ITAP-01053 ~
$ cygcheck -sv

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Sep 06 09:32:25 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

Path: C:\progra~1\cygwin\home\jkdufair\bin
C:\progra~1\cygwin\usr\local\bin
C:\progra~1\cygwin\bin
C:\progra~1\cygwin\bin
c:\oracle\ora81\bin
c:\Program Files\Oracle\jre\1.1.7\bin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\WINNT\system32\nls
c:\WINNT\system32\nls\ENGLISH
Z
.
Y
.
.

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `ntsec tty binmode'
HOME = `C:\progra~1\cygwin\home\jkdufair'
MAKE_MODE = `unix'
PWD = `/home/jkdufair'
USER = `jkdufair'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\jkdufair\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `ITAP-01053'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\'
LOGONSERVER = `\\NTS-01'
MANPATH = `:/usr/ssl/man'
NALRUN = `no'
NUMBER_OF_PROCESSORS = `1'
NWLANGUAGE = `English'
NWUSERNAME = `jkdufair'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 1 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `0102'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SMSCLIENT = `yes'
SMS_LOCAL_DIR = `C:\WINNT'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\jkdufair\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\jkdufair\LOCALS~1\Temp'
USERDOMAIN = `ADMIN_DOMAIN'
USERNAME = `jkdufair'
USERPROFILE = `C:\Documents and Settings\jkdufair'
WINDIR = `C:\WINNT'
WINDOWS_LOGIN = `0'
_ = `/usr/bin/cygcheck'

Use `-r' to scan registry

a: fd N/A N/A
c: hd NTFS 38162Mb 23% CP CS UN PA FC
d: cd N/A N/A
h: hd NTFS 38162Mb 23% CP CS UN PA FC
i: net NWFS 49999Mb 100% CP VPSS
n: net NWFS 141834Mb 95% CP VOL1
o: net NWFS 141834Mb 95% CP VOL1
p: net NWFS 141834Mb 95% CP VOL1
r: net NWFS 141834Mb 95% CP VOL1
s: net NWFS 141834Mb 95% CP VOL1
y: net NWFS 976Mb 54% CP FC SYS
z: net NWFS 4972Mb 27% CP FC SYS

. / user binmode,cygdrive
C:\progra~1\cygwin / system binmode
C:\progra~1\cygwin/bin /usr/bin system binmode
C:\progra~1\cygwin/lib /usr/lib system binmode
. / user binmode,cygdrive

Found: C:\progra~1\cygwin\bin\bash.exe
Found: C:\progra~1\cygwin\bin\cat.exe
Not Found: cpp (good!)
Found: C:\progra~1\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Not Found: ld
Found: C:\progra~1\cygwin\bin\ls.exe
Not Found: make
Found: C:\progra~1\cygwin\bin\sh.exe

58k 2002/05/07 C:\progra~1\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2002/5/7 1:33
625k 2002/08/09 C:\progra~1\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto.dll" v0.0 ts=2002/8/9 15:20
45k 2001/04/25 C:\progra~1\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/25 0:28
35k 2002/01/09 C:\progra~1\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/9 1:03
19k 2002/02/20 C:\progra~1\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002/2/19 22:05
17k 2001/06/28 C:\progra~1\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/6 23:34
20k 2002/07/17 C:\progra~1\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2002/7/17 16:18
929k 2002/06/24 C:\progra~1\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2002/6/24 13:24
22k 2001/12/13 C:\progra~1\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 4:28
23k 2002/06/24 C:\progra~1\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2002/6/23 23:54
21k 2001/06/20 C:\progra~1\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/20 12:09
26k 2001/04/25 C:\progra~1\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/25 0:27
20k 2002/01/09 C:\progra~1\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/9 1:03
156k 2001/04/25 C:\progra~1\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/25 0:29
175k 2002/01/09 C:\progra~1\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/9 1:03
226k 2001/04/25 C:\progra~1\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/25 0:17
202k 2002/01/09 C:\progra~1\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/9 1:03
15k 2001/04/25 C:\progra~1\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/25 0:27
12k 2002/01/09 C:\progra~1\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/9 1:03
40k 2001/11/21 C:\progra~1\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2001/11/21 17:15
39k 2001/11/21 C:\progra~1\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix.dll" v0.0 ts=2001/11/21 17:15
179k 2002/07/22 C:\progra~1\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
"cygpng12.dll" v0.0 ts=2002/7/22 11:03
22k 2002/06/09 C:\progra~1\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/9 0:45
108k 2001/06/28 C:\progra~1\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/6 23:34
127k 2002/07/17 C:\progra~1\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2002/7/17 16:18
159k 2002/08/09 C:\progra~1\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
"cygssl.dll" v0.0 ts=2002/8/9 15:20
50k 2002/03/12 C:\progra~1\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2002/3/11 23:38
883k 2002/07/06 C:\progra~1\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2002/7/6 1:16
Cygwin DLL version info:
DLL version: 1.3.12
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 54
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix:
Build date: Sat Jul 6 02:16:58 EDT 2002
CVS tag: cygwin-1-3-12-1
Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: H:\tmp
Last downloaded files from: ftp://ftp.sunsite.utk.edu/pub/cygwin

Package Version
_update-info-dir 00059-1
ash 20020731-1
bash 2.05b-3
bzip2 1.0.2-2
cron 3.0.1-7
ctags 5.2-1
cygrunsrv 0.95-1
cygutils 1.1.2-1
cygwin 1.3.12-4
cygwin-doc 1.1-2
diff 1.0-1
diffutils 2.8.1-1
fileutils 4.1-1
findutils 4.1.7-4
gawk 3.1.1-2
gdbm 1.8.0-4
ghostscript 7.05-1
ghostscript-base 7.05-1
gnupg 1.0.7-3
grep 2.5-1
groff 1.17.2-1
gzip 1.3.3-4
keychain 1.9-1
less 374-1
libbz2_1 1.0.2-2
libiconv2 1.8-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.11.2-2
libncurses5 5.2-1
libncurses6 5.2-8
libpng12 1.2.4-2
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-1
links 0.96-1
login 1.4-4
lynx 2.8.4-1
man 1.5g-2
ncftp 3.1.4-1
ncurses 5.2-8
newlib-man 20020801
openssh 3.4p1-5
openssl 0.9.6g-1
pcre 3.7-1
perl 5.6.1-2
perl_manpages 5.8.0-1
readline 4.3-1
sed 3.02-1
sh-utils 2.0-2
shutdown 1.2-2
ssmtp 2.38.7-3
tar 1.13.19-1
termcap 20020403-1
terminfo 5.2-3
texinfo 4.2-3
textutils 2.0.21-1
unzip 5.50-1
vim 6.1-2
wget 1.8.2-1
which 1.5-1
whois 4.5.17-1
zip 2.3-2
zlib 1.1.4-1

Use -h to see help about each section

--
Jason Dufair - jase@dufair.org
http://www.dufair.org/
"In matters of style, swim with the current; in matters of principle, stand like a rock."
-- Thomas Jefferson



--
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/


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