[comp.sys.amiga] shar crashing problem solved

page@ulowell.UUCP (03/03/87)

Increasing the STACK from 4K to 10K allowed shar to work as it is
supposed to.  I hadn't noticed the change in STACK size -- it
turns out that when I changed my startup-sequence to something like:

; ...
; start up alternate cli
newcli
; future commands use a 10K stack
stack 10240
; ...

it caused shar to break from the alternate CLI.  What happens is
that when 'newcli' is called, is uses the CURRENT stack value for
its default stack.  So, using the original CLI would have worked,
since I changed it to 10K, but the new CLI didn't, since it was
started with a 4K stack and I had never changed it.  I moved the
STACK command to before the NEWCLI call and all is well now.

Something to remember.  Thanks to all who responded.  I think it
would be worthwhile to change shar so that it didn't use so much
stack space, though it's not THAT important.

..Bob
-- 
Bob Page,  U of Lowell CS Dept.      ulowell!page,  page@ulowell.CSNET