Added oldstyle option.

This commit is contained in:
Eric S. Raymond 2017-05-23 11:28:56 -04:00
parent f89f63c6d1
commit 935d8b8e68
6 changed files with 18 additions and 2 deletions

3
misc.c
View file

@ -1,3 +1,4 @@
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
#include "main.h"
@ -884,6 +885,8 @@ long I, VAL;
if(MAP2[1] == 0)MPINIT();
if (!oldstyle && isatty(0))
fputs("> ", stdout);
IGNORE(fgets(INLINE+1,sizeof(INLINE)-1,OPENED));
if (feof(OPENED)) {
if (logfp)