home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15512 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  1.4 KB

  1. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cs.utexas.edu!uwm.edu!spool.mu.edu!darwin.sura.net!uvaarpa!adastra!mbs
  2. From: mbs@adastra.cvl.va.us (Michael B. Smith)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: running segments from within an application
  5. Distribution: world
  6. Message-ID: <mbs.1a2y@adastra.cvl.va.us>
  7. References: <9211050408.AA24272@mackay.mpce.mq.edu.au> <36744@cbmvax.commodore.com> <1dg8k3INNdbg@cs.tut.fi>
  8. X-NewsSoftware: GRn-beta 1.16g (11.07.92) by Mike Schwartz & Michael B. Smith
  9. Date: 7 Nov 92 12:10:37 EDT
  10. Organization: Well, I haven't decided on a name yet...
  11. Lines: 19
  12.  
  13. In article <1dg8k3INNdbg@cs.tut.fi> po87553@cs.tut.fi (Pasi 'Albert' Ojala) writes:
  14. > Do you (or anyone else) have any examples on how to use LoadSeg()/RunCommand().
  15. > I tried to use RunCommand() with LoadSeg(), but it just kep Guruing.
  16. > On the other hand RunCommand() worked fine with shell-internals and other
  17. > residents.
  18.  
  19. It can be a little complicated to handle all the permutations.
  20.  
  21. I've got a complete custom-shell example. It is a little too long to post to
  22. c.s.a.programmer though and it is DICE and GCC specific (since it has global
  23. variables, more-or-less).
  24.  
  25. It is based on Randell's AmigaMail article on UserShell's (it actually preceded
  26. it from a Usenet article he posted).
  27.  
  28. If you want it, email me.
  29. --
  30.   //   Michael B. Smith
  31. \X/    mbs@adastra.cvl.va.us  -or-  uunet.uu.net!virginia.edu!adastra!mbs
  32.