Re: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-12 Thread Peter A. Castro
On Fri, 12 Mar 2004, Thorsten Kampe wrote:

Hi Thorsten,

 * Peter A. Castro (2004-03-08 20:39 +0100)
  On Mon, 8 Mar 2004, Thorsten Kampe wrote:
  Also, for the record, I've just tried the latest snapshot, 20040306, and
  running missing commands do not hang or have any other strange behaviour
  as your describe:
 
  ([EMAIL PROTECTED])[101] ~ % les
  zsh: correct 'les' to 'ls' [nyae]? n
  zsh: command not found: les
  zsh: 1240 exit 127   les
  ([EMAIL PROTECTED])[102] ~ % /bin/les
  zsh: no such file or directory: /bin/les
  zsh: 1245 exit 127   /bin/les
  ([EMAIL PROTECTED])[103] ~ % uname -a
  CYGWIN_NT-4.0 garfunkel 1.5.8s(0.111/4/2) 20040306 23:59:38 i686 unknown unknown 
  Cygwin
  ([EMAIL PROTECTED])[104] ~ % cygcheck -s | grep zsh
  zsh 4.1.1-3
  ([EMAIL PROTECTED])[105] ~ % setopt | grep correct
  correct
  correctall
  ([EMAIL PROTECTED])[106] ~ %

  This is just a tiny problems for me. There was a real problem with zsh
  where *completion* took a long time (it tried to do DNS lookup -
  according to my Personal Firewall - and timed out when I wasn't online
  and no DNS was available). This is gone. The other problem is no
  problem for me because I use the completion and therefor the correct
  mechanism is /very rarely/ triggered. After that zsh caches the answer
  and replies immdiately zsh: no such file or directory. (If I'm so
  dumb to try it again.)
 
  My example above has both correct and correctall on and I don't
  experience any problems no matter how many times I try to run a bad
  command.  This goes for weither zsh tries to correct the command or not.
 
  But please be aware that there may be different problems. The one I
  described is with the correct function of zsh (and I figured that
  out just today). Davide Marchignoli's problem seems to be different:
 
  % aoidfjkl# immediately: zsh: command not found: aoidfjklj
  % /bin/aoidfjklj  # hangs for about ten seconds until zsh: no such file or 
  directory: /bin/aoidfjklj
 
  Sorry, mine returnes immediately, no delay at all.  And this is on an old
  400MHz PII running under a vmware emulator.  Oh, and I tried this same
  setup, with the latest snapshot on a 1.7Ghz system running MS Windows
  native without any problems either.   I also tried both of these on
  network mounted drives and didn't have any delays or problems.
 
  I feel you should examine your environment thoroughly.  Perhaps you have
  more than one copy of cygwin1.dll in your PATH?  When you last upgraded,
  are you sure you existing all cygwin based processes before starting a
  new shell window?

 I did that. My .zshrc is *exactly* the same on this host and on my
 Gentoo Linux where everything is fine.

 I tried to narrow the problem by deleting

 * /etc/zprofile
 * /etc/profile.d/zshell.zsh
 * ~/.zshenv
 * ~/.zprofile
 * ~/.zlogout
 * ~/.zlogin

I've removed all of these and have only correct and correctall set
(btw: interactive, shinstdin and zle are also set by default), but
still can't reproduce this.  Sorry, I just can't seem to make it hang.

 and everything in .zshrc except setopt correct correctall. It's
 those two options that make zsh hang. I even unset all environment
 variables inherited from Windows. No change.

 If you have any hint how to find the problem I'd be glad to assist
 (strace). By the way - I freshly installed Cygwin on this box and the
 Windows installation (Windows XP SP1) is two months old. I deactived
 my PF (Kerio - newest version) and even detached from my NetWare. Even
 the Novell Client is the latest one. And locate shows only one
 cygwin1.dll

I think a better search mechanism might be to see what your system PATH
it set to, in the control panel, and do a Windows Find for cygwin1.dll
and see there is more than one in the PATH.

At this point, I think you need to go through the problem reporting
process as outlined in http://www.cygwin.com/problems.html.
Specifically, your cygcheck output.  Additionally, I'd like you to run
'uname -a', 'setopt', 'env' and 'set' from within zsh with both correct
and correctall off.

Send all of that to the list, as attachments, and I'll analyse them.

 Thorsten

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-11 Thread Thorsten Kampe
* Peter A. Castro (2004-03-08 20:39 +0100)
 On Mon, 8 Mar 2004, Thorsten Kampe wrote:
 Also, for the record, I've just tried the latest snapshot, 20040306, and
 running missing commands do not hang or have any other strange behaviour
 as your describe:
 
 ([EMAIL PROTECTED])[101] ~ % les
 zsh: correct 'les' to 'ls' [nyae]? n
 zsh: command not found: les
 zsh: 1240 exit 127   les
 ([EMAIL PROTECTED])[102] ~ % /bin/les
 zsh: no such file or directory: /bin/les
 zsh: 1245 exit 127   /bin/les
 ([EMAIL PROTECTED])[103] ~ % uname -a
 CYGWIN_NT-4.0 garfunkel 1.5.8s(0.111/4/2) 20040306 23:59:38 i686 unknown unknown 
 Cygwin
 ([EMAIL PROTECTED])[104] ~ % cygcheck -s | grep zsh
 zsh 4.1.1-3
 ([EMAIL PROTECTED])[105] ~ % setopt | grep correct
 correct
 correctall
 ([EMAIL PROTECTED])[106] ~ %

 This is just a tiny problems for me. There was a real problem with zsh
 where *completion* took a long time (it tried to do DNS lookup -
 according to my Personal Firewall - and timed out when I wasn't online
 and no DNS was available). This is gone. The other problem is no
 problem for me because I use the completion and therefor the correct
 mechanism is /very rarely/ triggered. After that zsh caches the answer
 and replies immdiately zsh: no such file or directory. (If I'm so
 dumb to try it again.)
 
 My example above has both correct and correctall on and I don't
 experience any problems no matter how many times I try to run a bad
 command.  This goes for weither zsh tries to correct the command or not.
 
 But please be aware that there may be different problems. The one I
 described is with the correct function of zsh (and I figured that
 out just today). Davide Marchignoli's problem seems to be different:

 % aoidfjkl# immediately: zsh: command not found: aoidfjklj
 % /bin/aoidfjklj  # hangs for about ten seconds until zsh: no such file or 
 directory: /bin/aoidfjklj
 
 Sorry, mine returnes immediately, no delay at all.  And this is on an old
 400MHz PII running under a vmware emulator.  Oh, and I tried this same
 setup, with the latest snapshot on a 1.7Ghz system running MS Windows
 native without any problems either.   I also tried both of these on
 network mounted drives and didn't have any delays or problems.
 
 I feel you should examine your environment thoroughly.  Perhaps you have
 more than one copy of cygwin1.dll in your PATH?  When you last upgraded,
 are you sure you existing all cygwin based processes before starting a
 new shell window?

I did that. My .zshrc is *exactly* the same on this host and on my
Gentoo Linux where everything is fine.

I tried to narrow the problem by deleting

* /etc/zprofile
* /etc/profile.d/zshell.zsh
* ~/.zshenv
* ~/.zprofile
* ~/.zlogout
* ~/.zlogin

and everything in .zshrc except setopt correct correctall. It's
those two options that make zsh hang. I even unset all environment
variables inherited from Windows. No change.

If you have any hint how to find the problem I'd be glad to assist
(strace). By the way - I freshly installed Cygwin on this box and the
Windows installation (Windows XP SP1) is two months old. I deactived
my PF (Kerio - newest version) and even detached from my NetWare. Even
the Novell Client is the latest one. And locate shows only one
cygwin1.dll

Thorsten


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-09 Thread Davide Marchignoli
Hi all,

I installed the latest snapshot as suggested and indeed it works (also
with correct and correctall options set).
Thank you very much for your help,

Davide Marchignoli

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-08 Thread Davide Marchignoli
Zsh hangs when running a non-existent command. It usually hangs
as soon as you give a non existing command, however sometimes
it works correctly two or three times and then hangs.
I am running zsh also on Win XP and there it behaves correctly.

I also trie stracing it but I wasn't able to reproduce the same bug.

Thank for your attention,
Davide Marchignoli

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Mar 08 11:19:05 2004

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\sbin
C:\cygwin\sbin
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\WINNT\system32
c:\WINNT
c:\WINNT\System32\Wbem
c:\java\j2sdk1.4.2_02\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1000(davide) GID: 513(Nessuno)
513(Nessuno)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1000(davide) GID: 513(Nessuno)
0(root)  513(Nessuno) 
544(Administrators)  545(Users)

SysDir: C:\WINNT\system32
WinDir: C:\WINNT

HOME = `C:\cygwin\home\davide'
PWD = `/usr/bin'
USER = `davide'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\davide\Dati applicazioni'
COMMONPROGRAMFILES = `C:\Programmi\File comuni'
COMPUTERNAME = `MERCURIO'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\davide'
JAVA_HOME = `C:\java\j2sdk1.4.2_02'
LOGNAME = `davide'
LOGONSERVER = `\\MERCURIO'
NUMBER_OF_PROCESSORS = `1'
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 6 Model 8 Stepping 10, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `080a'
PROGRAMFILES = `C:\Programmi'
PROMPT = `$P$G'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\davide\IMPOST~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\davide\IMPOST~1\Temp'
TZ = `   -1   -1,M10.5.0/3,M10.5.0/3'
USERDOMAIN = `MERCURIO'
USERNAME = `davide'
USERPROFILE = `C:\Documents and Settings\davide'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/c
  (default) = `c:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/d
  (default) = `d:'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x0008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd   N/AN/A
c:  hd  NTFS   30004Mb  66% CP CS UN PA FC 
d:  hd  NTFS   10244Mb  24% CP CS UN PA FC WINPART
e:  hd  FAT32  10234Mb   5% CPUN   WINPART
f:  hd  FAT32   3100Mb   1% CPUN   
g:  cd   N/AN/A
h:  cd  CDFS   0Mb 100%CS UN   29 feb 2004

C:\cygwin  /  system  textmode
c: /c system  binmode
d: /d system  binmode
C:\cygwin/bin  /usr/bin   system  textmode
C:\cygwin/lib  /usr/lib   system  textmode
.  /cygdrive  system  textmode,cygdrive

Found: .\awk.exe
Found: C:\cygwin\bin\awk.exe
Warning: .\awk.exe hides C:\cygwin\bin\awk.exe
Found: .\bash.exe
Found: C:\cygwin\bin\bash.exe
Warning: .\bash.exe hides C:\cygwin\bin\bash.exe
Found: .\cat.exe
Found: C:\cygwin\bin\cat.exe
Warning: .\cat.exe hides C:\cygwin\bin\cat.exe
Found: .\cp.exe
Found: C:\cygwin\bin\cp.exe
Warning: .\cp.exe hides C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: .\find.exe
Found: C:\cygwin\bin\find.exe
Warning: .\find.exe hides C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: .\grep.exe
Found: C:\cygwin\bin\grep.exe
Warning: .\grep.exe hides C:\cygwin\bin\grep.exe
Not Found: ld
Found: .\ls.exe
Found: C:\cygwin\bin\ls.exe
Warning: .\ls.exe hides C:\cygwin\bin\ls.exe
Not Found: make
Found: .\mv.exe
Found: C:\cygwin\bin\mv.exe
Warning: .\mv.exe hides C:\cygwin\bin\mv.exe
Found: .\rm.exe
Found: C:\cygwin\bin\rm.exe
Warning: .\rm.exe hides C:\cygwin\bin\rm.exe
Found: .\sed.exe
Found: C:\cygwin\bin\sed.exe
Warning: .\sed.exe hides C:\cygwin\bin\sed.exe
Found: .\sh.exe
Found: C:\cygwin\bin\sh.exe

Re: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-08 Thread Thorsten Kampe
* Davide Marchignoli (2004-03-08 11:38 +0100)
 Zsh hangs when running a non-existent command. It usually hangs
 as soon as you give a non existing command, however sometimes
 it works correctly two or three times and then hangs.

What do you mean by non-existant command?
 
 I am running zsh also on Win XP and there it behaves correctly.

Some people were already describing similar things (including me). It
appears to me (running Windows XP) that things like aeiou don't hang
while /bib/aeioiu hang. I have to do unsetopt correct correctall
(both!) to make it go away. On my Gentoo Linux box (same hardware,
same .zshrc) I have no problems and not a single second delay.

If the problem is the same for you I might suggest debugging this with
strace (with all the correct options set and after that unset). I
have no experience with strace and just very limited time this week so
I cannot myself.

Thorsten


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Re: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-08 Thread Davide Marchignoli
What do you mean by non-existant command?
I mean a command that does not exists in the search path.

I am running zsh also on Win XP and there it behaves correctly.
Some people were already describing similar things (including me). It
appears to me (running Windows XP) that things like aeiou don't hang
while /bib/aeioiu hang. I have to do unsetopt correct correctall
(both!) to make it go away. On my Gentoo Linux box (same hardware,
same .zshrc) I have no problems and not a single second delay.
I tried again with correct and correctall options unset but 
unfortunately the behaviour does not change.

Thank you very much for your help anyway.

Davide Marchignoli

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-08 Thread Christopher Faylor
On Mon, Mar 08, 2004 at 01:55:31PM +0100, Thorsten Kampe wrote:
* Davide Marchignoli (2004-03-08 11:38 +0100)
Zsh hangs when running a non-existent command.  It usually hangs as
soon as you give a non existing command, however sometimes it works
correctly two or three times and then hangs.

What do you mean by non-existant command?

I am running zsh also on Win XP and there it behaves correctly.

Some people were already describing similar things (including me).

Yes.  This problem was reported within 48 hours after 1.5.7 was released.
It was reported as a problem which existed in 1.5.6, for which the reporter
was waiting for a fix to appear even though the problem was not reported.

The problem was fixed within a few hours after being reported and has been
fixed in snapshots ever since.

So, download a snapshot or wait for 1.5.8.  1.5.8 is due to be released in
2004.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-08 Thread Thorsten Kampe
* Christopher Faylor (2004-03-08 14:43 +0100)
 On Mon, Mar 08, 2004 at 01:55:31PM +0100, Thorsten Kampe wrote:
* Davide Marchignoli (2004-03-08 11:38 +0100)
Zsh hangs when running a non-existent command.  It usually hangs as
soon as you give a non existing command, however sometimes it works
correctly two or three times and then hangs.

What do you mean by non-existant command?

I am running zsh also on Win XP and there it behaves correctly.

Some people were already describing similar things (including me).
 
 Yes.  This problem was reported within 48 hours after 1.5.7 was released.
 It was reported as a problem which existed in 1.5.6, for which the reporter
 was waiting for a fix to appear even though the problem was not reported.
 
 The problem was fixed within a few hours after being reported and has been
 fixed in snapshots ever since.
 
 So, download a snapshot or wait for 1.5.8.  1.5.8 is due to be released in
 2004.

I'm already running the snapshot from 2004-Mar-05 (and now
downloading the one from 2004-Mar-06) all the 1.5.8 snapshots I
tried didn't fix that.

Thorsten


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-08 Thread Christopher Faylor
On Mon, Mar 08, 2004 at 02:56:20PM +0100, Thorsten Kampe wrote:
* Christopher Faylor (2004-03-08 14:43 +0100)
 On Mon, Mar 08, 2004 at 01:55:31PM +0100, Thorsten Kampe wrote:
* Davide Marchignoli (2004-03-08 11:38 +0100)
Zsh hangs when running a non-existent command.  It usually hangs as
soon as you give a non existing command, however sometimes it works
correctly two or three times and then hangs.

What do you mean by non-existant command?

I am running zsh also on Win XP and there it behaves correctly.

Some people were already describing similar things (including me).
 
 Yes.  This problem was reported within 48 hours after 1.5.7 was released.
 It was reported as a problem which existed in 1.5.6, for which the reporter
 was waiting for a fix to appear even though the problem was not reported.
 
 The problem was fixed within a few hours after being reported and has been
 fixed in snapshots ever since.
 
 So, download a snapshot or wait for 1.5.8.  1.5.8 is due to be released in
 2004.

I'm already running the snapshot from 2004-Mar-05 (and now
downloading the one from 2004-Mar-06) all the 1.5.8 snapshots I
tried didn't fix that.

Nope.  You are mistaken.  It works fine.  In fact, on checking the archives
you even told someone to use the snapshot to fix this problem.

If you truly had a problem I am sure that you would have reported it
prior to this point rather than implying that it worked.

cgf

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-08 Thread Thorsten Kampe
* Christopher Faylor (2004-03-08 15:05 +0100)
 On Mon, Mar 08, 2004 at 02:56:20PM +0100, Thorsten Kampe wrote:
* Christopher Faylor (2004-03-08 14:43 +0100)
 On Mon, Mar 08, 2004 at 01:55:31PM +0100, Thorsten Kampe wrote:
* Davide Marchignoli (2004-03-08 11:38 +0100)
Zsh hangs when running a non-existent command.  It usually hangs as
soon as you give a non existing command, however sometimes it works
correctly two or three times and then hangs.

What do you mean by non-existant command?

I am running zsh also on Win XP and there it behaves correctly.

Some people were already describing similar things (including me).
 
 Yes.  This problem was reported within 48 hours after 1.5.7 was released.
 It was reported as a problem which existed in 1.5.6, for which the reporter
 was waiting for a fix to appear even though the problem was not reported.
 
 The problem was fixed within a few hours after being reported and has been
 fixed in snapshots ever since.
 
 So, download a snapshot or wait for 1.5.8.  1.5.8 is due to be released in
 2004.

I'm already running the snapshot from 2004-Mar-05 (and now
downloading the one from 2004-Mar-06) all the 1.5.8 snapshots I
tried didn't fix that.
 
 Nope.  You are mistaken.  It works fine.  In fact, on checking the archives
 you even told someone to use the snapshot to fix this problem.

Yeah, that was to someone who had problems 1) sometimes when I start
zsh it hangs, sometimes it starts normally; (2) zsh command-line
editing generally badly messes up the display when long command lines
are being edited

I never had these problems myself so I told him to upgrade instead of
downgrade (what the zsh maintainer advised).
 
 If you truly had a problem I am sure that you would have reported it
 prior to this point rather than implying that it worked.

This is just a tiny problems for me. There was a real problem with zsh
where *completion* took a long time (it tried to do DNS lookup -
according to my Personal Firewall - and timed out when I wasn't online
and no DNS was available). This is gone. The other problem is no
problem for me because I use the completion and therefor the correct
mechanism is /very rarely/ triggered. After that zsh caches the answer
and replies immdiately zsh: no such file or directory. (If I'm so
dumb to try it again.)

But please be aware that there may be different problems. The one I
described is with the correct function of zsh (and I figured that
out just today). Davide Marchignoli's problem seems to be different:

% aoidfjkl# immediately: zsh: command not found: aoidfjklj
% /bin/aoidfjklj  # hangs for about ten seconds until zsh: no such file or directory: 
/bin/aoidfjklj

Thorsten


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-08 Thread Dave Korn

 -Original Message-
 From: cygwin-owner On Behalf Of Thorsten Kampe

 This is just a tiny problems for me. There was a real problem 
 with zsh where *completion* took a long time (it tried to do 
 DNS lookup - according to my Personal Firewall - and timed 
 out when I wasn't online and no DNS was available)

 But please be aware that there may be different problems. The 
 one I described is with the correct function of zsh (and I 
 figured that out just today). Davide Marchignoli's problem 
 seems to be different:
 
 % aoidfjkl# immediately: zsh: command not found: aoidfjklj
 % /bin/aoidfjklj  # hangs for about ten seconds until zsh: 
 no such file or directory: /bin/aoidfjklj



  Say!  Is all this perhaps down to having network (nfs-mounted or windoze
shares) drives in your $PATH setting?  That's a known no-no.




cheers, 
  DaveK
-- 
Can't think of a witty .sigline today


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



RE: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-08 Thread Igor Pechtchanski
On Mon, 8 Mar 2004, Dave Korn wrote:

  -Original Message-
  From: cygwin-owner On Behalf Of Thorsten Kampe

  This is just a tiny problems for me. There was a real problem
  with zsh where *completion* took a long time (it tried to do
  DNS lookup - according to my Personal Firewall - and timed
  out when I wasn't online and no DNS was available)

  But please be aware that there may be different problems. The
  one I described is with the correct function of zsh (and I
  figured that out just today). Davide Marchignoli's problem
  seems to be different:
 
  % aoidfjkl# immediately: zsh: command not found: aoidfjklj
  % /bin/aoidfjklj  # hangs for about ten seconds until zsh:
  no such file or directory: /bin/aoidfjklj

   Say!  Is all this perhaps down to having network (nfs-mounted or windoze
 shares) drives in your $PATH setting?  That's a known no-no.
   DaveK

Dave,

Wouldn't this imply the reverse (i.e., aoidfjkl stalls, while
/bin/aoidfjklj works)?
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: zsh 4.1.1-3 on W2000 hangs with command not found

2004-03-08 Thread Peter A. Castro
On Mon, 8 Mar 2004, Thorsten Kampe wrote:

 * Christopher Faylor (2004-03-08 15:05 +0100)
  On Mon, Mar 08, 2004 at 02:56:20PM +0100, Thorsten Kampe wrote:
 * Christopher Faylor (2004-03-08 14:43 +0100)
  On Mon, Mar 08, 2004 at 01:55:31PM +0100, Thorsten Kampe wrote:
 * Davide Marchignoli (2004-03-08 11:38 +0100)
 Zsh hangs when running a non-existent command.  It usually hangs as
 soon as you give a non existing command, however sometimes it works
 correctly two or three times and then hangs.
 
 What do you mean by non-existant command?
 
 I am running zsh also on Win XP and there it behaves correctly.
 
 Some people were already describing similar things (including me).
 
  Yes.  This problem was reported within 48 hours after 1.5.7 was released.
  It was reported as a problem which existed in 1.5.6, for which the reporter
  was waiting for a fix to appear even though the problem was not reported.
 
  The problem was fixed within a few hours after being reported and has been
  fixed in snapshots ever since.
 
  So, download a snapshot or wait for 1.5.8.  1.5.8 is due to be released in
  2004.
 
 I'm already running the snapshot from 2004-Mar-05 (and now
 downloading the one from 2004-Mar-06) all the 1.5.8 snapshots I
 tried didn't fix that.
 
  Nope.  You are mistaken.  It works fine.  In fact, on checking the archives
  you even told someone to use the snapshot to fix this problem.

 Yeah, that was to someone who had problems 1) sometimes when I start
 zsh it hangs, sometimes it starts normally; (2) zsh command-line
 editing generally badly messes up the display when long command lines
 are being edited

 I never had these problems myself so I told him to upgrade instead of
 downgrade (what the zsh maintainer advised).

I figured I'd better weigh in here on this before my words get used in
someone elses battle. :)

For the record, I've advocated both downgrading to 1.5.5 or using the
latest snapshot, depending on the users environment, skill and needs.
My debate with Larry Hall on this is in the archives.

Also, for the record, I've just tried the latest snapshot, 20040306, and
running missing commands do not hang or have any other strange behaviour
as your describe:

([EMAIL PROTECTED])[101] ~ % les
zsh: correct 'les' to 'ls' [nyae]? n
zsh: command not found: les
zsh: 1240 exit 127   les
([EMAIL PROTECTED])[102] ~ % /bin/les
zsh: no such file or directory: /bin/les
zsh: 1245 exit 127   /bin/les
([EMAIL PROTECTED])[103] ~ % uname -a
CYGWIN_NT-4.0 garfunkel 1.5.8s(0.111/4/2) 20040306 23:59:38 i686 unknown unknown Cygwin
([EMAIL PROTECTED])[104] ~ % cygcheck -s | grep zsh
zsh 4.1.1-3
([EMAIL PROTECTED])[105] ~ % setopt | grep correct
correct
correctall
([EMAIL PROTECTED])[106] ~ %


  If you truly had a problem I am sure that you would have reported it
  prior to this point rather than implying that it worked.

 This is just a tiny problems for me. There was a real problem with zsh
 where *completion* took a long time (it tried to do DNS lookup -
 according to my Personal Firewall - and timed out when I wasn't online
 and no DNS was available). This is gone. The other problem is no
 problem for me because I use the completion and therefor the correct
 mechanism is /very rarely/ triggered. After that zsh caches the answer
 and replies immdiately zsh: no such file or directory. (If I'm so
 dumb to try it again.)

My example above has both correct and correctall on and I don't
experience any problems no matter how many times I try to run a bad
command.  This goes for weither zsh tries to correct the command or not.

 But please be aware that there may be different problems. The one I
 described is with the correct function of zsh (and I figured that
 out just today). Davide Marchignoli's problem seems to be different:

 % aoidfjkl# immediately: zsh: command not found: aoidfjklj
 % /bin/aoidfjklj  # hangs for about ten seconds until zsh: no such file or 
 directory: /bin/aoidfjklj

Sorry, mine returnes immediately, no delay at all.  And this is on an old
400MHz PII running under a vmware emulator.  Oh, and I tried this same
setup, with the latest snapshot on a 1.7Ghz system running MS Windows
native without any problems either.   I also tried both of these on
network mounted drives and didn't have any delays or problems.

I feel you should examine your environment thoroughly.  Perhaps you have
more than one copy of cygwin1.dll in your PATH?  When you last upgraded,
are you sure you existing all cygwin based processes before starting a
new shell window?

 Thorsten

-- 
Peter A. Castro [EMAIL PROTECTED] or [EMAIL PROTECTED]
Cats are just autistic Dogs -- Dr. Tony Attwood

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/