Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: did the way arrays get indexed change between 4.2 and 4.3?



Bart Schaefer wrote:
> On Jul 24,  4:14pm, William Scott wrote:
> }
> }          rlength="20"
> }          echo -ne "\e]1;$tab_label[-$rlength,-1]\a"
> } 
> } On 4.3.4 this works great.  On 4.2.3, if the original string has  
> } fewer than 20 characters, the tab is blank.
> 
> The flavor of this that works is very recent.  What you're seeing in
> 4.2.3 is what you'll find pretty much universally in "stable" versions
> of the shell shipped with various OSs and Linux versions.

Are you sure?  I get the same result in 4.2.6 and 4.3.4.

When it gets it wrong it's presumably related to the other bug you
pointed out.

-- 
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