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

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



On Mon, Apr 30, 2001 at 03:23:32PM -0500, Geoff Raye wrote:
> 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?

I don't know about making COLUMNS and LINES accurate, but you could
change them back to the tput system...

((columns=`tput cols`-1, lines=`tput lines`))
-- 
Alan Third



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