zsh-users
 help / color / mirror / code / Atom feed
* anyone got zsh 4.x working on Interix/SFU 3.0?
@ 2003-10-16 23:10 John Patoskie
  0 siblings, 0 replies; only message in thread
From: John Patoskie @ 2003-10-16 23:10 UTC (permalink / raw)
  To: 'zsh-users@sunsite.dk'

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-16 23:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-16 23:10 anyone got zsh 4.x working on Interix/SFU 3.0? John Patoskie

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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 NNTP newsgroup(s).