public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [ANNOUNCEMENT] Updated: bash-2.05-4
@ 2001-05-03  7:39 Corinna Vinschen
  2001-05-03  8:56 ` Frank-Michael Moser
  0 siblings, 1 reply; 15+ messages in thread
From: Corinna Vinschen @ 2001-05-03  7:39 UTC (permalink / raw)
  To: cygwin

I've updated the version of bash in cygwin/latest to 2.05-4.

This version contains an additional patch by Chet Ramey to
solve the `bash -i' misbehaviour in scripts.

To update your installation, click on the "Install Cygwin now" link on
the http://cygwin.com web page.  This downloads setup.exe to your system.

Run setup and answer all of the questions.  The mirrors below have the
latest version of this package:

ftp://ftp.sunsite.utk.edu/pub/cygwin/ (US)
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus
(Germany)
ftp://ftp.mirror.ac.uk/sites/sourceware.cygnus.com/pub/cygwin/ (UK)

Note that if this is the first time that you've run the new GUI version
of setup, it will currently download the whole cygwin net release again.
After this point it will only download what is needed.

If you have questions or comments, please send them to the Cygwin
mailing list at:  cygwin@cygwin.com .  I would appreciate if you would
use this mailing list rather than emailing me directly.  This includes
ideas and comments about the setup utility or Cygwin in general.

If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

              *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***

If you want to unsubscribe to the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:

cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.


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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03  7:39 [ANNOUNCEMENT] Updated: bash-2.05-4 Corinna Vinschen
@ 2001-05-03  8:56 ` Frank-Michael Moser
  2001-05-03  9:22   ` Corinna Vinschen
  0 siblings, 1 reply; 15+ messages in thread
From: Frank-Michael Moser @ 2001-05-03  8:56 UTC (permalink / raw)
  To: cygwin

The problem described in thread "bash 2.05-3: completion"
resists, in bash-2.05-4, too: completion only shows *.exe 
and builtins.

Frank-Michael.


Corinna Vinschen wrote:
> 
> I've updated the version of bash in cygwin/latest to 2.05-4.
> 
> This version contains an additional patch by Chet Ramey to
> solve the `bash -i' misbehaviour in scripts.
> 
> To update your installation, click on the "Install Cygwin now" link on
> the http://cygwin.com web page.  This downloads setup.exe to your system.
> 
> Run setup and answer all of the questions.  The mirrors below have the
> latest version of this package:
> 
> ftp://ftp.sunsite.utk.edu/pub/cygwin/ (US)
> ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/mirrors/cygnus
> (Germany)
> ftp://ftp.mirror.ac.uk/sites/sourceware.cygnus.com/pub/cygwin/ (UK)
> 
> Note that if this is the first time that you've run the new GUI version
> of setup, it will currently download the whole cygwin net release again.
> After this point it will only download what is needed.
> 
> If you have questions or comments, please send them to the Cygwin
> mailing list at:  cygwin@cygwin.com .  I would appreciate if you would
> use this mailing list rather than emailing me directly.  This includes
> ideas and comments about the setup utility or Cygwin in general.
> 
> If you want to make a point or ask a question the Cygwin mailing list is
> the appropriate place.
> 
>               *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO ***
> 
> If you want to unsubscribe to the cygwin-announce mailing list, look
> at the "List-Unsubscribe: " tag in the email header of this message.
> Send email to the address specified there.  It will be in the format:
> 
> cygwin-announce-unsubscribe-you=yourdomain.com@cygwin.com
> 
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
------------------------------------------------------------
DECODON GmbH                        phone: +49(0)3834 515230
W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
17489 Greifswald                    email: moser@decodon.com
Germany                               web:   www.decodon.com
------------------------------------------------------------

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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03  8:56 ` Frank-Michael Moser
@ 2001-05-03  9:22   ` Corinna Vinschen
  2001-05-03  9:58     ` Earnie Boyd
                       ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Corinna Vinschen @ 2001-05-03  9:22 UTC (permalink / raw)
  To: cygwin

On Thu, May 03, 2001 at 05:56:33PM +0200, Frank-Michael Moser wrote:
> The problem described in thread "bash 2.05-3: completion"
> resists, in bash-2.05-4, too: completion only shows *.exe 
> and builtins.

I'm pretty sure it's a user error. I have just tried to
use bash's completion to complete my script called `kssh'
by typing ks<TAB> and it worked as expected, both, with
-3 and -4.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03  9:22   ` Corinna Vinschen
@ 2001-05-03  9:58     ` Earnie Boyd
  2001-05-03 10:41       ` Frank-Michael Moser
  2001-05-03 10:00     ` Frank-Michael Moser
  2001-05-03 11:08     ` Frank-Michael Moser
  2 siblings, 1 reply; 15+ messages in thread
From: Earnie Boyd @ 2001-05-03  9:58 UTC (permalink / raw)
  To: Corinna Vinschen

Corinna Vinschen wrote:
> 
> On Thu, May 03, 2001 at 05:56:33PM +0200, Frank-Michael Moser wrote:
> > The problem described in thread "bash 2.05-3: completion"
> > resists, in bash-2.05-4, too: completion only shows *.exe
> > and builtins.
> 
> I'm pretty sure it's a user error. I have just tried to
> use bash's completion to complete my script called `kssh'
> by typing ks<TAB> and it worked as expected, both, with
> -3 and -4.
> 

Thanks for confirming this Corinna.  Perhaps Frank-Michael has a problem
with the ~/.inputrc file?

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03  9:22   ` Corinna Vinschen
  2001-05-03  9:58     ` Earnie Boyd
@ 2001-05-03 10:00     ` Frank-Michael Moser
  2001-05-03 11:08     ` Frank-Michael Moser
  2 siblings, 0 replies; 15+ messages in thread
From: Frank-Michael Moser @ 2001-05-03 10:00 UTC (permalink / raw)
  To: cygwin

But so I wonder why exctracting bash2.05-2.tar.gz makes
the problem disappear at once while exctracting bash2.05-3/4.tar.gz 
lets the problem come up where I did not change anything else?

Frank-Michael


Corinna Vinschen wrote:
> 
> On Thu, May 03, 2001 at 05:56:33PM +0200, Frank-Michael Moser wrote:
> > The problem described in thread "bash 2.05-3: completion"
> > resists, in bash-2.05-4, too: completion only shows *.exe
> > and builtins.
> 
> I'm pretty sure it's a user error. I have just tried to
> use bash's completion to complete my script called `kssh'
> by typing ks<TAB> and it worked as expected, both, with
> -3 and -4.
> 
> Corinna
> 
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
------------------------------------------------------------
DECODON GmbH                        phone: +49(0)3834 515230
W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
17489 Greifswald                    email: moser@decodon.com
Germany                               web:   www.decodon.com
------------------------------------------------------------

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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03  9:58     ` Earnie Boyd
@ 2001-05-03 10:41       ` Frank-Michael Moser
  0 siblings, 0 replies; 15+ messages in thread
From: Frank-Michael Moser @ 2001-05-03 10:41 UTC (permalink / raw)
  To: Cygwin Users

This I read in the news file of the bash2.05-3 release.

c.  `complete' and `compgen' now take a `-o value' option, 
which controls some of the aspects of that compspec.  
Valid values are:

 default - perform bash default completion if programmable
           completion produces no matches
 dirnames - perform directory name completion if programmable
            completion produces no matches
 filenames - tell readline that the compspec produces filenames,
             so it can do things like append slashes to
             directory names and suppress trailing spaces

Probably these changes could cause my problem. Mayby the effect 
only occurs under some circumstances. 

Beside this I use the complete-builtin in my .bashrc, too:

  complete -df -W \
    "add admin annotate checkout commit diff \
     edit editors export history import init \
     log login rdiff release remove rtag \
     status tag unedit update watch)" cvs
  complete -A helptopic help
  complete -c which
  complete -fc .

If you are interested in evaluating this issue I would like to help
you by giving needed information to you.

Otherwise I will wait and hope, that the problem goes away with
version 2.xy-z.

Frank-Michael.


Earnie Boyd wrote:
> 
> Corinna Vinschen wrote:
> >
> > On Thu, May 03, 2001 at 05:56:33PM +0200, Frank-Michael Moser wrote:
> > > The problem described in thread "bash 2.05-3: completion"
> > > resists, in bash-2.05-4, too: completion only shows *.exe
> > > and builtins.
> >
> > I'm pretty sure it's a user error. I have just tried to
> > use bash's completion to complete my script called `kssh'
> > by typing ks<TAB> and it worked as expected, both, with
> > -3 and -4.
> >
> 
> Thanks for confirming this Corinna.  Perhaps Frank-Michael has a problem
> with the ~/.inputrc file?
> 
> Earnie.
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
------------------------------------------------------------
DECODON GmbH                        phone: +49(0)3834 515230
W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
17489 Greifswald                    email: moser@decodon.com
Germany                               web:   www.decodon.com
------------------------------------------------------------

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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03  9:22   ` Corinna Vinschen
  2001-05-03  9:58     ` Earnie Boyd
  2001-05-03 10:00     ` Frank-Michael Moser
@ 2001-05-03 11:08     ` Frank-Michael Moser
  2001-05-03 12:35       ` Corinna Vinschen
  2001-05-03 13:06       ` Larry Hall (RFK Partners, Inc)
  2 siblings, 2 replies; 15+ messages in thread
From: Frank-Michael Moser @ 2001-05-03 11:08 UTC (permalink / raw)
  To: Corinna Vinschen

I just saw, that it is no question of being *.exe, script or builtin.
Here is a listing of my bin directory and you see cvsrelease as
executable:

moser@FMM ~/bin
$ l
total 19
-rwx------   1 544      Kein           37 Apr 10 15:13 beep*
-rwx------   1 544      Kein          859 Apr 10 15:13 completejava*
-rwx------   1 544      Kein          241 Apr 10 15:13 contains*
-rwx------   1 544      Kein          215 Apr 17 15:55 cvs-status*
-rwx------   1 544      Kein          666 Apr 17 19:28 cvsrelease*
-rwx------   1 544      Kein          760 Apr 10 15:13 jai*
-rwx------   1 544      Kein          504 Apr 25 22:42 jedit*

Here is the output of cvs<TAB>

moser@FMM ~/bin
$ cvs
cvs-status  cvs.exe     cvsedit     cvsunlock

Looks strange...?!

Typing ./cvs<TAB> then gives a completion:

moser@FMM ~/bin
$ ./cvs-status

Only command completion suffers, file completion works, 
cat "cvs<TAB>" gives:

moser@FMM ~/bin
$ cat cvs
cvs-status  cvsrelease

Both scripts start with #!/bin/bash

What a kind of user-problem should this be ?


Frank-Michael.



Corinna Vinschen wrote:
> 
> On Thu, May 03, 2001 at 05:56:33PM +0200, Frank-Michael Moser wrote:
> > The problem described in thread "bash 2.05-3: completion"
> > resists, in bash-2.05-4, too: completion only shows *.exe
> > and builtins.
> 
> I'm pretty sure it's a user error. I have just tried to
> use bash's completion to complete my script called `kssh'
> by typing ks<TAB> and it worked as expected, both, with
> -3 and -4.
> 
> Corinna
> 
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
------------------------------------------------------------
DECODON GmbH                        phone: +49(0)3834 515230
W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
17489 Greifswald                    email: moser@decodon.com
Germany                               web:   www.decodon.com
------------------------------------------------------------

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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03 11:08     ` Frank-Michael Moser
@ 2001-05-03 12:35       ` Corinna Vinschen
  2001-05-03 15:12         ` Frank-Michael Moser
  2001-05-03 13:06       ` Larry Hall (RFK Partners, Inc)
  1 sibling, 1 reply; 15+ messages in thread
From: Corinna Vinschen @ 2001-05-03 12:35 UTC (permalink / raw)
  To: cygwin

On Thu, May 03, 2001 at 08:08:48PM +0200, Frank-Michael Moser wrote:
> I just saw, that it is no question of being *.exe, script or builtin.
> Here is a listing of my bin directory and you see cvsrelease as
> executable:
> 
> moser@FMM ~/bin
> $ l
> total 19
> -rwx------   1 544      Kein           37 Apr 10 15:13 beep*
> -rwx------   1 544      Kein          859 Apr 10 15:13 completejava*
> -rwx------   1 544      Kein          241 Apr 10 15:13 contains*
> -rwx------   1 544      Kein          215 Apr 17 15:55 cvs-status*
> -rwx------   1 544      Kein          666 Apr 17 19:28 cvsrelease*
> -rwx------   1 544      Kein          760 Apr 10 15:13 jai*
> -rwx------   1 544      Kein          504 Apr 25 22:42 jedit*
> 
> Here is the output of cvs<TAB>
> 
> moser@FMM ~/bin
> $ cvs
> cvs-status  cvs.exe     cvsedit     cvsunlock
> 
> Looks strange...?!
> 
> Typing ./cvs<TAB> then gives a completion:
> 
> moser@FMM ~/bin
> $ ./cvs-status
> 
> Only command completion suffers, file completion works, 
> cat "cvs<TAB>" gives:
> 
> moser@FMM ~/bin
> $ cat cvs
> cvs-status  cvsrelease
> 
> Both scripts start with #!/bin/bash
> 
> What a kind of user-problem should this be ?

The reason is probably that you are neither the owner of the files
nor is the x bit set for group or everyone. Change that by calling
chmod 755 or chown <yourName> for the files, call `hash -r' and try
completion again.

I just checked that by changing the permissions of my `kssh' script
so that I have no execute permissions.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03 11:08     ` Frank-Michael Moser
  2001-05-03 12:35       ` Corinna Vinschen
@ 2001-05-03 13:06       ` Larry Hall (RFK Partners, Inc)
  1 sibling, 0 replies; 15+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-05-03 13:06 UTC (permalink / raw)
  To: Frank-Michael Moser, Corinna Vinschen

I think you will find this is a user-error.  bash has always searched my
path for commands.  YMMV but I believe this is considered a feature rather
than a bug...

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


At 02:08 PM 5/3/2001, Frank-Michael Moser wrote:
>I just saw, that it is no question of being *.exe, script or builtin.
>Here is a listing of my bin directory and you see cvsrelease as
>executable:
>
>moser@FMM ~/bin
>$ l
>total 19
>-rwx------   1 544      Kein           37 Apr 10 15:13 beep*
>-rwx------   1 544      Kein          859 Apr 10 15:13 completejava*
>-rwx------   1 544      Kein          241 Apr 10 15:13 contains*
>-rwx------   1 544      Kein          215 Apr 17 15:55 cvs-status*
>-rwx------   1 544      Kein          666 Apr 17 19:28 cvsrelease*
>-rwx------   1 544      Kein          760 Apr 10 15:13 jai*
>-rwx------   1 544      Kein          504 Apr 25 22:42 jedit*
>
>Here is the output of cvs<TAB>
>
>moser@FMM ~/bin
>$ cvs
>cvs-status  cvs.exe     cvsedit     cvsunlock
>
>Looks strange...?!
>
>Typing ./cvs<TAB> then gives a completion:
>
>moser@FMM ~/bin
>$ ./cvs-status
>
>Only command completion suffers, file completion works, 
>cat "cvs<TAB>" gives:
>
>moser@FMM ~/bin
>$ cat cvs
>cvs-status  cvsrelease
>
>Both scripts start with #!/bin/bash
>
>What a kind of user-problem should this be ?
>
>
>Frank-Michael.
>
>
>
>Corinna Vinschen wrote:
> > 
> > On Thu, May 03, 2001 at 05:56:33PM +0200, Frank-Michael Moser wrote:
> > > The problem described in thread "bash 2.05-3: completion"
> > > resists, in bash-2.05-4, too: completion only shows *.exe
> > > and builtins.
> > 
> > I'm pretty sure it's a user error. I have just tried to
> > use bash's completion to complete my script called `kssh'
> > by typing ks<TAB> and it worked as expected, both, with
> > -3 and -4.
> > 
> > Corinna
> > 
> > --
> > Corinna Vinschen                  Please, send mails regarding Cygwin to
> > Cygwin Developer                                mailto:cygwin@cygwin.com
> > Red Hat, Inc.
> > 
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>-- 
>------------------------------------------------------------
>DECODON GmbH                        phone: +49(0)3834 515230
>W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
>17489 Greifswald                    email: moser@decodon.com
>Germany                               web:   www.decodon.com
>------------------------------------------------------------
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple


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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03 12:35       ` Corinna Vinschen
@ 2001-05-03 15:12         ` Frank-Michael Moser
  2001-05-03 15:20           ` Earnie Boyd
                             ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Frank-Michael Moser @ 2001-05-03 15:12 UTC (permalink / raw)
  To: Corinna Vinschen

[Hope this msg doesn't come 2x, had mail problems]

I really wanted believe that's it, but sorry I must disappoint you.
544 is administrator who I am. But I changed owner to moser and 
rehashed. Here come the listings with CYGWIN="" and CYGWIN=ntsec.
... and the problem resists!

moser@FMM ~/bin
$ l
total 19
-rwxr-xr-x   1 moser    Kein           37 Apr 10 15:13 beep*
-rwxr-xr-x   1 moser    Kein          859 Apr 10 15:13 completejava*
-rwxr-xr-x   1 moser    Kein          241 Apr 10 15:13 contains*
-rwxr-xr-x   1 moser    Kein          215 Apr 17 15:55 cvs-status*
-rwxr-xr-x   1 moser    Kein          666 Apr 17 19:28 cvsrelease*

moser@FMM ~/bin
$ cvs
cvs-status  cvs.exe     cvsedit     cvsunlock

Now I try NT security:

moser@FMM ~/bin
$ export CYGWIN=ntsec

moser@FMM ~/bin
$ l
total 19
-rwx------   1 544      Kein           37 Apr 10 15:13 beep*
-rwx------   1 544      Kein          859 Apr 10 15:13 completejava*
-rwx------   1 544      Kein          241 Apr 10 15:13 contains*
-rwx------   1 moser    Kein          215 Apr 17 15:55 cvs-status*
-rwx------   1 moser    Kein          666 Apr 17 19:28 cvsrelease*

moser@FMM ~/bin
$ cvs
cvs-status  cvs.exe     cvsedit     cvsunlock


Frank-Michael.

Corinna Vinschen wrote:
> 
> On Thu, May 03, 2001 at 08:08:48PM +0200, Frank-Michael Moser wrote:
> > I just saw, that it is no question of being *.exe, script or builtin.
> > Here is a listing of my bin directory and you see cvsrelease as
> > executable:
> >
> > moser@FMM ~/bin
> > $ l
> > total 19
> > -rwx------   1 544      Kein           37 Apr 10 15:13 beep*
> > -rwx------   1 544      Kein          859 Apr 10 15:13 completejava*
> > -rwx------   1 544      Kein          241 Apr 10 15:13 contains*
> > -rwx------   1 544      Kein          215 Apr 17 15:55 cvs-status*
> > -rwx------   1 544      Kein          666 Apr 17 19:28 cvsrelease*
> > -rwx------   1 544      Kein          760 Apr 10 15:13 jai*
> > -rwx------   1 544      Kein          504 Apr 25 22:42 jedit*
> >
> > Here is the output of cvs<TAB>
> >
> > moser@FMM ~/bin
> > $ cvs
> > cvs-status  cvs.exe     cvsedit     cvsunlock
> >
> > Looks strange...?!
> >
> > Typing ./cvs<TAB> then gives a completion:
> >
> > moser@FMM ~/bin
> > $ ./cvs-status
> >
> > Only command completion suffers, file completion works,
> > cat "cvs<TAB>" gives:
> >
> > moser@FMM ~/bin
> > $ cat cvs
> > cvs-status  cvsrelease
> >
> > Both scripts start with #!/bin/bash
> >
> > What a kind of user-problem should this be ?
> 
> The reason is probably that you are neither the owner of the files
> nor is the x bit set for group or everyone. Change that by calling
> chmod 755 or chown <yourName> for the files, call `hash -r' and try
> completion again.
> 
> I just checked that by changing the permissions of my `kssh' script
> so that I have no execute permissions.
> 
> Corinna
> 
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Developer                                mailto:cygwin@cygwin.com
> Red Hat, Inc.
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
------------------------------------------------------------
DECODON GmbH                        phone: +49(0)3834 515230
W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
17489 Greifswald                    email: moser@decodon.com
Germany                               web:   www.decodon.com
------------------------------------------------------------

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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03 15:12         ` Frank-Michael Moser
@ 2001-05-03 15:20           ` Earnie Boyd
  2001-05-03 15:21           ` Larry Hall (RFK Partners, Inc)
  2001-05-04  0:57           ` Corinna Vinschen
  2 siblings, 0 replies; 15+ messages in thread
From: Earnie Boyd @ 2001-05-03 15:20 UTC (permalink / raw)
  To: Frank-Michael Moser; +Cc: Corinna Vinschen

Frank-Michael Moser wrote:
> 
> Now I try NT security:
> 
> moser@FMM ~/bin
> $ export CYGWIN=ntsec
> 

The value of the CYGWIN environment variable must be set before starting
*ANY* Cygwin process.  I.E.: There cannot be any process that has the
cygwin1.dll open.

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03 15:12         ` Frank-Michael Moser
  2001-05-03 15:20           ` Earnie Boyd
@ 2001-05-03 15:21           ` Larry Hall (RFK Partners, Inc)
  2001-05-04  0:47             ` Frank-Michael Moser
  2001-05-04  0:57           ` Corinna Vinschen
  2 siblings, 1 reply; 15+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2001-05-03 15:21 UTC (permalink / raw)
  To: Frank-Michael Moser, Corinna Vinschen

Does it work differently if you unset the complete option?
Does it work differently on Linux?

Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX



At 06:12 PM 5/3/2001, Frank-Michael Moser wrote:
>[Hope this msg doesn't come 2x, had mail problems]
>
>I really wanted believe that's it, but sorry I must disappoint you.
>544 is administrator who I am. But I changed owner to moser and 
>rehashed. Here come the listings with CYGWIN="" and CYGWIN=ntsec.
>... and the problem resists!
>
>moser@FMM ~/bin
>$ l
>total 19
>-rwxr-xr-x   1 moser    Kein           37 Apr 10 15:13 beep*
>-rwxr-xr-x   1 moser    Kein          859 Apr 10 15:13 completejava*
>-rwxr-xr-x   1 moser    Kein          241 Apr 10 15:13 contains*
>-rwxr-xr-x   1 moser    Kein          215 Apr 17 15:55 cvs-status*
>-rwxr-xr-x   1 moser    Kein          666 Apr 17 19:28 cvsrelease*
>
>moser@FMM ~/bin
>$ cvs
>cvs-status  cvs.exe     cvsedit     cvsunlock
>
>Now I try NT security:
>
>moser@FMM ~/bin
>$ export CYGWIN=ntsec
>
>moser@FMM ~/bin
>$ l
>total 19
>-rwx------   1 544      Kein           37 Apr 10 15:13 beep*
>-rwx------   1 544      Kein          859 Apr 10 15:13 completejava*
>-rwx------   1 544      Kein          241 Apr 10 15:13 contains*
>-rwx------   1 moser    Kein          215 Apr 17 15:55 cvs-status*
>-rwx------   1 moser    Kein          666 Apr 17 19:28 cvsrelease*
>
>moser@FMM ~/bin
>$ cvs
>cvs-status  cvs.exe     cvsedit     cvsunlock
>
>
>Frank-Michael.
>
>Corinna Vinschen wrote:
> > 
> > On Thu, May 03, 2001 at 08:08:48PM +0200, Frank-Michael Moser wrote:
> > > I just saw, that it is no question of being *.exe, script or builtin.
> > > Here is a listing of my bin directory and you see cvsrelease as
> > > executable:
> > >
> > > moser@FMM ~/bin
> > > $ l
> > > total 19
> > > -rwx------   1 544      Kein           37 Apr 10 15:13 beep*
> > > -rwx------   1 544      Kein          859 Apr 10 15:13 completejava*
> > > -rwx------   1 544      Kein          241 Apr 10 15:13 contains*
> > > -rwx------   1 544      Kein          215 Apr 17 15:55 cvs-status*
> > > -rwx------   1 544      Kein          666 Apr 17 19:28 cvsrelease*
> > > -rwx------   1 544      Kein          760 Apr 10 15:13 jai*
> > > -rwx------   1 544      Kein          504 Apr 25 22:42 jedit*
> > >
> > > Here is the output of cvs<TAB>
> > >
> > > moser@FMM ~/bin
> > > $ cvs
> > > cvs-status  cvs.exe     cvsedit     cvsunlock
> > >
> > > Looks strange...?!
> > >
> > > Typing ./cvs<TAB> then gives a completion:
> > >
> > > moser@FMM ~/bin
> > > $ ./cvs-status
> > >
> > > Only command completion suffers, file completion works,
> > > cat "cvs<TAB>" gives:
> > >
> > > moser@FMM ~/bin
> > > $ cat cvs
> > > cvs-status  cvsrelease
> > >
> > > Both scripts start with #!/bin/bash
> > >
> > > What a kind of user-problem should this be ?
> > 
> > The reason is probably that you are neither the owner of the files
> > nor is the x bit set for group or everyone. Change that by calling
> > chmod 755 or chown <yourName> for the files, call `hash -r' and try
> > completion again.
> > 
> > I just checked that by changing the permissions of my `kssh' script
> > so that I have no execute permissions.
> > 
> > Corinna
> > 
> > --
> > Corinna Vinschen                  Please, send mails regarding Cygwin to
> > Cygwin Developer                                mailto:cygwin@cygwin.com
> > Red Hat, Inc.
> > 
> > --
> > Want to unsubscribe from this list?
> > Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>-- 
>------------------------------------------------------------
>DECODON GmbH                        phone: +49(0)3834 515230
>W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
>17489 Greifswald                    email: moser@decodon.com
>Germany                               web:   www.decodon.com
>------------------------------------------------------------
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple


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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03 15:21           ` Larry Hall (RFK Partners, Inc)
@ 2001-05-04  0:47             ` Frank-Michael Moser
  2001-05-04  1:04               ` Corinna Vinschen
  0 siblings, 1 reply; 15+ messages in thread
From: Frank-Michael Moser @ 2001-05-04  0:47 UTC (permalink / raw)
  To: cygwin

"Larry Hall (RFK Partners, Inc)" wrote:
> 
> Does it work differently if you unset the complete option?

Unsetting my complete options has no effect.
I think you mean usage of complete in my .bashrc, because I
could not find an option concerning completion:

$ set -o
allexport       off
braceexpand     on
errexit         off
hashall         on
histexpand      on
keyword         off
monitor         on
noclobber       off
noexec          off
noglob          off
notify          off
nounset         off
onecmd          off
physical        off
privileged      on
verbose         off
xtrace          off
history         on
ignoreeof       off
interactive-comments    on
posix           off
emacs           on
vi              off

> Does it work differently on Linux?

On Linux I use bash 2.04 and everything works as expected.
But on Cygwin everything works with version 2.05-2, too.

I noticed that completion under bash 2.05-2 gave me *.dll
files, too, and this no longer happens under 2.05-3/4:

bash2.05-2 moser@FMM ~
$ comp
comp.exe      compact.exe   compgen       complete      
completejava  compobj.dll   compstui.dll

bash2.05-4 moser@FMM ~
$ comp
comp.exe      compact.exe   compgen       complete      
completejava

???

Frank-Michael

> Larry Hall                              lhall@rfk.com
> RFK Partners, Inc.                      http://www.rfk.com
> 118 Washington Street                   (508) 893-9779 - RFK Office
> Holliston, MA 01746                     (508) 893-9889 - FAX
> 
> At 06:12 PM 5/3/2001, Frank-Michael Moser wrote:
> >[Hope this msg doesn't come 2x, had mail problems]
> >
> >I really wanted believe that's it, but sorry I must disappoint you.
> >544 is administrator who I am. But I changed owner to moser and
> >rehashed. Here come the listings with CYGWIN="" and CYGWIN=ntsec.
> >... and the problem resists!
> >
> >moser@FMM ~/bin
> >$ l
> >total 19
> >-rwxr-xr-x   1 moser    Kein           37 Apr 10 15:13 beep*
> >-rwxr-xr-x   1 moser    Kein          859 Apr 10 15:13 completejava*
> >-rwxr-xr-x   1 moser    Kein          241 Apr 10 15:13 contains*
> >-rwxr-xr-x   1 moser    Kein          215 Apr 17 15:55 cvs-status*
> >-rwxr-xr-x   1 moser    Kein          666 Apr 17 19:28 cvsrelease*
> >
> >moser@FMM ~/bin
> >$ cvs
> >cvs-status  cvs.exe     cvsedit     cvsunlock
> >
> >Now I try NT security:
> >
> >moser@FMM ~/bin
> >$ export CYGWIN=ntsec
> >
> >moser@FMM ~/bin
> >$ l
> >total 19
> >-rwx------   1 544      Kein           37 Apr 10 15:13 beep*
> >-rwx------   1 544      Kein          859 Apr 10 15:13 completejava*
> >-rwx------   1 544      Kein          241 Apr 10 15:13 contains*
> >-rwx------   1 moser    Kein          215 Apr 17 15:55 cvs-status*
> >-rwx------   1 moser    Kein          666 Apr 17 19:28 cvsrelease*
> >
> >moser@FMM ~/bin
> >$ cvs
> >cvs-status  cvs.exe     cvsedit     cvsunlock
> >
> >
> >Frank-Michael.
> >
> >Corinna Vinschen wrote:
> > >
> > > On Thu, May 03, 2001 at 08:08:48PM +0200, Frank-Michael Moser wrote:
> > > > I just saw, that it is no question of being *.exe, script or builtin.
> > > > Here is a listing of my bin directory and you see cvsrelease as
> > > > executable:
> > > >
> > > > moser@FMM ~/bin
> > > > $ l
> > > > total 19
> > > > -rwx------   1 544      Kein           37 Apr 10 15:13 beep*
> > > > -rwx------   1 544      Kein          859 Apr 10 15:13 completejava*
> > > > -rwx------   1 544      Kein          241 Apr 10 15:13 contains*
> > > > -rwx------   1 544      Kein          215 Apr 17 15:55 cvs-status*
> > > > -rwx------   1 544      Kein          666 Apr 17 19:28 cvsrelease*
> > > > -rwx------   1 544      Kein          760 Apr 10 15:13 jai*
> > > > -rwx------   1 544      Kein          504 Apr 25 22:42 jedit*
> > > >
> > > > Here is the output of cvs<TAB>
> > > >
> > > > moser@FMM ~/bin
> > > > $ cvs
> > > > cvs-status  cvs.exe     cvsedit     cvsunlock
> > > >
> > > > Looks strange...?!
> > > >
> > > > Typing ./cvs<TAB> then gives a completion:
> > > >
> > > > moser@FMM ~/bin
> > > > $ ./cvs-status
> > > >
> > > > Only command completion suffers, file completion works,
> > > > cat "cvs<TAB>" gives:
> > > >
> > > > moser@FMM ~/bin
> > > > $ cat cvs
> > > > cvs-status  cvsrelease
> > > >
> > > > Both scripts start with #!/bin/bash
> > > >
> > > > What a kind of user-problem should this be ?
> > >
> > > The reason is probably that you are neither the owner of the files
> > > nor is the x bit set for group or everyone. Change that by calling
> > > chmod 755 or chown <yourName> for the files, call `hash -r' and try
> > > completion again.
> > >
> > > I just checked that by changing the permissions of my `kssh' script
> > > so that I have no execute permissions.
> > >
> > > Corinna
> > >
> > > --
> > > Corinna Vinschen                  Please, send mails regarding Cygwin to
> > > Cygwin Developer                                mailto:cygwin@cygwin.com
> > > Red Hat, Inc.
> > >
> > > --
> > > Want to unsubscribe from this list?
> > > Check out: http://cygwin.com/ml/#unsubscribe-simple
> >
> >--
> >------------------------------------------------------------
> >DECODON GmbH                        phone: +49(0)3834 515230
> >W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
> >17489 Greifswald                    email: moser@decodon.com
> >Germany                               web:   www.decodon.com
> >------------------------------------------------------------
> >
> >--
> >Want to unsubscribe from this list?
> >Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
------------------------------------------------------------
DECODON GmbH                        phone: +49(0)3834 515230
W.-Rathenau-Str. 49a                  fax: +49(0)3834 515239
17489 Greifswald                    email: moser@decodon.com
Germany                               web:   www.decodon.com
------------------------------------------------------------

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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-03 15:12         ` Frank-Michael Moser
  2001-05-03 15:20           ` Earnie Boyd
  2001-05-03 15:21           ` Larry Hall (RFK Partners, Inc)
@ 2001-05-04  0:57           ` Corinna Vinschen
  2 siblings, 0 replies; 15+ messages in thread
From: Corinna Vinschen @ 2001-05-04  0:57 UTC (permalink / raw)
  To: cygwin

On Fri, May 04, 2001 at 12:12:35AM +0200, Frank-Michael Moser wrote:
> [Hope this msg doesn't come 2x, had mail problems]
> 
> I really wanted believe that's it, but sorry I must disappoint you.
> 544 is administrator who I am. But I changed owner to moser and 

Nope. 544 is the RID of the group administrators (SID 1-5-32-544)
while the user administrator has RID 500 (SID 1-5-21-X-Y-Z-500).
So the files were owned by the admins group.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

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

* Re: [ANNOUNCEMENT] Updated: bash-2.05-4
  2001-05-04  0:47             ` Frank-Michael Moser
@ 2001-05-04  1:04               ` Corinna Vinschen
  0 siblings, 0 replies; 15+ messages in thread
From: Corinna Vinschen @ 2001-05-04  1:04 UTC (permalink / raw)
  To: cygwin

On Fri, May 04, 2001 at 09:47:15AM +0200, Frank-Michael Moser wrote:
> On Linux I use bash 2.04 and everything works as expected.
> But on Cygwin everything works with version 2.05-2, too.
> 
> I noticed that completion under bash 2.05-2 gave me *.dll
> files, too, and this no longer happens under 2.05-3/4:

The code change from -1 to -2 adds a check if a path
begins with the users /cygdrive setting.

The code change from -2 to -3 just adds another check if
a path begins with // to support //server/share paths
which didn't work in -2.

Nothing else. So I don't see why that should happen,
except your problem is somehow related to paths
beginning with //.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

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

end of thread, other threads:[~2001-05-04  1:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-03  7:39 [ANNOUNCEMENT] Updated: bash-2.05-4 Corinna Vinschen
2001-05-03  8:56 ` Frank-Michael Moser
2001-05-03  9:22   ` Corinna Vinschen
2001-05-03  9:58     ` Earnie Boyd
2001-05-03 10:41       ` Frank-Michael Moser
2001-05-03 10:00     ` Frank-Michael Moser
2001-05-03 11:08     ` Frank-Michael Moser
2001-05-03 12:35       ` Corinna Vinschen
2001-05-03 15:12         ` Frank-Michael Moser
2001-05-03 15:20           ` Earnie Boyd
2001-05-03 15:21           ` Larry Hall (RFK Partners, Inc)
2001-05-04  0:47             ` Frank-Michael Moser
2001-05-04  1:04               ` Corinna Vinschen
2001-05-04  0:57           ` Corinna Vinschen
2001-05-03 13:06       ` Larry Hall (RFK Partners, Inc)

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).