Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!wuarchive!udel!brahms.udel.edu!apperson From: apperson@brahms.udel.edu (Apperson H Johnson) Newsgroups: comp.unix.aix Subject: curses winch() broken? Message-ID: <14834@brahms.udel.edu> Date: 17 Oct 90 17:38:02 GMT Distribution: usa Organization: University of Delaware Lines: 31 I have the following code fragment that builds a file containing a window in the curses (i have tried this on SCO XENIX 3.2) /* wr is rows, wc is cols */ for(i=0; i < wr; ++i) { for (j=0; j < wc; ++j) { wmove(w,i,j); getyx(w,r,c); fprintf(fp,"%c",winch(w) & 0x0ff); } fprintf(fp,"\n"); } the resulting file under AIX 3.1 on an RS6000 does not contain the same information has anyone any suggestions ? (please, I MUST use curses for this one) thanks, apperson@brahms.udel.edu