aboutsummaryrefslogtreecommitdiffstats
path: root/cad/cider/files/patch-af
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-12-25 15:40:48 +0000
committerSteve Price <steve@FreeBSD.org>1999-12-25 15:40:48 +0000
commit55faf4942d037a852ca5f9e4fec089b6fc41555d (patch)
tree2a4d69f8e8443d563117cefdb820bcd1d71c62cf /cad/cider/files/patch-af
parent96fbb327bfe3b1004d91a63982884c467202bd81 (diff)
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-af')
-rw-r--r--cad/cider/files/patch-af36
1 files changed, 36 insertions, 0 deletions
diff --git a/cad/cider/files/patch-af b/cad/cider/files/patch-af
new file mode 100644
index 000000000000..51654a8c7854
--- /dev/null
+++ b/cad/cider/files/patch-af
@@ -0,0 +1,36 @@
+*** sim/spice/common/src/lib/fte/misccoms.c.orig Wed Mar 9 04:15:44 1994
+--- sim/spice/common/src/lib/fte/misccoms.c Sun Dec 12 14:56:44 1999
+***************
+*** 11,16 ****
+--- 11,24 ----
+ #include "hlpdefs.h"
+ #include "suffix.h"
+
++ #ifdef HAS_GNUREADLINE
++ #include <readline/readline.h>
++ #include <readline/history.h>
++
++ extern int gnu_history_lines;
++ extern char gnu_history_file[];
++ #endif
++
+ static void byemesg();
+
+ void
+***************
+*** 299,304 ****
+--- 307,320 ----
+ byemesg();
+ } else
+ byemesg();
++
++ #ifdef HAS_GNUREADLINE
++ /* Added GNU Readline Support -- Andrew Veliath <veliaa@rpi.edu> */
++ if (cp_interactive && (cp_maxhistlength > 0)) {
++ stifle_history(cp_maxhistlength);
++ write_history(gnu_history_file);
++ }
++ #endif /* HAS_GNUREADLINE */
+
+ exit(EXIT_NORMAL);
+ /* NOTREACHED */