[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ACS and repeating characters
From: |
Thomas Dickey |
Subject: |
Re: ACS and repeating characters |
Date: |
Mon, 24 Jul 2017 20:54:01 -0400 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Tue, Jul 25, 2017 at 12:51:02AM +0200, Dick Wesseling wrote:
>
> On Sat, Jul 15, 2017 at 08:44:07PM -0400, Thomas Dickey wrote:
> > > On Fri, Jul 14, 2017 at 03:17:58AM +0200, Dick Wesseling wrote:
> > > >
> > > > When emitting a range of repeated characters from the Alternate
> > > > Characer Set, EmitRange() supplies CharOf(ntext0) as the first parameter
> > > > of 'repeat_char' without translation. For example, ACS_HLINE is
> > > > printed as 'q' instead of \304.
> > > >
> > > > This can be reproduced with "TERM=ansi ./demo_forms".
> > >
> > > I see (by running this in Linux console, disabling UTF-8 and using
> > > the ncurses test-program menu f or F, if the number of graphic characters
> > > in a row is more than 4-5, the first character becomes "q", etc).
> > >
> > > The test wouldn't work for xterm :-)
> >
> > I took a close look today, and see that it is not a bug in ncurses.
>
> Look again. Even better, look twice: once with the attached patch
> applied and once with an unpatched version.
thanks (will see - there's some problem with the patch, but I understand
what you're suggesting).
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature