Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!pequod.cso.uiuc.edu!dorner From: dorner@pequod.cso.uiuc.edu (Steve Dorner) Newsgroups: comp.sys.next Subject: Re: mathlink Message-ID: <1989Nov22.182826.2125@ux1.cso.uiuc.edu> Date: 22 Nov 89 18:28:26 GMT References: <1989Nov21.194429.9927@ux1.cso.uiuc.edu> Sender: news@ux1.cso.uiuc.edu (News) Reply-To: cfcgf@ecncdc.bitnet Organization: University of Illinois at Urbana-Champaign Lines: 27 I'm posting this for a friend. Please reply to him, not me. ----------------------------------------------------------------------- To anyone interested in communicating with Mathematica using pipes. It's pretty easy to do. To set up communication I used the source code in /NextLibrary/Documentation/Mathematica/UnixSummary.wn However, I could only get this code to run on my NeXT after the following changes in the code were made. 1) mmapath = usr/local/bin/math should be mmapath = usr/bin/math 2) every occurrence (including those occurring in strings sent to Mathematica) of // should be replaced by / 3) there should be only one call to fetchresult() to absorb initialization messages harmessly (not two) chuck fleming cfcgf@ecncdc.bitnet ----------------------------------------------------------------------- -- Steve Dorner, U of Illinois Computing Services Office Internet: s-dorner@uiuc.edu UUCP: {convex,uunet}!uiucuxc!dorner IfUMust: (217) 244-1765