1997-10-22 07:04:55 +00:00
|
|
|
*** src/bin/sconvert.c.orig Tue Aug 19 17:44:17 1997
|
|
|
|
--- src/bin/sconvert.c Tue Aug 19 17:47:11 1997
|
|
|
|
***************
|
|
|
|
*** 80,98 ****
|
|
|
|
|
|
|
|
case 1: printf("Input file: ");
|
|
|
|
(void) fflush(stdout);
|
|
|
|
! (void) gets(buf);
|
|
|
|
sf = copy(buf);
|
|
|
|
printf("Input type: ");
|
|
|
|
(void) fflush(stdout);
|
|
|
|
! (void) gets(buf);
|
|
|
|
f = buf[0];
|
|
|
|
printf("Output file: ");
|
|
|
|
(void) fflush(stdout);
|
|
|
|
! (void) gets(buf);
|
|
|
|
af = copy(buf);
|
|
|
|
printf("Output type: ");
|
|
|
|
(void) fflush(stdout);
|
|
|
|
! (void) gets(buf);
|
|
|
|
t = buf[0];
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
--- 80,98 ----
|
|
|
|
|
|
|
|
case 1: printf("Input file: ");
|
|
|
|
(void) fflush(stdout);
|
1998-06-08 09:21:41 +00:00
|
|
|
! (void) fgets(buf,BSIZE_SP,stdin);
|
1997-10-22 07:04:55 +00:00
|
|
|
sf = copy(buf);
|
|
|
|
printf("Input type: ");
|
|
|
|
(void) fflush(stdout);
|
1998-06-08 09:21:41 +00:00
|
|
|
! (void) fgets(buf,BSIZE_SP,stdin);
|
1997-10-22 07:04:55 +00:00
|
|
|
f = buf[0];
|
|
|
|
printf("Output file: ");
|
|
|
|
(void) fflush(stdout);
|
1998-06-08 09:21:41 +00:00
|
|
|
! (void) fgets(buf,BSIZE_SP,stdin);
|
1997-10-22 07:04:55 +00:00
|
|
|
af = copy(buf);
|
|
|
|
printf("Output type: ");
|
|
|
|
(void) fflush(stdout);
|
1998-06-08 09:21:41 +00:00
|
|
|
! (void) fgets(buf,BSIZE_SP,stdin);
|
1997-10-22 07:04:55 +00:00
|
|
|
t = buf[0];
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
*** src/lib/fte/inp.c.orig Tue Aug 19 17:38:25 1997
|
|
|
|
--- src/lib/fte/inp.c Tue Aug 19 17:33:01 1997
|
|
|
|
***************
|
|
|
|
*** 666,672 ****
|
|
|
|
|
|
|
|
fprintf(cp_out, "run circuit? ");
|
|
|
|
fflush(cp_out);
|
|
|
|
! (void) gets(buf);
|
|
|
|
if (buf[0] != 'n') {
|
|
|
|
fprintf(cp_out, "running circuit\n");
|
|
|
|
com_run(NULL);
|
|
|
|
--- 666,672 ----
|
|
|
|
|
|
|
|
fprintf(cp_out, "run circuit? ");
|
|
|
|
fflush(cp_out);
|
1998-06-08 09:21:41 +00:00
|
|
|
! (void) fgets(buf,BSIZE_SP,stdin);
|
1997-10-22 07:04:55 +00:00
|
|
|
if (buf[0] != 'n') {
|
|
|
|
fprintf(cp_out, "running circuit\n");
|
|
|
|
com_run(NULL);
|