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

Re: do I win the "most pointless use of ZSH" award? ;)



In <20010430210517.A4840@xxxxxxxxxx> it was written:
>#!/bin/zsh
>
>((columns=COLUMNS-1, lines=LINES))
>((colour=0))
>
>for ((b=-1.5;b<=1.5;b+=3.0/lines));do
<snip>
>done

COLUMNS and LINES aren't immediately updated for me when I change text
mode resolutions.  Is there something I should do to make them as
reliable as the tput values?

That aside, the optimization rocks.

Geoff

-- 
Geoff Raye       \ All irregularities will be handled by the forces
geoff@xxxxxxxx    \ controlling each dimension.  Transuranic heavy
                   \ elements may not be used where there is life.



Messages sorted by: Reverse Date, Date, Thread, Author