bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Wrong ACS_HLINE in ncurses-program on Televideo tvi 990


From: Jochen . Rupp
Subject: Wrong ACS_HLINE in ncurses-program on Televideo tvi 990
Date: Mon, 14 Jul 2008 13:45:53 +0200

Hello,

I have a problem with horizontal Lines in a ncurses program by using
it on a Televideo Model 990,
under using it on my PC with Putty I've got no problems.
The error is only showing under Solaris, under Suse Linux it works
fine.

Here's my configuration:
- SunOS 5.6 Generic_105181-11 sun4u sparc SUNW,Ultra-1
- SunOS 5.9 Generic_112233-02 sun4u sparc SUNW,UltraAX-e2
- Suse Linux 2.2.16 (ohne Fehler)
- NCurses Version 5.6

In my program I show several horizontal lines, but on the Televideo
they shown as a underscore not as a line in the middle. But the last
character of the line is then a the right middle line character.

I found the problem in a FOR loop, here I generate the horizontal
lines:
for (i = 0; i < COLS; i++) {
  waddch(iptr->win, ACS_HLINE);
}
update_panels();
doupdate();

If I would use update_panels() and doupdate() in the FOR loop, then
the horizontal lines would shown correct.
But the showing is very slowly:
for (i = 0; i < COLS; i++) {
  waddch(iptr->win, ACS_HLINE);
  update_panels();
  doupdate();
}

Here is a screenshot of my program:
http://www.250kb.de/u/080711/j/f6d85aba.jpg

I would be very glad if someone has a idea how to solve my problem!!
Thanx at all!

Greetings
Jochen Rupp





reply via email to

[Prev in Thread] Current Thread [Next in Thread]