[slang-users] Curious behaviour with SLsmg_set_color and
SLsmg_write_string
Remko van der Vossen
wich at stack.nl
Wed Nov 28 15:19:48 UTC 2007
On Wed, Nov 28, 2007 at 01:57:35PM +0100, Remko van der Vossen wrote:
> On Tue, Nov 27, 2007 at 10:31:14PM +0000, John E. Davis wrote:
> > Remko van der Vossen <wich at stack.nl> wrote:
> > > I have a small problem which I seem unable to resolve, I write items
> > >=66rom an stl list of strings to a scrollable window using
> > > SLsmg_write_nstring and indicate the cursor in said window by using
> > > reverse video with SLsmg_set_color. However as soon as the window starts
> > > scrolling, the text in the cursorline gets garbled, (shifted and
> > > combined with the string which was on that line previously,) all other
> > > lines both above and below the cursor remain fine. I have condensed the
> > > problem to the enclosed test program.
> >
> > I am unable to reproduce the problem (using g++ 4.1.2). What version
> > of slang are you using? What terminal are you using?
>
> slang version is 2.1.3
> xterminal is mlterm version 2.9.3
> LANG is set to ja_JP.UTF-8
> glibc version 2.4
It seems to be a problem in combination with glibc, when I try the same
binary on a different system with the same versions of slang and mlterm
and the same LANG but glibc version 2.6.1 the problem does not occur.
Now the question is if this is a bug purely in glibc or does slang do
something that doesn't agree with glibc 2.4. Does slang support glibc
2.4?
Regards,
Remko van der Vossen.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2265 bytes
Desc: not available
Url : http://mailman.jedsoft.org/pipermail/slang-users-l/attachments/20071128/c400d4bf/smime.bin
More information about the slang-users-l
mailing list