Le 27 mars 2013 ? 13:11, Volker van Nek a ?crit :
> I work on Linux. I can imagine that a firewall in your OS prevents this communication. To check this just try to
> use only netcat for a chat via socket
No it is not a firewall problem, the chat with netcat works perfectly OK. Let me repeat, to be clear,
the use of maxima -s 'xxxx' doesn't work on FreeBSD and Mac OS X, but there is a workaround i have described.
From what you are saying it works on Linux, on Windows i don't have any idea.
It would be interesting to dissect how exactly wxmaxima communicates with maxima, since this works on all
platforms. As a matter of fact, this is done in some cases according to the workaround i have described:
in wxMaxima.cpp
command = files[0];
command.Append(wxString::Format(
wxT(" -eval \"(maxima::start-client %d)\" -eval \"(run)\" -f"),
m_port
));
}
}
else
command.Append(wxString::Format(wxT(" -s %d"), m_port));
wxSetEnv(wxT("home"), wxGetHomeDir());
wxSetEnv(wxT("maxima_signals_thread"), wxT("1"));
#else
command.Append(wxString::Format(wxT(" -r \":lisp (setup-client %d)\""),
m_port));
#endif
--
Michel Talon
talon at lpthe.jussieu.fr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2825 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130327/f8ed6031/attachment-0001.bin>