Screen dump of multiple windows in curses
Doug Rudoff
rudoff at MDI.COM
Wed Mar 20 11:07:49 AEST 1991
I have a curses program that has mulitple windows displayed at the
same time and I would like to do a screen dump of what appears on the
screen into a file.
I thought by using curscr I would be able to look at what is actually
displayed on the screen, but when I try to use curscr, the data is
null (I looked at curscr->_y[0] and it was NULL).
I thought curscr held the current screen image; I obviously was wrong.
So can anyone give me a clue on how to get the screen image?
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Doug RUDOFF Motorola Mobile Data Bothell, WA uunet!mdisea!rudoff
(206) 487-5937 rudoff at mdi.com
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
More information about the Comp.lang.c
mailing list