public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* bash 2.05-3: completion
@ 2001-05-03  2:27 Frank-Michael Moser
  2001-05-03  3:08 ` Frank-Michael Moser
  0 siblings, 1 reply; 2+ messages in thread
From: Frank-Michael Moser @ 2001-05-03  2:27 UTC (permalink / raw)
  To: cygwin

Hi, 

it seems to me that tab completion for scripts is broken in 
bash 2.05-3. Suppose a script updatedb in /usr/local/bin.
Typing  "upd<TAB>" gives whether a completion nor alternatives.
Changing dir to /usr/local/bin and typing "./upd<TAB>" dito.

But copying /usr/local/bin/updatedb to /usr/local/bin/updatedb.exe
and typing "upd<TAB>" completes to updatedb.exe!?

This problem is not specific to updatedb or /usr/local/bin/.
I switched back to bash 2.05-3 and the problem is gone.

Frank-Michael

P.S. of course my scripts contain #!/bin/sh 
or #!/bin/bash as first line.
begin:vcard 
n:Moser;Frank-Michael
tel;work:+49-(0)3834-515230
x-mozilla-html:FALSE
url:www.decodon.com
org:DECODON GmbH
version:2.1
email;internet:moser@decodon.com
adr;quoted-printable:;;W.-Rathenau-Str. 49a=0D=0A;Greifswald;;17489;Germany
fn:Frank-Michael Moser
end:vcard

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bash 2.05-3: completion
  2001-05-03  2:27 bash 2.05-3: completion Frank-Michael Moser
@ 2001-05-03  3:08 ` Frank-Michael Moser
  0 siblings, 0 replies; 2+ messages in thread
From: Frank-Michael Moser @ 2001-05-03  3:08 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4404 bytes --]

> I switched back to bash 2.05-3 and the problem is gone.

Typo: I switched back to bash 2.05-2
BTW: I attached cygcheck -s


Frank-Michael

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Thu May  3 12:06:43 2001

WinNT Ver 5.0 build 2195 Service Pack 1

Path:	.
	/home/moser/scripts/cygwin
	/home/moser/scripts
	/home/moser/bin/cygwin
	/home/moser/bin
	/home/moser/work/bin
	.
	/usr/local/java/bin
	/usr/local/bin
	/usr/libexec
	/usr/bin
	/bin
	/usr/X11R6/bin
	/usr/bin/X11
	/cygdrive/c/WINNT/system32
	/cygdrive/c/WINNT
	/cygdrive/c/WINNT/System32/Wbem
	/usr/bin
	/cygdrive/c/Programme/system
	/cygdrive/c/Programme/Network Associates/PGPcmdln
	/cygdrive/c/DATALINK
	/usr/sbin
	//c/Programme/Netscape/Communicator/Program

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

PWD = `/home/moser/work'
USER = `moser'
MAKE_MODE = `unix'
HOME = `/home/moser'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  FAT32   4986Mb  65% CP    UN           
d:  hd  NTFS    5506Mb  33% CP CS UN PA FC     Lokaler Datenträger
e:  hd  NTFS    8565Mb  66% CP CS UN PA FC     
f:  cd  UDF     4066Mb 100%    CS UN           DVDVolume
u:  net NTFS   17240Mb  81% CP CS    PA        moser
v:  hd  NTFS    8565Mb  66% CP CS UN PA FC     
w:  net NTFS   17240Mb  81% CP CS    PA        decodon
x:  hd  NTFS    5506Mb  33% CP CS UN PA FC     Lokaler Datenträger
y:  hd  NTFS    8565Mb  66% CP CS UN PA FC     
z:  hd  NTFS    8565Mb  66% CP CS UN PA FC     

\\dagobert\moser\root\home  /home/dagobert  system  binmode
\\dagobert\cvsroot  /usr/local/cvsroot  system  binmode
D:\cygwin\bin  /usr/bin  system  textmode
D:\cygwin\lib  /usr/lib  system  textmode
D:\jdk\1.3.0  /usr/local/java  system  binmode
D:\cygwin  /        system  textmode
E:\home  /home    system  textmode
c:    /cygdrive/c  user    textmode,noumount
d:    /cygdrive/d  user    textmode,noumount
e:    /cygdrive/e  user    textmode,noumount
f:    /cygdrive/f  user    textmode,noumount
u:    /cygdrive/u  user    textmode,noumount
v:    /cygdrive/v  user    textmode,noumount
w:    /cygdrive/w  user    textmode,noumount
x:    /cygdrive/x  user    textmode,noumount
y:    /cygdrive/y  user    textmode,noumount
z:    /cygdrive/z  user    textmode,noumount

Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\usr\local\bin\find.exe
Found: D:\cygwin\bin\find.exe
Found: D:\cygwin\bin\gcc.exe
Found: D:\cygwin\bin\gdb.exe
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: D:\cygwin\bin\make.exe
Found: D:\cygwin\bin\sh.exe

   56k 2000/12/03 D:\cygwin\bin\cygbz21.0.dll
   45k 2001/04/25 D:\cygwin\bin\cygform5.dll
   18k 2000/10/23 D:\cygwin\bin\cyggdbm.dll
   17k 2001/01/07 D:\cygwin\bin\cyghistory4.dll
   14k 2000/10/23 D:\cygwin\bin\cygintl.dll
   81k 2001/04/28 D:\cygwin\bin\cygitcl30.dll
   35k 2001/04/28 D:\cygwin\bin\cygitk30.dll
   45k 2000/10/22 D:\cygwin\bin\cygjbig1.dll
  119k 2000/10/23 D:\cygwin\bin\cygjpeg6b.dll
   26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll
  156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll
  226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll
   15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll
  163k 2001/02/03 D:\cygwin\bin\cygpng2.dll
  108k 2001/01/07 D:\cygwin\bin\cygreadline4.dll
  390k 2001/04/28 D:\cygwin\bin\cygtcl80.dll
    5k 2001/04/28 D:\cygwin\bin\cygtclpip80.dll
   10k 2001/04/28 D:\cygwin\bin\cygtclreg80.dll
  243k 2000/10/23 D:\cygwin\bin\cygtiff3.dll
  623k 2001/04/28 D:\cygwin\bin\cygtk80.dll
   41k 2000/11/20 D:\cygwin\bin\cygXpm-noX4.dll
   45k 2000/11/20 D:\cygwin\bin\cygXpm-X4.dll
   49k 2001/02/03 D:\cygwin\bin\cygz.dll
  631k 2001/04/25 D:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        dll major: 1003
        dll minor: 1
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 38
        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: Tue Apr 24 20:01:02 EDT 2001
        shared id: cygwin1S3

Use -h to see help about each section

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-03  3:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-03  2:27 bash 2.05-3: completion Frank-Michael Moser
2001-05-03  3:08 ` Frank-Michael Moser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).