/* necf.c 1.2 81/05/28 */
extern char _sobuf
[BUFSIZ
];
signal(SIGQUIT
, SIG_IGN
);
tty
.sg_ispeed
= tty
.sg_ospeed
= B9600
;
tty
.sg_erase
= tty
.sg_kill
= -1;
tty
.sg_flags
= (ANYP
|XTABS
|LDECCTQ
);
if (ioctl(1, TIOCSETP
, (char *)&tty
) < 0)
printf("\033=\033\033\033O\f");
while (fgets(line
, sizeof(line
), stdin
) != NULL
) {
if (lnumber
== PAGESIZE
-1) {
if ((cp
= rindex(line
, '\n')) != NULL
)