Hi Sven, I don't know whether there is a way to change the prompt to disappear completely without changing the sources (as this is generally not the intended behaviour) but as a workaround you could pipe the guile output through sed to remove the prompt. Try this command in a terminal:
guile | sed -e 's/^guile>//g' That should do what you want. You can do that programmatically as well or invoke this as a script from within your program. In general your approach seems strange to me. Without exactly knowing how to do it I'd suggest you look for a way to approach guile's read routine directly and handle the results internally rather than dealing with netcat and stdout. -- Orm Am Saturday, den 08. May 2010 um 08:28:38 Uhr (+0200) schrieb Sven Schäfer: > > > Hi obj. > > > > I forgot to write that I will use Guile on a linux system. > > Only the output “guile>” should be disable. All other outputs from Guile > should go to the stdout. > > > > A short overview: > > I will write the output from Guile in variables. A second program > communicates with the “Guile”-program over netcat. This program sends > instructions to the Guile program. Then the Guile program returns some > data (for example an integer). When I now write the output in the second > program into a variable, I write also the “guile>” into it. Because of > this I will only disable the output of “guile>”. > > > > I hope I write this a little bit understandable. J