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 3843
- From: Alan Third <alan@xxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: do I win the "most pointless use of ZSH" award? ;)
- Date: Mon, 30 Apr 2001 21:38:14 +0100
- In-reply-to: <200104302023.f3UKNWF17853@xxxxxxxxxxxxx>; from raye@xxxxxxxxxxxxx on Mon, Apr 30, 2001 at 03:23:32PM -0500
- Mail-followup-to: Alan Third <alan@xxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20010430210517.A4840@xxxxxxxxxx> <200104302023.f3UKNWF17853@xxxxxxxxxxxxx>
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