}
return 1;
#else /* HAVE_DEV_PTS_AND_PTC */
-#if defined(_CRAY) && !defined(_CRAYSV2)
+#ifdef _UNICOS
char buf[64];
int i;
int highpty;
void *old;
#endif /* USE_VHANGUP */
-#if defined(_CRAY) && !defined(_CRAYSV2)
+#ifdef _UNICOS
if (setsid() < 0)
error("setsid: %.100s", strerror(errno));
error("%.100s: %.100s", ttyname, strerror(errno));
close(*ttyfd);
*ttyfd = fd;
-#else /* _CRAY */
+#else /* _UNICOS */
/* First disconnect from the old controlling tty. */
#ifdef TIOCNOTTY
strerror(errno));
else
close(fd);
-#endif /* _CRAY */
+#endif /* _UNICOS */
}
/* Changes the window size associated with the pty. */