[comp.unix.microport] curses?

samperi@djs.UUCP (Dominick Samperi) (11/22/88)

The Microport curses package seems to have a few problems. Screens don't
seem to get cleared when they are supposed to, and it seems to be
impossible to display a window with a non-blank charactar in the lower
right hand corner. For example, after calling box(win, '|', '-'),
followed by wrefresh(win), you get something like this:

	|-------------|
	|             |
	|             |
	|             |
	|             |
	|             |
	|-|-----------

Has anyone else experienced problems using curses? I'm using libcurses.a
from 2.3, and I have release 2.4, but didn't load it because I
didn't see how this would help. In particular, cmp shows that libcurses.a
is exactly the same in both release 2.3 and 2.4.

Another problem with curses is that it really makes executables large.
-- 
Dominick Samperi
    samperi@acf8.nyu.edu             uunet!hombre!samperi
    cmcl2!acf8!samperi               rutgers!acf8.nyu.edu!samperi
      (^ ell)

jmsully@uport.UUCP (John M. Sully) (11/24/88)

In article <186@djs.UUCP> samperi@djs.UUCP (Dominick Samperi) writes:
|The Microport curses package seems to have a few problems. Screens don't
|seem to get cleared when they are supposed to, and it seems to be
|impossible to display a window with a non-blank charactar in the lower
|right hand corner. For example, after calling box(win, '|', '-'),
|followed by wrefresh(win), you get something like this:
|
|	|-------------|
|	|             |
|	|             |
|	|             |
|	|             |
|	|             |
|	|-|-----------
|

I only have an answer to the box problem, but it is fairly simple.  This is
not a problem with curses, rather it is a bug in the "rep" capability of the
console driver.  Removing "rep" from the console terminfo definition will
fix this problem.

John M. Sully