*** lesson.c.orig Sun May 18 14:54:37 1997 --- lesson.c Tue Jun 24 11:11:21 1997 *************** *** 72,78 **** --- 72,84 ---- nocbreak(); + #ifdef __FreeBSD__ + (void)fgets(response,STR_SIZE + 1,stdin); + for (lp = response; *lp != '\n'; lp++) ; + *lp='\0'; + #else (void)gets(response); + #endif cbreak(); for (lp = response; *lp == ' ' || *lp == '\t'; lp++) ;