zsh-workers
 help / color / mirror / code / Atom feed
* Re: COLUMNS problem.
       [not found] <199606051525.RAA04603@nu.EMBL-Heidelberg.DE>
@ 1996-06-05 16:12 ` Zefram
  0 siblings, 0 replies; only message in thread
From: Zefram @ 1996-06-05 16:12 UTC (permalink / raw)
  To: Rob Hooft; +Cc: Z Shell workers mailing list

>nu[100]crazy%% unset COLUMNS
>zsh: floating point exception  zsh

That's an effect of setting COLUMNS to zero.  unset does this.  One of
the patches I sent recently, to fix "unset USERNAME", incidentally
fixes this, by stopping unset from zeroing integer parameters.

>nu[104]crazy% COLUMNS= zsh -f
>zsh: floating point exception  COLUMNS= zsh -f
>nu[105]crazy% COLUMNS=0 zsh -f           
>zsh: floating point exception  COLUMNS=0 zsh -f

We need to do something about this.  I don't think zsh can handle less
than 2 columns, possibly more.

-zefram



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-06-05 16:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <199606051525.RAA04603@nu.EMBL-Heidelberg.DE>
1996-06-05 16:12 ` COLUMNS problem Zefram

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).