On Sat, May 07, 2016 at 10:23:32AM +0200, Sven Joachim wrote:
> Package: ncurses-base
> Version: 6.0+20160319-1
> Severity: normal
> 
> The linux terminfo entry lacks the E3 capability, meaning that 
> clear(1) does not clear the scrollback buffer.  The capability was added
> to the linux3.0 terminfo entry, but we are not using this because it has
> some undesired side effects in non-Unicode locales, see the discussion
> in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665959.
> 
> I'm not quite sure what to do, but given that Linux kernels older than
> 3.0 are now unsupported, the terminfo entry for linux should certainly
> advertise this capability.
 
comparing linux to linux3.0.
    comparing booleans.
    comparing numbers.
    comparing strings.
        rmacs: '\E[10m', '^O'.
        sgr: 
'\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p9%t;11%;m',
 
'\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;m%?%p9%t\016%e\017%;'.
        sgr0: '\E[0;10m', '\E[m\017'.
        smacs: '\E[11m', '^N'.
        E3: NULL, '\E[3J'.

E3 is (as far as I know) harmless; the other features were the reason for
reverting.  When I checked a year or two ago, those were still relying on
an unofficial patch (since the entire concept of SI/SO offends UTF-8
purists), and could be absent from various kernels.

I'll see what I can learn, but adding E3 to "linux" might be the proper
change.

-- 
Thomas E. Dickey <dic...@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature

Reply via email to