GLOBAL
GLOBAL(echofd) = f;
if (GLOBAL(echofd) != -1) {
GTTY(GLOBAL(echofd), &sg); /* get settings */
STTY(GLOBAL(echofd), &sg);
GLOBAL(echofd) = -1;
# ifdef GLOBAL /* used in Amiga system headers, maybe others too */
GLOBAL(echofd) = f; /* in case ^C hit (not perfect: still CBREAK) */
GLOBAL(echofd) = -1;