zsh-users
 help / color / mirror / code / Atom feed
From: Geoff Raye <raye@meow.raye.com>
To: Alan Third <alan@idiocy.org>
Cc: zsh-users@sunsite.dk
Subject: Re: do I win the "most pointless use of ZSH" award? ;)
Date: Mon, 30 Apr 2001 15:23:32 -0500	[thread overview]
Message-ID: <200104302023.f3UKNWF17853@meow.raye.com> (raw)
In-Reply-To: Your message of "Mon, 30 Apr 2001 21:05:17 BST." <20010430210517.A4840@idiocy.org>

In <20010430210517.A4840@idiocy.org> 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@raye.com    \ controlling each dimension.  Transuranic heavy
                   \ elements may not be used where there is life.


  reply	other threads:[~2001-04-30 20:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-27 20:31 Alan Third
2001-04-27 20:52 ` Clint Adams
2001-04-30 19:41 ` David Terrell
2001-04-30 20:05   ` Alan Third
2001-04-30 20:23     ` Geoff Raye [this message]
2001-04-30 20:38       ` Alan Third
2001-04-30 22:19       ` Bart Schaefer
2001-04-30 22:15     ` Bart Schaefer
2001-05-02 17:30       ` Alan Third
2001-05-02 22:26       ` Bruce Stephens
2001-05-02 22:56         ` Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200104302023.f3UKNWF17853@meow.raye.com \
    --to=raye@meow.raye.com \
    --cc=alan@idiocy.org \
    --cc=geoff@raye.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).