zsh-workers
 help / color / mirror / code / Atom feed
From: Geoff Wing <mason@werple.net.au>
To: cedman@Princeton.EDU (Carl Edman)
Subject: Re: TCCLEAREOD in zle_refresh.c/refresh()
Date: Sat, 17 Feb 1996 01:29:43 +1100 (EST)	[thread overview]
Message-ID: <199602171637.DAA05698@werple.net.au> (raw)
In-Reply-To: <199602031700.MAA19427@capitalist.princeton.edu> from "Carl Edman" at Feb 3, 96 12:00:43 pm

>From article 753 (and 756):
:In beta13 this function contains these lines:
:        if (!clearflag)
:            if (tccan(TCCLEAREOD))
:                tcout(TCCLEAREOD);
:            else
:                cleareol = 1;   /* set */
:The effect is to have every prompt clear to the end of screen.  That  
:causes display glitches under several terminal emulators with scroll-back  
:buffers.   I replaced the TCCLEAREOD with TCCLEAREOL which fixes that  
:problem without any apparent unwelcome side-effects.
:
:But then I'm not an expert on this section of the code, so maybe there is  
:a good, non-obvious reason that this has to be TCCLEAREOD ?  Unless there  
:is an outcry of complaint, I'll submit a two-line patch in a few days.

Not a good idea, and it should remain CLEAREOD.  If you can't handle
CLEAREOD because it affects your scrollback, one option may be to
disable it in your termcap/terminfo.  Most other things that need to clear
the screen will use a different terminal capability.


  reply	other threads:[~1996-02-17 16:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-03 17:00 Carl Edman
1996-02-16 14:29 ` Geoff Wing [this message]
1996-02-08  2:39 Carl Edman

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=199602171637.DAA05698@werple.net.au \
    --to=mason@werple.net.au \
    --cc=cedman@Princeton.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).