home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / sci / math / symbolic / 3417 < prev    next >
Encoding:
Internet Message Format  |  1993-01-12  |  1.8 KB

  1. Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!torn!watserv2.uwaterloo.ca!watdragon.uwaterloo.ca!daisy.uwaterloo.ca!kogeddes
  2. From: kogeddes@daisy.uwaterloo.ca (Keith O. Geddes)
  3. Newsgroups: sci.math.symbolic
  4. Subject: Re: starting xmaple with a file included
  5. Message-ID: <C0qvHv.ACv@watdragon.uwaterloo.ca>
  6. Date: 12 Jan 93 14:13:06 GMT
  7. References: <1993Jan12.025633.36609@ns1.cc.lehigh.edu>
  8. Sender: news@watdragon.uwaterloo.ca (USENET News System)
  9. Organization: University of Waterloo
  10. Lines: 37
  11.  
  12. In article <1993Jan12.025633.36609@ns1.cc.lehigh.edu> dlj0@ns1.cc.lehigh.edu (DAVID L. JOHNSON) writes:
  13. >What I want to do is set up a command that will launch maple in the xmaple
  14. >interface (on an rs/6000 - but should be the same for all X boxes) with a
  15. >file containing some collection of commands included.
  16. >
  17. >You can do this with non-x maple by:
  18. >
  19. >maple < foo.bar
  20. >
  21. >to load in the file foo.bar.  But, it doesn't work with xmaple.  I want to be
  22. >able to do this so my calculus students can avoid entering some of the data
  23. >I want them to work with.  I also don't want to have them fight with including
  24. >a file from my directories, with a long pathname.
  25. >
  26. >Any ideas?
  27.  
  28.  
  29. You can create a file named ".mapleinit" in your home directory, and you
  30. can place into this file any sequence of maple commands (including read
  31. statements in your case).
  32. When maple (or xmaple) is invoked, all of the commands in your .mapleinit
  33. file will get executed at the very beginning of the session.
  34.  
  35. Since you want an initialization file which all of your students would
  36. get when they invoke maple, you are interested in creating a "system
  37. initialization file".
  38. This would be placed under the maple library directory, at the location
  39.  
  40.     .../lib/src/init
  41.  
  42. See the help page  ?maple  for more details.
  43.  
  44. If you have further questions on this matter, send e-mail to
  45.  
  46.     support@maplesoft.on.ca
  47.  
  48. Keith Geddes
  49.