summaryrefslogtreecommitdiffstats
path: root/cad/cider/files/patch-ac
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1999-12-25 15:40:48 +0000
committersteve <steve@FreeBSD.org>1999-12-25 15:40:48 +0000
commitb15e823a79ffc86fe4e4f6d32fb763a032ce7c40 (patch)
tree39dfbf92131fa64a5339b226b7294c93631ccca3 /cad/cider/files/patch-ac
parentf634f91368a84ca7f40d334464c2aa0ed5c6029d (diff)
downloadFreeBSD-ports-b15e823a79ffc86fe4e4f6d32fb763a032ce7c40.zip
FreeBSD-ports-b15e823a79ffc86fe4e4f6d32fb763a032ce7c40.tar.gz
cider version 1b1
A mixed-level circuit and device simulator (includes SPICE3). PR: 15462 Submitted by: AMAKAWA Shuhei <amakawa@jp.FreeBSD.org>
Diffstat (limited to 'cad/cider/files/patch-ac')
-rw-r--r--cad/cider/files/patch-ac62
1 files changed, 62 insertions, 0 deletions
diff --git a/cad/cider/files/patch-ac b/cad/cider/files/patch-ac
new file mode 100644
index 0000000..def5c2a
--- /dev/null
+++ b/cad/cider/files/patch-ac
@@ -0,0 +1,62 @@
+*** sim/spice/common/src/bin/sconvert.c.orig Sat Jan 29 19:12:56 1994
+--- sim/spice/common/src/bin/sconvert.c Sun Dec 12 14:49:36 1999
+***************
+*** 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);
+! (void) fgets(buf,BSIZE_SP,stdin);
+ sf = copy(buf);
+ printf("Input type: ");
+ (void) fflush(stdout);
+! (void) fgets(buf,BSIZE_SP,stdin);
+ f = buf[0];
+ printf("Output file: ");
+ (void) fflush(stdout);
+! (void) fgets(buf,BSIZE_SP,stdin);
+ af = copy(buf);
+ printf("Output type: ");
+ (void) fflush(stdout);
+! (void) fgets(buf,BSIZE_SP,stdin);
+ t = buf[0];
+ break;
+ default:
+*** sim/spice/common/src/lib/fte/inp.c.orig Sat Jan 29 18:48:10 1994
+--- sim/spice/common/src/lib/fte/inp.c Sun Dec 12 14:49:36 1999
+***************
+*** 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);
+! (void) fgets(buf,BSIZE_SP,stdin);
+ if (buf[0] != 'n') {
+ fprintf(cp_out, "running circuit\n");
+ com_run(NULL);
OpenPOWER on IntegriCloud