*** ckutio.c.bak Sat Nov 12 20:17:05 1994 --- ckutio.c Fri Nov 18 16:46:51 1994 *************** *** 1943,1953 **** */ #ifdef ATTSV #ifdef BSD44 ! #ifdef __bsdi__ if (xlocal) ttraw.c_cflag |= CLOCAL; #endif /* __bsdi__ */ ! tcsetattr(ttyfd, TCSADRAIN, &ttraw); #else /* !BSD44 */ if (xlocal) { ttraw.c_cflag |= CLOCAL; --- 1943,1954 ---- */ #ifdef ATTSV #ifdef BSD44 ! #if defined(__bsdi__) || defined(__FreeBSD__) if (xlocal) ttraw.c_cflag |= CLOCAL; #endif /* __bsdi__ */ ! if (tcsetattr(ttyfd, TCSADRAIN, &ttraw) < 0) ! perror("tcsetattr"); #else /* !BSD44 */ if (xlocal) { ttraw.c_cflag |= CLOCAL; *************** *** 2834,2844 **** --- 2835,2847 ---- #ifndef AIXRS /* But not for RS/6000 AIX 3.2, etc. */ #ifndef BSD44 /* If anybody else needs it... */ #ifndef __386BSD__ + #ifndef __FreeBSD__ #ifndef HPUX10 #ifndef IRIX51 /* SGI IRIX 5.1 or later */ #define LFDEVNO #endif /* IRIX51 */ #endif /* HPUX10 */ + #endif /* __FreeBSD__ */ #endif /* __386BSD__ */ #endif /* BSD44 */ #endif /* AIXRS */