Article 5C3SY How do I write ncurses chtype data to an external file?

How do I write ncurses chtype data to an external file?

by
jlt1
from LinuxQuestions.org on (#5C3SY)
I'm trying to learn to program with ncurses, and I have read several times through Dan Gookin's Programmer's Guide to nCurses; but there seems to be very little in there about getting data into and out of a program, especially getting it out.
Chapter 11, which deals with Pads, shows and example of how to read the contents of an external file, but there is no corresponding example for converting chtype data to regular strings to be written to a file.
This seems like it ought to be straightforward, but so far I haven't been able to find information about this.
To further confuse things, the above book is rather outdated, and does not deal with UTF-8 or wide-character data at all.latest?d=yIl2AUoC8zA latest?i=PwHdQ3cxHuw:s9Rmky_Yk6w:F7zBnMy latest?i=PwHdQ3cxHuw:s9Rmky_Yk6w:V_sGLiP latest?d=qj6IDK7rITs latest?i=PwHdQ3cxHuw:s9Rmky_Yk6w:gIN9vFwPwHdQ3cxHuw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments