Tools: MPW
Advanced Search
Apple Developer Connection
Member Login Log In | Not a Member? Support

MPW Command Reference


SetShellSize

Tool

SYNTAX

SetShellSize [-f shellFilename] [-s stackSize[k]] [-p partitionSize[k]]

DESCRIPTION

You use the SetShellSize tool to change the partition or stack size for the MPW shell. The change does not take effect until you quit MPW and relaunch it.

If neither the -p nor the -s option is used, SetShellSize displays the current settings in the form of a SetShellSize command. For example, if you enter

SetShellSize

this command returns the following to show that the current stack size is 256 KB and the partition size is 8192 KB:

SetShellSize -s 256k -p 8192k

INPUT

None

OUTPUT

None, unless no options are specified.

STATUS

SetShellSize can return the following status codes:

0

no error

1

fatal error

PARAMETERS

None.

OPTIONS

-f shellFilename

Provides the pathname of the MPW Shell to modify. If you do not specify a pathname, the current MPW Shell is modified.

-s stackSize[k]

Modifies the specified stack size to the provided amount. The value stackSize is interpreted as bytes unless you use the suffix k to specify kilobytes.

-p partitionSize[k]

Modifies the specified partition size to the provided amount. The value partitionSize is interpreted as bytes unless you use the suffix k to specify kilobytes.

EXAMPLES

To increase the partition size, enter

SetShellSize -p 8800k

 
 


Last Updated July 2000