home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!torn!watserv2.uwaterloo.ca!watdragon.uwaterloo.ca!daisy.uwaterloo.ca!kogeddes
- From: kogeddes@daisy.uwaterloo.ca (Keith O. Geddes)
- Newsgroups: sci.math.symbolic
- Subject: Re: starting xmaple with a file included
- Message-ID: <C0qvHv.ACv@watdragon.uwaterloo.ca>
- Date: 12 Jan 93 14:13:06 GMT
- References: <1993Jan12.025633.36609@ns1.cc.lehigh.edu>
- Sender: news@watdragon.uwaterloo.ca (USENET News System)
- Organization: University of Waterloo
- Lines: 37
-
- In article <1993Jan12.025633.36609@ns1.cc.lehigh.edu> dlj0@ns1.cc.lehigh.edu (DAVID L. JOHNSON) writes:
- >What I want to do is set up a command that will launch maple in the xmaple
- >interface (on an rs/6000 - but should be the same for all X boxes) with a
- >file containing some collection of commands included.
- >
- >You can do this with non-x maple by:
- >
- >maple < foo.bar
- >
- >to load in the file foo.bar. But, it doesn't work with xmaple. I want to be
- >able to do this so my calculus students can avoid entering some of the data
- >I want them to work with. I also don't want to have them fight with including
- >a file from my directories, with a long pathname.
- >
- >Any ideas?
-
-
- You can create a file named ".mapleinit" in your home directory, and you
- can place into this file any sequence of maple commands (including read
- statements in your case).
- When maple (or xmaple) is invoked, all of the commands in your .mapleinit
- file will get executed at the very beginning of the session.
-
- Since you want an initialization file which all of your students would
- get when they invoke maple, you are interested in creating a "system
- initialization file".
- This would be placed under the maple library directory, at the location
-
- .../lib/src/init
-
- See the help page ?maple for more details.
-
- If you have further questions on this matter, send e-mail to
-
- support@maplesoft.on.ca
-
- Keith Geddes
-