Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ncar!noao!arizona!dave From: dave@cs.arizona.edu (Dave P. Schaumann) Newsgroups: comp.sys.amiga.programmer Subject: Re: Setting the Stack Message-ID: <670@caslon.cs.arizona.edu> Date: 15 Jan 91 15:27:06 GMT References: <3589@bruce.cs.monash.OZ.AU> <1991Jan15.141459.8682@ericsson.se> Organization: U of Arizona CS Dept, Tucson Lines: 29 In article <1991Jan15.141459.8682@ericsson.se> etxtomp@eos.ericsson.se writes: >In article <3589@bruce.cs.monash.OZ.AU> roddi@bruce.cs.monash.OZ.AU (Roddi Walker) writes: >>G'Day Netters! >> This may seem like a ridiculous question, but it's got >>me stumped. >> I want to set my stack to 100,000 bytes (I've got mountains of >>RAM), so I accordingly put the line 'stack 100000' into my >>startup-sequence. >>[...] >I noticed the same problem, so Your Startup-Sequence isn't exceptionally >weird! >[...] I already answered Roddi Walker via e-mail, but since there seems to be some confusion about this, I will answer publicly. The 'stack' command is only effective on the cli/shell in which it is invoked. That means when the initial CLI (that executes s:Startup-Sequence) exits, any 'stack' command you placed there will have no further effect. If you want to have your shell start up with a 100000 byte stack, put 'stack 100000' in the file s:Shell-Startup (s:CLI-Startup for the CLI). Other shells like SKsh and Csh have similar startup files to use. >Tommy Petersson >etxtomp@eos.ericsson.se Dave Schaumann | And then -- what then? Then, future... dave@cs.arizona.edu | -Weather Report