Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532116

Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles

From Adam Borowski <kilobyte@angband.pl>
Newsgroups linux.kernel
Subject Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles
Date 2016-11-29 11:50 +0100
Message-ID <sIO94-7lk-7@gated-at.bofh.it> (permalink)
References <sGJGx-7OY-7@gated-at.bofh.it> <sIaY2-6ON-15@gated-at.bofh.it> <sIfkZ-1mC-11@gated-at.bofh.it> <sIBER-7sc-1@gated-at.bofh.it> <sINwn-75C-45@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Nov 29, 2016 at 10:01:15AM +0000, Andrey Utkin wrote:
> Regarding logout scrollback clearing not working for me. ncurses-6.0-rc1
> which I tested it with is the latest available in Gentoo portage, please
> confirm whether I need any newer version, or should I tune something
> else. I'd appreciate if you also tested your patch with gentoo setup.

Could you please check whether its terminfo carries the required
definitions?  In ncurses sources, that's misc/terminfo.src

The relevant parts are:
.--====
# The 3.0 kernel adds support for clearing scrollback buffer (capability E3).
# It is the same as xterm's erase-saved-lines feature.
linux3.0|linux 3.0 kernels,
        E3=\E[3J, use=linux2.6,

# This is Linux console for ncurses.
linux|linux console,
        use=linux3.0,
`----

I believe the first part was added first; if that's true it's possible this
will work for you:
    TERM=linux3.0 clear


I'm not sure what Gentoo does to clear the console during logout: it might
just invoke "clear" (or its underlying ncurses implementation), it might
carry a copy of Debian's "clear_console"[1], it might do something else
entirely.


Meow!

[1]. It originally came from Ubuntu, forked there from "clear".
-- 
The bill declaring Jesus as the King of Poland fails to specify whether
the addition is at the top or end of the list of kings.  What should the
historians do?

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v7 0/3] console: Add persistent scrollback buffers for all VGA consoles Manuel Schölling <manuel.schoelling@gmx.de> - 2016-11-27 18:00 +0100
  Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Andrey Utkin <andrey_utkin@fastmail.com> - 2016-11-27 22:40 +0100
    Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Adam Borowski <kilobyte@angband.pl> - 2016-11-28 00:20 +0100
      Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Jakub Wilk <jwilk@jwilk.net> - 2016-11-28 00:40 +0100
      Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Andrey Utkin <andrey_utkin@fastmail.com> - 2016-11-28 01:10 +0100
    Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Manuel Schölling <manuel.schoelling@gmx.de> - 2016-11-28 22:30 +0100
      Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Andrey Utkin <andrey_utkin@fastmail.com> - 2016-11-29 11:10 +0100
        Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Adam Borowski <kilobyte@angband.pl> - 2016-11-29 11:50 +0100
        Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Manuel Schölling <manuel.schoelling@gmx.de> - 2016-11-29 17:40 +0100
        Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Manuel Schölling <manuel.schoelling@gmx.de> - 2016-12-01 22:10 +0100
          Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Andrey Utkin <andrey_utkin@fastmail.com> - 2016-12-01 22:40 +0100
  Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Adam Borowski <kilobyte@angband.pl> - 2016-11-28 01:00 +0100
    Re: [PATCH v7 0/3] console: Add persistent scrollback buffers for  all VGA consoles Manuel Schölling <manuel.schoelling@gmx.de> - 2016-11-28 22:30 +0100

csiph-web