aboutsummaryrefslogtreecommitdiff
path: root/cad/cider
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
parent96fbb327bfe3b1004d91a63982884c467202bd81 (diff)
downloadports-55faf4942d037a852ca5f9e4fec089b6fc41555d.tar.gz
ports-55faf4942d037a852ca5f9e4fec089b6fc41555d.zip
Notes
Diffstat (limited to 'cad/cider')
-rw-r--r--cad/cider/Makefile37
-rw-r--r--cad/cider/distinfo1
-rw-r--r--cad/cider/files/FreeBSD10
-rw-r--r--cad/cider/files/Makefile.cider9
-rw-r--r--cad/cider/files/Makefile.spice17
-rw-r--r--cad/cider/files/patch-aa48
-rw-r--r--cad/cider/files/patch-ab95
-rw-r--r--cad/cider/files/patch-ac62
-rw-r--r--cad/cider/files/patch-ad210
-rw-r--r--cad/cider/files/patch-ae81
-rw-r--r--cad/cider/files/patch-af36
-rw-r--r--cad/cider/files/patch-ag23
-rw-r--r--cad/cider/files/patch-ah20
-rw-r--r--cad/cider/files/patch-ai20
-rw-r--r--cad/cider/files/patch-ba39
-rw-r--r--cad/cider/files/patch-bb36
-rw-r--r--cad/cider/files/patch-bc210
-rw-r--r--cad/cider/files/patch-be26
-rw-r--r--cad/cider/files/patch-bf18
-rw-r--r--cad/cider/files/patch-bg22
-rw-r--r--cad/cider/pkg-comment1
-rw-r--r--cad/cider/pkg-descr34
-rw-r--r--cad/cider/pkg-plist108
23 files changed, 1163 insertions, 0 deletions
diff --git a/cad/cider/Makefile b/cad/cider/Makefile
new file mode 100644
index 000000000000..a86c3da5e6d4
--- /dev/null
+++ b/cad/cider/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: cider
+# Version required: 1b1
+# Date created: 1999-12-12
+# Whom: AMAKAWA Shuhei <amakawa@jp.FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= cider1b1
+PKGNAME= cider-1b1
+CATEGORIES= cad
+MASTER_SITES= ftp://ic.eecs.berkeley.edu/pub/Cider/new/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= amakawa@jp.FreeBSD.org
+
+USE_XLIB= yes
+NO_WRKSUBDIR= yes
+MAN1= sconvert.1 nutmeg.1 spice.1 cider.1
+MAN3= mfb.3
+MAN5= mfbcap.5
+MLINKS= spice.1 spice3.1
+
+pre-patch:
+ ${CP} -f ${WRKSRC}/sim/spice/common/lib/helpdir/spice.txt ${WRKSRC}/sim/cider/common/lib/helpdir/spice.txt
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/examples/spice3
+ ${INSTALL_DATA} ${WRKSRC}/sim/spice/common/examples/*.cir ${PREFIX}/share/examples/spice3
+ ${MKDIR} ${PREFIX}/share/examples/cider
+ ${TAR} -cf - -C ${WRKSRC}/sim/cider/common/examples . | ${TAR} -xf - -C ${PREFIX}/share/examples/cider
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/cider
+ ${LN} -fs ${PREFIX}/share/spice3/scripts/spinit ${PREFIX}/share/cider/scripts
+.endif
+
+.include <bsd.port.mk>
diff --git a/cad/cider/distinfo b/cad/cider/distinfo
new file mode 100644
index 000000000000..6038b4d5f347
--- /dev/null
+++ b/cad/cider/distinfo
@@ -0,0 +1 @@
+MD5 (cider1b1.tar.Z) = e14186af9e839d310ea5dd38e58044d5
diff --git a/cad/cider/files/FreeBSD b/cad/cider/files/FreeBSD
new file mode 100644
index 000000000000..b45d347e1da1
--- /dev/null
+++ b/cad/cider/files/FreeBSD
@@ -0,0 +1,10 @@
+# FreeBSD config exception file
+
+MAKE = /usr/bin/make
+INTERFACE_OPTS = -DWANT_X11
+CC_OPT = -O2 -DHAS_GNUREADLINE -pipe
+CC_OPT_SAFE = -O -DHAS_GNUREADLINE -pipe
+X_DIR = $(X11BASE)
+LDFLAGS = -L$(X11BASE)/lib -lreadline -lm -ltermcap
+ASM_HACK = < /dev/null
+SYS_CFLAGS = -Dbsd
diff --git a/cad/cider/files/Makefile.cider b/cad/cider/files/Makefile.cider
new file mode 100644
index 000000000000..626c42d0e6d0
--- /dev/null
+++ b/cad/cider/files/Makefile.cider
@@ -0,0 +1,9 @@
+all:
+ ./util/build FreeBSD
+
+install:
+ ./util/build FreeBSD install
+ chmod a+rx ${PREFIX}/bin/cider
+ strip ${PREFIX}/bin/cider
+ chmod -R a+rX ${PREFIX}/share/cider
+ install -c -m 644 -o bin -g bin doc/cider.1 ${PREFIX}/man/man1/cider.1
diff --git a/cad/cider/files/Makefile.spice b/cad/cider/files/Makefile.spice
new file mode 100644
index 000000000000..5950acb118b7
--- /dev/null
+++ b/cad/cider/files/Makefile.spice
@@ -0,0 +1,17 @@
+all:
+ ./util/build FreeBSD default
+
+install:
+ ./util/build FreeBSD install
+ chmod a+rx ${PREFIX}/bin/spice3 ${PREFIX}/bin/nutmeg \
+ ${PREFIX}/bin/sconvert ${PREFIX}/bin/help \
+ ${PREFIX}/bin/proc2mod ${PREFIX}/bin/multidec
+ strip ${PREFIX}/bin/spice3 ${PREFIX}/bin/nutmeg \
+ ${PREFIX}/bin/sconvert ${PREFIX}/bin/help \
+ ${PREFIX}/bin/proc2mod ${PREFIX}/bin/multidec
+ chmod -R a+rX ${PREFIX}/share/spice3
+ install -c -m 644 -o bin -g bin man/man5/mfbcap.5 ${PREFIX}/man/man5/mfbcap.5
+ install -c -m 644 -o bin -g bin man/man1/sconvert.1 ${PREFIX}/man/man1/sconvert.1
+ install -c -m 644 -o bin -g bin man/man1/nutmeg.1 ${PREFIX}/man/man1/nutmeg.1
+ install -c -m 644 -o bin -g bin man/man1/spice.1 ${PREFIX}/man/man1/spice.1
+ install -c -m 644 -o bin -g bin man/man3/mfb.3 ${PREFIX}/man/man3/mfb.3
diff --git a/cad/cider/files/patch-aa b/cad/cider/files/patch-aa
new file mode 100644
index 000000000000..50b2c4222641
--- /dev/null
+++ b/cad/cider/files/patch-aa
@@ -0,0 +1,48 @@
+*** sim/spice/common/conf/defaults.orig Sat Jan 29 19:15:53 1994
+--- sim/spice/common/conf/defaults Sun Dec 12 14:40:09 1999
+***************
+*** 105,116 ****
+ # identified as and SYSTEM is the name of the per-system definitions
+ # file listed on the "build" command line.
+
+! SPICE_DIR = $(TOP1)/$(SYSTEM)
+! SPICE_LIB_DIR = $(SPICE_DIR)/lib
+ SPICE_EXEC_DIR = $(SPICE_DIR)/bin
+
+ S_SPICE_DIR = $(SPICE_DIR)
+! S_SPICE_LIB_DIR = $(S_SPICE_DIR)/lib
+ S_SPICE_EXEC_DIR= $(S_SPICE_DIR)/bin
+
+ # INSTALL_DIRS lists the directories that need to be created before
+--- 105,116 ----
+ # identified as and SYSTEM is the name of the per-system definitions
+ # file listed on the "build" command line.
+
+! SPICE_DIR = ${PREFIX}
+! SPICE_LIB_DIR = $(SPICE_DIR)/share/spice3
+ SPICE_EXEC_DIR = $(SPICE_DIR)/bin
+
+ S_SPICE_DIR = $(SPICE_DIR)
+! S_SPICE_LIB_DIR = $(S_SPICE_DIR)/share/spice3
+ S_SPICE_EXEC_DIR= $(S_SPICE_DIR)/bin
+
+ # INSTALL_DIRS lists the directories that need to be created before
+*** sim/spice/common/util/build.orig Sat Jan 29 19:16:26 1994
+--- sim/spice/common/util/build Sun Dec 12 14:38:33 1999
+***************
+*** 96,102 ****
+
+ TMP_LEADER="${TMP_DIR}/buildl$$"
+ TMP_TRAILER="${TMP_DIR}/buildt$$"
+! trap 'rm -f ${TMP_LEADER} ${TMP_TRAILER}; exit 1' 1 2 3 4 6 7 8 9 10 12 13 14 15
+ echo > "${TMP_TRAILER}"
+ BAD=false
+ DEBUG=
+--- 96,102 ----
+
+ TMP_LEADER="${TMP_DIR}/buildl$$"
+ TMP_TRAILER="${TMP_DIR}/buildt$$"
+! trap 'rm -f ${TMP_LEADER} ${TMP_TRAILER}; exit 1' 1 2 3 4 6 7 8 10 12 13 14 15
+ echo > "${TMP_TRAILER}"
+ BAD=false
+ DEBUG=
diff --git a/cad/cider/files/patch-ab b/cad/cider/files/patch-ab
new file mode 100644
index 000000000000..9c6425754efb
--- /dev/null
+++ b/cad/cider/files/patch-ab
@@ -0,0 +1,95 @@
+*** sim/spice/common/src/lib/fte/resource.c.orig Sat Jan 29 18:48:28 1994
+--- sim/spice/common/src/lib/fte/resource.c Sun Dec 12 14:38:33 1999
+***************
+*** 370,376 ****
+--- 370,378 ----
+ long x;
+ SIGNAL_TYPE (*orig_signal)( );
+
++ #ifndef __FreeBSD__
+ if (getenv("SPICE_NO_DATASEG_CHECK"))
++ #endif
+ return 0;
+
+ low = 0;
+*** sim/spice/common/src/include/misc.h.orig Sat Jan 29 19:14:17 1994
+--- sim/spice/common/src/include/misc.h Sun Dec 12 14:38:33 1999
+***************
+*** 86,92 ****
+--- 86,94 ----
+ extern char *realloc();
+ extern char *getenv();
+ extern int errno;
++ #ifndef __FreeBSD__
+ extern char *sys_errlist[];
++ #endif
+ extern char *getenv();
+ extern char *getwd();
+ extern int rand();
+***************
+*** 109,120 ****
+--- 111,124 ----
+ # endif /* clearerr */
+ # endif /* HAS_CLEARERR */
+
++ #ifndef __FreeBSD__
+ # ifndef bzero
+ extern int bzero();
+ # endif
+ # ifndef bcopy
+ extern void bcopy();
+ # endif
++ #endif /* __FreeBSD__ */
+
+ # ifndef index
+ # ifdef HAS_INDEX
+*** sim/spice/common/src/include/os_bsd.h.orig Sat Jan 29 19:14:37 1994
+--- sim/spice/common/src/include/os_bsd.h Sun Dec 12 14:38:33 1999
+***************
+*** 8,19 ****
+
+ #include "os_unix.h"
+
+ #define HAS_NO_ATRIGH_DECL /* if asinh( ) is not in math.h */
+- #define HAS_ATRIGH /* acosh( ), asinh( ), atanh( ) */
+ #define HAS_FTIME /* ftime( ), <times.h> */
+ #define HAS_TERMCAP /* tgetxxx( ) */
+ #define HAS_VFORK /* BSD-ism, should not be necessary */
+- #define HAS_INDEX /* index( ) instead of strchr( ) */
+ #define HAS_BCOPY /* bcopy( ), bzero( ) */
+ #define HAS_BSDRANDOM /* srandom( ) and random( ) */
+ #define HAS_BSDTTY /* <sgtty.h> */
+--- 8,23 ----
+
+ #include "os_unix.h"
+
++ #ifndef __FreeBSD__
+ #define HAS_NO_ATRIGH_DECL /* if asinh( ) is not in math.h */
+ #define HAS_FTIME /* ftime( ), <times.h> */
++ #define HAS_INDEX /* index( ) instead of strchr( ) */
++ #define HAS_STRINGS /* use <strings.h> instead of <string.h> */
++ #endif
++
++ #define HAS_ATRIGH /* acosh( ), asinh( ), atanh( ) */
+ #define HAS_TERMCAP /* tgetxxx( ) */
+ #define HAS_VFORK /* BSD-ism, should not be necessary */
+ #define HAS_BCOPY /* bcopy( ), bzero( ) */
+ #define HAS_BSDRANDOM /* srandom( ) and random( ) */
+ #define HAS_BSDTTY /* <sgtty.h> */
+***************
+*** 22,25 ****
+ #define HAS_BSDRLIMIT /* getrlimit( ) */
+ #define HAS_DUP2
+ #define HAS_GETWD /* getwd(buf) */
+! #define HAS_STRINGS /* use <strings.h> instead of <string.h> */
+--- 26,35 ----
+ #define HAS_BSDRLIMIT /* getrlimit( ) */
+ #define HAS_DUP2
+ #define HAS_GETWD /* getwd(buf) */
+!
+! #ifdef __FreeBSD__
+! #define HAS_BSDSOCKETS /* <net/inet.h>, socket( ), etc. */
+! #define HAS_BSDTIME /* gettimeofday( ) return time */
+! #define HAS_FLOAT_H /* float.h */
+! #define HAS_STRCHR /* strchr( ) instead of index( ) */
+! #endif
diff --git a/cad/cider/files/patch-ac b/cad/cider/files/patch-ac
new file mode 100644
index 000000000000..def5c2a4c29a
--- /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);
diff --git a/cad/cider/files/patch-ad b/cad/cider/files/patch-ad
new file mode 100644
index 000000000000..b4d98734600a
--- /dev/null
+++ b/cad/cider/files/patch-ad
@@ -0,0 +1,210 @@
+*** sim/spice/common/src/bin/main.c.orig Sat Mar 12 08:22:28 1994
+--- sim/spice/common/src/bin/main.c Sun Dec 12 14:58:04 1999
+***************
+*** 25,30 ****
+--- 25,37 ----
+ #include <pwd.h>
+ #endif
+
++ #ifdef HAS_GNUREADLINE
++ /* Added GNU Readline Support 11/3/97 -- Andrew Veliath <veliaa@rpi.edu> */
++ #include <readline/readline.h>
++ #include <readline/history.h>
++ #include "fteinput.h"
++ #endif
++
+ #ifdef HAS_UNIX_SIGS
+ #include <signal.h>
+ #endif
+***************
+*** 36,41 ****
+--- 43,53 ----
+ #endif
+
+ #include "patchlev.h"
++
++ #ifdef __FreeBSD__
++ #include <ieeefp.h>
++ #endif
++
+ #include "suffix.h"
+
+ /* (Virtual) Machine architecture parameters */
+***************
+*** 53,58 ****
+--- 65,75 ----
+ bool ft_intrpt = false; /* Set by the (void) signal handlers. */
+ bool ft_setflag = false; /* Don't abort after an interrupt. */
+
++ #ifdef HAS_GNUREADLINE
++ char gnu_history_file[512];
++ static char *application_name;
++ #endif
++
+ struct variable *(*if_getparam)( );
+
+ #ifdef BATCH
+***************
+*** 185,190 ****
+--- 202,291 ----
+
+ #endif
+
++ #ifdef HAS_GNUREADLINE
++ /* Adapted ../lib/cp/lexical.c:prompt() for GNU Readline -- Andrew Veliath <veliaa@rpi.edu> */
++ static char *
++ prompt()
++ {
++ static char pbuf[128];
++ char *p = pbuf, *s;
++
++ if (cp_interactive == false)
++ return;
++ if (cp_promptstring == NULL)
++ s = "-> ";
++ else
++ s = cp_promptstring;
++ if (cp_altprompt)
++ s = cp_altprompt;
++ while (*s) {
++ switch (strip(*s)) {
++ case '!':
++ p += sprintf(p, "%d", where_history() + 1);
++ break;
++ case '\\':
++ if (*(s + 1))
++ p += sprintf(p, "%c", strip(*++s));
++ default:
++ *p = strip(*s); ++p;
++ break;
++ }
++ s++;
++ }
++ *p = 0;
++ return pbuf;
++ }
++
++ /* Process device events in Readline's hook since there is no where
++ else to do it now - AV */
++ int rl_event_func()
++ {
++ static REQUEST reqst = { checkup_option, 0 };
++ Input(&reqst, NULL);
++ return 0;
++ }
++
++ /* Added GNU Readline Support -- Andrew Veliath <veliaa@rpi.edu> */
++ void app_rl_readlines()
++ {
++ char *line, *expanded_line;
++
++ strcpy(gnu_history_file, getenv("HOME"));
++ strcat(gnu_history_file, "/.");
++ strcat(gnu_history_file, application_name);
++ strcat(gnu_history_file, "_history");
++
++ using_history();
++ read_history(gnu_history_file);
++
++ rl_readline_name = application_name;
++ rl_instream = cp_in;
++ rl_outstream = cp_out;
++ rl_event_hook = rl_event_func;
++
++ while (1) {
++ history_set_pos(history_length);
++ line = readline(prompt());
++ if (line && *line) {
++ int s = history_expand(line, &expanded_line);
++
++ if (s == 2) {
++ fprintf(stderr, "-> %s\n", expanded_line);
++ } else if (s == -1) {
++ fprintf(stderr, "readline: %s\n", expanded_line);
++ } else {
++ cp_evloop(expanded_line);
++ add_history(expanded_line);
++ }
++ free(expanded_line);
++ }
++ if (line) free(line);
++ else if (line == NULL) cp_evloop("quit");
++ }
++ /* History gets written in ../fte/misccoms.c com_quit */
++ }
++ #endif /* HAS_GNUREADLINE */
++
+ char *hlp_filelist[] = { "spice", 0 };
+
+ void
+***************
+*** 216,221 ****
+--- 317,326 ----
+
+ #endif
+
++ #ifdef __FreeBSD__
++ fpsetmask(fpgetmask() & ~FP_X_INV & ~FP_X_DZ & ~FP_X_OFL);
++ #endif
++
+ /* MFB tends to jump to 0 on errors. This tends to catch it. */
+ if (started) {
+ fprintf(cp_err, "main: Internal Error: jump to zero\n");
+***************
+*** 236,241 ****
+--- 341,353 ----
+ ARCHsize = 1;
+ #endif /* PARALLEL_ARCH */
+
++ #ifdef HAS_GNUREADLINE
++ if (!(application_name = strrchr(av[0],'/')))
++ application_name = av[0];
++ else
++ ++application_name;
++ #endif
++
+ #ifdef HAS_MAC_ARGCARGV
+ ac = initmac(&av);
+ #endif
+***************
+*** 472,478 ****
+--- 584,594 ----
+ # ifdef HAS_UNIX_SIGS
+ /* Set up (void) signal handling */
+ if (!ft_batchmode) {
++ # ifdef HAS_GNUREADLINE
++ (void) signal(SIGINT, SIG_IGN);
++ # else
+ (void) signal(SIGINT, ft_sigintr);
++ # endif
+ (void) signal(SIGFPE, sigfloat);
+ # ifdef SIGTSTP
+ (void) signal(SIGTSTP, sigstop);
+***************
+*** 668,674 ****
+--- 784,794 ----
+ } else {
+ (void) setjmp(jbuf);
+ cp_interactive = true;
++ #ifdef HAS_GNUREADLINE
++ app_rl_readlines();
++ #else
+ while (cp_evloop((char *) NULL) == 1) ;
++ #endif /* ifelse HAS_GNUREADLINE */
+ }
+
+ # else /* if BATCH */
+***************
+*** 708,714 ****
+--- 828,838 ----
+ /* Nutmeg "main" */
+ (void) setjmp(jbuf);
+ cp_interactive = true;
++ #ifdef HAS_GNUREADLINE
++ app_rl_readlines();
++ #else
+ while (cp_evloop((char *) NULL) == 1) ;
++ #endif /* ifelse HAS_GNUREADLINE */
+
+ #endif
+
diff --git a/cad/cider/files/patch-ae b/cad/cider/files/patch-ae
new file mode 100644
index 000000000000..d5da1a1cc268
--- /dev/null
+++ b/cad/cider/files/patch-ae
@@ -0,0 +1,81 @@
+*** sim/spice/common/src/lib/cp/history.c.orig Sat Jan 29 18:44:09 1994
+--- sim/spice/common/src/lib/cp/history.c Sun Dec 12 14:56:43 1999
+***************
+*** 11,16 ****
+--- 11,24 ----
+ #include "cpdefs.h"
+ #include "suffix.h"
+
++ #ifdef HAS_GNUREADLINE
++
++ /* Added GNU Readline Support -- Andrew Veliath <veliaa@rpi.edu> */
++ #include <readline/readline.h>
++ #include <readline/history.h>
++
++ #endif /* HAS_GNUREADLINE */
++
+ static char *dohs();
+ static void freehist();
+ static wordlist *dohmod();
+***************
+*** 19,24 ****
+--- 27,33 ----
+ static wordlist *hpattern();
+ static wordlist *hprefix();
+
++
+ struct histent *cp_lastone = NULL;
+ int cp_maxhistlength = 1000;
+ char cp_hat = '^';
+***************
+*** 345,352 ****
+--- 354,363 ----
+ cp_lastone->hi_next = NULL;
+ cp_lastone->hi_event = event;
+ cp_lastone->hi_wlist = wl_copy(wlist);
++ #ifndef HAS_GNUREADLINE
+ freehist(histlength - cp_maxhistlength);
+ histlength++;
++ #endif
+ return;
+ }
+
+***************
+*** 483,492 ****
+--- 494,529 ----
+ wl = wl->wl_next;
+ rev = true;
+ }
++ #ifdef HAS_GNUREADLINE
++ /* Added GNU Readline Support -- Andrew Veliath <veliaa@rpi.edu> */
++ {
++ HIST_ENTRY *he;
++ int i, N;
++
++ N = (wl == NULL) ? history_length : atoi(wl->wl_word);
++
++ if (N < 0) N = 0;
++ if (N > history_length) N = history_length;
++
++ if (rev)
++ for (i = history_length; i > 0 && N; --i, --N) {
++ he = history_get(i);
++ if (!he) return;
++ fprintf(cp_out, "%d\t%s\n", i, he->line);
++ }
++ else
++ for (i = history_length - N + 1; i <= history_length; ++i) {
++ he = history_get(i);
++ if (!he) return;
++ fprintf(cp_out, "%d\t%s\n", i, he->line);
++ }
++ }
++ #else
+ if (wl == NULL)
+ cp_hprint(cp_event - 1, cp_event - histlength, rev);
+ else
+ cp_hprint(cp_event - 1, cp_event - 1 - atoi(wl->wl_word), rev);
++ #endif /* ifelse HAS_GNUREADLINE */
+ return;
+ }
+
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 */
diff --git a/cad/cider/files/patch-ag b/cad/cider/files/patch-ag
new file mode 100644
index 000000000000..ad93c6ab991a
--- /dev/null
+++ b/cad/cider/files/patch-ag
@@ -0,0 +1,23 @@
+*** sim/spice/common/src/lib/fte/signal.c.orig Sat Jan 29 18:48:38 1994
+--- sim/spice/common/src/lib/fte/signal.c Sun Dec 12 14:56:46 1999
+***************
+*** 32,37 ****
+--- 32,39 ----
+ * is true.
+ */
+
++ /* not using SIGINT with GNU Readline - AV */
++ #ifndef HAS_GNUREADLINE
+ SIGNAL_TYPE
+ ft_sigintr()
+ {
+***************
+*** 58,63 ****
+--- 60,66 ----
+ cp_resetcontrol();
+ longjmp(jbuf, 1);
+ }
++ #endif /* !HAS_GNUREADLINE */
+
+ /* ARGSUSED */
+ SIGNAL_TYPE
diff --git a/cad/cider/files/patch-ah b/cad/cider/files/patch-ah
new file mode 100644
index 000000000000..ff987746312b
--- /dev/null
+++ b/cad/cider/files/patch-ah
@@ -0,0 +1,20 @@
+*** sim/spice/common/src/lib/fte/x10.c.orig Sat Jan 29 18:47:11 1994
+--- sim/spice/common/src/lib/fte/x10.c Sun Dec 12 14:56:48 1999
+***************
+*** 726,737 ****
+--- 726,740 ----
+ graph->commandline, fx0, fx1, fy0, fy1);
+ }
+
++ /* don't use the following if using GNU Readline - AV */
++ #ifndef HAS_GNUREADLINE
+ /* hack for Gordon Jacobs */
+ /* add to history list if plothistory is set */
+ if (cp_getvar("plothistory", VT_BOOL, (char *) &dummy)) {
+ wl = cp_parse(buf);
+ (void) cp_addhistent(cp_event++, wl);
+ }
++ #endif /* HAS_GNUREADLINE */
+
+ (void) cp_evloop(buf);
+
diff --git a/cad/cider/files/patch-ai b/cad/cider/files/patch-ai
new file mode 100644
index 000000000000..7e3155bc071c
--- /dev/null
+++ b/cad/cider/files/patch-ai
@@ -0,0 +1,20 @@
+*** sim/spice/common/src/lib/fte/x11.c.orig Sat Jan 29 18:48:34 1994
+--- sim/spice/common/src/lib/fte/x11.c Sun Dec 12 14:56:50 1999
+***************
+*** 773,784 ****
+--- 773,787 ----
+ graph->commandline, fx0, fx1, fy0, fy1);
+ }
+
++ /* don't use the following if using GNU Readline - AV */
++ #ifndef HAS_GNUREADLINE
+ /* hack for Gordon Jacobs */
+ /* add to history list if plothistory is set */
+ if (cp_getvar("plothistory", VT_BOOL, (char *) &dummy)) {
+ wl = cp_parse(buf);
+ (void) cp_addhistent(cp_event++, wl);
+ }
++ #endif /* HAS_GNUREADLINE */
+
+ (void) cp_evloop(buf);
+
diff --git a/cad/cider/files/patch-ba b/cad/cider/files/patch-ba
new file mode 100644
index 000000000000..38e47363608b
--- /dev/null
+++ b/cad/cider/files/patch-ba
@@ -0,0 +1,39 @@
+*** sim/cider1b1/common/conf/defaults.orig Sat Jan 29 19:21:15 1994
+--- sim/cider1b1/common/conf/defaults Sun Dec 12 14:14:43 1999
+***************
+*** 99,115 ****
+ # identified as and SYSTEM is the name of the per-system definitions
+ # file listed in the "build" command.
+
+! SIM_DIR = $(TOP2)
+! SPICE_DIR = $(SIM_DIR)/spice/$(SYSTEM)
+! CIDER_DIR = $(SIM_DIR)/cider/$(SYSTEM)
+! SPICE_LIB_DIR = $(SPICE_DIR)/lib
+! CIDER_LIB_DIR = $(SPICE_DIR)/lib
+ SPICE_EXEC_DIR = $(SPICE_DIR)/bin
+ CIDER_EXEC_DIR = $(CIDER_DIR)/bin
+
+ S_CIDER_DIR = $(CIDER_DIR)
+ S_SPICE_DIR = $(SPICE_DIR)
+! S_CIDER_LIB_DIR = $(S_SPICE_DIR)/lib
+ S_CIDER_EXEC_DIR= $(S_CIDER_DIR)/bin
+
+ # INSTALL_DIRS lists the directories that need to be created before
+--- 99,115 ----
+ # identified as and SYSTEM is the name of the per-system definitions
+ # file listed in the "build" command.
+
+! SIM_DIR = ${PREFIX}
+! SPICE_DIR = $(SIM_DIR)
+! CIDER_DIR = $(SIM_DIR)
+! SPICE_LIB_DIR = $(SPICE_DIR)/share/spice3
+! CIDER_LIB_DIR = $(SPICE_DIR)/share/cider
+ SPICE_EXEC_DIR = $(SPICE_DIR)/bin
+ CIDER_EXEC_DIR = $(CIDER_DIR)/bin
+
+ S_CIDER_DIR = $(CIDER_DIR)
+ S_SPICE_DIR = $(SPICE_DIR)
+! S_CIDER_LIB_DIR = $(S_SPICE_DIR)/share/cider
+ S_CIDER_EXEC_DIR= $(S_CIDER_DIR)/bin
+
+ # INSTALL_DIRS lists the directories that need to be created before
diff --git a/cad/cider/files/patch-bb b/cad/cider/files/patch-bb
new file mode 100644
index 000000000000..5f68e8c080e6
--- /dev/null
+++ b/cad/cider/files/patch-bb
@@ -0,0 +1,36 @@
+*** sim/cider/common/util/build.orig Sat Jan 29 19:32:01 1994
+--- sim/cider/common/util/build Sun Dec 12 16:45:08 1999
+***************
+*** 89,95 ****
+
+ TMP_LEADER="${TMP_DIR}/buildl$$"
+ TMP_TRAILER="${TMP_DIR}/buildt$$"
+! trap "rm -f ${TMP_LEADER} ${TMP_TRAILER}; exit 1" 1 2 3 4 6 7 8 9 10 12 13 14 15
+ echo > "${TMP_TRAILER}"
+ BAD=false
+ DEBUG=
+--- 89,95 ----
+
+ TMP_LEADER="${TMP_DIR}/buildl$$"
+ TMP_TRAILER="${TMP_DIR}/buildt$$"
+! trap "rm -f ${TMP_LEADER} ${TMP_TRAILER}; exit 1" 1 2 3 4 6 7 8 10 12 13 14 15
+ echo > "${TMP_TRAILER}"
+ BAD=false
+ DEBUG=
+***************
+*** 166,172 ****
+ echo Begin build for "${SYS_NAME}" on "${BUILD_DATE}":
+ $EXEC cat ${FILES0} "${TOP0}/${DIR}/${SUBDIR}/makedefs" \
+ "${TMP_TRAILER}" "${SKEL_DIR}/make_std.bd" \
+! | /bin/make ${VERBOSE} -f - bootstrap DIR="${DIR}" SUBDIR="${SUBDIR}" \
+ VPATH="${TOP0}/${DIR}/${SUBDIR}" CWD="${CWD}"
+ echo Done with build at `date`
+ else
+--- 166,172 ----
+ echo Begin build for "${SYS_NAME}" on "${BUILD_DATE}":
+ $EXEC cat ${FILES0} "${TOP0}/${DIR}/${SUBDIR}/makedefs" \
+ "${TMP_TRAILER}" "${SKEL_DIR}/make_std.bd" \
+! | /usr/bin/make ${VERBOSE} -f - bootstrap DIR="${DIR}" SUBDIR="${SUBDIR}" \
+ VPATH="${TOP0}/${DIR}/${SUBDIR}" CWD="${CWD}"
+ echo Done with build at `date`
+ else
diff --git a/cad/cider/files/patch-bc b/cad/cider/files/patch-bc
new file mode 100644
index 000000000000..c64241465444
--- /dev/null
+++ b/cad/cider/files/patch-bc
@@ -0,0 +1,210 @@
+*** sim/cider/common/src/bin/main.c.orig Sat Mar 12 08:20:59 1994
+--- sim/cider/common/src/bin/main.c Mon Dec 13 10:16:13 1999
+***************
+*** 25,30 ****
+--- 25,37 ----
+ #include <pwd.h>
+ #endif
+
++ #ifdef HAS_GNUREADLINE
++ /* Added GNU Readline Support 11/3/97 -- Andrew Veliath <veliaa@rpi.edu> */
++ #include <readline/readline.h>
++ #include <readline/history.h>
++ #include "fteinput.h"
++ #endif
++
+ #ifdef HAS_UNIX_SIGS
+ #include <signal.h>
+ #endif
+***************
+*** 36,41 ****
+--- 43,53 ----
+ #endif
+
+ #include "patchlev.h"
++
++ #ifdef __FreeBSD__
++ #include <ieeefp.h>
++ #endif
++
+ #include "suffix.h"
+
+ /* (Virtual) Machine architecture parameters */
+***************
+*** 53,58 ****
+--- 65,75 ----
+ bool ft_intrpt = false; /* Set by the (void) signal handlers. */
+ bool ft_setflag = false; /* Don't abort after an interrupt. */
+
++ #ifdef HAS_GNUREADLINE
++ char gnu_history_file[512];
++ static char *application_name;
++ #endif
++
+ struct variable *(*if_getparam)( );
+
+ #ifdef BATCH
+***************
+*** 185,190 ****
+--- 202,291 ----
+
+ #endif
+
++ #ifdef HAS_GNUREADLINE
++ /* Adapted ../lib/cp/lexical.c:prompt() for GNU Readline -- Andrew Veliath <veliaa@rpi.edu> */
++ static char *
++ prompt()
++ {
++ static char pbuf[128];
++ char *p = pbuf, *s;
++
++ if (cp_interactive == false)
++ return;
++ if (cp_promptstring == NULL)
++ s = "-> ";
++ else
++ s = cp_promptstring;
++ if (cp_altprompt)
++ s = cp_altprompt;
++ while (*s) {
++ switch (strip(*s)) {
++ case '!':
++ p += sprintf(p, "%d", where_history() + 1);
++ break;
++ case '\\':
++ if (*(s + 1))
++ p += sprintf(p, "%c", strip(*++s));
++ default:
++ *p = strip(*s); ++p;
++ break;
++ }
++ s++;
++ }
++ *p = 0;
++ return pbuf;
++ }
++
++ /* Process device events in Readline's hook since there is no where
++ else to do it now - AV */
++ int rl_event_func()
++ {
++ static REQUEST reqst = { checkup_option, 0 };
++ Input(&reqst, NULL);
++ return 0;
++ }
++
++ /* Added GNU Readline Support -- Andrew Veliath <veliaa@rpi.edu> */
++ void app_rl_readlines()
++ {
++ char *line, *expanded_line;
++
++ strcpy(gnu_history_file, getenv("HOME"));
++ strcat(gnu_history_file, "/.");
++ strcat(gnu_history_file, application_name);
++ strcat(gnu_history_file, "_history");
++
++ using_history();
++ read_history(gnu_history_file);
++
++ rl_readline_name = application_name;
++ rl_instream = cp_in;
++ rl_outstream = cp_out;
++ rl_event_hook = rl_event_func;
++
++ while (1) {
++ history_set_pos(history_length);
++ line = readline(prompt());
++ if (line && *line) {
++ int s = history_expand(line, &expanded_line);
++
++ if (s == 2) {
++ fprintf(stderr, "-> %s\n", expanded_line);
++ } else if (s == -1) {
++ fprintf(stderr, "readline: %s\n", expanded_line);
++ } else {
++ cp_evloop(expanded_line);
++ add_history(expanded_line);
++ }
++ free(expanded_line);
++ }
++ if (line) free(line);
++ else if (line == NULL) cp_evloop("quit");
++ }
++ /* History gets written in ../fte/misccoms.c com_quit */
++ }
++ #endif /* HAS_GNUREADLINE */
++
+ char *hlp_filelist[] = { "spice", "cider", 0 };
+
+ void
+***************
+*** 216,221 ****
+--- 317,326 ----
+
+ #endif
+
++ #ifdef __FreeBSD__
++ fpsetmask(fpgetmask() & ~FP_X_INV & ~FP_X_DZ & ~FP_X_OFL);
++ #endif
++
+ /* MFB tends to jump to 0 on errors. This tends to catch it. */
+ if (started) {
+ fprintf(cp_err, "main: Internal Error: jump to zero\n");
+***************
+*** 236,241 ****
+--- 341,353 ----
+ ARCHsize = 1;
+ #endif /* PARALLEL_ARCH */
+
++ #ifdef HAS_GNUREADLINE
++ if (!(application_name = strrchr(av[0],'/')))
++ application_name = av[0];
++ else
++ ++application_name;
++ #endif
++
+ #ifdef HAS_MAC_ARGCARGV
+ ac = initmac(&av);
+ #endif
+***************
+*** 472,478 ****
+--- 584,594 ----
+ # ifdef HAS_UNIX_SIGS
+ /* Set up (void) signal handling */
+ if (!ft_batchmode) {
++ # ifdef HAS_GNUREADLINE
++ (void) signal(SIGINT, SIG_IGN);
++ # else
+ (void) signal(SIGINT, ft_sigintr);
++ # endif
+ (void) signal(SIGFPE, sigfloat);
+ # ifdef SIGTSTP
+ (void) signal(SIGTSTP, sigstop);
+***************
+*** 668,674 ****
+--- 784,794 ----
+ } else {
+ (void) setjmp(jbuf);
+ cp_interactive = true;
++ #ifdef HAS_GNUREADLINE
++ app_rl_readlines();
++ #else
+ while (cp_evloop((char *) NULL) == 1) ;
++ #endif /* ifelse HAS_GNUREADLINE */
+ }
+
+ # else /* if BATCH */
+***************
+*** 708,714 ****
+--- 828,838 ----
+ /* Nutmeg "main" */
+ (void) setjmp(jbuf);
+ cp_interactive = true;
++ #ifdef HAS_GNUREADLINE
++ app_rl_readlines();
++ #else
+ while (cp_evloop((char *) NULL) == 1) ;
++ #endif /* ifelse HAS_GNUREADLINE */
+
+ #endif
+
diff --git a/cad/cider/files/patch-be b/cad/cider/files/patch-be
new file mode 100644
index 000000000000..07d27163c159
--- /dev/null
+++ b/cad/cider/files/patch-be
@@ -0,0 +1,26 @@
+*** sim/cider/common/lib/makedefs.orig Thu Feb 24 09:11:21 1994
+--- sim/cider/common/lib/makedefs Mon Dec 13 11:34:56 1999
+***************
+*** 1,9 ****
+
+ INSTALL_TARGETS = $(CIDER_LIB_DIR)/helpdir/cider.txt \
+ $(CIDER_LIB_DIR)/helpdir/cider.idx \
+ $(CIDER_LIB_DIR)/scripts/devaxis \
+ $(CIDER_LIB_DIR)/scripts/devload
+
+! ALL_INSTALL_DIRS = $(CIDER_LIB_DIR) $(CIDER_LIB_DIR)/helpdir
+
+ INSTALL_SPECIAL = directories
+--- 1,12 ----
+
+ INSTALL_TARGETS = $(CIDER_LIB_DIR)/helpdir/cider.txt \
+ $(CIDER_LIB_DIR)/helpdir/cider.idx \
++ $(CIDER_LIB_DIR)/helpdir/spice.txt \
++ $(CIDER_LIB_DIR)/helpdir/spice.idx \
+ $(CIDER_LIB_DIR)/scripts/devaxis \
+ $(CIDER_LIB_DIR)/scripts/devload
+
+! ALL_INSTALL_DIRS = $(CIDER_LIB_DIR) $(CIDER_LIB_DIR)/helpdir \
+! $(CIDER_LIB_DIR)/scripts
+
+ INSTALL_SPECIAL = directories
diff --git a/cad/cider/files/patch-bf b/cad/cider/files/patch-bf
new file mode 100644
index 000000000000..6241452ff7ce
--- /dev/null
+++ b/cad/cider/files/patch-bf
@@ -0,0 +1,18 @@
+*** sim/cider/common/lib/makeops.orig Thu Feb 24 09:11:43 1994
+--- sim/cider/common/lib/makeops Mon Dec 13 11:45:34 1999
+***************
+*** 11,16 ****
+--- 11,23 ----
+ $(CIDER_LIB_DIR)/helpdir/cider.idx: $(OBJBIN_SPICE_DIR)/makeidx
+ $(OBJBIN_SPICE_DIR)/makeidx $(CIDER_LIB_DIR)/helpdir/cider.txt
+
++ $(CIDER_LIB_DIR)/helpdir/spice.txt: $(DISTLIB_DIR)/helpdir/spice.txt
++ -cp $? $@
++
++ $(CIDER_LIB_DIR)/helpdir/spice.idx: $(DISTLIB_DIR)/helpdir/spice.txt
++ $(CIDER_LIB_DIR)/helpdir/spice.idx: $(OBJBIN_SPICE_DIR)/makeidx
++ $(OBJBIN_SPICE_DIR)/makeidx $(CIDER_LIB_DIR)/helpdir/spice.txt
++
+ $(CIDER_LIB_DIR):
+ mkdir -p $(CIDER_LIB_DIR)
+
diff --git a/cad/cider/files/patch-bg b/cad/cider/files/patch-bg
new file mode 100644
index 000000000000..02eb58146c3d
--- /dev/null
+++ b/cad/cider/files/patch-bg
@@ -0,0 +1,22 @@
+*** sim/cider/common/lib/helpdir/spice.txt.orig Mon Dec 13 10:57:16 1999
+--- sim/cider/common/lib/helpdir/spice.txt Mon Dec 13 10:50:01 1999
+***************
+*** 7,12 ****
+--- 7,13 ----
+ TEXT: H
+ TEXT: H
+ TEXT: H
++ SUBTOPIC: CIDER:cider
+ SUBTOPIC: SPICE:INTRODUCTION
+ SUBTOPIC: SPICE:CIRCUIT DESCRIPTION
+ SUBTOPIC: SPICE:CIRCUIT ELEMENTS AND MODELS
+***************
+*** 15,20 ****
+--- 16,22 ----
+ SUBTOPIC: SPICE:BIBLIOGRAPHY
+ SUBTOPIC: SPICE:APPENDIX A
+ SUBTOPIC: SPICE:APPENDIX B
++ SUBJECT: cider
+ SUBJECT: INTRODUCTION
+ TITLE: INTRODUCTION
+ TEXT: H
diff --git a/cad/cider/pkg-comment b/cad/cider/pkg-comment
new file mode 100644
index 000000000000..ba74f6d92a5f
--- /dev/null
+++ b/cad/cider/pkg-comment
@@ -0,0 +1 @@
+A mixed-level circuit and device simulator (includes SPICE3)
diff --git a/cad/cider/pkg-descr b/cad/cider/pkg-descr
new file mode 100644
index 000000000000..6995f341ff20
--- /dev/null
+++ b/cad/cider/pkg-descr
@@ -0,0 +1,34 @@
+CIDER is a mixed-level circuit and device simulator.
+CIDER attempts to provide greater simulation accuracy than a stand-alone
+circuit or device simulator can provide.
+CIDER is based on the sequential mixed-level circuit and
+device simulator, CODECS. In common with CODECS, CIDER embeds the circuit
+simulator, SPICE3, which provides circuit simulation capabilities,
+analytical models for semiconductor devices, and an interactive
+user interface. An interface to the captive device simulator, DSIM,
+provides accurate, one- and two-dimensional numerical models
+based on the solution of Poisson's equation, and the electron and hole
+current-continuity equations. The input format of CIDER couples
+SPICE-like circuit descriptions
+to a device description format similar to the one
+used by the PISCES device simulator developed at Stanford University.
+As a result, CIDER should seem reasonably familiar to designers
+already accustomed to both these tools.
+
+ From the Cider help file.
+
+
+SPICE is a general-purpose circuit simulation program for nonlinear DC,
+nonlinear transient, and linear AC analyses. Circuits may contain resistors,
+capacitors, inductors, mutual inductors, independent voltage and current
+sources, four types of dependent sources, lossless and lossy transmission
+lines (two separate implementations), switches, uniform distributed RC
+lines, and the five most common semiconductor devices: diodes, BJTs, JFETs,
+MESFETs, and MOSFETs.
+
+ From the SPICE3 Version3f3 User's Manual.
+ This is availble as a postscript document from:
+ ftp://ic.eecs.berkeley.edu/pub/Spice3/um.3f3.ps
+ or you can read the online documentation on the homepage.
+
+WWW: http://infopad.eecs.berkeley.edu/~icdesign/SPICE/
diff --git a/cad/cider/pkg-plist b/cad/cider/pkg-plist
new file mode 100644
index 000000000000..70087100c658
--- /dev/null
+++ b/cad/cider/pkg-plist
@@ -0,0 +1,108 @@
+bin/cider
+bin/help
+bin/multidec
+bin/nutmeg
+bin/proc2mod
+bin/sconvert
+bin/spice3
+share/cider/helpdir/cider.idx
+share/cider/helpdir/cider.txt
+share/cider/helpdir/spice.idx
+share/cider/helpdir/spice.txt
+share/cider/scripts/devaxis
+share/cider/scripts/devload
+share/cider/scripts/spinit
+share/examples/cider/bicmos/bicmos.lib
+share/examples/cider/bicmos/bicmpd.cir
+share/examples/cider/bjt/astable.cir
+share/examples/cider/bjt/colposc.cir
+share/examples/cider/bjt/ecp.cir
+share/examples/cider/bjt/invchain.cir
+share/examples/cider/bjt/meclgate.cir
+share/examples/cider/bjt/pebjt.lib
+share/examples/cider/bjt/pz.cir
+share/examples/cider/bjt/rtlinv.cir
+share/examples/cider/bjt/vco.cir
+share/examples/cider/diode/diode.cir
+share/examples/cider/diode/diotran.cir
+share/examples/cider/diode/pindiode.cir
+share/examples/cider/jfet/jfet.cir
+share/examples/cider/mos/bootinv.cir
+share/examples/cider/mos/charge.cir
+share/examples/cider/mos/cmosinv.cir
+share/examples/cider/mos/nmosinv.cir
+share/examples/cider/mos/pass.cir
+share/examples/cider/mos/ringosc.cir
+share/examples/cider/parallel/BICMOS.LIB
+share/examples/cider/parallel/bicmpd.cir
+share/examples/cider/parallel/bicmpu.cir
+share/examples/cider/parallel/clkfeed.cir
+share/examples/cider/parallel/cmosamp.cir
+share/examples/cider/parallel/eclinv.cir
+share/examples/cider/parallel/ecpal.cir
+share/examples/cider/parallel/foobar
+share/examples/cider/parallel/gmamp.cir
+share/examples/cider/parallel/latch.cir
+share/examples/cider/parallel/ppef.1d.cir
+share/examples/cider/parallel/ppef.2d.cir
+share/examples/cider/parallel/readme
+share/examples/cider/parallel/ringosc.1u.cir
+share/examples/cider/parallel/ringosc.2u.cir
+share/examples/cider/readme
+share/examples/cider/resistor/gaasres.cir
+share/examples/cider/resistor/sires.cir
+share/examples/cider/serial/astable.cir
+share/examples/cider/serial/charge.cir
+share/examples/cider/serial/colposc.cir
+share/examples/cider/serial/dbridge.cir
+share/examples/cider/serial/invchain.cir
+share/examples/cider/serial/meclgate.cir
+share/examples/cider/serial/nmosinv.cir
+share/examples/cider/serial/pass.cir
+share/examples/cider/serial/pullup.cir
+share/examples/cider/serial/readme
+share/examples/cider/serial/recovery.cir
+share/examples/cider/serial/rtlinv.cir
+share/examples/cider/serial/vco.cir
+share/examples/spice3/bjtnoise.cir
+share/examples/spice3/bsim1tst.cir
+share/examples/spice3/bsim2tst.cir
+share/examples/spice3/diffpair.cir
+share/examples/spice3/diodisto.cir
+share/examples/spice3/ltra_1.cir
+share/examples/spice3/ltra_2.cir
+share/examples/spice3/ltra_3.cir
+share/examples/spice3/mixdisto.cir
+share/examples/spice3/mos6inv.cir
+share/examples/spice3/mosamp2.cir
+share/examples/spice3/mosmem.cir
+share/examples/spice3/pz2.cir
+share/examples/spice3/pzt.cir
+share/examples/spice3/rc.cir
+share/examples/spice3/rca3040.cir
+share/examples/spice3/resnoise.cir
+share/examples/spice3/rtlinv.cir
+share/examples/spice3/schmitt.cir
+share/examples/spice3/simplepz.cir
+share/spice3/helpdir/spice.idx
+share/spice3/helpdir/spice.txt
+share/spice3/mfbcap
+share/spice3/news
+share/spice3/scripts/setplot
+share/spice3/scripts/spinit
+@dirrm share/cider/helpdir
+@dirrm share/cider/scripts
+@dirrm share/cider
+@dirrm share/examples/cider/bicmos
+@dirrm share/examples/cider/bjt
+@dirrm share/examples/cider/diode
+@dirrm share/examples/cider/jfet
+@dirrm share/examples/cider/mos
+@dirrm share/examples/cider/parallel
+@dirrm share/examples/cider/resistor
+@dirrm share/examples/cider/serial
+@dirrm share/examples/cider
+@dirrm share/examples/spice3
+@dirrm share/spice3/helpdir
+@dirrm share/spice3/scripts
+@dirrm share/spice3