Thanks for the pointer. Actually, tclspice is just a package which exports ngspice's cli command set to TCL -- which is a very cool thing 'cause it allows you to write optimization scripts for complex designs! As such, tclspice is a superset of ngspice; most of tclspice is written in C. And ngspice itself (and it's CLI) remains mired in the buggy-pointer morass of C. Therefore, one needs to integrate the C based version of readline. Just being pedantic . . . .
Stuart > > Hi guys - > > Have you looked at a package called 'tclreadline'? (check sourceforge). > It integrates readline with TCL to provide command history and editing > as well > as a support for custom command completers. > I have used tclreadline for awhile on an embedded software project and > it works great. > > Keith > > Keith Outwater > Sr. Staff Engineer > Microvision, Inc. > 19910 N. Creek Parkway > Bothell, WA 98011 > > > -----Original Message----- > > From: Stuart Brorson [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, October 29, 2003 6:27 AM > > To: [EMAIL PROTECTED] > > Subject: Re: Ngspice and Readline, was Re: gEDA-user: netlist > > simulation > > > > > > Hi Terry, > > > > > Does the cli version of tclspice support command history > > i.e. readline at this time ? > > > > No, it unfortunately doesn't. I've thought about fixing it, but > > haven't done it. I am not an expert programmer, and it takes me time > > to come up to speed on each project I take on. My time is limited and > > other projects seemed like they were higher priority. > > > > > I've been using a older version of ngspice with the > > readline patch as I find it much more convienient. > > > > Do you have a pointer to your version? Perhaps I could do a diff > > against the current tclspice and stick the patch in. THat would save > > some programming time & headache. . . . > > > > Thanks, > > > > Stuart > > > >
