$NetBSD: patch-ac,v 1.2 2000/12/08 09:54:30 jtb Exp $ --- utils/pltek.c.orig +++ utils/pltek.c @@ -110,7 +110,7 @@ oldpage = ipage; printf("Page %d/%d> ", ipage, npage); - gets(ibuf); + fgets(ibuf, sizeof(ibuf), stdin); c = ibuf[0]; /* User input a page number or a return */