Jeremie Courreges-Anglas([email protected]) on 2019.04.01 16:52:34 +0200:
> On Mon, Jun 18 2018, "Todd C. Miller" <[email protected]> wrote:
> > On Sun, 17 Jun 2018 15:52:34 -0600, "Todd C. Miller" wrote:
> >
> >> On Sun, 17 Jun 2018 17:29:31 +0200, Mark Kettenis wrote:
> >>
> >> > If folks indeed think that this is a must-have feature, this is
> >> > certainly a better approach.  I wonder though if the setupterm() call
> >> > should happen earlier when interactive mode is initialized?
> >>
> >> This turns out to be simpler than expected.  Now whenever TERM is
> >> set (including at startup) it will call setupterm().
> >
> > Hopefully final diff that better handles unknown term types.  Now
> > if you set TERM=gobbledegook the old cur_term will be invalidated
> > and clear-screen will not try to the escape sequence for the old
> > terminal.
> >
> > I think this is good enough to commit.
> 
> Since this went in, I'm using it on my machines instead of a bind -m hack.
> 
> Can't we make ^L=clear-screen the default behavior?  I don't see
> discussions about that.

I dont see why not, one less line in my .kshrc.

Reply via email to