Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: unset IFS - zsh: segmentation fault (core dumped) zsh
- X-seq: zsh-users 14150
- From: Peter Stephenson <pws@xxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: unset IFS - zsh: segmentation fault (core dumped) zsh
- Date: Wed, 20 May 2009 10:06:32 +0100
- In-reply-to: <20090519195114.17059.qmail@xxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Organization: CSR
- References: <20090518113402.12840.qmail@xxxxxxxxxxx> <20090518125753.1931c23d@news01> <20090519110848.12650.qmail@xxxxxxxxxxx> <200905191139.n4JBdQU8004448@xxxxxxxxxxxxxx> <20090519195114.17059.qmail@xxxxxxxxxxx>
On Wed, 20 May 2009 07:51:11 +1200 (NZST)
Atom Smasher <atom@xxxxxxxxxxx> wrote:
> On Tue, 19 May 2009, Peter Stephenson wrote:
>
> > Unfortunately, we don't know what's in $PR_STUFF[FILLBAR], and other
> > forms don't crash, so this doesn't help.
> ==============
>
> print ${(V)PR_STUFF[FILLBAR]}
> ${(r:48::q:)}u%b%{^[[38;5;147m%}%{^O%}%{^O%}%D{%H:%M} %{^[[38;5;62m%}Auckland%{^N%}%{^[[38;5;231m%}tu%{^O%}%{^[[38;5;40m%}0.28, 0.22, 0.19%{^N%}%{^[[38;5;231m%}tu${PR_STUFF[BG_LIGHT_BLUE]}${PR_STUFF[WHITE]}AC 100%%${PR_STUFF[NO_COLOUR]}%{^[[38;5;231m%}%{^[[0m%}%{^[[38;5;231m%}t
Thanks.
I wasn't sure whether to replace the two-character ^[, which seem to occur
even in the base 64 version, with escape sequences, but it didn't actually
seem to matter as far as the crash is concerned. This turned up one
remaining problem in the patch I posted yesterday, which I've fixed, and
I've committed it.
--
Peter Stephenson <pws@xxxxxxx> Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author