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

  1. Path: sparky!uunet!portal!cup.portal.com!Tony-Preston
  2. From: Tony-Preston@cup.portal.com (ANTHONY FRANCIS PRESTON)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: 1.2, 1.3, and 2.0 question
  5. Message-ID: <64699@cup.portal.com>
  6. Date: Wed, 26 Aug 92 09:00:15 PDT
  7. Organization: The Portal System (TM)
  8. References:  <50pK02Rt1f8X01@JUTS.ccc.amdahl.com>
  9. Lines: 19
  10.  
  11. I am running into some strange problems that may or may not be OS related.
  12. What I am dealing with is the Citadel BBS and how it runs external programs
  13. like doors, archives, and transfer protocols.  What I am seeing is the 
  14. exact same thing on my system(2.1 beta, or 2.04) it works fine.  For other
  15. people running 1.2 or 1.3, they get gurus and other failures.  The code
  16. I am talking about is rather simple, an Execute(cmdline,0,0) call.  The
  17. command line simply runs a program(such as a door, or lha, or XPRD) and
  18. returns when done.  Typically, they are running a program with the I/O
  19. redirected to the serial port with a modified aux-Handler(Fish #79 has
  20. the program).  The only variable here is an A500 with 1.2 versus an
  21. A2000 with 2.1(my system).  Some others running 2.04 do not have the 
  22. problem.  Now, my questions are several:
  23.  1) What determines the stack for the program run with "Execute" call?
  24.  2) Does someone have an example of how to detect the amount of stack
  25.     you are using?  How much you have been given?
  26.   3) Is there some reason why a 2.04 compiled call to Execute() would
  27.      not run under 1.2 or 1.3?  Is there something I can do about it?
  28.   4) does anyone have an idea why this would act this way?
  29.  
  30.