From: utzoo!decvax!decwrl!sun!megatest!fortune!hpda!hplabs!sri-unix!gwyn@brl-vld.arpa Newsgroups: net.unix-wizards Title: Re: Curses library for USG (System 3,5) Article-I.D.: sri-arpa.744 Posted: Fri Mar 4 16:48:16 1983 Received: Fri Apr 1 09:57:54 1983 From: Doug Gwyn (VLD/VMB) I have curses/termlib running under our System III emulation; the _doprnt replacement is trivial (enclosed below), and the stty stuff works if you #define CBREAK RAW in curses.h . _sprintw(win, fmt, args) WINDOW *win; char *fmt; int *args; { extern FILE *_pfile; FILE junk; char buf[512]; junk._flag = _IOWRT + _IOSTRG; junk._ptr = buf; junk._cnt = 32767; _pfile = &junk; _print(fmt, &args); *junk._ptr = '\0'; return waddstr(win, buf); }