steven@cwi.nl (Steven Pemberton) (09/21/87)
A number of related questions. They all refer to the Alcyon compiler. How do you set stdin for raw input? I see in the library that there is a routine called sggty, but can't find any documentation for it. By the way, I know about Bconin and Cconin, but I don't want to go changing old programs to use those. Everyone says that Bconin ignores ^C ^S and ^Q, but I wrote a program that just reads characters and writes them again, and when I run it and then lean on the ^C key (so it auto repeats), the program still stops with an interrupt. Am I doing something wrong? How do you tell if stdin has been redirected (by a shell for instance) before the program was started? Isatty definitely doesn't work, much to my surprise. Last question: how do you tell which version of the compiler you've got? Many thanks for any help on these questions. Steven Pemberton, CWI, Amsterdam; steven@cwi.nl