bug-ncurses
[Top][All Lists]
Advanced

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

Re: screen and curses problem


From: Thomas Dickey
Subject: Re: screen and curses problem
Date: Tue, 3 Jul 2007 06:40:47 -0400 (EDT)

On Tue, 3 Jul 2007, Miroslaw Dach wrote:

Dear All,

        I am having a problem with screen program which uses ncurses
library. I have cross-compiled screen and ncurses library for powerpc405
processor.
...
I have recompiled the ncurses library version 5.4 with options which I
have figured out from ELDK4.1 (Embedded Linux development Kit by Denx):
...
The latest version of ncurses did cross compile but it does not work
properly on my system so I turned to ncurses 5.4 with some patches.

:-(

Unfortunately I am able to reattach to the server only twice.
The third time when I attache to the server the screen prints the text as
it was a wrong definition of characters per line.
...
Do you have any idea what could be wrong?

no - the closest I recall in this area is a memory-leak in the tgetent()
code.  But that should not cause a failure after only a few tries.

You may be able to see more by configuring ncurses --with-trace, and
tracing calls in the result.

I use the terminal definitions in the /ete/termcap. Maybe it is more
convenient to use terminfo instead? What is the advantage of terminfo over
termcap?

terminfo entries can be much larger (4k vs 1k), contain expressions that can be evaluated.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net




reply via email to

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