Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh always resets LINES to 24.
- X-seq: zsh-users 1001
- From: Jahwan Kim <jahwan@xxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxxx
- Subject: Re: zsh always resets LINES to 24.
- Date: Wed, 3 Sep 1997 21:15:54 -0400
- In-reply-to: <199709030440.AAA01426@xxxxxxxxxx>; from Zoltan Hidvegi on Wed, Sep 03, 1997 at 12:40:18AM -0400
- References: <19970902225543.21124@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <199709030440.AAA01426@xxxxxxxxxx>
Quoting Zoltan Hidvegi (hzoli@xxxxxxxxxxxxxxx):
[snip]
[snip the clear explanation he gave]
[snip the patch]
Thank you for the wonderful explanation. I, as a user, want to point two
facts:
(1) The current behavior of zsh w.r.t. LINES and COLUMNS is not what it
should be. As far as I experienced, bash and zsh don't have any problem
with LINES and COLUMNS. I don't have their sources at hand, but zsh-workers
can take a look at them and tell us what's the deal.
(2) Also the manual doesn't describe the situation properly. The manual
lists LINES under 'The following parameters are used by the shell:', not
under 'The following parameters are automatically set by the shell:', where
I think it should be. And the sentences 'The number of lines for this
terminal session. Used for printing select lists and for the line editor'
doesn't say anything about zsh resetting LINES. Hopefully, this should be
fixed in the next release, IMHO.
I agree with what others have suggested. Treat LINES and COLUMNS as
magical variables, and whenever those are set by users within a shell, call
appropriate ioctl.
Cheers,
Jahwan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author