Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: do I win the "most pointless use of ZSH" award? ;)
- X-seq: zsh-users 3842
- From: Geoff Raye <raye@xxxxxxxxxxxxx>
- To: Alan Third <alan@xxxxxxxxxx>
- Subject: Re: do I win the "most pointless use of ZSH" award? ;)
- Date: Mon, 30 Apr 2001 15:23:32 -0500
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: Your message of "Mon, 30 Apr 2001 21:05:17 BST." <20010430210517.A4840@xxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Reply-to: geoff@xxxxxxxx
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