[mod.computers.vax] Help! Problem mixing Curses with standard/Unix IO calls in VMS

mdo@NGP.UTEXAS.EDU (Mike O'Donnell) (01/30/86)

I am currently attemping to adapt some Unix code to our VMS environment 
and am having some trouble mixing C IO with anything that uses curses.

For example, after initializing curses with a call to "initscr()",
any time I attempt a "getchar()", "putchar()", or any C library
operation to stdin/stdout, the program crashes in a system function
named _CHILD_OPEN.  Maybe mixing the two types of screen IO is not
a good idea, but as I said, I doing some adaptation of software from
a Unix environment.  In addition, I have even attempted using VMS
qio system calls for IO and that doesn't work at all either.

Another question involves unbuffered curses IO.  The VMS C manual
says that "raw()" and "noraw()" calls are implemented only for 
portability but provide no function.  As a matter of fact, quite a
few of the curses functions under VMS are that way, defined to just
satisfy an undefined function definition.  Is there any solution
to these problems or is there some sort of work-around? 

Any help will be greatly appreciated.

Mike O'Donnell @ LCRA Austin, Texas