zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Tatsuo Furukawa <tatsuo@kobe.hp.com>,
	olsenc@ichips.intel.com, zsh-workers@math.gatech.edu
Subject: Re: 3.0.5: eval `resize` messes up
Date: Mon, 18 May 1998 11:20:26 -0700	[thread overview]
Message-ID: <980518112027.ZM10579@candle.brasslantern.com> (raw)
In-Reply-To: <199805180745.AA013327509@rfcom704.kobe.hp.com>
In-Reply-To: <19980518011037.A25015@dtthp169.pdx.intel.com>

On May 18,  4:45pm, Tatsuo Furukawa wrote:
} Subject: Re: 3.0.5: eval `resize` messes up
}
} 3.0.5 trust LINES and COLUMNS.  If you don't set LINES and COLUMNS,
} zsh measures terminal size.  But If you set LINES and COLUMNS, zsh
} trusts its value.
} 
} I don't know whether this is zsh's feature or bug.

It's a feature that has a bug, as far as I'm concerned.  Zsh went from
not believing LINES and COLUMNS when it should have, to believing them
even when it should not.  However, it's very difficult to come up with
an accurate expression for when they ought to be recognized.

On May 18,  1:10am, Clint Olsen wrote:
} Subject: Re: 3.0.5: eval `resize` messes up
}
} Setting LINES and COLUMNS is precisely why I use "eval `resize`".  It
} seems to work on every other shell except Zsh.  In fact it worked on
} Zsh 3.0.2.

Run "resize" without the "eval" wrapper and see what it spits out.  It
may be emitting some syntax that zsh doesn't like.  (And if you still
have 3.0.2 around, run it there too and see it it differs at all.)

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com


  reply	other threads:[~1998-05-18 19:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-12 16:27 Clint Olsen
1998-05-18  7:45 ` Tatsuo Furukawa
1998-05-18  8:10   ` Clint Olsen
1998-05-18 18:20     ` Bart Schaefer [this message]
1998-05-19  7:21       ` Clint Olsen
     [not found]         ` <980519093419.ZM14978@candle.brasslantern.com>
     [not found]           ` <19980519094017.A9893@dtthp169.pdx.intel.com>
1998-05-19 17:27             ` 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=980518112027.ZM10579@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=olsenc@ichips.intel.com \
    --cc=tatsuo@kobe.hp.com \
    --cc=zsh-workers@math.gatech.edu \
    /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).