[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multi-return value functions and with-input-stream-do
- To: email@example.com
- Subject: Re: Multi-return value functions and with-input-stream-do
- From: Oliver Andrich <firstname.lastname@example.org>
- Date: Thu, 16 Feb 95 9:16:48 MET
- In-reply-to: <9502151830.AA25949@plopp.intellektik.informatik.th-darmstadt.de>; from "Matthias Lindner" at Feb 15, 95 7:46 pm
> I used the following code in the Plopp! planning system to solve the problem
> you described:
Well, thanks a lot, cause your code seems to do everything I want.
By the way, what is Plopp!. Can you send me some information?
> Within the body of WITH-WISH you can communicate with the tcl/tk process
> writing to *wish* and reading from it. READ-UNTIL reads from a stream
> as much as possible or until a prompt is found. (the implementation is weird
> and could be much simpler, as wishes do not send prompts to pipes - anyway it
> works ... at least for me ;) )
Ok, that really seams to be the thing I want to do.
> Remember to call "(force-output *wish*)" on the CLisp side and "flush stdout"
> on the wish side after each output operation.
Yeah, after fighting with Tcl/Tk and Lisp for a whole night, I learned
my lesson. :-)