Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!aplcen!samsung!brutus.cs.uiuc.edu!psuvax1!rutgers!uwvax!umn-d-ub!umn-cs!buddha!rodeen From: rodeen@buddha.UUCP (Rick Odeen) Newsgroups: comp.unix.xenix Subject: Re: SCO XENIX/286 SYS V sh stack overflow Keywords: sco,xenix,stack,sh,elm,mail Message-ID: <734@buddha.UUCP> Date: 18 Dec 89 03:59:52 GMT References: <72@slvblc.UUCP> Reply-To: rodeen@buddha.UUCP (Rick Odeen) Organization: University of Minnesota, NCC Lines: 28 In article <72@slvblc.UUCP> dick@slvblc.UUCP (Dick Flanagan) writes: >I am attempting to install the Elm mailer on SCO XENIX/286 SYS V 2.3.2 >and the README file for Elm 2.5 states: > > The Configuration script has been known to exceed the default > stack size in Unix 286 sh's. If Configure does not run correctly > on this type of machine increase the stack size and rerun it. > >Well, that's exactly what happens on my 286. My question is, just how do >I go about getting an sh with a bigger stack?!? Is there a utility that >can be used to patch the object file? Can I get one from SCO? Just how >do I go about doing this wonderful thing? I think the README file distributed with version 2.2 PL14 suggests saving a copy of sh to something, running fixhdr on sh: fixhdr -F 8000 /bin/sh running Configure, then putting your original sh back in place. fixhdr -F increases your stack size to 8000 hex. -- Rick Odeen buddha!rodeen@umn-cs.cs.umn.edu Nutrition Coordinating Center AT&T: +1 612 627 4884 University of Minnesota