bug-ncurses
[Top][All Lists]
Advanced

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

Re: mvwprintw


From: Thomas Dickey
Subject: Re: mvwprintw
Date: Tue, 4 Apr 2006 06:21:14 -0400 (EDT)

On Mon, 3 Apr 2006, Bob Rossi wrote:

Aside from that, the two functions should be interchangeable.

Thanks Thomas! That's the problem. You noticed I was linking in
-ltermcap. If I remove this from the link line, everything works as
expected. This is great news considering I won't have to modify ncurses
or readline.

good.  This can still be a problem if readline is built using the rpath
option.

Now, does this mean that CGDB will no longer be able to support the
termcap library? I use termcap to get capability names like End, Home,
....

ncurses's termcap interface provides that.  The main difference between
terminfo-based support for termcap and a real termcap library:

        a) the tgetent() call in the latter returns data that the
           application can parse directly (xterm uses this feature,
           if available).

        b) strings (function-keys aren't affected) such as cursor-movement
           are in terminfo form in the former, rather than termcap.


I lookup both the info from termcap and terminfo and if I find either of
the input, I match the data.

Thanks again!
Bob Rossi


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




reply via email to

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