Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
anyone got zsh 4.x working on Interix/SFU 3.0?
- X-seq: zsh-users 6714
- From: John Patoskie <JPatoskie@xxxxxxxxxxxxxxx>
- To: "'zsh-users@xxxxxxxxxx'" <zsh-users@xxxxxxxxxx>
- Subject: anyone got zsh 4.x working on Interix/SFU 3.0?
- Date: Thu, 16 Oct 2003 18:10:04 -0500
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Trying to get zsh 4.0.6 to compile under Windows SFU 3.0/Interix using gcc.
Compile goes fine except it needed an XTABS entry and ./configure
--with-curses-terminfo.
Problem:
Globbing does not seem to work.
>touch ab
>ls *b
zsh: no matches found: *
>touch \*b
>ls *b
*b
It appears that the "*" is not being treated as a glob character.
I checked that setopt glob is set.
>setopt
setopt autocd
setopt autopushd
setopt autoresume
setopt cdablevars
setopt correct
setopt correctall
setopt extendedglob
setopt globdots
setopt histignoredups
setopt longlistjobs
setopt mailwarning
setopt noautoparamslash
setopt nobgnice
setopt noclobber
setopt pushdminus
setopt pushdsilent
setopt pushdtohome
setopt rcquotes
setopt recexact
I don't see "setopt glob". I do see "setopt extendedglob". Is this
sufficient? Running "setopt glob" does not make it show up in the list.
I can provide the complete output of reporter if necessary.
Searching the web/faqs, I found the following:
*** http://www.zsh.org/mla/workers/2001/msg01039.html ***
---------- text from link ------------
This is stupid, but have you tried doing `setopt
glob' before trying a pattern match on files?
Next, does
[[ foo = f* ]] && print "that worked"
work? If not, it looks like pattern.c wasn't compiled properly. In that
case, it may be some alignment problem. You can probe a bit further by
doing
[[ foo = foo ]] && print "it worked that time"
since strings are optimised not to do full pattern matching.
---------- end text from link ------------
I am seeing what is described above at this link.
[[ foo = f* ]] ... fails
[[ foo = foo ]] ... works fine
Any suggestions?
- John
Messages sorted by:
Reverse Date,
Date,
Thread,
Author