Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: 3.0.5: eval `resize` messes up
- X-seq: zsh-workers 3987
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Tatsuo Furukawa <tatsuo@xxxxxxxxxxx>, olsenc@xxxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: 3.0.5: eval `resize` messes up
- Date: Mon, 18 May 1998 11:20:26 -0700
- In-reply-to: <199805180745.AA013327509@xxxxxxxxxxxxxxxxxxxx>
- In-reply-to: <19980518011037.A25015@xxxxxxxxxxxxxxxxxxxxxx>
- References: <199805180745.AA013327509@xxxxxxxxxxxxxxxxxxxx> <19980512092717.A13425@xxxxxxxxxxxxxxxxxxxxxx> <19980518011037.A25015@xxxxxxxxxxxxxxxxxxxxxx>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author