From: <hzoli@vnet.IBM.COM> (Zoltan T. Hidvegi)
To: schaefer@nbn.com
Cc: zsh-workers@math.gatech.edu (Zsh workers list)
Subject: Re: zle_refresh patch 2
Date: Thu, 6 Mar 1997 13:58:10 -0500 (EST) [thread overview]
Message-ID: <9703061858.AA14334@lotto.fishkill.ibm.com> (raw)
In-Reply-To: <970305165110.ZM7569@candle.brasslantern.com> from Bart Schaefer at "Mar 5, 97 04:51:10 pm"
Bart Schaefer wrote:
> Hmm. Well, I dislike your change because it presumes that init_term()
> is independent of the values of "lines" and "columns". This in itself
> (init_term() not knowing about lines/columns) MAY be wrong, now that I
> look at it, because init_term() is called from zle in a couple places,
> namely putprompt() and zleread().
>
> Will zle ever call init_term in such a way that a very-small terminal is
> set incorrectly? I don't follow it well enough to be sure.
zle calls init_term only if !termok holds, so it may cause a problem when
COLUMNS < 3. But here the meaning of termok should be changed. It should
contain flags, like TERM_BAD, TERM_NOUP, TERM_UNKNOWN, TERM_SHORT,
TERM_NARROW, etc. init_term() should only be called if TERM_UNKNOWN is
true. Line/column change should only change some flags in termok.
Zoltan
next prev parent reply other threads:[~1997-03-06 19:58 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-02-03 10:55 gwing
1997-02-03 18:05 ` Bart Schaefer
1997-02-03 18:34 ` gwing
1997-02-03 19:03 ` Bart Schaefer
1997-02-04 8:25 ` Peter Stephenson
1997-03-05 20:56 ` Zoltan T. Hidvegi
1997-03-05 21:55 ` Bart Schaefer
1997-03-05 23:06 ` Bart Schaefer
1997-03-05 23:47 ` Zoltan T. Hidvegi
1997-03-06 0:51 ` Bart Schaefer
1997-03-06 3:56 ` gwing
1997-03-06 4:58 ` Bart Schaefer
1997-03-06 5:03 ` gwing
1997-03-06 18:32 ` Zoltan T. Hidvegi
1997-03-06 18:58 ` Zoltan T. Hidvegi [this message]
1997-03-05 23:52 Zoltan T. Hidvegi
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=9703061858.AA14334@lotto.fishkill.ibm.com \
--to=hzoli@vnet.ibm.com \
--cc=schaefer@nbn.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).