[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: Ngspice and Readline, was Re: gEDA-user: netlist simulation
- To: geda-user@seul.org
- Subject: Re: Ngspice and Readline, was Re: gEDA-user: netlist simulation
- From: sdb@cloud9.net (Stuart Brorson)
- Date: Wed, 29 Oct 2003 11:56:00 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: geda-user-outgoing@seul.org
- Delivered-to: geda-user@seul.org
- Delivery-date: Wed, 29 Oct 2003 11:56:44 -0500
- In-reply-to: <no.id> from "Keith Outwater" at Oct 29, 2003 08:41:04 AM
- Reply-to: geda-user@seul.org
- Sender: owner-geda-user@seul.org
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:sdb@cloud9.net]
> > Sent: Wednesday, October 29, 2003 6:27 AM
> > To: geda-user@seul.org
> > 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
> >
>
>