Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Bug#419832: zsh: expanding non-ASCII filenames with <TAB>
- X-seq: zsh-workers 23770
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Bug#419832: zsh: expanding non-ASCII filenames with <TAB>
- Date: Fri, 17 Aug 2007 07:55:15 -0700
- Cc: 419832-forwarded@xxxxxxxxxxxxxxx, Alan Curry <pacman@xxxxxxxxxxxx>
- In-reply-to: <20070817152210.6bb9559b@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20070817001222.GA19399@xxxxxxxxxxx> <200708170905.l7H9521T1534406@xxxxxxxxxxxxxxxxxxxx> <20070817120844.GA9936@xxxxxxxxxxx> <20070817152210.6bb9559b@xxxxxxxxxxxxxx>
On Aug 17, 3:22pm, Peter Stephenson wrote:
} Subject: Re: Bug#419832: zsh: expanding non-ASCII filenames with <TAB>
}
} On Fri, 17 Aug 2007 08:08:44 -0400
} Clint Adams <schizo@xxxxxxxxxx> wrote:
} > What's worse is that if you `touch a b$'\300' c` in an empty directory,
} > cat *<TAB> will only expand to "a b".
}
} I can believe there's some logic missing here, but it's not currently
} clear to me here what. Could you post an explicit recipe for
} getting from an unconfigured shell to an expansion that doesn't
} (somehow) display all the elements?
This is a problem with old compctl, not compsys.
With compinit run and LANG=C and/or "unset LANG" I get:
schaefer<504> cat *<TAB>
schaefer<504> cat a
Completing expansions
a b$'\300' c
Completing all expansions
a b$'\300' c
Completing original
*
With LANG=en_US I get:
schaefer<506> cat *<TAB>
schaefer<506> cat a
Completing expansions
a bÀ c
Completing all expansions
a bÀ c
Completing original
*
With "compsys" turned off (old compctl completion) I get the something
sensible when LANG=en_US:
torch% cat *<TAB>
torch% cat a bÀ c
But the bug appears with LANG unset:
torch% cat*<TAB>
torch% cat a b
So the recipe PWS wants is just to run "zsh -f".
Messages sorted by:
Reverse Date,
Date,
Thread,
Author