[comp.sys.apollo] raw

AABENSON@MTUS5.BITNET (03/19/91)

Hey everybody!  I was about to write a new line editor, but I wanted to check
something out first, so I made a very simple program, like this:
#include <stdio.h>
#include <curses.h>
main()
{
     raw();
}

..and then compiled with:
% cc c.c -lcurses -ltermcap
%

And it compiled without any problems (of course)...  but, when it's run on
our Sun 3/60s or 3/50s under 4.1, the next thing I see after typing a.out
is a messages from our Annex, saying "CLI: Connection closed."  -- anyway,
if I redirect it to another tty, they go bye-bye also.

Does anybody have any ideas about this?  I think it's doing the effect of
an "stty 0", but I don't know why... I don't have this problem from other
Unix machine (that I've checked, which is to say, not very many).

Thanx! If you have ideas, please send me email at: aabenson@mtu.edu
PLEASE not this address. :)  Thanx.