On Mon, May 16, 2016 at 08:09:42PM +0200, Sven Joachim wrote:
> Control: tags -1 + fixed-upstream
> 
> On 2016-05-07 05:08 -0400, Thomas Dickey wrote:
> 
> > 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.
> 
> The 20160514 patchlevel works fine, thanks.  Looks like it fixes bug
> #515609[1] as well, doesn't it?

You can mark that done, as well.

I verified that the behavior when UTF-8 mode is on gives okay results
(though I'll keep the "U8" flag for a while).  The behavior with UTF-8
mode off misses some characters (diamond, s1, s3, s7 and s9), and I've
a to-do to investigate a little further.

-- 
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